@import url('https://fonts.googleapis.com/css2?family=Bruno+Ace+SC&family=Poppins:wght@100&family=Young+Serif&display=swap');
/* ///////////////MAIN DECLARATIONS//////////////// */
*{
    margin: 0;
    padding:0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Young Serif', sans-serif;
}

html {
    font-size: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
}

body{
    background: rgb(145, 184, 194);
    color: white; 
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

::-webkit-scrollbar {
    display: none;
}

section {
    min-height: 100vh;
    scroll-snap-align: start;
    padding: 100px 200px;
    
}

/* //////////////HEADER STUFF/////////////// */

.header{
    z-index: 99;
    position: absolute;
    color: white;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 200px;
    transition: 0.5s ease;
    border: 2px solid rgb(189, 189, 189);
    border-radius: 50px;
}

.logo img{
    border-radius: 20%;
    font-size: 1.5em;
}

.orgName{
    color: white;
    font-size: 20px;
}


header .navigation{
    position: relative;
}

header .navigation .navigation-items a{
    position: relative;
    color: #ffff;
    font-size: 1em;
    font-weight: 500;
    margin-left: 30px;
    transition: 0.3s ease;
}

header .navigation .navigation-items a:before{
    content: '';
    position: absolute;
    background: #fff;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    transition: 0.3s ease;
}

header .navigation .navigation-items a:hover:before{
    width: 100%;
}



/* Dropdown container - needed to position the dropdown content */
.dropdown {
    float: left;
    overflow: hidden;
}
  
.dropdown .dropbtn {
    position: relative;
    color: #ffff;
    background-color: black;
    font-size: 1em;
    font-weight: 500;
    margin-left: 30px;
    transition: 0.3s ease;
}
  

.dropdown-content {
    display: none;
    position: absolute;
    background-color: transparent;
    border-radius: 10px;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: #fff;
    padding: 4px 4px;
    display: block;
  }

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display:block;}

/* **************** Home Page Stuff ******************* */

#home{
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

/* ******Video In Background ******  */
/* Do not change CSS, just change the main video link in .html file */

#background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;
}



/* /////////////////Extra Stuff///////////////////// */

.scroll-down{
    height: 50px;
    width: 30px;
    border: 2px solid black;
    background-color: aliceblue;
    position: absolute;
    left: 50%;
    bottom: 20px;
    border-radius: 50px;
    cursor: pointer;
}

.scroll-down::before,
.scroll-down::after{
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    border: 2px solid black;
    height: 10px;
    width: 10px;
    transform: translate(-50%,-100%) rotate(45deg);
    border-top: transparent;
    border-left: transparent;
    animation: scroll-down 1s ease-in-out infinite;
}

.scroll-down::after{
    top: 30%;
    animation-delay: .3s;
}

@keyframes scroll-down{
    0%{
        opacity: 0;
    }
    30%{
        opacity: 1;
    }
    50%{
        opacity: 1;
    }
    100%{
        opacity: 0;
        top: 90%;
    }

}

#progress{
    position: fixed;
    bottom: 20px;
    right: 10px;
    height: 50px;
    width: 50px;
    display: none;
    place-items: center;
    border-radius: 50%;
    /* border: 2px solid black; */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

#progress-value{
    display: block;
    height: calc(100% - 15px);
    width: calc(100% - 15px);
    background-color: #ffffff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 25px;
    color: #001a2e;
}

/* *********Footer******** */

.footer{
    scroll-snap-stop: always;
	scroll-snap-align: end;
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 1rem 9%;
    border-radius: 1.8rem;
}

.footer-text p{
    font-size: 15px;
}

.formation img{
    width: 500px;
    height: 800px;
}

.formation
{
    display:grid;
    grid-template-columns: 500px 100px;
    grid-row: auto auto;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
}

/* ********For Mobile Dev Only *********** */

.break{
    display: none;
}

.break.show{
    display: flex;
}


#menu-icon{
    font-size: 2.5rem;
    color: white;
    display: none;
}

/* ********For All Sized Phones ********** */

@media screen and (max-width: 600px) {
    body{
        font-size: 16px;
    }

    section{
        padding: 50px 10px;
        height: 100%;
        width: 100%;
    }

    .header {
        height: auto;
        padding: 10px;
        border: none;
    }

    header .navigation .navigation-items a:hover:before{
        display: none;
    }

    #menu-icon {
        display: block;
        position: absolute;
        top: 5px;
        right: 5px;
        z-index: 100;
    }

    .navigation{
        background-color: rgb(176, 175, 175);
        position: absolute;
        height: 100%;
        width: 50px;
        top: 100%;
        left: 0;
        width: 100%;
        inset: -10px 0 0 50%;
        padding: 3rem 1%;
        border-top: .1rem solid rgba(0,0,0,.2);
        box-shadow: 0 .5rem 1rem rgba(0,0,0,.2);
        display: none;
        border-radius: 25px;
    }

    .navigation.active{
        display: block;
    }

    .navigation a{
        display: block;
        font-size: 2rem;
    }

    .orgName{
        display: none;
    }

    .logo img {
        display: block;
        margin: 0 auto;
        width: 40px;
        position: fixed;
        top: 7px;
        left: 7px;
    }


    /* Adjust footer styles for smaller screens */
    .footer {
        padding: 10px;
        text-align: center;
    }
    .footer-text p {
        font-size: 14px;
    }

    .formation img {
        width: 100%;
        height: auto; 
    }

    .formation {
        display: block; 
        margin-bottom: 5px; 
    }

}

/* *****For Devices Bigger Than Phones (iPads, etc) ********* */

@media screen and (min-width: 601px) and (max-width: 1300px) {
    body{
        font-size: 25px;
    }

    section{
        padding: 50px 10px;
        height: 100%;
        width: 100%;
    }

    .header {
        height: auto;
        padding: 10px;
        border: none;
    }

    header .navigation .navigation-items a:hover:before{
        display: none;
    }

    #menu-icon {
        display: block;
        position: fixed;
        font-size: 55px;
        top: 5px;
        right: 5px;
        z-index: 100;
        transition: .5s ease;
    }

    .navigation{
        background-color: rgb(176, 175, 175);
        position: absolute;
        height: 100%;
        width: 50px;
        top: 100%;
        left: 0;
        width: 100%;
        inset: -10px 0 0 50%;
        padding: 3rem 1%;
        border-top: .1rem solid rgba(0,0,0,.2);
        box-shadow: 0 .5rem 1rem rgba(0,0,0,.2);
        display: none;
        border-radius: 25px;
        z-index: 1000;
    }

    .dropdown-content {
        z-index: 1000;
    }

    .navigation.active{
        display: block;
    }

    .navigation a{
        display: block;
        font-size: 2rem;
    }

    .orgName{
        display: none;
    }

    .logo img {
        display: block;
        margin: 0 auto;
        width: 50px;
        position: fixed;
        top: 7px;
        left: 7px;
    }
    
    .formation img {
        width: 100%;
        height: auto; 
    }

    .formation {
        display: block; 
        margin-bottom: 5px; 
    }
}


/* ********** End CSS File *********** */