@font-face {
    font-family: "plasto";
    src: url(PlastoTrial-Condensed.otf);
}

@font-face {
    font-family: "Baskerville";
    src: url(../fonts/LibreBaskerville-Regular.ttf);
}

@font-face {
    font-family: "Century";
    src: url(../fonts/07558_CenturyGothic.ttf);
}

body{
    font-family: "plasto";
    background-color: #6985C0;
}

nav{
    margin: -10px;
    padding: 0.3rem;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

nav ul{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

li{
    list-style: none;
}

#logo{
    vertical-align: middle;
    width: 8rem;
}

li a{
    text-decoration: none;
    color: black;
    font-family: "Century";
    font-size: 0.8rem;
}

li img{
    width: 20rem;
}

#bande{
    flex-direction: row;
}

.haut .menu-toggle .menu .lang{
    display: flex;
    flex-direction: row;
}

.haut .menu-toggle .menu .lang img{
    width: 1.5rem;
    border-radius: 10rem;
    margin-left: 0.5rem;
}

.haut .menu-toggle .menu .lang #uk{
    width: 2.5rem;
}

#burger-toggle {
    display: none;
}

.menu-icon {
    cursor: pointer;
    font-size: 24px;
    float: left;
}

.menu-toggle{
    display: flex;
    flex-direction: column;
}

.menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
}

#burger-toggle:checked + .menu-icon + .menu {
    display: block;
}

.menu li {
    margin-bottom: 10px;
}

.menu a {
    text-decoration: none;
    color: #333;
    padding: 0.2rem;
    border-radius: 0.2rem;
}

.menu a:hover{
    background-color: #33333370;
}

.haut{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-left: -10px;
    padding: 1rem;
    padding-bottom: 5rem;
}

.haut img{
    width: 40rem;
    border-radius: 0.5rem;
}

.haut .droite{
    text-align: center;
    font-family: "Baskerville";
    padding: 2rem;
}

.droite{
    display: flex;
    justify-content: center;
    padding-bottom: 3rem;
    flex-direction: column;
    align-items: center;
}

.droite img{
    width: 20rem;
    border-radius: 1rem;
    align-items: center;
}

.gauche p{
    font-family: "Baskerville";
    padding: 1rem;
}

.gauche h3{
    text-align: center;
    font-family: "Baskerville";
}

.haut .droite button{
    border: none;
    background-color: #abbada;
}

button{
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-family: "Baskerville";
    border-radius: 0.2rem;
}

button a:hover{
    color: #586071;
    transition: 0.3s;
}

button a{
    color: black;
    font-family: "Century";
}

#valid{
    text-align: center;
    font-family: "Century";
    font-size: 0.8rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-right: 1rem;
    padding-left: 1rem;
    border-radius: 0.5rem;
}

.line h1{
    text-align: center;
    font-family: "Baskerville";
    font-size: 1.5rem;
    padding-top: 0rem;
}

#title{
    font-size: 1.5rem;
}

#subtitle{
    font-family: "Century";
    text-align: center;
    font-size: 0.7rem;
    padding-bottom: 2rem;
}

#titleContact{
    font-family: "Baskerville";
    text-align: center;
    padding-top: 8rem;
}

.line2 h1{
    text-align: center;
    font-family: "Baskerville";
    font-size: 1.5rem;
    padding-top: 1rem;
}

.cards{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    align-items: center;
    padding: 1rem;
}

.card{
    margin-right: 2rem;
    background-color: rgba(212, 209, 209, 0.5);
    border-radius: 1rem;
    text-align: center;
    font-family: "Century";
    padding: 1rem;
    margin-bottom: 1rem;
}

.card p{
    font-size: 0.8rem;
}

.card img{
    width: 350px;
    height: 190px;
    margin-right: auto;
    border-radius: 0.4rem;
}

.card button{
    border-style: none;
}

.card button a{
    font-family: "Century";
    font-size: 0.75rem;
}

form{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 9rem;
}

input{
    width: 25rem;
    padding: 1rem;
    border: none;
    margin-bottom: 1rem;
    border-radius: 0.25rem;
    font-family: "Century";
    font-size: 0.7rem;
}

#message{
    height: 5rem;
    border-radius: 0.5rem;
}

#valid{
    box-shadow: 5px 5px 1px rgba(0, 0, 0, 0.238);
    background-color: #f6f6f8fb;
}

#valid:hover{
    box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.238);
    background-color: #f6f6f89c;
    width: 22rem;
    transition: 0.3s;
}

#valid:not(:hover){
    transition: 0.3s;
}

footer{
    background-color: #abbada;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

footer a{
    color: black;
    text-decoration: none;
}

footer p{
    font-family: "Baskerville";
    color: black;
    text-align: center;
    font-size: 0.7rem;
    margin: 0;
    padding: 1rem;
}

#map{
    width: 40rem;
    margin-right: 20rem;
    margin-left: 25rem;
    border-radius: 1rem;
}

.para{
    padding-left: 1rem;
    font-family: "Baskerville";
    font-size: 0.7rem;
}

.titrementions{
    text-align: center;
    font-family: "Baskerville";
    font-size: 1.5rem;
}

@media (max-width: 782px){
    .titrementions{
        padding-top: 4rem;
    }


    .haut{
        flex-direction: column;
        margin-left: 0;
        margin-right: 1.5rem;
        margin-top: 6rem;
    }

    .gauche img{
        display: flex;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    .droite{
        text-align: center;
        margin-left: 0;
        display: flex;
        flex-direction: column;
        padding-bottom: 2rem;
    }

    .line{
        margin-top: -8rem;
    }

    .line h1{
        padding-top: 2rem;
    }

    .cards{
        display: flex;
        margin-left: auto;
        margin-right: auto;
    }

    #carte{
        width: 30rem;
        height: 28rem;
        padding-top: 4rem;
    }

   #lineAc h1{
        padding: 1.5rem;
   }

    .card{
        width: 30rem;
        height: 25rem;
        padding-top: 3rem;
    }

    #img{
        padding-top: 1.5rem;
    }

    .cards .card img{
        width: 15rem;
        height: 10rem;
    }

    #desc{
        padding-right: 2rem;
        padding-left: 2rem;
    }

    #lineAc{
        margin-top: 6rem;
    }

    #cardAc{
        margin-left: 1rem;
    }

    #formulaire input{
        width: 9rem;
    }

    #formulaire{
        margin-left: -0rem;
    }

    #cardBar{
        display: flex;
    }

    #titleContact{
        text-align: center;
    }

    #haut{
        margin-top: 0;
        padding-bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .menu-toggle{
        display: flex;
        flex-direction: column;
        margin-top: 1rem;
    }

    .menu-icon{
        float: right;
    }

    #bande{
        margin-top: 2rem;
    }

    #make{
        padding-top: 2rem;
    }
}