/*2023-09-22 Guillaume reprends les fonctions CSS dans le nous.css et les met dans le main pour que cela profite à toutes les pages*/

/* note pour guigui */
/* la feuille main.css rassemble le CSS partagé par plusieures pages du site */
/* les propriétés qui sont utilisées que sur une seule page sont déclarées dans la feuille de style spécifique à la page */
/* exemple : j'ai transférer les classes qui servent à la mise en page du titre de l'accueil sur la feuille atelier.css puisque 
ces classes ne sont utilisées que pour cette page ;) */


/* ///////// LES UTILITAIRES */ 
/* les utilitaires sont des classes génériques tel que style de la police, les espacements, style des liens, etc...*/  
/* ///////////////////////////////////////////////////// Polices */

.font_h1 {
    font-family: "roc-grotesk", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: calc(40px + 4vw);
    line-height: 1.3;
    color: #1E1C24;
}
.font_h2 {
    font-family: "roc-grotesk", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: calc(30px + 2vw);
    line-height: 1.2;
    color: #1E1C24;
}
.font_h3 {
    font-family: "roc-grotesk", sans-serif;
    font-weight: 800;
    font-style: normal;
    line-height: 1.3;
    text-transform: uppercase;
    color: #1E1C24;
}
.font_btn {
    font-family: "roc-grotesk", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size : 22px;
    line-height: 1.3;
    color: #505050;
}
.body_1 {
    font-family: "roc-grotesk", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size : 22px;
    line-height: 1.3;
    color: #505050;
}
.body_2 {
    font-family: "roc-grotesk", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size : 16px;
    line-height: 1.3;
    color: #505050;
}
.medium {
    font-weight: 600;
    color: #1E1C24;
}
.bold, .active {
    font-weight: 800;
    color: #1E1C24;
}

/* ////////////////////////////////////////////// couleurs */ 
.text_bleu {
    color: #0073F6;
    font-weight: 600;
}

/* ////////////////////////////////////////////// margin */
.mt_80 {
    margin-top: 80px;
}
.mt_120 {
    margin-top: 120px;
}

/* ///////// LES COMPOSANTS */ 
/* les composants sont des éléments dans sites tel que la navbar, les card, ... */
/*///////////////////////////////////////// Navbar */
nav {
    background-color: #fff;
    /* box-shadow: 0px 30px 30px #fff; */
    min-height: 70px;
} 
.navbar-nav {
    gap: 20px; 
}
.nav-link {
    text-decoration: none;
    padding-left: 10px !important;
    padding-right: 10px !important;
    transition:  .3s ease-in-out;
}
.nav-link:hover {
    background-color: #FFDE80;
    border-radius: 5px;
}
.navbar-toggler {
    border: 3px solid #1E1C24;
}
@media (max-width: 992px) {
    .navbar-collapse {
        text-align: center;
        margin-top: 14px;
        padding: 14px;
        border-top: 3px solid #1E1C24;
        border-bottom: 3px solid #1E1C24;
    } 
}
.btn_mobile {
    display: none;
}
@media (max-width: 360px) { 
    .btn_desktop {
        display: none;
    }
    .btn_mobile {
        display: block;
    }
}
/*///////////////////////////////////////// Footer */
footer {
    display: flex;
    align-items: center;
    justify-content: center;
}
/* /////////////////////////////////////////  boutons */ 
.btn_fill {
    text-decoration: none;
    background-color: #0073F6;
    border: 3px solid #0073F6;
    border-radius: 5px;
    color: #fff;
    padding: 7px 14px 5px;
    font-weight: 600;
    transition:  .3s ease-in-out;
}
.btn_stroke {
    text-decoration: none;
    background-color: rgba(0, 115, 246, 0);
    border: 3px solid #0073F6;
    border-radius: 5px;
    color: #0073F6;
    padding: 7px 14px 5px;
    font-weight: 600;
    transition:  .3s ease-in-out;
}
.btn_stroke:hover, .btn_fill:hover {
    background-color: #FFDE80;
    color: #000;
    border-color: #000;
}

/* /////////////////////////////////////////  link */ 
.link {
    padding: 10px 10px 8px 10px;
    text-decoration: none;
    transition:  .3s ease-in-out;
    font-weight: 600;
}
/* Survol */
.link:hover {
    background-color: #FFDE80;
    border-radius: 5px;
    color: #000;
}
/* /////////////////////////////////////////  Sand box anim */ 
.cta {
    height: 85vh;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/*----------baballe rouge -*/
#baballe {
    border-radius: 25px;
    width: 40px;
    height: 40px;
    background: #D73B2F;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 1s;
}
/* Style pour le rond bleu */
.overlay {
    border-radius: 3000px;
    position: fixed;
    top: -500px;
    left: -500px;
    width: 3000px;
    height: 3000px;
    background-color: #007bff;
    transform-origin: center;
    transform: scale();
    transition: transform .6s;
    z-index: 9999;
}
.anim_showOverlay {
    animation: showOverlay 0.4s forwards;
}
.anim_hideOverlay {
    animation: hideOverlay 0.6s forwards;
}

  
/* Animation pour afficher progressivement le rond bleu */
@keyframes showOverlay {
    0% {
      transform: scale(0);
    }
    100% {
      transform: scale(1);
    }
}
  
/* Animation pour cacher progressivement le rond bleu */
@keyframes hideOverlay {
    0% {
      transform: scale(1);
    }
    100% {
      transform: scale(0);
    }
}

/*/////////////////////////////////////////////////////////////// a virer quand dev fini*/
/*------------- class de construction -----------*/
.bg1 {
    background-color: rgba(255, 228, 196,.8);
}
.bg2 {
    background-color: rgba(228, 255, 196,.8);
}
.bg3 {
    background-color: rgba(196, 252, 255,.8);
}
.bg4 {
    background-color: rgba(232, 196, 255,.8);
}
.bg5 {
    background-color: rgba(255, 196, 196,.8);
}