html {
    margin: 0;
    padding: 0;
    font-size: 62.5%;
    width: 126rem;
    margin: auto;
    background-color: #e7fff2;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: My Font;
    src: url(Montserrat-Regular.otf);
}

@font-face {
    font-family: My Font1;
    src: url(Montserrat-Medium.otf);
}

@font-face {
    font-family: My Font2;
    src: url(Montserrat-Bold.otf);
}

@font-face {
    font-family: My Font3;
    src: url(LibreBaskerville-Regular.ttf);
}

nav {
    width: 100%;
    height: 12rem;
    background-color: rgb(255, 255, 255); 
    box-sizing: border-box;
    position: fixed;
    z-index: 999;
    max-width: 126rem;
}

.box1 {
    width: 100%;
    height: 4.5rem;
    background-color: #ffeba6;
    display: flex;
}

.box1a {
    width: 55rem;
    height: 4.5rem;
     /* background-color: rgb(131, 59, 59);  */
    text-align: center;
    font-size: 1.3rem;
    font-family: My Font2;
    box-sizing: border-box;
}

.box1a p{
    color: #707070;
}

.box1b {
    width: 36rem;
    height: 4.5rem;
    /* background-color: rgb(75, 16, 16);  */
    text-align: center;
    font-size: 1.3rem;
    font-family: My Font2;
    box-sizing: border-box;
}

.box1b p{
    color: #707070;
}

.box1c {
    width: 35rem;
    height: 4.5rem;
    /* background-color: rgb(255, 120, 120); */
    font-size: 1.3rem;
    font-family: My Font2;
    box-sizing: border-box;
    padding-top: 1.3rem;
    padding-left: 2rem;
}

.box1c a {
    text-decoration: none;
    color: #707070;
}

.box2{
    width: 100%;
    height: 7.5rem;
    /* background-color: rgb(60, 128, 128); */
    display: flex;
    box-sizing: border-box;
}

.box2a {
    width: 40rem;
    height: 7.5rem;
    /* background-color: rgb(103, 185, 110); */
    box-sizing: border-box;
    padding-left: 15rem;
    padding-top: 1.5rem;
}

.box2a img {
    width: 160px;
}

.box2b {
    width: 90rem;
    height: 7.5rem;
    /* background-color: rgb(126, 163, 212); */
    text-align: center; 
    box-sizing: border-box;
    padding-top: 3rem;
    font-family: My Font2;
    font-size: 1.4rem;
}

.box2 i {
    font-size: 2.5rem;
    display: none;
}

.box2b a {
    text-decoration: none;
    margin-left: 2.5rem;
    color: rgb(49, 49, 49);
    position: relative;
    padding-bottom: 0.01rem;
}

.box2b a:after {
    content: ""; 
    position: absolute;
    height: 0.2rem;
    width: 0;
    background-color: #066130;
    left: 0;
    bottom: -1rem;
    transition: 0.3s;
}

.box2b a:hover:after {
    width: 100%;
}

.box2c {
    width: 35rem;
    height: 7.5rem;
    /* background-color: rgb(255, 187, 187); */
    box-sizing: border-box;
}

.box2d {
    width: 18rem;
    height: 4rem;
    background-color: #066130;
    margin-top: 2rem;
    margin-left: 3rem;
    font-family: My Font1;
    font-size: 1.3rem;
    text-align: center;
    box-sizing: border-box;
    padding-top: 1.2rem;
    color: white;
}

.box2d a {
    text-decoration: none;
    color: white;
}


.box3 {
    width: 100%;
    height: calc(100dvh - 12rem);
    max-height: 55rem;
    max-height: 55rem;
    background-color: rgb(0, 0, 0);
    box-sizing: border-box;
    padding-top: 25rem;
    text-align: center;
    color: white;
    background-image: url(Images/Events.jpg);
}

.box3 .main-title {
    font-family: My Font2;
    font-size: 3rem;
    width: 60rem;
    margin-left: 32.5rem;
}

.box3 p {
    font-family: My Font;
    font-size: 1.2rem;
    width: 58rem;
    margin-left: 35rem;
    line-height: 1.5rem;
}

.box4 {
    width: 100%;
    height: 55rem;
    background-color: rgb(255, 255, 255);
    box-sizing: border-box;
    padding-top: 6rem;
}

.box4a .section-title3 {
    font-family: My Font2;
    font-size: 2.5rem;
    margin-left: 53rem;
}

.box4a .p {
    width: 70rem;
    text-align: center;
    font-size: 1.2rem;
    margin-left: 29rem;
    margin-bottom: 0;
    font-family: My Font1;
}

/* To be taken off */

.image {
    padding: 0;
    margin: 0;
}

.image img {
    width: 800px;
    padding: 0;
    margin: 0;
    margin-left: 23rem;
    margin-top: 0;
}

.box4b {
    width: 100%;
    height: 50rem;
    /* background-color: rgb(19, 73, 73); */
    position: relative;
    display: none;
}

.box4b h1 {
    text-align: left;
    margin-left: 7rem;
}

.box4b p {
    text-align: justify;
}

.box4b .card {
    padding: 2rem;
    border: 0.1rem solid rgb(75, 82, 92);
    border-radius: 2rem;
    background-color: #97989c8a;
    text-align: center;
}

.grid-container {
    display: grid;
    /* border: 0.1rem solid red; */
    grid-template-columns: repeat(3, 25rem);
    gap: 1.5rem;
    justify-content: center;
}

.box4c {
    background-color: black;
    width: 110rem;
    height: 0.2rem;
    position: absolute;
    top: 41rem;
    margin-left: 8rem;
}


/* Box 5 */

.box5 {
    width: 100%;
    height: 65rem;
    background-color: rgb(255, 255, 255);
    box-sizing: border-box;
    padding-top: 6rem;
}

.box5a .section-title3 {
    font-family: My Font2;
    font-size: 2.5rem;
    margin-left: 57rem;
}

.box5a .p {
    width: 70rem;
    text-align: center;
    font-size: 1.3rem;
    margin-left: 29rem;
    font-family: My Font1;
}

.box5b {
    width: 100%;
    height: 50rem;
    /* background-color: rgb(19, 73, 73); */
}

.box5b h1 {
    text-align: left;
    margin-left: 7rem;
}

.box5b p {
    text-align: justify;
    margin-bottom: 2rem;
}

.box5b .card {
    padding: 2rem;
    padding-bottom: 3rem;
    border: 0.1rem solid rgb(75, 82, 92);
    border-radius: 2rem;
    background-color: #97989c8a;
    text-align: center;
    position: relative;
}

.date {
    width: 6rem;
    height: 6rem;
    background-color: #066130;
    position: absolute;
    box-sizing: border-box;
    border-radius: 1rem;
    padding-top: 1rem;
}

.grid-container .date .month {
    padding-left: 0;
    padding-bottom: 0;
    font-family: My Font2;
    font-size: 2.2rem;
    margin-left: 0.1rem;
    margin-top: 1rem;
    margin-bottom: 0;
    color: white;
}

.grid-container .date p {
    padding-left: 1rem;
    font-family: My Font1;
    text-align: left;
    color: white;
    margin: 0;
    letter-spacing: 0.1rem;
}

.grid-container {
    display: grid;
    /* border: 0.1rem solid red; */
    grid-template-columns: repeat(3, 25rem);
    gap: 1.5rem;
    justify-content: center;
}

.box5b h1 {
    font-family: My Font2;
    line-height: 1;
}

.box5b a {
    text-decoration: none;
    border: #066130 solid 0.1rem;
    padding-left: 3rem;
    padding-right: 3rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-top: 2rem;
    font-size: 1.5rem;
    font-family: My Font1;
    color: black;
    border-radius: 1rem;
}

.box5b a:hover {
    background-color: #066130;
    color: white;
}


/* FOOTER  */

.box9 {
    width: 100%;
    height: 35rem;
    background-color: rgb(0, 0, 0);  
    padding-top: 40px; 
    box-sizing: border-box;
    position: relative; 
}

.boxf1 {
    width: 20rem;
    height: 25rem;
    /* background-color: rgba(240, 248, 255, 0.267);  */
    position: absolute;
    margin-left: 10rem;
    padding-top: 4.5rem;
    padding-left: 4rem;
    padding-right: 4.5rem;
    box-sizing: border-box;
} 

.boxf1 .h {
    color: #ffc400;
    font-family: My font3;
    font-size: 1.7rem;
} 

.boxf1 .quicklinks a {
    color: white;
    font-family: My Font1;
    text-decoration: none;
    font-size: 1.3rem;
    line-height: 2.5rem;
    margin-top: 5rem; 
}

.boxf1 .quicklinks ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.boxf2 {
    width: 20rem;
    height: 25rem;
    /* background-color: rgba(240, 248, 255, 0.247);  */
    position: absolute;
    margin-left: 32rem;
    padding-left: 4rem;
    padding-top: 4.5rem;
    box-sizing: border-box;
} 

.boxf2 .h {
    color: #ffc400;
    font-family: My font3;
    font-size: 1.7rem;
} 

.boxf2 .quicklinks a {
    color: white;
    text-decoration: none;
    font-family: My Font1;
    font-size: 1.3rem;
}

.boxf2 .quicklinks ul {
    list-style: none;
    line-height: 2.7rem;
    padding: 0;
    margin: 0;
}


.boxf3 {
    width: 25rem;
    height: 25rem;
    /* background-color: rgba(240, 248, 255, 0.226);  */
    position: absolute;
    margin-left: 54rem;
    padding-top: 4.5rem;
    padding-left: 4rem;
    padding-right: 2rem;
    box-sizing: border-box;
} 

.boxf3 .h {
    color: #ffc400;
    font-family: My font3;
    font-size: 1.7rem;
    margin-bottom: 3rem;
}

.boxf3 p {
    font-family: My Font1;
    font-size: 1.4rem;
    color: white;
}

.boxf3 a {
    font-family: My Font1;
    font-size: 1.3rem;
    color: rgb(255, 217, 0);
    text-decoration: none;
    font-style: italic;
}

.boxf4 {
    width: 35rem;
    height: 25rem;
    /* background-color: rgba(240, 248, 255, 0.26);   */
    position: absolute;
    margin-left: 81rem;
    padding-top: 4.5rem;
    padding-left: 4rem;
    box-sizing: border-box;
} 

.boxf4 .h {
    color: #ffc400;
    font-size: 1.7rem;
    font-family: My Font3;
    margin-bottom: 3rem;
}

.boxf4 p {
    font-family: My Font;
    font-size: 1rem;
    color: white;
    width: 30rem;
}

.emailbox{
    width: 30rem;
    height: 4rem;
    background-color: rgba(255, 255, 255, 0.473);
    box-sizing: border-box;
    position: relative;
}

.emailbox input {
   width: 100%;
   height: 4rem;
   position: absolute;
   background-color: transparent;
   font-family: My Font;
   font-size: 1.2rem;
   font-style: italic;
   color: #ffc400;
   border: none;
   padding-left: 2rem;
   outline: none;
}

.emailbox input::placeholder {
   color: white;
}

button {
   width: 9rem;
   height: 4rem;
   background-color: #c29500;
   margin-left: 21rem;
   text-align: center;
   box-sizing: border-box;
   color: white;
   font-family: My Font2;
   font-size: 1.3rem;
   border: none;
}

/* Scroll to the top */

#progress {
    /* background-color: #03cc65;  */
    position: fixed;
    bottom: 2rem;
    right: 1rem;
    width: 6rem;
    height: 6rem;
    display: none;
    place-items: center;
    border-radius: 50%;
    box-shadow: 0 0 0.2rem;
    cursor: pointer;
}

#progress-value {
    display: block;
    height: calc(100% - 1.5rem);
    width: calc(100% - 1.5rem);
    background-color: white;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 2.5rem;
    color: black;
}

/* Screen size 430 */

@media screen and (max-width:430px) {

    html {
        max-width: 430px;
        overflow-x: hidden;
    }

    body {
        width: 430px;
        overflow-x: hidden;
        scroll-behavior: smooth;
    }

    

    /* NAV BAR */

    nav {
        width: 100%;
        height: 12rem;
        background-color: rgb(255, 255, 255);
        box-sizing: border-box;
        z-index: 999;
        position: fixed;
        /* border: 4px solid red;
        background-color: red; */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .box1 {
        width: 100%;
        height: 9rem;
        background-color: #ffeba6;
        display: block;
        display: none;
    }

    .box2 {
        width: 100%;
        height: 7.5rem;
        /* background-color: rgb(60, 128, 128); */
        display: flex;
        box-sizing: border-box;
        position: relative;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
    }

    .box2a {
        width: fit-content;
        height: fit-content;
        /* background-color: rgb(103, 185, 110);   */
        box-sizing: border-box;
        padding-left: 0;
        padding-top: 2rem;
        margin-left: 1rem;
        z-index: 111;
    }

    .box2a img {
        width: 200px;
    }

    .box2b {
        width: 420rem;
        height: 12rem;
        text-align: center;
        box-sizing: border-box;
        padding-top: 5.8rem;
        font-family: My Font2;
        font-size: 1.4rem;
        z-index: 111;
        margin-left: 0;
        display: none;
    }

    #menuList {
        width: 420rem;
        height: 12rem;
        text-align: center;
        box-sizing: border-box;
        font-family: My Font2;
        font-size: 1.4rem;
        margin-left: 0;
        display: block;
        z-index: -999;
        margin-top: 24rem;
    }

    .box2b#menuList {
        display: none;
    }


    /* .black-sheep {
        background-color: rgb(255, 255, 255);
        width: 15rem;
        height: 5rem;
        position: absolute;
        margin-left: 20rem;
    } */

    .box2 i {
        font-size: 3.5rem;
        display: block;
        padding-right: 2rem;
        margin-top: 1rem;
        z-index: 999;
    }

    #menuList a {
        text-decoration: none;
        margin-left: 0;
        color: white;
        position: relative;
        padding-top: 2rem;
        padding-bottom: 0.01rem;
        display: block;
        background-color: #066130;
        height: 5rem;
        width: 100%;
        gap: 0;
        text-align: center;
        box-sizing: border-box;
        z-index: -999;
        /* display: none;      */
    }

    .box2c {
        width: 35rem;
        height: 7.5rem;
        /* background-color: rgb(255, 187, 187); */
        box-sizing: border-box;
        display: none;
    }

    .box2d {
        width: 18rem;
        height: 4rem;
        background-color: #066130;
        margin-top: 2rem;
        margin-left: 3rem;
        font-family: My Font1;
        font-size: 1.3rem;
        text-align: center;
        box-sizing: border-box;
        padding-top: 1.2rem;
        color: white;
        display: none;
    }


    /* Main */

    .box3 {
        width: 100%;
        height: calc(100dvh - 12rem);
        max-height: 40rem;
        background-color: rgb(0, 0, 0);
        box-sizing: border-box;
        padding-top: 19rem;
        text-align: center; 
        color: white;
        background-image: url(Images/Events.jpg);
    }

    .box3 .main-title {
        font-family: My Font2;
        font-size: 3rem;
        width: 35rem;
        margin-left: 4rem;
    }

    .box3 p {
        width: 35rem;
        font-family: My Font;
        font-size: 1.2rem;
        margin-left: 4rem;
        line-height: 1.5rem;
        text-align: justify;
    }

    .box4 {
        width: 100%;
        height: 40rem;
        background-color: rgb(255, 255, 255);
        box-sizing: border-box;
        padding-top: 6rem;
    }

    .box4a .section-title3 {
        font-family: My Font2;
        font-size: 2.5rem;
        margin-left: 10rem;
    }

    .box4a .p {
        width: 35rem;
        text-align: center;
        font-size: 1.3rem;
        margin-left: 4rem;
        font-family: My Font1;
        text-align: justify;
    }


    /* To be taken off */

    .image {
        padding: 0;
        padding-left: 0;
        margin: 0;
    }

    .image img {
        width: 420px;
        padding: 0;
        margin: 0;
        margin-left: 0rem;
        margin-top: 0;
    }



    .box4b {
        width: 100%;
        height: 50rem;
        /* background-color: rgb(19, 73, 73); */
        position: relative;
    }

    .box4b h1 {
        text-align: left;
        margin-left: 2rem;
    }

    .box4b p {
        text-align: justify;
        display: none;
    }

    .box4b .card {
        height: 11rem;
        padding-top: 0.5rem;
        border: 0.1rem solid rgb(75, 82, 92);
        border-radius: 2rem;
        background-color: #97989c8a;
        text-align: center;
        box-sizing: border-box;
    }

    .grid-container {
        display: grid;
        /* border: 0.1rem solid red; */
        grid-template-columns: repeat(2, 17rem);
        gap: 1.5rem;
        justify-content: center;
        margin-top: 3rem;
    }

    .box4c {
        background-color: black;
        width: 35rem;
        height: 0.2rem;
        position: absolute;
        top: 41rem;
        margin-left: 4rem;
    }

    /* Box 5 */

    .box5 {
        width: 100%;
        height: 60rem;
        background-color: rgb(255, 255, 255);
        box-sizing: border-box;
        padding-top: 6rem;
    }

    .box5a .section-title3 {
        font-family: My Font2;
        font-size: 3rem;
        margin-left: 13rem;
    }
    
    .box5a .p {
        width: 35rem;
        text-align: justify;
        font-size: 1.3rem;
        margin-left: 4.5rem;
        font-family: My Font1;
    }

    .box5b h1 {
        text-align: center;
        margin-left: 0.8rem; 
        margin-bottom: 2rem;
    }

    .box5b p {
        text-align: justify;
        display: none;
    }

    .box5b .card {
        height: 13rem;
        padding-top: 0.6rem;
        border: 0.1rem solid rgb(75, 82, 92);
        border-radius: 2rem;
        background-color: #97989c8a;
        text-align: center;
        box-sizing: border-box;
    }
    
    .grid-container {
        display: grid;
        /* border: 0.1rem solid red; */
        grid-template-columns: repeat(2, 17rem);
        gap: 1.5rem;
        justify-content: center;
    }

    .date {
        width: 6rem;
        height: 6rem;
        background-color: #066130;
        position: absolute;
        box-sizing: border-box;
        border-radius: 1rem;
        padding-top: 1rem;
        display: none;
    }


    /* Footer */

    .box9 {
        width: 100%;
        height: 35rem;
        background-color: rgb(0, 0, 0);  
        padding-top: 40px; 
        box-sizing: border-box;
        position: relative; 
    }

    .boxf1 {
        width: 20rem;
        height: 25rem;
        /* background-color: rgba(240, 248, 255, 0.267);  */
        position: absolute;
        margin-left: 5rem;
        padding-top: 4.5rem;
        padding-left: 4rem;
        padding-right: 4.5rem;
        box-sizing: border-box;
    } 

    .boxf2 {
        width: 20rem;
        height: 25rem;
        /* background-color: rgba(240, 248, 255, 0.247);  */
        position: absolute;
        margin-left: 20rem;
        padding-left: 4rem;
        padding-top: 4.5rem;
        box-sizing: border-box;
    } 
}