﻿/* Reset e base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    font-family: "Bellota Text", sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #442f72;
}

a {
    color: red;
}

/* Layout principal */
.main-content {
    flex: 1;
    width: 100%;
    max-width: 960px;
    min-width: 300px; /* ou algo menor, para evitar quebra total */
    margin: 0 auto;
    padding: 0 20px; /* padding horizontal para espaçamento em telas pequenas */
}

.content {
    padding: 20px;
    border-radius: 10px;
    margin: 30px 20px;
    background-color: #FFF;
}

/* Tipografia */
h1 {
    font-size: 27px;
    color: #442f72;
    font-weight: 600;
}

label {
    font-size: 20px;
    margin-right: 10px;
}

#Label1 {
    text-align: justify;
}

/* Formulário */
form {
    margin-top: 20px;
}

input[type="text"] {
    font-size: 20px;
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #808080;
}

.button {
    min-width: 120px;
    padding: 10px 16px;
    font-size: 16px;
    background-color: #F1BB13;
    color: #442f72;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-family: 'LTSaeada', sans-serif;
    font-weight: 600;
}

.button:hover {
    background-color: #d6a80f;
    border-color: #d6a80f;
}

/* Resultado e botões */
#resultado,
#btnImprimir {
    margin-top: 30px;
}

/* Logo e imagens */
.logo-olimpiada {
    padding-top: 20px;
    display: block;
    margin: 0 auto;
    width: 300px;
}

/* Footer */
footer {
    margin-top: 20px;
    width: 100%;
    height: 100px;
    bottom: 0;
    left: 0;
}

.custom-footer {
    background-color: #fff;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    font-family: 'LTSaeada', sans-serif;
    
}

.custom-footer img {
    height: 60px;
    object-fit: contain;
}

.custom-footer span {
    font-size: 18px;
    color: #442f72;
    font-weight: 600;
}

/* Responsividade */
@media (max-width: 600px) {
    .custom-footer span {
        display: none;
    }

    .custom-footer {
        padding: 10px 0;
    }
}