html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    font-family: 'Gotham', sans-serif;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

h1 {
    display: none;
}


/* HEADER------------------------------ */

/* NAV */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background-color: #f46428;
    height: 10vh;
}

#logo img {
    height: 25px;
    /* Ajuster la taille du logo */
}

.nav-links {
    display: flex;
    gap: 60px;
    font-size: 0.8rem;
}

.nav-links a {
    text-decoration: none;
    font-weight: bolder;
    color: #fff;
    transition: 0.3s ease, color 0.3s ease, opacity 0.3s ease;
    opacity: 100%;
}

.nav-links a:hover {

    color: #fff;
    opacity: 50%;

}

.nav-links.mobile {
    font-size: 1.2rem;
}



.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    text-align: center;
    position: absolute;
    min-width: 160px;
    z-index: 1;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    background-color: #074F34;
    margin-top: 2%;
}

.dropdown-content a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content {
    display: none;
    text-align: center;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 160px;
    z-index: 1;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    background-color: #074F34;


}

.dropdown:hover .dropdown-content {
    display: block;
}



#burger {
    width: 30px;
    height: 20px;
    position: relative;
    display: inline-block;
    cursor: pointer;
}

#burger div {
    width: 100%;
    height: 4px;
    background-color: #fff;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

#burger div:nth-child(1) {
    top: 0;
}

#burger div:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

#burger div:nth-child(3) {
    bottom: 0;
}

.nav-links.desktop {
    display: none;
}

.nav-links.mobile {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f46428;
    transform: translateX(100%);
    transition: transform 0.5s ease;
    overflow-y: auto;
}

.nav-links.mobile.show {
    transform: translateX(0);
}

#close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 40px;
    font-weight: bolder;
    cursor: pointer;
    color: #fff;
    margin-right: 40px;

}


@media (min-width: 969px) {

    #burger,
    .nav-links.mobile {
        display: none;
    }

    .nav-links.desktop {
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
    }
}


/* FIN NAV */

/* HERO */



/* FIN HERO */

/* FIN HEADER------------------------------ */









/* MAIN------------------------------------ */

/* SUB-HERO */
.catch-paragraph {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    height: calc(30vh - 75px);
    padding: 100px 180px 50px 180px;

}

.catch-paragraph h4 {

    border-bottom: solid 2px #f46428;
}


.bts-anchors {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 180px 50px 180px;
    width: 100%;
    height: 5vh;
}

.bts-anchors a {
    color: #a947F6;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s ease, color 0.3s ease, opacity 0.3s ease;
    opacity: 100%;
}

.bts-anchors a:hover {
    opacity: 50%;
}




@media (max-width: 969px) {
    .catch-paragraph {
        justify-content: flex-start;
        height: auto;
        padding: 15px;
        margin: 50px 0 50px 0;
    }

    .bts-anchors {
        display: flex;
        flex-direction: column;
        justify-content: flex-start ;
        align-items: center;
        width: 100%;
        height: auto;
        padding: 50px 10px 50px 10px;
        text-align: center;
    }

}

/* FIN SUB-HERO */

/* SECTION BTS */


#btsSIO, #btsCCST, #btsGPME, #btsMCO, #btsPI, #btsCG, #btsAGPN, #btsCOM, #btsCI, #btsNDRC, #btsSAM, #btsTourisme {
    margin: 20vh auto auto auto;
    width: 80%;
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}


.studyOption {
    display: flex;
    flex-direction: column;
    padding: 10px;
    margin-bottom: 10px;
}

.studyOption-logo {
    margin-bottom: 25px;
}

.studyOption span {
    margin-bottom: 25px;
}

.studyOption a {
    text-decoration: none;
    color: rgb(93, 93, 93);
    text-decoration: underline;
    transition: 0.3s ease, color 0.3s ease, opacity 0.3s ease;
    opacity: 100%;
}

.studyOption a:hover {
    opacity: 70%;
}

hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 20px 0;
}

@media (max-width: 969px) {
    #btsSIO{
        margin-top: 50px;
    }
    #btsInfo {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    #btsPresentation,
    #btsCampus,
    .studyOption {
        width: 90%;

    }
}




/* FIN SECTION BTS */

/* FIN MAIN------------------------------------ */







#btnTop {
    transition: opacity 0.5s;
    /* this line makes the button fade in and out */
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #074F34;
    color: white;
    font-weight: bolder;
    cursor: pointer;
    padding: 12px 15px 15px 15px;
    border-radius: 50px;
    font-size: 18px;
    width: 50px;
    height: 50px;
}

#btnTop:hover {
    background-color: #033823;
}









/* FOOTER--------------------------------------- */

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 30vh;
    background-color: #f46428;
}

.footer-content {
    display: inline-block;
    width: 60%;
    margin: 0 auto;
    padding-top: 2%;

}

@media (max-width: 969px) {
    footer {
        height: 33vh;
    }

    .footer-content {
        padding-top: 15%;
        width: 80%;
        height: 100%;
    }
}










/* FIN FOOTER--------------------------------------- */