/* Estilos globais aplicáveis a todas as resoluções */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

body.body-index {
    height: 100vh;
}

.result-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

.result-text, .result-image {
    width: 100%;
    margin-bottom: 20px;
}

.result-text {
    text-align: left;
}

.result-button {
    display: block;
    width: 100%;
    background-color: #800000;
    color: white;
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.result-button:hover {
    background-color: #ab1212;
}

.imagem-results {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.container {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 80%;
    margin: auto;
    position: relative;
}

.header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    width: 50%;
    max-width: 180px;
    margin-bottom: 0px;
}

h1 {
    color: #333;
    font-size: 24px;
    margin: 0;
    text-align: center;
}

label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

input[type="text"] {
    width: 80%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    padding: 10px 20px;
    margin-top: 20px;
    background-color: #800000;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #ab1212;
}

#quiz {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

#progress-container {
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
}

#progress-bar {
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 4px;
    position: relative;
    padding: 5px;
}

#progress {
    background-color: #800000;
    height: 20px;
    width: 0%;
    display: flex;
    align-items: center;
    border-radius: 2px;
}

#progress-text {
    position: absolute;
    left: 10px;
    color: white;
}

.question-option {
    display: flex;
    align-items: center;
    background-color: #f8f8f8;
    margin: 10px 0;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.question-option input[type="radio"] {
    margin-right: 10px;
}

#question-container {
    margin-bottom: 20px;
}

#question-container h2 {
    font-size: 18px;
    color: #333;
}

#question-container div {
    text-align: left;
    display: flex;
    align-items: center;
    background-color: #f8f8f8;
    margin: 10px 0;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#question-container label {
    margin-left: 5px;
    color: #555;
}

#result-container {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 80%;
    max-width: 500px;
}

#result {
    margin-top: 20px;
    font-size: 18px;
    color: #333;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#share-result {
    margin-top: 20px;
}








/* Estilos para desktops */
@media (min-width: 769px) {
    .container-results {
        background-color: white;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        width: 80%;
        margin: auto;
        position: relative;
    }
    
    #result {
        margin-top: 20px;
        font-size: 18px;
        color: #333;
        padding: 40px 20px 40px 40px;
        background: white;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }
    
    h1.titulo-results {
        color: #333;
        font-size: 26px;
        margin: 0;
        margin-bottom: 20px;
        text-align: center;
    }
    
    p.texto-intro {
        border: 2px solid #333;
        margin: 1% 6% 1% 6%;
        padding: 10px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
    }
    
    #user-info {
        background: white;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        width: 80%;
        margin: auto;
        max-width: 500px;
    }
    
    img.imagem-results {
        max-width: 100%;
        height: 450px;
        margin-top: 20px;
        border-radius: 8px;
    }
    
    .logo {
        width: 50%;
        max-width: 180px;
        margin-bottom: 0px;
    }
    
    .result-text, .result-image {
        width: 50%;
    }
    
    .result-image {
        text-align: center;
    }
    
    .result-button {
        font-size: 16px;
    }
    .capture {
    position: absolute;
    
    background-color: white;
    left: -9999px;
    padding: 0px;
    width: 1080px;
    height: 1080px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 8px;
    }
    .capture .logo {
    max-width: 400px;
    margin-bottom: 20px;
    margin-top:150px;
    }

    .capture h1 {
    font-size: 55px;
    margin-bottom: 30px;
    letter-spacing: normal;
    font-family: Arial, sans-serif;
    }

    .capture #formatted-result {
    font-size: 30px;
    letter-spacing: normal;
    font-family: Arial, sans-serif;
    }
    #user-name {
    font-size: 27px;
    margin-bottom: 20px;
    color: #333;
    letter-spacing: normal;
    font-family: Arial, sans-serif;
    font-weight:bold;
    }
}

/* Estilos para dispositivos móveis */
@media (max-width: 768px) {
    .container-results {
        background-color: white;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        width: 100%;
        margin: auto;
        position: relative;
    }
    
    #result {
        margin-top: 20px;
        font-size: 18px;
        color: #333;
        padding: 20px;
        background: white;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }
    
    h1.titulo-results {
        color: #333;
        font-size: 24px;
        margin: 0;
        text-align: center;
    }
    
    p.texto-intro {
        border: 2px solid #333;
        padding: 10px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
    }
    
    #user-info {
        background: white;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        margin: auto;
        max-width: 500px;
    }
    
    .header {
        flex-direction: column;
        align-items: center;
    }
    
    .logo {
        width: 70%;
        max-width: 180px;
        margin-bottom: 0px;
    }
    
    img.imagem-results {
        max-width: 100%;
        height: 450px;
        margin-top: 20px;
        border-radius: 8px;
    }
    
    .result-text, .result-image {
        width: 100%;
    }
    
    .result-button {
        font-size: 14px;
    }
    
    .container {
        width: 90%;
    }
    
    h1 {
        font-size: 20px;
    }
    .capture {
    position: absolute;
    left: -9999px;
    background-color: white;
    width: 1080px;
    height: 1080px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 8px;
    }

    .capture .logo {
        max-width: 450px; /* Reduzir o tamanho da logo para telas menores */
    }

    .capture h1 {
        font-size: 55px; /* Reduzir o tamanho da fonte para telas menores */
        letter-spacing: normal;
        font-family: Arial, sans-serif;
    }

    .capture #formatted-result {
        font-size: 37px; /* Reduzir o tamanho da fonte para telas menores */
        letter-spacing: normal;
        font-family: Arial, sans-serif;
        padding:75px;
    }
    #user-name {
        font-size: 30px;
        margin-bottom: 20px;
        color: #333;
        letter-spacing: normal;
        font-family: Arial, sans-serif;
        font-weight:bold;
        letter-spacing: normal;
        font-family: Arial, sans-serif;
    }
}
