/* GENERALE */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    background: rgba(233, 233, 233, 0.95);
    color: #366eb5;
    font-family: roundonorm;
    text-align: start;
}

main {
    width: 90%;
    margin: 0 auto;
}

img {
    object-fit: contain;
    width: 100%;
    object-position: center;
}

a {
    text-decoration: none;
    color: #366EB5;
    font-family: "Titan One", sans-serif;
}

h1 {
    font-size: 3.5em;
    font-family: "Titan One", sans-serif;
    text-transform: uppercase;
    margin-top: .4em;
    margin-bottom: .3em;
    line-height: 1em;
}

h2 {
    font-size: 1em;
    font-weight: 770;
    font-family: roundonorm;
}

p {
    font-size: 1em;
    width: 80%;
    line-height: 1.4em;

}

h5 {
    color: white;
    font-size: 1em;
    font-weight: 770;
    font-family: "Titan One", sans-serif;
}

h6 {
    color: white;
    font-size: 1.5em;
    font-weight: 770;
    font-family: "Titan One", sans-serif;
}

.titlefoot {
    width: 50%;
}

.contact p {
    color: white;
    font-size: .85em;
}

.footing {
    margin-top: .6em;
}

.main {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.contact {
    width: 33%;
}

footer {
    background-color: #366EB5;
    padding: 2em;
    display: flex;
    justify-content: space-between;
}

.mobile {
    display: none;
}



.labtop {
    display: block;
}

/*======TYPO=====*/

.titan-one-regular {
    font-family: "Titan One", sans-serif;
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: roundonorm;
    src: url(/fonts/Roundo-Light.woff);
}

/*======HOME PAGE=====*/

.top {
    display: flex;
    justify-content: space-between;
}

.info {
    width: 70%;
    max-width: 35em;
}


.bouton {
    margin-top: 1em;
    width: 8.5em;
    height: 2.5em;
    border: #366EB5 .09em solid;
    border-radius: 100em;
    display: flex;
    align-items: center;
    justify-content: center;

}

/*======NAVE=====*/

ul {
    display: flex;
    justify-content: space-between;

}

li {
    margin: 1em;
}

/*======CARD=====*/
.wrapper {
    width: 100%;
    margin-top: 2em;
    margin-bottom: 2em;
    display: flex;
    align-items: center;
    justify-content: start;
}

.container {
    width: 100%;
    /* height: 400px;*/
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
}

.card {
    width: 80px;
    height: 400px;
    border-radius: .75rem;
    background-size: cover;
    cursor: pointer;
    overflow: hidden;
    border-radius: 2rem;
    border: #366EB5 .0em solid;
    margin: 10px 10px;
    display: flex;
    align-items: flex-end;
    transition: .6s cubic-bezier(.28, -0.03, 0, .99);
}

.card>.row {
    color: white;
    display: flex;
    flex-wrap: nowrap;
}

.row a {
    color: #ffffff;
}

.card>.row>.icon {
    background: #497aba;
    border: #ffffff .1em solid;
    color: white;
    border-radius: 50%;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px;
}

.card>.row>.description {
    display: flex;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    height: 80px;
    width: 520px;
    opacity: 0;
    transform: translateY(30px);
    transition-delay: .3s;
    transition: all .3s ease;
}

.description h4 {
    text-transform: uppercase;
    color: #ffffff;
}

input {
    display: none;
}

input:checked+label {
    width: 50%;
    max-width: 40em;
}

input:checked+label .description {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.card[for="c1"] {
    background-image: url('img/miniaa.png');
}

.card[for="c2"] {
    background-image: url('img/miniab.png');
}

.card[for="c3"] {
    background-image: url('img/miniac.png');
}

.card[for="c4"] {
    background-image: url('img/miniad.png');
}

.card[for="c5"] {
    background-image: url('img/miniae.png');
}


.fi {
    width: 45%;
}

video {
    width: 60%;
    object-fit: cover;
    object-position: center;
    border-radius: .6em;
}

.flexi {
    display: flex;
    justify-content: space-between;
    margin-top: 5em;
    margin-bottom: 5em;
}

@media (max-width: 790px) {


    .fi {
        margin-top: 10vw;
        text-align: start;
        width: 100%;
    }

    .fi p {
        text-align: start;
        width: 100%;
    }

    .fi h1 {
        text-align: start;
        width: 100%;
    }

    .fi .bouton {
        margin: 0;
        margin-top: 1vw;
        margin-bottom: 7vw;
    }

    video {
        width: 100%;
        object-fit: cover;
        object-position: center;
        border-radius: 2vw;
    }

    .flexi {
        display: block;
        margin-top: 5vw;
        margin-bottom: 5vw;
    }



}

@media (max-width: 600px) {





    /* GENERALE */

    body {
        text-align: center;
    }

    h1 {
        width: 90%;
        margin: auto;
        font-size: 8vw;
        margin-top: .4vw;
        margin-bottom: 2vw;
        line-height: 8vw;

    }

    h2 {
        font-size: 2.3vw;
        margin: auto;
    }

    p {
        margin: auto;
        font-size: 2.8vw;
        width: 80%;
        line-height: 2.9vw;

    }





    h5 {
        font-size: 3vw;
    }

    h6 {
        font-size: 4vw;
        font-weight: 770;
    }


    .contact p {
        color: white;
        font-size: 2.5vw;
        width: 100%;
    }

    .footing {
        margin-top: 3vw;
    }

    .main {
        display: block;
    }

    .contact {
        width: 100%;
        margin-top: 10vw;
    }

    footer {
        text-align: start;
        padding: 4vw;
        display: block;

    }

















    /*======HOME PAGE=====*/

    .top {
        display: block;
    }

    .mobile {
        display: block;
    }

    .labtop {
        display: none;
    }


    .info {
        width: 100%;
        margin-top: 4vw;
    }

    .bouton {
        margin: auto;
        margin-top: 3vw;
        width: 21vw;
        height: 7vw;
    }

    /*======CARD=====*/
    .wrapper {
        width: 100%;
        margin-top: 2vw;
        margin-bottom: 2vw;
        justify-content: center;
    }

    .card {
        width: 12vw;
        height: 55vw;
        border-radius: 1rem;
        margin: 4vw 1vw;
    }

    .card>.row>.icon {
        border-radius: 100vw;
        width: 10.7vw;
        margin: 2vw;
    }

    .card>.row>.description {
        height: 21vw;
        text-align: start;
        width: 100%;
        opacity: 0;

    }

    input:checked+label {
        width: 82%;
    }

    /*======NAVE=====*/
    ul {
        justify-content: space-around;
    }

    li {
        margin: 4vw;
    }

}