@import url('https://fonts.googleapis.com/css2?family=Ancizar+Sans:ital,wght@0,100..1000;1,100..1000&display=swap');

* {
    font-family: "Ancizar", sans-serif;
    margin: 0;
    padding: 0;
    
}

body{
    padding: 0;
    margin: 0;
    background-color:#d4d4d4;
    background-size: 15%;
}

p{
    padding: 25px;
    text-align: left;
    line-height: 40px;

}

h1{
    color: rgb(232 91 71);
}

#menuLogo{
    width: 160px;
    height: auto;

}

#fleurGauche{
    position: absolute;
    margin-left: 5%;
    overflow: hidden;
    object-fit: cover;
    width: 157px;
    height: 200%;
    object-position: top;
}

#fleurDroite{
    position: absolute;
    margin-right: 5%;
    right: 0;
    top: 0;

    object-fit: cover;
    width: 157px;
    height: 200%;
    object-position: bottom;
}

.menuButton{
    position: absolute;
    margin-left: 5%;
    top: 8%;
}

.content {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    font-weight: 700;
    max-width: 60%;
    max-height: 75%;
    margin-bottom: 50px;
    margin-inline: auto;
    margin-top: 3%;
    padding-top: 2.5%;
    text-align: center;
    border-radius: 10px; 
}

.textContent {
    font-size: 110%;
    line-height: 150%;
    padding: 2%;
    padding-top: 5%;
    text-align: center;
}

.contentFrame{
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    font-weight: 300;
    font-size: 20px;
    max-width: 60%;
    max-height: 75%;
    margin-bottom: 50px;
    margin-inline: auto;
    margin-top: 3%;
    text-align: center;
    border-radius: 10px; 
}

.imageFrame{
    position: relative;
    float: right;
    margin: 50px;
    width: 500px;
    height: auto;
    border-radius: 10px;

}

.title{
    background-color: #F1F0F0;
    padding: 20px;
    border-radius: 10px;
}

.cards{
    display: flex;
    background-color: rgba(255, 255, 255, 0.3);
    flex-flow: wrap;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    max-width: 60%;
    margin-bottom: 100px;
    margin-inline: auto;
    border-radius: 10px; 
    gap: 80px 40px;
    object-fit: contain;
    padding-bottom: 50px;
}

.card{
    margin-top: 50px;
    margin-inline: auto;
    width: 400px;
    height: auto;
    border-radius: 10px; 
    transition: ease-in-out 0.1s;
    border-style:solid;
    border-color: white;

}

.card:hover  {
    transform:translateY(-5px);
    box-shadow: 0px 5px 10px  rgb(0, 0, 0);
    cursor: pointer;

}

.card:hover + .container {
    transform:translateY(-5px);

}

.container{
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-inline: auto;
    border-radius: 5px;
    transition: ease-in-out 0.1s;
}

.link{
    text-decoration: none;
    color: #000000;
}


@media screen and (max-width: 1120px) {

    body{
            background-size: 35%;
    }

    .topnav{
        font-size: 100%;
    }

    .content{
        font-size: 75%;
        max-width: 90%;
    }

    .textContent {
        font-size: 133%;
        line-height: 175%;
    }

    .cards{
        max-width: 90%;
    }

    .card{
        display: flex;
        justify-content: center;
        max-width: 80%;

    }

    .container{
        text-align: center;
        display: flex;
        max-width: 80%;
        font-size: 12px;

    }

    .imageFrame{
 
        justify-content: center;
        float: none;
        max-width: 95%;
        margin: 0;
        margin-bottom: 50px;
        margin-top: 33px;

    }

    .contentFrame{
        max-width: 90%;
    }

    .title{

        font-size: 25px;
    }

    #menuLogo{
        width: 100px;
        height: auto;
    }

    .menuButton{
        position: relative;
        margin-left: 3%;
    }

}

@media screen and (max-width: 1434px) {
    #fleurGauche{
        display: none;
    }

    #fleurDroite{
        display: none;
    }
    
}