.header {
    max-width: 150px;
}


.container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

body {
    min-height: 100vh;
    background-image: linear-gradient(#92CDCE, #B8C1A7);
    background-size: cover;
    padding: 3rem 10rem;
    font-family: 'Inter', sans-serif;

}

img {
    display: block;
    max-width: 100%;
}

.produit {
    display: flex;
    justify-content: center;
    align-items: center;
}

input, label {
    display: block;
    margin: 1rem;
}

label {
    font-size: 1.5rem;
    font-weight: bold;
    color: rgba(18, 18, 18, 0.75)
}

input {
    padding: 0.5rem;
    border-radius: 0.5rem;
    width: 50%;
}

section {
    display: grid;
    justify-content: center;
}

.video {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%;
    margin-bottom: 3rem;
}

iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.partenaires, .icons {
    display:flex;
    align-content:center;
}

.icons {
    height:100%;
    justify-content: center;
}

.facebook, .X, .instagram, .youtube {
    height:30px;
    margin:0.5rem;
}

.close-btn {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.close-btn:hover {
    background-color: #45a049;
}

.email {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.form-submit {
    padding: 0 1rem;
    margin: 1rem 0;
    border-radius: 1rem;
    color:rgb(231, 205, 37);
    background-color: #010201;
    border: none;
    font-weight: bold;
}

#return {
    display: none;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    justify-content: right;
    max-width: 5%;
}

@media screen and (max-width: 1200px) {
    body {
        padding: 3rem 5rem;
    }

    .header {
        max-width: 100px;
    }

    .component {
        width:80%;
        font-size: medium;
    }

    #return {
        max-width: 8%;
    }
}

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

    body {
        padding: 3rem 2rem;
        font-size:x-small;
    }

    .header {
        justify-self: center;
        max-width: 80px;
    }

    .cover {
        margin-right: 0.8rem;
    }

    .produit {
        flex-direction: column;
    }

    .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-items: center;
        column-gap: 1rem;
    }

    .component:first-of-type {
        grid-column-start: 1;
        grid-column-end: 3;
        justify-content: center;
        width: 50%;
    }

    .component {
        font-size: 0.7rem;
        display:grid;
        justify-items: center;
        width: 100%;
    }

    .label {
        font-size: 0.7rem;
        display:grid;
        justify-items: center;
        width: 80%;
    }

    .email {
        flex-direction: column;
    }

    .form-submit {
        padding: 0.5rem;
        margin:1rem;
    }

    input {
        margin:0 0 0 1rem;
        width: 80%
    }

    .return {
        display: block;
    }

    #return {
        right: 0.8rem;
        max-width: 10%;
    }
}