@font-face {
    font-family: 'Daggersquare';
    src: url(Assets/WRLAfonts/DAGGERSQUARE.otf);
}

* {
    box-sizing: border-box;
}

body{
     background-image: url(Assets/WRLAbg.webp);
     background-size:100%;
     background-repeat:repeat-y;
     padding: 0;
     margin:auto;
     font-size: 24px;
     overflow-x: hidden;
     box-sizing:border-box;
 }

/* Navbar */
header {
    height: 90px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgb(0, 0, 0);
    box-shadow: 0 8px 15px #FFB500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    font-family: 'Daggersquare', sans-serif;
}

nav {
    position: fixed;
    z-index: 10;
    left: 0;
    right: 0;
    top: 0;
    padding: 0 1%;
    height: 90px;
    background-color: #000000;
}

nav .logo {
    float: left;
    width: 10%;
    height: 100%;
    display: flex;
    align-items: center;
    color: #fff;
}

.headerpic {
    width: 100px;
}

nav .links {
    padding: 0;
    margin: 0;
    width: 75%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.on {
    color: #FFB500;
}

.off {
    color: white;
    display: block;
    padding: 1em 1em;
    font-size: 30px;
    text-decoration: none;
    line-height: 1;
}

.off:hover {
    color: #FFB500;
    background-color: #141414;
}

nav .links li {
    list-style: none;
}

#nav-toggle {
    position: absolute;
    top: -100px;
}

nav .icon-burger {
    display: none;
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
}

nav .icon-burger .line {
    width: 30px;
    height: 5px;
    background-color: #fff;
    margin: 5px;
    border-radius: 3px;
    transition: all .3s ease-in-out;
}

@media screen and (max-width: 1075px) {
    nav .logo {
        float: none;
        width: auto;
        justify-content: center;
    }
    nav .links {
        position: fixed;
        z-index: 9;
        left: 0;
        right: 0;
        top: 90px;
        bottom: 100%;
        width: auto;
        height: auto;
        flex-direction: column;
        background-color: #141414;
        overflow: hidden;
        transition: all .5s ease-in-out;
        margin: 0;
        padding: 0;
    }
    nav .links a {
        font-size: 20px;
        padding: 1em;
    }
    nav :checked ~ .links {
        bottom: 0;
        top: 90px;
    }
    nav .icon-burger {
        display: block;
    }
    nav :checked ~ .icon-burger .line:nth-child(1) {
        transform: translateY(10px) rotate(225deg);
    }
    nav :checked ~ .icon-burger .line:nth-child(3) {
        transform: translateY(-10px) rotate(-225deg);
    }
    nav :checked ~ .icon-burger .line:nth-child(2) {
        opacity: 0;
    }
}

/* Dropdown */
nav .links .dropdown {
    position: relative;
    text-align: center;
}

nav .links .dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #000000;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    padding: 0;
    margin: 0;
    list-style: none;
}

nav .links .dropdown .dropdown-menu a {
    display: block;
    padding: 10px 15px;
    font-size: 24px;
    color: white;
    text-decoration: none;
}

nav .links .dropdown .dropdown-menu a:hover {
    color: #FFB500;
    background-color: #141414;
}

@media screen and (min-width: 1076px) {
    nav .links .dropdown:hover .dropdown-menu {
        display: block;
    }
}

/* Schedule */
.weeks {
    color: #FFB500;
    font-family: 'Daggersquare';
    margin-top: 150px;
    text-align: center;
    font-size: 2rem;
}

.weeks2 {
    color: white;
    font-family: 'Daggersquare';
    text-align: center;
    font-size: 2rem;
}

.box {
    width: 80%;
    background-color: #0a0a0a;
    border: 10px solid #0a0a0a;
    margin: 0 auto;
}

.box2 {
    width: 80%;
    background-color: #3a3a3a;
    border: 10px solid #3a3a3a;
    margin: 0 auto;
}

.deck {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5vh;
    margin: 10px 5vw;
    font-family: 'Daggersquare';
}

@media (min-width: 1400px) {
    .deck {
        column-gap: 7.5vh;
        grid-template-columns: repeat(1, 1fr);
    }
}

.card1, .card2, .card3, .card4, .card5, .card6, .card7, .card8 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #141414;
    font-size: 3rem;
    color: white;
    box-shadow: #FFB500 2px 0.075rem 0.075rem;
    height: 80px;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 2.5vh;
    cursor: pointer;
    transition: height 0.3s ease-in-out, transform 0.3s, background-color 0.3s, color 0.3s;
    align-items: center;
}

.card1:hover, .card2:hover, .card3:hover, .card4:hover, .card5:hover, .card6:hover, .card7:hover, .card8:hover {
    transform: scale(1.03);
    color: #FFB500;
    background-color: #252525;
}

.expanded {
    height: 35vw;
}

.hidden-img {
    display: none;
    width: 45vw;
    margin: 1vw auto 0;
    align-self: center;
}

.expanded .hidden-img {
    display: block;
}

/* Footer */
 footer {
    background-color: #000000;
    color: white;
    text-align: center;
    padding: 20px;
    font-family: 'Daggersquare', sans-serif;
    font-size: 20px;
    margin-top: 20px;
    box-shadow: 0 4px 15px #FFB500;
}

.fc{
    width:82%;
    margin:auto;
}

.toppon {
    height: 9vw;
    width: 25vw;
    max-width: 30%;
    margin-left: 2vw;
    margin-right: 2vw;
    background-image: url(Assets/Uno.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    cursor: pointer;
    border: none;
}

.toppon2 {
    height: 9vw;
    width: 25vw;
    max-width: 30%;
    margin-left: 2vw;
    margin-right: 2vw;
    background-image: url(Assets/Uno2.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    cursor: pointer;
    border: none;
}

.toppon3 {
    height: 5vw;
    width: 4vw;
    max-width: 10%;
    margin-left: 2vw;
    margin-right: 2vw;
    background-image: url(Assets/Uno3.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-color: transparent;
    border: none;
}

.gg {
    text-decoration: none;
}

.toppon:hover, .toppon2:hover {
    transform: scale(1.03);
    background-color: #050505;
    border: 1px solid #FFFFFF;
}

.line2 {
    width: 30%;
    margin-bottom: 20px;
    border-color: #fff;
}

/* Mobile Adjustments */
@media screen and (max-width: 768px) {
    .weeks, .weeks2 {
        margin-top: 100px;
        font-size: 1.5rem;
    }

    .box, .box2 {
        width: 90%;
        border-width: 8px;
    }

    .deck {
        gap: 1.5vh;
        margin: 5px 2.5vw;
    }

    .card1, .card2, .card3, .card4, .card5, .card6, .card7, .card8 {
        font-size: 1.5rem;
        height: 60px;
        margin-bottom: 1.5vh;
    }

    .expanded {
        height: 50vw; /* Adjusted for better fit */
    }

    .hidden-img {
        width: 60vw; /* Wider to fill space */
        margin: 0.5vw auto;
    }
}

@media screen and (max-width: 480px) {
  

    .headerpic {
        width: 80px;
    }

    .weeks, .weeks2 {
        margin-top: 90px;
        font-size: 1.2rem;
    }

    .box, .box2 {
        width: 95%;
        border-width: 5px;
    }

    .deck {
        gap: 1vh;
        margin: 5px 1vw;
    }

    .card1, .card2, .card3, .card4, .card5, .card6, .card7, .card8 {
        font-size: 1.2rem;
        height: 50px;
        margin-bottom: 1vh;
    }

    .expanded {
        height: 60vw; /* Larger for readability */
    }

    .hidden-img {
        width: 60vw; /* Max width for small screens */
        margin: 0.5vw auto;
    }

}