:root {
    --red: #FF4D4D;
    --yellow: #FFE33E;
    --yellowBackground: #FFF8CA;
}

html {
    scroll-behavior: smooth;
}

.flx{display: flex;}
.row{flex-direction: row;}
.col{flex-direction: column;}
.upper{text-transform: uppercase;}

.bg-kandinsky{
    position: absolute;
    z-index: -5;
    top: 30%;
    align-self: center;
    width: 50%;
    min-width: 850px;
}

#topArrow{
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: white;
    border: solid 1px black;
    height: 40px;
    width: 40px;
    border-radius: 100px;
    justify-content: center;
    align-items: center;
    transition: .3s;
    cursor: pointer;
}
#topArrow i{font-size: 20px;margin: 0;color: black;}
#topArrow:hover{
    height: 45px;
    width: 45px;
    font-size: 23px;
}

@font-face {
    src: url('./../font/PlayfairDisplay-VariableFont_wght.ttf');
    font-family: 'PlayfairDisplay';
}
@font-face {
    src: url('./../font/Raleway-VariableFont_wght.ttf');
    font-family: 'Raleway';
}

.reset{
    margin: 0;
    padding: 0;
}

body{
    max-width: 1566px;
    margin: 0 auto;
    letter-spacing: 2px;
}

i.fas{
    margin: 15px 10px 0 0 ;
}

header{
    height: 99vh;
    justify-content: space-between;
}
header>.center{
    max-width: 10px;
}

nav{justify-content: center;}
#navbar{
    font-family: Raleway;
    list-style: none;
    justify-content: space-around;
    width: 60%;
}
#navbar a{
    color: black;
    text-decoration: none;
    cursor: pointer;
}
header .right li,
#navbar li{
    transition: .5s;
}

.main-title{
    color: var(--red);
    text-align: center;
    letter-spacing: 8px;
    font-size: 30px;
    font-family: Raleway;
}

header>.content{
    justify-content: space-between;
    text-align: center;
    margin-top: -15%;
    /* background-image: url("./../img/kandinsky.svg"), none;
    background-repeat: no-repeat;
    background-position: center; */
}
.content>.left{
    text-align: left;
    font-family: Raleway;
    font-weight: 500;
}
.content>.left>h3{
    letter-spacing: 4px;
    margin-bottom: 0;
}
.content>.left label{
    font-size: 13px;
    margin-right: 25px;
}

header>.content>.left,
header>.content>div>.right{
    min-width: 22em;
    max-width: 22em;
}

.content>.center{
    min-width: 550px;
    font-family: Raleway;
    font-weight: 500;
}
.content h1{
    margin-bottom: 30px;
    font-weight: 500;
}
.content>.center>h3{
    font-size: 16px;
    font-weight: 500;
}
.content .phone-number{
    font-size: 18px;
    font-weight: bolder;
    font-size: 30px;
}

.content>div>.right{
    text-align: right;
    list-style: none;
    font-size: 15px;
    align-items: flex-end;
    margin-top: 8%;
    
    font-family: Raleway;
    font-weight: 500;
}
.content>div>.right>li{
    max-width: 155px;
    word-wrap: initial;
    min-height: 19px;
    padding-right: 5px;

    border-right: 3px solid var(--yellow);
}

.mention{
    text-align: center;
    font-family: Raleway;
    font-size: 13px;
}


section{
    display: flex;
    flex-direction: column;
    font-family: Raleway;
}

section>h2{
    font-family: PlayfairDisplay;
    letter-spacing: 6px;
    font-size: 26px;
}
section>h3{
    margin-top: 30px;
    font-weight: bold;
    font-family: PlayfairDisplay Medium;
    font-size: 28px;
    font-style: italic;
}

section.yellow{
    margin: 3em 0;
    padding-top: 3em!important;
    padding-bottom: 3em!important;
    background-color: var(--yellowBackground);
}
section.center{
    align-items: center;
}
section.padding{padding: 0 10%;}

section>label.title{
    font-size: 25px;
    font-weight: bold;
    font-family: PlayfairDisplay;
}
section>p{
    font-size: 19px;
}
section>p.center{
    max-width: 40%;
    text-align: center;
}
section>p>label{
    font-size: 19px;
    font-weight: 500;
}

section>p.paragraphe{
    max-width: 70%;
    letter-spacing: 3px;
    font-size: 15px;
}
section .left{
    align-self: flex-start;
    text-align: left;
}
section .right{
    align-self: flex-end;
    text-align: right;
}
section p.margin{
    margin: 100px 0;
}

section.case-left-right>div{
    justify-content: space-between;
}
section.case-left-right>div>div{
    max-width: 40%;
    letter-spacing: 3px;
    margin-top: 50px;
    line-height: 26px;
}
section.case-left-right label.title{
    font-size: 25px;
    font-weight: 600;
    font-family: PlayfairDisplay;
}
section.case-left-right h3{
    margin: 100px 0 0 0;
    font-size: 40px;
    font-weight: bold;
    letter-spacing: 8px;
    font-family: PlayfairDisplay;
    font-weight: 500;
}
section.case-left-right h4{
    margin: 0;
}
section .center{
    text-align: center;
}

footer{
    display: flex;
    justify-content: space-between;
    margin: 3em 3em;
    font-size: 18px;
    font-family: Raleway;
}

.show-md{
    display: none;
}

@media only screen and (max-width: 1245px)  {
    header>.content>.left,
    header>.content>div>.right{
        min-width: 14.5em;
        max-width: 14.5em;
    }
}


@media only screen and (max-width: 1024px)  {
    body{
        padding: 0 10px;
        max-width: 1024px;
    }
    header>.content{
        flex-direction: column;
    }
    .bg-kandinsky{
        width: 95%;
        min-width: auto;
    }
    .content>.left{
        max-width: 100%!important;
        margin-bottom: 40px;
    }
    .resp-md-horizon{
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .resp-md-horizon>.left,
    .resp-md-horizon>.right{
        margin: 0;
        min-width: 35%!important;
    }
    section>h3{
        text-align: center;
    }
    section .right.md-align {
        align-self: auto;
    }

    .hide-md{
        display: none;
    }
    .show-md{
        display: initial;
    }
}

@media only screen and (max-width: 767px)  {
    body{
        padding: 0 20px;
        max-width: 767px;
    }
    header{height: auto;}
    header>.content{
        margin-top: 0%;
    }

    .bg-kandinsky{
        opacity: 0.4;
        width: 80%;
    }
    #navbar{
        width: 100%;
        padding: 0;
        font-size: 13px;
    }
    #navbar li{
        text-align: center;
    }
    .content>.center{
        min-width: auto;
    }
    .content>.left label{
        margin: 0 6px;
    }
    header .center h3{
        font-size: 10px;
    }

    .content>.left {
        text-align: center;
    }
    .resp-md-horizon{
        justify-content: center;
    }

    section>p.center{max-width: 80%;}


    section.case-left-right h3{
        font-size: 35px;
    }
    section.case-left-right>div{
        flex-direction: column;
        width: 100%;
    }
    section.case-left-right>div>div,
    section>p.paragraphe{max-width: 100%;}

    h2{
        text-align: center;
    }

    footer{
        font-size: 16px;
        flex-direction: column;
    }

    .hide-sm{
        display: none!important;
    }
}

#navbar li:hover{
    font-size: 18px;
}
header .right li:hover{
    font-size: 17px;
    cursor: pointer;
}