@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;700&display=swap');

/* Global font styles */
body {
    font-family: 'Lexend', Arial, sans-serif;
    /* Primary font: Lexend */
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* Headers - Lexend, all uppercase */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Lexend', Arial, sans-serif;
    /* Primary font: Lexend */
    font-weight: 700;
    /* Bold for headers */
    color: #222;
    text-transform: uppercase;
    /* All caps */
    margin-bottom: 1rem;
}

button:hover {
    background-color: #0056b3;
}

section {
    width: 1080px;
    margin: auto;
}

footer {
    width: 100%;
    margin: auto;
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0;
    color: black;
    text-align: center;
    z-index: 100;
    /* Ensure it stays on top of other elements */
}

footer p {
    font-size: .75rem;
}

.page-header {
    font-weight: 900;
}

.equipment-list {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
    /* Default: 3 equal columns */
}

.equipment-list .column {
    text-align: left;
}

.equipment-list .column .section {
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.equipment-list .column .item {
    font-size: 1.1rem;
    margin-bottom: .75rem;
    padding-right: 1rem;
    line-height: 1.25rem;
    font-family: 'Jost';
    font-weight: 400;
}

.equipment-list .column .info {
    color: #c93f2a;
    display: inline;
    font-weight: 700;
}

.popup {
    display: none;
    bottom: 100%;
    /* Position above */
    left: 0;
    margin-top: .5rem;
    padding-left: 2rem;
    padding-right: 2rem;
    background-color: #f9f9f9;
    z-index: 10;
    font-size: .85rem;
}

.equipment-list .column .popup li {
    color: #5e5e5e;
}

.info:hover {
    cursor: grab;
}

.info:hover .popup {
    display: block;
}


/* Two columns */
@media (max-width: 1080px) and (min-width: 561px) {
    .equipment-list {
        grid-template-columns: repeat(2, 1fr);
        /* 2 equal columns */
    }

    section {
        width: 560px;
    }
}

/* One column */
@media (max-width: 560px) {
    .equipment-list {
        grid-template-columns: 1fr;
        /* 1 column */
    }

    section {
        width: 90%;
    }
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000; /* Optional: gives a black background */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none; /* Removes the border around the iframe */
}