.click {
    cursor: pointer;
    /* Rend le curseur clickable */
}

.click:hover {
    color: darkblue;
    /* Change la couleur en hover si vous le souhaitez */
}


.popup-form {
    display: none;
    position: fixed;
    z-index: 5;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    /* Start with invisible */
    transition: opacity 0.5s ease-in-out;
    /* Transition for smooth visibility */
}

.popup-content {
    background-color: rgba(255, 255, 255, 0);
    margin: 3% auto;
    padding: 20px;
    width: 80%;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Animation for opening */
.fade-in {
    opacity: 1;
    /* Fully visible */
    animation: fadeIn 0.5s forwards;
}

/* Animation for closing */
.fade-out {
    opacity: 0;
    /* Fade out to invisible */
    animation: fadeOut 0.5s forwards;
}

/* Keyframes for opening animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Keyframes for closing animation */
@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@media (max-width: 400px) {
    .popup-content {
        margin-top: 120px;
        margin-right: 50px;
        width: 95%;
    }

    .myFormContainer .form :where(.input-box input, .select-box) {
        width: 80%;
    }

}