/* Reset CSS e estilos gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f0f3f5;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    padding: 25px;
}

/* Header */
header {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: #ffffff;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

header ul {
    padding: 0;
    list-style: none;
}

header li {
    display: inline;
    padding: 0 15px;
}

header #branding {
    float: left;
}

header #branding h1 {
    font-size: 2rem;
}

header nav {
    float: right;
    margin-top: 10px;
}

header .highlight, header .current a {
    color: #ffd700;
    font-weight: bold;
}

header a:hover {
    color: #ecf0f1;
    transition: 0.3s;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: #e67e22;
    color: #ffffff;
    text-decoration: none;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s, transform 0.2s;
}

.btn:hover {
    background: #d35400;
    transform: translateY(-2px);
}

/* Seções de conteúdo */
.home-info, .contact-form, .login-form, .register-form, .course-area {
    background: #ffffff;
    padding: 30px;
    margin-top: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Formulários */
form div {
    margin-bottom: 20px;
}

form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="date"],
form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

form textarea {
    height: 150px;
}

/* Footer */
footer {
    background: #2c3e50;
    color: #ecf0f1;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

/* Responsividade */
@media(max-width: 768px) {
    header #branding,
    header nav,
    header nav li {
        float: none;
        text-align: center;
        padding: 5px;
    }

    .btn {
        display: block;
        width: 100%;
    }
}

/* Acessibilidade para idosos */
body {
    font-size: 18px;
}

h1, h2, h3 {
    margin-bottom: 20px;
}

.btn, form input[type="submit"] {
    font-size: 1.1rem;
    padding: 15px 30px;
}

/* Efeitos visuais adicionais */
.home-info, .contact-form, .login-form, .register-form, .course-area {
    transition: transform 0.3s;
}

.home-info:hover, .contact-form:hover, .login-form:hover, .register-form:hover, .course-area:hover {
    transform: translateY(-5px);
}

/* Cores e estilos específicos para cada seção */
.home-info {
    border-left: 5px solid #3498db;
}

.contact-form {
    border-left: 5px solid #2ecc71;
}

.login-form, .register-form {
    border-left: 5px solid #e74c3c;
}

.course-area {
    border-left: 5px solid #f39c12;

}

/* Grade de vídeos em duas colunas */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.video-grid section iframe {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Responsividade: uma coluna no celular */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}
