* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Outfit", sans-serif;
}

body {
    background-color: #dddada;
}

header {
    display: flex;
    align-items: center;
    width: 100%;
    height: 12vh;
    background-color: #C5E99B;
    position: sticky;
    top: 0;
}

.logo-header {
    width: 6%;
    height: auto;
    margin-left: 2vw;
}

li {
    display: inline-block;
    margin-right: 3vw;
    list-style-type: none;
    font-size: 1.2rem;
}

.texto-header {
    display: inline-block;
    margin: 0 40vw 0 .5vw;
    font-size: 1.6rem;
    font-weight: 700;
    color: #f0f0f0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.nav-link {
    text-decoration: none;
    color: #30503A;
    font-weight: 600;
}

.nav-link:hover {
    font-size: 1.3rem;
    text-decoration: underline;
    color: #FFAB40;
    transition: all 0.3s ease-in-out;
}

#hero {
    background-image: url('../ativos/img-principal.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

h1 {
    color: #FFFFFF;
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    max-width: 800px;
    padding: 0 20px;
}

#sobre-nos {
    width: 95%;
    background-color: #dde5ec;
    margin: 2% auto 5% 2.5%;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

h2 {
    color: #30503A;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    max-width: 80%;
    margin: 0 10% 0 auto;
    padding: 2% 1% 2% 1%;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
}

.descricao {
    color: #374151;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 500;
    max-width: 80%;
    margin: 0 10% 0 auto;
    padding: 0 1rem 3% 1rem;
}

#detalhes-evento {
    width: 95%;
    height: 60vh;
    background-color: #dde5ec;
    margin: 2% auto 5% 2.5%;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.detalhes-evento {
    width: 95%;
    height: 40vh;
    background-color: #e9eff4;
    margin: 0 auto .5% 2.5%;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.detalhe-data,
.detalhe-horario,
.detalhe-local {
    width: 95%;
    height: auto;
    background-color: #dde5ec;
    margin: 2% auto 0% 2.5%;
    border-radius: 6px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 1% 1% 1% 2.5%;
    color: #374151;
    font-size: 1.4rem;
    font-weight: 500;
    border-left: 6px solid #FFAB40;
}

.detalhe-data::before {
    content: "📅 ";
}

.detalhe-local::before {
    content: "📍 ";
}

.detalhe-horario::before {
    content: "🕔 ";
}

h3 {
    color: #30503A;
    font-size: 1.6rem;
    font-weight: 600;
    max-width: 80%;
    padding: 2% 1% 2% 1%;
}

#atracoes {
    width: 95%;
    margin: 2% 2.5% 5% 2.5%;
    padding-left: 1%;
}

.container-atracoes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.detalhe-atracao-oficina,
.detalhe-atracao-feira,
.detalhe-atracao-roda,
.detalhe-atracao-comida,
.detalhe-atracao-apresentacao {
    background-color: #dde5ec;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 20px;
    color: #374151;
    font-size: 1.4rem;
    font-weight: 500;
    min-height: 150px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.detalhe-atracao-oficina:hover,
.detalhe-atracao-feira:hover,
.detalhe-atracao-roda:hover,
.detalhe-atracao-comida:hover,
.detalhe-atracao-apresentacao:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: #f59e0b;
}

#tabela-programacao {
    width: 95%;
    height: 65vh;
    background-color: #dde5ec;
    margin: 2% auto 5% 2.5%;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.tabela-programacao {
    width: 95%;
    height: 45vh;
    background-color: #e9eff4;
    margin: 0 auto .5% 2.5%;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    border-collapse: collapse;
    overflow: hidden;
}

.head-tabela {
    height: 7vh;
    background-color: #C5E99B;
    border-radius: 12px;
    color: #30503A;
    font-size: 1.6rem;
    font-weight: 600;
    max-width: 80%;

}

td {
    color: #374151;
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
}

tr:nth-child(even) {
    background: #DDE5EC;
}

tr:hover {
    background-color: #DDE5EC;
}

#inscricao {
    width: 95%;
    margin: 2% auto 5% 2.5%;
    text-align: center;
}

.titulo-instrucoes {
    color: #30503A;
    font-size: 1.6rem;
    font-weight: 600;
    width: 80%;
    padding: 2% 1% 2% 1%;
    text-align: center;
    margin-left: 10%;
}

iframe {
    width: 95%;
    height: 75vh;
    border-radius: 12px;
}

.lista-regras {
    width: 95%;
    height: 80vh;
    background-color: #dde5ec;
    margin: 2% auto 5% 2.5%;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.titulo-regras {
    color: #30503A;
    font-size: 1.6rem;
    font-weight: 600;
    width: 80%;
    padding: 2% 1% 2% 1%;
    text-align: left;
    margin-left: 5%;
}

.paragrafo-regras {
    width: 80%;
    color: #374151;
    font-size: 1.4rem;
    font-weight: 500;
    margin-left: 6%;
    text-align: left;
}

.li-regras {
    width: 80%;
    color: #374151;
    font-size: 1.2rem;
    font-weight: 500;
    text-align: left;
    list-style: decimal;
    display: list-item;
    margin-left: 8%;
}

.formulario-inscricao {
    width: 95%;
    height: 90vh;
    background-color: #dde5ec;
    margin: 2% auto 5% 2.5%;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.titulo-formulario {
    color: #30503A;
    font-size: 1.6rem;
    font-weight: 600;
    width: 80%;
    padding: 2% 1% 3% 1%;
    text-align: left;
    margin-left: 5%;
}

label {
    font-weight: 600;
    color: #30503A;
    text-align: left;
    font-size: 1.4rem;
    margin-bottom: .5%;
    margin-right: 1%;
}

.campo-formulario {
    text-align: left;
    margin-left: 6%;
    display: flex;
}

input[type="text"],
input[type="email"],
textarea {
    padding: 1.5%;
    border: 2px solid #E5E7Eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 80%;
}

input[type="radio"] {
    margin-right: 2%;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

textarea {
    min-height: 20vh;
    resize: vertical;
    width: 87%;
}

input[type="radio"] {
    accent-color: #f59e0b;
}

.campo-exposicao {
    display: flex;
    align-items: center;
    margin-left: 6%;
}

.campo-duvida {
    text-align: left;
    margin-left: 6%;
}

button {
    padding: 1% 1.5%;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: .5% 1.5%;
}

button[type="submit"] {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    color: white;
}

button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

button[type="reset"] {
    background: #f1f5f9;
    color: #374151;
    border: 2px solid #E5E7Eb;
}

button[type="reset"]:hover {
    background: #E5E7Eb;
}

footer {
    background-color: #C5E99B;
    height: 40vh;
}

.paragrafo-footer {
    color: #30503A;
    font-size: 1.4rem;
    font-weight: 600;
    margin: .5% 2%;
    padding-top: 2%;
    text-align: center;
}

.nav-redes-sociais {
    margin-left: 45%;
}

.img-footer {
    width: 5%;
    height: auto;
    margin-right: 1%;

}

/*Estilos para pequenos aparelhos*/
@media screen and (max-width: 600px) {
    header {
        height: 10vh;
    }

    h1 {
        font-size: 1.8rem;
    }

    .texto-header {
        display: none;
    }

    .logo-header {
        width: 14%;
        margin-left: .5vw;
        margin-right: 1.5vw;
    }

    li {
        font-size: .8rem;
        margin-right: 1vw;
    }

    .nav-link:hover {
        font-size: .85rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    .descricao {
        font-size: 1.1rem;
        max-width: 90%;
    }

    #detalhes-evento {
        height: 30vh;
    }

    .detalhes-evento {
        height: 20vh;
    }

    .detalhe-data,
    .detalhe-local,
    .detalhe-horario {
        font-size: 1.1rem;
    }

    h3 {
        font-size: 1.3rem;
        margin-bottom: .5%;
    }

    .container-atracoes {
        grid-template-columns: 1fr;
    }

    .detalhe-atracao-oficina,
    .detalhe-atracao-feira,
    .detalhe-atracao-roda,
    .detalhe-atracao-comida,
    .detalhe-atracao-apresentacao {
        font-size: 1.1rem;
        margin: 1% 0;
    }

    td {
        font-size: .9rem;
    }

    #tabela-programacao {
        height: 60vh;
    }

    .head-tabela {
        font-size: 1.1rem;
    }

    .lista-regras {
        height: 105vh;
    }

    .titulo-regras,
    .titulo-instrucoes,
    .titulo-formulario {
        font-size: 1.2rem;
    }

    .paragrafo-regras,
    label {
        font-size: 1rem;
    }

    .li-regras,
    button {
        font-size: 1rem;
    }

    .formulario-inscricao {
        height: 70vh;
    }

    footer {
        height: 30vh;
    }

    .paragrafo-footer {
        font-size: 1.1rem;
    }

    .nav-redes-sociais {
        margin-left: 35%;
    }

    .img-footer {
        width: 14%;
    }
}

/*Médios aparelhos*/
@media screen and (min-width: 601px) and (max-width: 1024px) {

    /* Estilos para médios aparelhos */
    header {
        height: 10vh;
    }

    .logo-header {
        width: 10%;
        margin-left: .4vw;
    }

    li {
        margin-right: 1vw;
        font-size: 1rem;

    }

    .texto-header {
        font-size: 1.2rem;
        margin-right: 12vw;
    }

    .nav-link:hover {
        font-size: 1.1rem;
    }

    #hero {
        background-position: right;
    }

    #detalhes-evento {
        height: 40vh;
    }

    .detalhes-evento {
        height: 30vh;
    }

    .container-atracoes {
        grid-template-columns: 1fr;
    }

    #tabela-programacao {
        height: 60vh;
    }

    .paragrafo-regras {
        font-size: 1.2rem;
    }

    .lista-regras {
        height: 95vh;
    }

    .formulario-inscricao {
        height: 80vh;
    }

    .img-footer {
        width: 10%;
    }

    .nav-redes-sociais {
        margin-left: 40%;
    }
}


/*Grandes aparelhos*/
@media screen and (min-width: 1025px) and (max-width: 1380px) {

    /* Estilos para grandes aparelhos */
    .logo-header {
        width: 10%;
        margin-left: .4vw;
    }

    li {
        margin-right: 2vw;
    }

    .texto-header {
        margin-right: 25vw;
    }

    .lista-regras {
        height: 90vh;
    }
}