@font-face {
    font-family: Roboto-Slab;
    src: url(../fonts/RobotoSlab-Bold.ttf);
}


html {
    font-family: OpenSans-Regular, sans-serif;
    font-size: 10px;
    scroll-behavior: smooth;
    overflow-x: hidden;
    color: #FFFFFF;
    background-color: #000013;
}

a {
    text-decoration: none;
}

nav {
    display: flex;
    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    width: 100vw;
    background: rgba(0, 0, 19, 20);
    position: fixed;
    z-index: 100;
    height: 90px;
    text-transform: uppercase;
    transition: 1s ease-in-out;
    user-select: none;
}

.logo {
    width: 50%;
    text-transform: none;
    display: grid;
    flex-direction: column;
    padding-top: 1rem;
    padding-left: 2rem;
    font-family: Roboto-Slab;
    font-size: 32px;
    height: 100%;
    justify-content: left;
    align-items: center;
    user-select: none;
}

.logo:hover{
    box-shadow: #FFFFFF, 2, 2;
}

.better-than{
    padding-left: 3rem;
    margin-top: -3rem;
    text-transform: uppercase;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-style: italic;
    font-size: 12px;
    user-select: none;
}

.nav-links {
    display: flex;
    list-style: none;
    width: 50%;
    height: 100%;
    justify-content: space-around;
    align-items: center;
    margin-left: auto;
    cursor: pointer;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    user-select: none;
}

.hero {
    height: 70vh; /* adjust this height to fit your needs */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
  }

  
  @keyframes animatedBackground {
    from {
      background-position: 0 0;
    }
    to {
      background-position: 100% 0;
    }
  }

.hero-segment {
    position: absolute;
    height: 70vh;
    width: 50vw;
    top: 0;
    background-size: 120%;
    background-position: 0px 0px;
    background-repeat: no-repeat;
    background-size: 120%;
    z-index: 1;
    animation: animatedBackground 10s ease-in-out infinite alternate;
}

.hero-div-1 {
    left: 0;
    background-image: url('../images/counterstrike_optimized.jpeg');
    clip-path: polygon(0% 0%, 0% 100%, 40% 100%, 70% 0%);
}

.hero-div-2 {
    left: 25vw;
    background-image: url('../images/fishing_optimized.jpeg');
    clip-path: polygon(30% 0%, 0% 100%, 100% 100%, 70% 0%);
}

.hero-div-3 {
    left: 50vw;
    background-image: url('../images/rocketleague_optimized.jpeg');
    clip-path: polygon(30% 0%, 60% 100%, 100% 100%, 100% 0%);
}
  
h1 {
    text-align: center;
    font-size: 5rem;
    letter-spacing: 2px;
    font-family: Roboto-Slab;
    color: white;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px #000013;
}

.main-section{
    margin-left: 5rem;
    padding-top: 100px;
    font-size: 1.5rem;
    min-height: 20vh;
}

.main-section-content{
    margin-left: 1rem;
    line-height: 1.6;
}

.main-section-content a {
    cursor:pointer;
}

.subheader {
    margin-bottom: 3rem;
    font-size: 3rem;
    height: auto;
    width: fit-content;
    text-transform: uppercase;
    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    letter-spacing: 1px;
}

.subheader:after{
    position: absolute;
    content: '';
    height: 1px;
    left: 0;
    margin: 3.5rem 5rem;
    width: 70%;
    background: purple;
}

.news-date{
    font-size: 1.5rem;
    letter-spacing: 2px;
    font-weight: bolder;
}

.news-content{
    font-size: 1.5rem;
    padding: 1rem;
    margin-bottom: 2rem;
}

.council-grid {
    display: grid;
    max-width: 800px;
    grid-template-rows: 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr;
}

.member{
    display: grid;
    font-size: 1rem;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: auto 1fr;
    padding: 1rem;
}

.svg-user {
    align-self: start;
    grid-column: 1 / span 1;
    grid-row: 1 / span 2;
    height: 50px;
    stroke: #FFFFFF;
}

.member-name{
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 1rem;
    padding-bottom: 0.5rem;
}

#footer {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    flex-flow: row wrap;
    align-items: center;
    margin-top: 2rem;
    padding-bottom: 10vh;
    padding-top: 10vh;
}

/* Social Media Icons */
.svgContact {
    display: flex;
    height: 40px;
    filter: grayscale(1) brightness(5)
}

.svgContact:hover {
    filter: brightness(6)
}

.copyright {
    display: flex;
    font-size: 1.2rem;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin-bottom: 5rem;
    color: gray;
}



@media (max-width: 768px) {

    h1{
        font-size: 3rem;
        padding: 1rem;
    }

    .council-grid {
        display: grid;
        max-width: 800px;
        grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr;
        grid-template-columns: 1fr;
    }
    
    .contact {
        margin-top: 4rem;
        width: 100%;
        justify-content: center;
        display: flex;
        text-align: center;
        align-items: flex-end;
    }

    .main-section{
        margin-left: 2rem;
    }



    .subheader:after{
        position: absolute;
        content: '';
        height: 1px;
        left: 0;
        margin: 3.5rem 2rem;
        width: 90%;
        background: purple;
    }

    .hero-segment {
        height: 70vh;
        width: 50vw;
        background-size: cover;
    }

    .logo{
        width: fit-content;
    }

    .line {
        width: 30px;
        height: 3px;
        background: white;
        margin: 5px;
    }

    .hamburger {
        user-select: none;
        position: absolute;
        cursor: pointer;
        right: 5%;
        top: 50%;
        transform: translate(-5%, -50%);
        z-index: 2;
    }

    .nav-links {
        user-select: none;
        position: fixed;
        background: black;
        height: 100vh;
        width: 100%;
        flex-direction: column;
        justify-content: center;
        clip-path: polygon(100% 0%, 100% 0%, 0% 100%, 0% 100%);
        transition: all 0.5s ease-out;
        pointer-events: none;
    }

    .nav-links.open {
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
        /*
        clip-path:fill-box(1100px at 90% -10%);
        -webkit-clip-path: circle(1000px at 90% -10%);
        */
        pointer-events: all;
    }

    .landing {
        flex-direction: column;
    }

    .nav-links li {
        opacity: 0;
        padding: 4rem 0;
    }

    .nav-links li a {
        font-size: 2rem;
    }

    .nav-links li:nth-child(1) {
        transition: all 0.5s ease 0.2s;
    }

    .nav-links li:nth-child(2) {
        transition: all 0.5s ease 0.4s;
    }

    .nav-links li:nth-child(3) {
        transition: all 0.5s ease 0.6s;
    }

    .nav-links li:nth-child(4) {
        transition: all 0.5s ease 0.8s;
    }

    li.fade {
        opacity: 1;
    }
}