.body2 {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    height: 100vh;
    background-color: black;
    display: flex;
    justify-content: center;
    /* align-items: center; */
    padding-top: 20%;
    background-image: url("../images/bgeuro.jpeg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

#survey-form {
    overflow: hidden;
    height: auto;
    background-color: #ffffff;
    margin-top: -12%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 700px;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
}

#survey-form-2 {
    overflow: hidden;
    height: auto;
    background-color: #ffffff;
    margin-top: -12%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 700px;
    padding: 20px;
    border-radius: 8px;
    display: none;
    flex-direction: column;
    align-items: center;
    position: absolute;
}

#survey-form-3 {
    overflow: hidden;
    height: auto;
    background-color: #ffffff;
    margin-top: -12%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 700px;
    padding: 20px;
    border-radius: 8px;
    display: none;
    flex-direction: column;
    align-items: center;
    position: absolute;
}

#survey-form-4 {
    overflow: hidden;
    height: auto;
    background-color: #ffffff;
    margin-top: -12%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 700px;
    padding: 20px;
    border-radius: 8px;
    display: none;
    flex-direction: column;
    align-items: center;
    position: absolute;
}

#survey-form-5 {
    overflow: hidden;
    height: auto;
    background-color: #ffffff;
    margin-top: -12%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 700px;
    padding: 20px;
    border-radius: 8px;
    display: none;
    flex-direction: column;
    align-items: center;
    position: absolute;
}

#survey-form-6 {
    overflow: hidden;
    height: auto;
    background-color: #ffffff;
    margin-top: -12%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 700px;
    padding: 20px;
    border-radius: 8px;
    display: none;
    flex-direction: column;
    align-items: center;
    position: absolute;
}

#survey-form-7 {
    overflow: hidden;
    height: auto;
    background-color: #ffffff;
    margin-top: -12%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 700px;
    padding: 20px;
    border-radius: 8px;
    display: none;
    flex-direction: column;
    align-items: center;
    position: absolute;
}

#survey-form-8 {
    overflow: hidden;
    height: auto;
    background-color: #ffffff;
    margin-top: -12%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 700px;
    padding: 20px;
    border-radius: 8px;
    display: none;
    flex-direction: column;
    align-items: center;
    position: absolute;
}

#checking-screen {
    /* overflow: hidden; */
    height: 250px;
    background-color: #ffffff;
    margin-top: -12%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 700px;
    padding: 20px;
    border-radius: 8px;
    display: none;
    flex-direction: column;
    align-items: center;
    position: absolute;
}

.fade-out {
    animation: fadeOut 1s ease forwards;
  }
  
.fade-in {
    animation: fadeIn 1s ease forwards;
    display: flex;
}

@keyframes fadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; display: none; }
  }
  
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; display: flex; }
}

.title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
}

.left,
.right {
    width: 100%;
    margin-bottom: 20px;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.description {
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
}

.footer {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-bottom: 20px;
}

.cta-button {
    background-color: rgb(12, 63, 232);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    outline: none;
}

button:focus {
    outline: none;
}

button:hover {
    background-color: rgb(51, 99, 248);
    border: none;
}

button:active {
    background-color: rgb(51, 99, 248);
    border: none;
}

/* @media only screen and (max-width: 500px) {
#survey-form {
    width: 50%;
}
} */

.validations,
.validationsanswers {
    display: none;
}

.validationsanswers {
    color: var(--positive-color);
    margin: 0;
    font-weight: bold;
}

.validations {
    margin: 10px auto 5px auto;
}

#validation {
    text-align: center;
}

#validation .row {
    min-height: 240px;
}

#validation img {
    margin-top: 40px;
    /* width: 14%; */
}
#validation .on{
    background-color: var(--positive-color);
    
}

/* Style for the final screen */
#final-screen {
    overflow: hidden;
    height: auto;
    background-color: #ffffff;
    margin-top: -12%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 700px;
    padding: 20px;
    border-radius: 8px;
    display: none;
    flex-direction: column;
    align-items: center;
    position: absolute;
}

@media only screen and (max-width: 376px) {
    #survey-form {
        width: 85%;
        /* margin-top: -12%; */
    }

    #final-screen {
        width: 85%;
        /* margin-top: -12%; */
    }

    #survey-form-2 {
        width: 85%;
        /* margin-top: -50%; */
    }

    #survey-form-3 {
        width: 85%;
        /* margin-top: -50%; */
    }

    #survey-form-4 {
        width: 85%;
        /* margin-top: -50%; */
    }

    #survey-form-5 {
        width: 85%;
        /* margin-top: -50%; */
    }

    #survey-form-6 {
        width: 85%;
        /* margin-top: -50%; */
    }

    #survey-form-7 {
        width: 85%;
        /* margin-top: -50%; */
    }

    #survey-form-8 {
        width: 85%;
        /* margin-top: -50%; */
    }

    #checking-screen {
        width: 85%;
        /* margin-top: -60%; */
    }

    #validation img {
        margin-top: 40px;
        width: 35%;
        max-width: 140px;
    }
}

@media only screen and (min-width: 377px) and (max-width: 680px) {
    #survey-form {
        width: 85%;
        /* margin-top: -60%; */
    }

    #final-screen {
        width: 85%;
        /* margin-top: -60%; */
    }

    #survey-form-2 {
        width: 85%;
        /* margin-top: -50%; */
    }

    #survey-form-3 {
        width: 85%;
        /* margin-top: -50%; */
    }

    #survey-form-4 {
        width: 85%;
        /* margin-top: -50%; */
    }

    #survey-form-5 {
        width: 85%;
        /* margin-top: -50%; */
    }

    #survey-form-6 {
        width: 85%;
        /* margin-top: -50%; */
    }

    #survey-form-7 {
        width: 85%;
        /* margin-top: -50%; */
    }

    #survey-form-8 {
        width: 85%;
        /* margin-top: -50%; */
    }

    #checking-screen {
        width: 85%;
        /* margin-top: -60%; */
    }

    #validation img {
        margin-top: 40px;
        width: 35%;
        max-width: 140px;
    }
}