:root {
    box-sizing: border-box;
    overflow-x: hidden;
}

*, *::before, *::after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

/* ------------------------------------------- Navbar ------------------------------------------- */

/* .logo img{
} */

.nav {
    width: 100%;
    height: 45px;
    position: fixed;
    line-height: 85px;
    text-align: center;
    z-index: 10;
}

.nav div.logo {
    float: left;
    width: auto;
    height: auto;
    padding-left: 50px;
}

.nav div.logo a {
    text-decoration: none;
    color: #fff;
    font-size: 2.5rem;
}

.nav div.logo a:hover {
    color: #8c8c8c;
}

.nav div.main_list {
    height: 85px;
    float: right;
}

.nav div.main_list ul {
    width: 100%;
    height: 85px;
    display: flex;
    justify-content: left;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav div.main_list ul li {
    width: auto;
    height: 85px;
    padding: 0;
    padding-right: 1.4rem;
    text-align: right;
}

.nav div.main_list ul li a {
    text-decoration: none;
    font-family: 'poppins', sans-serif;
    font-weight: 300;
    color: black;
    line-height: 85px;
    font-size: 1.5rem;
}

.nav div.main_list ul li a:hover:not(.btn-grad) {
    color: #989898;
    /* font-size: 1.7rem; */
    transition: 0.2s;
}

.navTrigger {
    display: none;
}

.nav {
    padding-top: 20px;
    padding-bottom: 20px;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

         
.btn-grad {
    background-image: linear-gradient(to right, #FF512F 0%, #F09819  51%, #FF512F  100%);
    margin: 0;
    padding: 5px 20px;
    text-align: center;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;            
    /* box-shadow: 0 0 20px #eee; */
    border-radius: 25px;
    display: inline-flexbox;
    align-items: center;
    line-height: normal;
    max-height: 40px;
  }

  .btn-grad:hover {
    background-position: right center; /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
  }
 
/* Animation navbar*/
/* Inspiration taken from Dicson https://codemyui.com/simple-hamburger-menu-x-mark-animation/ */

.navTrigger {
    cursor: pointer;
    width: 30px;
    height: 25px;
    margin: auto;
    position: absolute;
    right: 30px;
    top: 0;
    bottom: 0;
}

.navTrigger i {
    background-color: black;
    border-radius: 2px;
    content: '';
    display: block;
    width: 100%;
    height: 4px;
}

.navTrigger i:nth-child(1) {
    -webkit-animation: outT 0.8s backwards;
    animation: outT 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger i:nth-child(2) {
    margin: 5px 0;
    -webkit-animation: outM 0.8s backwards;
    animation: outM 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger i:nth-child(3) {
    -webkit-animation: outBtm 0.8s backwards;
    animation: outBtm 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger.active i:nth-child(1) {
    -webkit-animation: inT 0.8s forwards;
    animation: inT 0.8s forwards;
}

.navTrigger.active i:nth-child(2) {
    -webkit-animation: inM 0.8s forwards;
    animation: inM 0.8s forwards;
}

.navTrigger.active i:nth-child(3) {
    -webkit-animation: inBtm 0.8s forwards;
    animation: inBtm 0.8s forwards;
}

@-webkit-keyframes inM {
    50% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(45deg);
    }
}

@keyframes inM {
    50% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(45deg);
    }
}

@-webkit-keyframes outM {
    50% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(45deg);
    }
}

@keyframes outM {
    50% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(45deg);
    }
}

@-webkit-keyframes inT {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(9px) rotate(135deg);
    }
}

@keyframes inT {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(9px) rotate(0deg);
    }
    100% {
        transform: translateY(9px) rotate(135deg);
    }
}

@-webkit-keyframes outT {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(9px) rotate(135deg);
    }
}

@keyframes outT {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(9px) rotate(0deg);
    }
    100% {
        transform: translateY(9px) rotate(135deg);
    }
}

@-webkit-keyframes inBtm {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(-9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(-9px) rotate(135deg);
    }
}

@keyframes inBtm {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-9px) rotate(0deg);
    }
    100% {
        transform: translateY(-9px) rotate(135deg);
    }
}

@-webkit-keyframes outBtm {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(-9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(-9px) rotate(135deg);
    }
}

@keyframes outBtm {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-9px) rotate(0deg);
    }
    100% {
        transform: translateY(-9px) rotate(135deg);
    }
}

.affix {
    padding: 0;
    background-color: white;
   
}

.myH2 {
    padding: 30px 0 30px 30px;
    font-family: 'Roboto', sans-serif;
	font-size: 1.6rem;
}

/* ------------------------------------------- footer ------------------------------------------- */

footer{
    background-color: #111;
    position: relative;
}
.footerContainer{
    width: 100%;
    padding: 50px 100px 20px ;
}
.socialIcons{
    display: flex;
    justify-content: center;
}
.socialIcons a{
    text-decoration: none;
    width: 50px;
    height: 50px;
    padding:  10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    margin: 10px;
    border-radius: 50%;
}
.socialIcons a i{
    font-size: 2em;
    color: black;
    opacity: 0.9;
}
/* Hover affect on social media icon */
.socialIcons a:hover{
    background-color: #111;
    transition: 0.3s;
}
.socialIcons a:hover i{
    color: #dc6708;
    transition: 0.5s;
}
.footerNav{
    margin: 30px 0;
}

.footerNav ul{
    display: flex;
    /* justify-content: center; */
    flex-direction: column;
    list-style-type: none;
    align-items: center;
}
.footerNav ul li{
    padding: 15px 5px;
}

.footerNav ul li a{
    color: #ccc;
    text-decoration: none;
    font-size: 1.2rem;
    transition: 0.5s;

}
.footerNav ul li a:hover{
    color: #dc6708;
    font-size: 1.25rem;
}
.footerBottom{
    background-color: #000;
    padding: 20px;
    text-align: center;
}
.footerBottom p{
    color: white;
    
}
.footerBottom a {
    color: white;
    text-decoration: none;
}

/* ----------------------------------------------------------------------------------------------------- */
/* ------------------------------------------- Media queries ------------------------------------------- */
/* ----------------------------------------------------------------------------------------------------- */

/* ------------------------------------------- section navbar ------------------------------------------- */


@media screen and (min-width: 700px) {
    .nav {
        height: 85px;
    }
    .logo img{
        content: url('/images/logo-160x160.png');
    }
    /* .container__nav {
        margin: 0;
        background-color: red;
        z-index: 11;
    } */
}

@media screen and (max-width:700px) {
    .navTrigger {
        display: block;
    }
    .nav div.logo {
        margin: 0 10px;
        padding: 0;
    }
    .nav div.main_list {
        width: 100%;
        height: 0;
        overflow: hidden;
    }
    .nav div.show_list {
        height: auto;
        display: none;
    }
    .nav div.main_list ul {
        flex-direction: column;
        width: 100%;
        height: 100vh;
        right: 0;
        left: 0;
        bottom: 0;
        background-color: white;
        /*same background color of navbar*/
        background-position: center top;
    }
    .nav div.main_list ul li {
        width: 100%;
        text-align: right;
    }
    
    
    .nav div.main_list ul li a {
        text-align: center;
        width: 100%;
        font-weight: 300;
        font-size: 2.4rem;
        padding: 10px 20px;
    }
    .nav div.media_button {
        display: block;
    }

    .btn-grad {
        margin-left: auto;
        text-align: right;
        border-radius: 50px;
        /* width: auto; */
        padding: 10px 10px; /* Assurer un padding suffisant pour la lisibilité */
        margin: 10px; /* Ajouter une marge pour un meilleur espacement */
        max-height: 60px;
    }
}

/* ------------------------------------------- footer ------------------------------------------- */


@media (min-width: 700px) {
    .footerNav ul {
        flex-direction: row;
        justify-content: center;
        margin: 0 50px;        
    } 
    .footerNav ul li {
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }
}