html {
    font-family: Cormorant;
    font-weight: 600;
    line-height: 1.5;
}

body {
    background-color: #FDF8F0;
    margin: 0;
}

img {
    max-width: 100%;
}

@font-face {
    font-family: 'Tan-Harmoni';
    src: url('/fonts/TanHarmoni-Regular.woff2') format('woff2'),
        url('/fonts/TanHarmoni-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MoonTime';
    src: url('/fonts/MoonTime-Regular.woff2') format('woff2'),
        url('/fonts/MoonTime-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}



/*******************
***HEADER SECTION*** 
*******************/
header{
    background-color: #1E5175;
    padding: 2rem 10px;
    font-family: Amaranth;
    font-size: 24px;
}

.topbar {
    max-width: 1440px;
    max-height: 125px;
    margin:0 auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 85px
}

nav a {
    text-decoration: none;
    color: white;
}
nav a:visited {
    color:white;
}
nav a:hover {
    color: #1c2043;
}
nav a:active {
    color:#9fc8aa;
}

#left{
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    margin-left: 15px;
    transform: translateY(-32%)
}

#center {
    display:flex;
    justify-content: center;
    transform: translateY(10%);
}

#right{
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    margin-right: 25px;
    transform: translateY(-32%);
}

.nav_grid {
    display: grid;
    grid-template-columns:1fr 264px 1fr;
    max-width: 1440px;
}

/*******************
***WELCOME SECTION*** 
*******************/

.hero {
    max-width: 1440px;
    margin: 0 auto;
    padding-top: 250px;
    padding-left: 150px;
}

.welcome{
    display: grid;
    grid-template-columns: 1fr 2fr;
}

#welcome_info {
    margin: 0;
    height: 441px;
    padding-left: 75px;
    font-family: Cormorant;
    font-weight: 100;
    font-size: 20px;
    max-width: 630px;
    transform: translateY(-3%);
  }

#welcome_info p {
    transform: translateY(-65%);
}

h1 {
    margin: 0;
}

#welcome_to {
    font-family: Alegreya;
    font-weight: 100;
    font-size: 40px;
}
#charis_bay {
    font-family: Tan-Harmoni;
    font-weight: 100;
    font-size: 90px;
    color: #1E5175;
    transform: translateY(-20%);
}
#collective {
    font-family: Moontime;
    font-weight: 100;
    font-size: 103px;
    color: #1E5175;
    transform: translateY(-70%);
    padding-left: 50px;
}

h2 {
    font-family: Tan-Harmoni;
    font-weight: 100;
    font-size: 24px;
    text-transform: uppercase;
    color: #1E5175;
    margin: 0 auto;
    padding: 75px 300px;
}

.stats ul {
    display: flex;
    list-style: none;
    max-width: 1080px;
    font-family: Alegreya;
    font-weight: 100;
    font-size: 20px;
    gap: 220px;
    text-align: center;
}
.stats li {
    max-width: 275px
}
h3 {
    font-family: Amaranth;
    font-weight: thin;
    font-size: 36px;
}
#book {
    display: flex;
    justify-content: center;
}
#social {
    display: flex;
    justify-content: center;
    align-items: center;
}
#college {
    display: flex;
    justify-content: center;
}

/*******************
**TAG SECTION*** 
*******************/

.tag {
    text-align: center;
    background-image: url(/images/waves.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 8rem;
    margin-bottom: 8rem;
}
.tag h2 {
    font-family: Chela One;
    font-weight: 100;
    font-size: 36px;
    color: white;
    text-transform: none;
    max-width: 650px;
}

/*******************
**EVENTS SECTION*** 
*******************/

.events h4 {
    font-family: Amaranth;
    font-weight: 100;
    font-size: 32px;
    text-decoration: underline;
    padding-left: 150px
}

h5 {
    font-family: Alegreya;
    font-size: 32px;
    font-weight: 100;
    margin: 0;
}

.events p {
    font-family: Cormorant;
    font-size: 18px;
    margin-bottom: 4rem;
}

.event-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1000px;
    margin: auto 150px;
    gap: 2rem;
    padding-top: 4rem;
}

#btn {
    font-family: Alegreya;
    font-size: 20;
    text-decoration: none;
    color: black;
    border: #1E5175 4px solid;
    padding: 6px;
    margin-top: 1rem;
}
#btn:hover {
    background-color: #1c2043;
    border: #9fc8aa 4px solid;
    color: white;
}

#btn:active {
    background-color: #9fc8aa;
    border:#1E5175 4px solid;
    color: black;
}


/*******************
**EVENTS SECTION*** 
*******************/

.sponsors {
    background-color: #1c2043;
    height: 448px;
}

.sponsors h4 {
    font-family: Amaranth;
    font-size: 32px;
    color: white;
    text-transform: uppercase;
    text-align: center;
}

.socials ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 2rem;
    padding: 20px;
}

.address {
    text-align: center;
    justify-content: center;
    align-items: center;
}

.address address {
    font-family: Alegreya;
    font-size: 20px;
    font-weight: 100;
    font-style: normal;
    margin: 0;
}

.address p {
    font-family: Cormorant;
    font-size: 16px;
    font-weight: 100;
    margin: 0;
}

#cited p{
    font-family: Cormorant;
    font-size: 14px;
    color:black;
    text-align: center;
}

#cited a {
    color: black
}



@media screen and (max-width: 1140px) {
    
    .welcome {
        grid-template-columns: 1fr 1fr;
    }

    .welcome_info {
        font-size: 1rem;
    }





}


@media screen and (max-width:1350px) {

    header {
        font-size: 20px;
    }
    .hero {
        padding-top: 200px;
        padding-left: 100px;
    }


}


@media screen and (max-width:1265px) {

    nav ul {
        gap: 2rem;
    }

    h2 {
        padding: 75px 245px;
    }

}

@media screen and (max-width:1140px) {

    #welcome_info p {

        font-size: 16px;
    }

    #welcome_info {
        padding-left: 50px;
    }

    h2 {
        padding: 75px 150px;
    }

    .stats ul {
        padding:0;
        margin: 0 auto;
    }
}



@media screen and (max-width: 1045px) {
    

    header {
        padding: 0;
    }
    .welcome {
        grid-template-columns: 1fr;
    }

    .topbar {
        max-height: fit-content;
    }

    .nav_grid {
        grid-template-columns: 1fr;
    }

    .nav_grid ul {
        margin: 0;
    }

    #left {
        justify-content: center;
        margin: 0;
        margin-top: 3rem;
    }

     #right {
        justify-content: center;
        margin: 0;
    }

    #center {
        order: -1;
    }

    #center img {
        width: 205px;
    }

    .hero {
        padding-top: 100px;
        padding-left: 20px;
    }

    h2 {
        padding: 75px 40px;
    }

    .stats ul{
        flex-direction: column;
        align-items: center;
        gap: 100px;
    }

    .event-grid {
        grid-template-columns: 1fr;
    }

}



@media screen and (max-width:650px) {


    .hero {
        padding-left: 20px;
    }

    h2 {
        padding: 75px 15px;
    }
    
}



@media screen and (max-width:450px) {

    .hero {
        padding: 20px;
    }

    .event-grid {
        margin: 1rem;
    }

    .events h4 {
        padding-left: 1rem;
    }
}