:root{
    --main-bg-dark-blue: #587288;
    --main-bg-light-blue: #6E9AC0;
    --dark-blue: #49ABBF;
    --text-gray: #5D5D5D;
}

html{
    scroll-behavior: smooth;
}

body{
    height: 100vh;
    width: 100%;
    max-width: 100%;
}

@font-face {
    font-family: 'CooperHewitt-Bold';
    src: url('./../font/CooperHewitt-Bold.otf');
}
@font-face {
    font-family: 'CooperHewitt-Medium';
    src: url('./../font/CooperHewitt-Medium.otf');
}
@font-face {
    font-family: 'CooperHewitt-Light';
    src: url('./../font/CooperHewitt-Light.otf');
}

.f{display: flex;}
.r{flex-direction: row;}
.c{flex-direction: column;}
.sb{justify-content: space-between;}
.sa{justify-content: space-around;}
.jcc{justify-content: center;}
.tac{text-align: center;}
.rmarg{margin: 0;padding: 0;}
.aic{align-items: center;}
.padding{padding: 0 13%;}

.shadow{text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);}
.shadow-1{text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);}
.bold, h5{font-family: 'CooperHewitt-Bold'!important;}
h6{font-family: 'CooperHewitt-Medium'!important;font-size: 18px;}
lorem, b, p{
    font-family: 'CooperHewitt-Light'!important;
}
#home a{color: white;text-decoration: none;}
h3.title{
    font-family: 'CooperHewitt-Light';
    font-size: x-large;
}
button.btn{
    padding: 0.5rem 1rem;
    margin: 3em 0;
    border-radius: 20px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    font-size: 16px;
    color: var(--text-gray);
    cursor: pointer;
    background-color: white
    ;
    font-family: 'CooperHewitt-Light'!important;
}

section.screen{
    height: 100%;
    width: 100%;
    max-width: 100%;
}

#menu{
    font-family: 'CooperHewitt-Light';

    z-index: 10;
}
#menu>a, #menu h4{
    font-size: xx-large;
    padding: 10px 0;
}
#menu>ul>li{
    height: min-content;
    list-style: none;
    font-size: 1.5em;
    margin: auto 2.5em;
    cursor: pointer;
    transition: font-size .6s;
}
#menu>ul>li:hover{
    font-size: 1.6em;
}

@media screen and (max-width: 1300px){
    #menu>ul>li{
        margin: auto 1em;
    }
}
@media screen and (max-width: 950px){
    .padding{padding: 0;}
    #home{
        background: var(--dark-blue)!important;
    }
    #home>.padding>#menu{
        flex-direction: column;
        text-align: center;
    }
    #home>.padding>#menu>ul{
        justify-content: center;
    }
    #home>.bg-img{
        left: 50%;
        margin-left: -318px;
    }
    #home .middleInfo{
        text-align: center;
        width: 100%;
    }
    h3.title{padding: 0 1em;}

    #services h3.title{
        text-align: center;
    }
    #services .content>div{
        margin: 0 1em;
    }

    #metrouver img{
        margin: 0;
    }

    #apropos .content{
        flex-direction: column!important;
    }

    #apropos article{
        width: 90%!important;
        margin: 1em auto!important;
    }

    #services button{
        width: 60%;
        margin: 10em auto 3em auto!important;
    }
    footer>div{
        flex-direction: column!important;
        padding: 0 0 1em 0!important;
    }
    footer>div>div{
        padding: 0!important;
    }
    footer>div>div>div{
        padding: 15px 20px!important;
    }

    #popup>div{
        width: 70%!important;
    }

    #popup>div>div>div>div i.small{
        width: 50px;
    }
}
@media screen and (max-width: 640px){
    #home .middleInfo{
        bottom: 20%!important;
    }
    #home>.bg-img{
        max-width: 90%;
        max-height: 100%;
        margin: 0 auto;
        right: 0!important;
        left:0;
        opacity: .8;
    }
    #menu>ul>li{
        font-size: 1em;
    }
    #metrouver .content,
    #services .content>div{
        flex-direction: column;
        text-align: center;
    }
    #metrouver .content>img{
        margin: 0 auto;
        margin-top: 20px!important;
        max-width: 90%;
    }
    #services .content>div>article{
        margin: 1em auto 0 auto;
        width: 70%;
    }
}

#home{
    background-color: var(--dark-blue);
    color: white;
}
#home>.bg-img{
    position: absolute;
    top: 0;
    right: 7%;
    z-index: 1;
}
#home .middleInfo{
    position: absolute;
    bottom: 35%;
    z-index: 5;
    font-size: xx-large;
}
#home .middleInfo>h1{
    font-family: 'CooperHewitt-Light'!important;
    letter-spacing: 0.2rem;
    font-size: 20px;
    transition: font-size .5s;
}
#home .middleInfo>h1:hover{
    font-size: 22px;
    cursor: default;
}
#home .middleInfo h3{
    font-size: 50px;
}
#home .middleInfo button{
    font-family: 'CooperHewitt-Medium'!important;
    width: 125px;
    color: var(--text-gray);
    transition: width .5s;
}
#home .middleInfo button:hover{
    width: 175px;
}
#metrouver{
    padding: 3em 0;
    min-height: 50%;
    height: fit-content;
    color: var(--text-gray);
}
h3.metrouver,
h3.apropos{
    font-family: 'CooperHewitt-Light'!important;
    font-size: 30px;
    text-align: center;
    background-color: #DBDBDB;
    margin: 0;
    padding: 1em 0;
    text-transform: uppercase;
    color: white;
}
#metrouver p{
    margin-right: 10px;
}
#metrouver div.content{
    padding: 12% 0;
    font-size: 24px;
    font-family: 'CooperHewitt-Light';
}
#metrouver div.content>img{
    background-color: black;
    width: 16em;
    color: white;
}

#services{
    background-color: var(--dark-blue);
    color: white;
    height: auto;
}
#services h3{
    margin-top: 5em;
    font-size: 30px;
    font-weight: 100;
}
#services article{
    background-color: white;
    color: var(--text-gray);
    width: 40%;
    border-radius: 50px;
    padding: 40px;
    font-size: 20px;
    letter-spacing: 0.08rem;
    margin: 0 3px;
    transition: margin .4s;
}
#services article:hover{
    margin: 10px 5px 0 5px;
    cursor: pointer;
}
#services lore{
    font-family: 'CooperHewitt-Light';
    text-align: right;
    width: 95%;
    cursor: pointer;
    text-decoration: underline;
    font-size: 16px;
}
#services .content{
    padding-top: 13%;
}
#services button{
    margin: 10em 38% 3em 38%;
    color: var(--main-bg-dark-blue);
    transition: margin .5s;
}
#services button:hover{
    margin-left: 36%;
    margin-right: 36%;
}

#apropos {
    height: fit-content;
}
#apropos article {
    background-color: #DFDFDF;
    font-family: 'CooperHewitt-Light';
    border-radius: 30px;
    padding: 15px;
    color: var(--text-gray);
    margin: 6em 4% 3em 4%;
    font-size: 19px;
    z-index: 15;
    box-shadow: 4px 7px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

#popup.hidden{
    display: none;
}
#popup{
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    height: 100vh;
    width: 100%;
    min-width: 100vw;

    z-index: 99;
}
#popup>div{
    color: gray;
    background-color: white;
    width: 50%;
    min-width: 100wh;
    padding: 20px 30px;
    font-size: 1.3em;
    border-radius: 15px;
    overflow: hidden;

    /*responsive*/
    max-height: 85vh;
    overflow: auto;
}
#popup.screen>div p{margin: 10px 40px;}
#popup.screen>div b{margin-top: 18px;text-align: center;}
#popup.screen>div>i{
    cursor: pointer;
    height: min-content;
}
#popup>div>div>i{
    font-size: 0.8em;
    text-align: center;
}
#popup>div>div>div i{
    font-size: 0.8em;
    text-align: center;
    margin-right: 10px;
    font-family: 'CooperHewitt-Medium'!important;
}
#popup>div>div>div>div i{
    width: 100px;
    text-align: right;
}
#popup>div>div>div, #popup>div>div{
    width: 95%;
    margin: 7px 0;
}

#popup.tarif>div b i{
    font-style: initial;
    font-weight: 100;
}
#popup.tarif>div>div i{
    padding: 5px 0;
    font-family: 'CooperHewitt-Light';
    font-style: initial;
}

footer p{
    text-align: center;
    color: var(--main-bg-dark-blue);
    margin: 20px;
}
footer p lore{
    margin: 0 2em;
}
footer>div{
    font-family: 'CooperHewitt-Light';
    background-color: var(--dark-blue);
    color: white;
    font-size: 18px;
}
footer>div>div{
    padding: 2.5em 0;
}
footer>div>div>div{
    padding-top: 1em;
}
footer>div>div i{
    margin-right: 0.7rem;
}