@import url('https://fonts.googleapis.com/css2?family=Bitcount+Grid+Double:wght@100..900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bitcount+Grid+Double:wght@100..900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bitcount+Grid+Double:wght@100..900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
:root{
    box-sizing: border-box;
    font-size: 1rem;
    --veniceBlue : #08547a;
    --pacificBlue : #0499c8;
    --deepCove : #051d39;
    --blueWhale : #052c54;
    --snuff : #e4e1f2;
}
*, *:before, *:after{
    box-sizing: inherit;
}
h1,h2,h3,h4,h5,h6,body{
    padding: 0;
    margin: 0;
}
img{
    max-width: 100%;
}
body{
    font-family: 'Ubuntu',Georgia, 'Times New Roman', Times, serif;
    color: black;
}
/* Spiner style */
#loading-spinner{
    position: fixed;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.spinner{
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
}
@keyframes spin {
    0% {transform: rotate(0deg);}
    100% {transform: rotate(360deg);}
}
/* Header style */
#headPage {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-template-rows: auto auto 1fr;
}

/* contact infos of headPage section*/
header .conInfos{
    grid-column: 1/-1;
    display: none;
    flex-direction: column;
    justify-content: center;
}
header .conInfos a, footer #addressFooter article a, .btn{
    text-decoration: none;
    color: white;
    background-color: var(--blueWhale);
    max-width: auto;
    height: auto;
    justify-self: center;
    padding: .5rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    text-align: center;
}
.btn.plus{
    width: auto;
    font-size: 1rem;
    padding: 10px;
}
header .conInfos a:hover, footer #addressFooter article a:hover, .btn:hover{
    background-color: var(--pacificBlue);
    cursor: pointer;
    transition: 0.3s ease;
    color: white;
}
header #layMob{
    grid-column: 1/3;
    grid-row: 1/2;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
header #logo{
    width: 100px;
    height: 100px;
    padding: 15px 0px 15px 0;
}
header #btnMenu{
    display: flex;
    align-content: space-between;
}
/* mail section on top */
header .mail{
    display: flex;
    align-content: center;
    gap: .5em;
    margin-left: 10%;
}
header .mail p{
    font-size: 1em;
}
/* Header menu */
/* menu for mobile */
#navWrapper{
    display: none;
    flex-direction: column;
   
}
#navWrapper.menuMobile{
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: var(--deepCove);
    flex-grow: 1;
    justify-content: center;
    margin-top: -40px;
    height: auto;
}
#navWrapper .project{
    background-color: var(--veniceBlue);
    height: auto;
}
/* Hide menu for computers on mobile */
#navWrapperCpt{
    display: none;
}
#navWrapper a, #navWrapperCpt a{
    color: white;
    text-decoration: none;
    height: auto;
    text-align: center;
    width: 100%;
    margin: auto;
    padding: 1rem 0 1rem 0;
}
#navWrapper a:hover, #navWrapperCpt a:hover{
    background-color: var(--pacificBlue);
    transition: .3s ease;
}
/* Style for main */
body h1{
    text-align: center;
    margin-bottom: 1rem;
    /* font-family: 'Merriweather', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; */
}
main{
    margin-top: -40px;
}
/* Style for login admin error */
body .alertError{
    transition: 0.6s ease;
}
/* Style for footer */
#footerWrapper{
    /* display: grid;
    grid-template-columns: repeat(auto-fill,minmax(250px,1fr));
    grid-template-columns: repeat(3,1fr); */
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    background-color: var(--deepCove);
    color: white;
    padding: 10px;
}
#footerWrapper article{
    text-align: center;
}
#footerWrapper #whoWeAre ul li a:hover{
    color: #0499c8;
    transition: 0.3s ease-in-out;

}
#addressFooter, #whoWeAre, #contactFooter, article h2,ul,p,div  {
    margin-bottom: 1rem;
}
#footerWrapper article ul li{
   list-style: none;
   text-decoration: none;
}
#footerWrapper article ul li a{
   text-decoration: none;
   color: white;
   padding: 0;
}
#addressFooter{
    flex-shrink: 1;
}
#footerWrapper .socialNet{
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 1.5rem;
    margin: auto;
    padding-top: 1em;
}
#footerWrapper .socialNet a:hover{
    color: var(--pacificBlue);
}
/* Section coryright */
body #copy{
    text-align: center;
    background-color: var(--deepCove);
    color: white;
    padding: 10px;
}
/* Style for forms validation */
body .formContainer input.valid, textarea.valid {
    border: 1px solid green;
    transition: 0.3s ease;
}
body .formContainer  input.error, textarea.error{
    border: 1px solid red;
    transition: 0.3s ease, background-color 0.3s ease-in-out;
}
@media screen and (min-width:700px) {
    /* Header */
    #headPage{
        grid-template-columns: 1fr 300px;
        padding: 0 70px 0 70px;
    }
    header .conInfos{
        grid-column: 2/-1;
        grid-row: 1/2;
        display: flex;
    }   
    header #btnMenu{
        display: none;
    }
    header #logo{
        width: 130px;
        height: 130px;
    }
   /* Menu for computers */
   #navWrapper{
    display: none;
   }
   #navWrapperCpt{
    display: flex;
    flex-direction: row;
    justify-content: start;
    gap: 20px;
    background-color: var(--deepCove);
    flex-grow: 1;
    justify-content: center;
    margin-top: -40px;
    position: sticky;
   }
   #navWrapper a{
    width: 100%;
   }
   /* Footer */
   #footerWrapper{
        flex-direction: row;
        padding: 70px;
    }
    #footerWrapper section{
        width: 30%;
        height: auto;
    }
}
@media screen and (min-width:1600px) {
    body{
        font-size: 1.2rem;
    }
    /* #navWrapperCpt{
       margin-bottom: 100px;
    } */
    /* Style for footer */
    #footerWrapper{
        /* grid-template-columns: repeat(auto-fill,minmax(700px,1fr)); */
        grid-template-columns: repeat(3,1fr);
        /* justify-items: center;
        align-content: center;
        text-align: center; */
        padding: 70px 140px 70px 140px;
        gap: 5rem;
        /* margin: auto;
        max-width: auto; */
    }
    #footerWrapper section{
        border: none;
        max-width: 1600px;

    }
    /* #footerContent{
        grid-column: 2/3;
        display: grid;
        max-width: 1600px;
        grid-template-columns: repeat(auto-fill,minmax(400px,1fr));
        justify-items: center;
        align-content: center;
        text-align: center;
        padding: 70px 10px 70px 10px;
        gap: 5rem;
        margin: auto;
    } */

}