/* Page crée par Parent Julien le 9 janvier 2025 */
body {
    background-color: #ff4800;
}

header {
    background-color: #ff4800;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bouton_nav {
    text-decoration: none;
    color: black;
    margin-left: 20px;
    font-weight: bold;
    border: 1px solid black;
    padding: 5px 10px;
}

h1 {
    font-size: 18px;
    margin: 0;
    color: black;
}

main {
    padding: 40px;
}

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

.contenaire2 {
    background-color: #ff4800;
    text-align: center;
    width: 30%;
}

.image_container {
    position: relative;
    height: 542px;
}

.image1 {
    opacity: 1;
    border-radius: 15px;
}

.image2 {
    opacity: 0;
    border-radius: 15px;
}


img {
    width: 100%;
    height: 542px;
    object-fit: cover;
    display: block;
    background-color: #ff4800;
    position: absolute;
    transition: transform 0.5s, opacity 0.5s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image_container:hover {
    .image1 {
        opacity: 0;
    }

    .image2 {
        opacity: 1;
    }
}

p {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 40px;
    font-weight: bold;
    color: rgb(0, 0, 0);
    margin-top: 10px;
    text-align: center;
}

.titre_contenaire {
    text-align: center;
    font-size: 50px;
    font-weight: bold;
}

.resultat {
    font-family: Georgia, 'Times New Roman', Times, serif;
    margin-top: 20px;
    font-size: 50px;
    font-weight: bold;
    color: black;
}

button {
    margin-bottom: 20px;
    font-size: 35px;
    animation: moove 2s infinite ease-in-out;
}

input {
    font-size: 20px;
    padding: 15px;
}

@keyframes moove {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}
@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
    }

    .contenaire2 {
        width: 100%;
    }

    .image_container,
    img {
        height: 400px;
    }
}