* {
    margin: 0;
    padding: 0;
}

.presenImg {
    background-image: url(IMAGES/disney2.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.bandeau {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #387eb2;
    color: white;
    padding: 30px 40px;
}

.logo {
    display: flex;
    background-image: url(IMAGES/logoDisney-modified.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 100px;
    height: 100px;
}

.interface {
    font-size: 35px;
    font-family: "Dancing Script", cursive;
}

.interface ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.interface ul li {
    margin: 0 20px;
}

.interface nav a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s;
    margin-right: 40px;
}

.interface a:hover {
    color: rgb(13, 149, 233);
}

.reseaux {
    gap: 20px;
    display: flex;
    font-size: 30px;
    width: 220px;
}

.titre2 {
    padding-top: 2%;
    padding-bottom: 2%;
    text-align: center;
    font-size: 50px;
    font-family: "Dancing Script", cursive;
    color: white;
}

.titre2 i {
    color: #d8be81;
    font-size: 40px;
}

form {
    text-align: center;
    position: relative;
    box-sizing: border-box;
    padding: 30px 25px;
    background-color: rgba(241, 182, 209, 0.86);
    border-radius: 40px;
    margin: 40px 0;
    left: 50%;
    transform: translate(-50%, 0);
    display: block;
    width: 90%;
    max-width: 700px;
}

form p {
    color: #F4F4F4;
    font-family: "Dancing Script", cursive;
    justify-content: center;
    display: flex;
    font-size: 27px;
}

form h2 {
    color: #F4F4F4;
    font-family: "Dancing Script", cursive;
    justify-content: center;
    display: flex;
    font-size: 42px;

}

.rencontre {
    position: relative;
    padding: 15px 0;
}

.rencontre:first-of-type {
    padding-top: 0;
}

.rencontre:last-of-type {
    padding-bottom: 0;
}

.menu {
    transition: all 0.25s cubic-bezier(.53, .01, .35, 1.5);
    background: none;
    border: 1px solid var(--red);
    line-height: 0;
    font-size: 17px;
    width: 100%;
    display: block;
    box-sizing: border-box;
    padding: 12px 25px;
    border-radius: 60px;
    color: var(--red);
    font-weight: 100;
    letter-spacing: 0.01em;
    position: relative;
    z-index: 1;
}

.rencontre label {
    transition: all 0.25s cubic-bezier(.53, .01, .35, 1.5);
    transform-origin: left center;
    color: var(--red);
    font-weight: 100;
    letter-spacing: 0.01em;
    font-size: 17px;
    box-sizing: border-box;
    padding: 5px 17px;
    display: block;
    position: absolute;
    margin-top: -40px;
    z-index: 2;
    pointer-events: none;
}

.rencontre input[type="text"],
.rencontre input[type="email"],.rencontre select {
    transition: all 0.25s cubic-bezier(.53, .01, .35, 1.5);
    background: none;
    border: 1px solid var(--red);
    line-height: 0;
    font-size: 17px;
    width: 100%;
    display: block;
    box-sizing: border-box;
    padding: 10px 15px;
    border-radius: 60px;
    color: var(--red);
    font-weight: 100;
    letter-spacing: 0.01em;
    position: relative;
    z-index: 1;
}

.rencontre input[type="text"]:focus,
.rencontre input[type="email"]:focus,.rencontre select:focus {
    outline: none;
    background: var(--red);
    color: white;
    margin-top: 30px;
}

.rencontre input[type="text"]:valid,
.rencontre input[type="email"]:valid,.rencontre select:valid {
    margin-top: 30px;
}

.rencontre input[type="text"]:focus~label,
.rencontre input[type="email"]:focus~label,.rencontre select:focus~label {
    transform: translate(0, -35px);
}

.rencontre input[type="text"]:valid~label,
.rencontre input[type="email"]:valid~label,.rencontre select:valid~label {
    text-transform: uppercase;
    font-style: bold;
    transform: translate(5px, -35px) scale(0.6);
}
.rencontre select:valid~label {
    text-transform: uppercase;
    font-style: bold;
    transform: translate(5px, -35px);
}
:root {
    --red: #387eb2;
}

.transition {
    transition: all 0.25s cubic-bezier(.53, .01, .35, 1.5);
}

.btn {
    display: flex !important;
    justify-content: center;
}

form button {
    background-color: #0d2b5f;
    border-radius: 20px !important;
    border: 0;
    padding: 8px 25px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    align-self: center !important;
    display: inline-block;
    font-size: 18px;
    color: #F4F4F4;
    margin-top: 10px;
}

form button:hover {
    transition: transform 0.5s ease;
    background-color: #0d2b5f;
    transform: scale(1.10);
}

footer {
    text-align: center;
    padding: 15px;
    background-color: #ffabd2;
    color: #363636;
    font-size: 17px;
    border-top: 1px solid #0000009f;
}

.text-mention-legale {
    font-size: 25px;
}

@media (max-width: 1200px) {
    .interface {
        font-size: 28px;
    }

    .interface nav a {
        margin-right: 20px;
    }

    .presentation {
        gap: 20px;
    }

    .presImg {
        width: 380px;
    }

    .card {
        width: 28%;
    }
}

@media (max-width: 992px) {

    .bandeau {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 20px;
    }

    .interface ul {
        flex-direction: column;
        gap: 10px;
    }

    .reseaux {
        justify-content: center;
    }

    .presentation {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .presImg {
        margin: 20px auto;
        width: 60%;
    }

    .headerSection {
        margin: 0;
        font-size: 40px;
    }

    .headerBouton {
        margin-left: 0;
        width: 70%;
    }

    .btn {
        font-size: 25px;
    }

    .card-container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .card {
        width: 40%;
    }
}

@media (max-width: 768px) {

    .logo {
        width: 80px;
        height: 80px;
    }

    .interface {
        font-size: 24px;
    }

    .titre2 {
        font-size: 36px;
    }

    .headerSection {
        font-size: 32px;
    }

    .headerTexte {
        margin-top: 25px;
    }

    .btn {
        padding: 18px;
        font-size: 24px;
    }

    .card {
        width: 80%;
        font-size: 24px;
    }
}

@media (max-width: 576px) {

    .presenImg {
        background-attachment: scroll;
    }

    .bandeau {
        padding: 15px;
        gap: 10px;
    }

    .interface nav ul {
        flex-direction: column;
    }

    .interface nav a {
        font-size: 20px;
        margin: 0;
    }

    .reseaux {
        font-size: 24px;
        width: auto;
    }

    .presImg {
        width: 85%;
        margin-left: 0;
    }

    .headerSection {
        font-size: 26px;
    }

    .btn {
        font-size: 20px;
        padding: 15px 12px;
    }

    .card-container {
        margin: 20px;
    }

    .card {
        width: 95%;
    }

    footer {
        font-size: 15px;
    }
}

@media (max-width: 400px) {
    .headerSection {
        font-size: 22px;
    }

    .btn {
        font-size: 18px;
    }

    .titre2 {
        font-size: 28px;
    }
}