/* Reset CSS básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Importar fontes do Google */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600&display=swap');

/* Estilos gerais do corpo do documento */
body {
    font-family: 'Open Sans', sans-serif;
    background-color: #ffffff;
    color: #3F5D61;
    line-height: 1.6;
}

/* Estilos para o cabeçalho */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #3F5D61;
    color: white;
    padding: 10px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo img {
    max-height: 60px;
    border-radius: 8px;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}
.menu-toggle {
    cursor: pointer;
    display: none;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 5px 0;
    transition: transform 0.3s ease;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Estilos para as seções principais */
section {
    padding: 40px 20px;
    margin: 20px auto;
    max-width: 80%;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

p {
    margin-bottom: 5px;
}

#home {
    background-color: #eeeeee;
}

#about {
    background-color: #1e94b273;
    color: #0f4452;
}

.about-columns {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    font-weight: 500;
}

.about-left, .about-right {
    flex: 1;
}

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

.about-right {
    text-align: justify;
}

#game-details {
    margin: auto;
    padding: 40px 20px;
    text-align: justify;
    background-color: rgb(114, 202, 182);
    color: #0f4452;
}

.game-section {
    margin-bottom: 40px;
    text-align: center; /* Centraliza o conteúdo dentro de cada seção */
}

.game-section h3 {
    margin-bottom: 10px;
}

.game-section img.element-game {
    display: block;
    margin: 0 auto; /* Centraliza a imagem */
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#contact {
    background-color: #3F5D61;
    color: white;
    padding: 40px 20px;
    margin: 20px auto;
    max-width: 80%;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
}

#download {
    background-color: #84CEB7;
    color: white;
    padding: 40px 20px;
    margin: 20px auto;
    max-width: 80%;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#download a {
    display: inline-block;
    background-color: #1E94B2;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 20px;
    transition: background-color 0.3s ease;
}

#download a:hover {
    background-color: #84CEB7;
}

/* Estilos para cabeçalhos */
h1 {
    font-size: 40px;
    margin-bottom: 10px;
}

h2 {
    font-weight: 600;
    margin-bottom: 20px;
}


/* Estilos para carrossel de imagens */
.carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    max-width: 70%;
    margin: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.carousel-images {
    display: flex;
    gap: 10px;
}

.carousel-images img {
    width: 30%;
    height: auto;
    border-radius: 8px;
}

/* Estilos para o rodapé */
footer {
    background-color: #3F5D61;
    color: white;
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
}

footer p {
    margin: 0;
    font-size: 14px;
    font-weight: 300;
}

/* Estilos para a seção de contato */
.contact-info {
    text-align: left;
    font-weight: 300;
    flex: 1;
    margin-right: 40px;
    justify-content: flex-start;
    flex-direction: column;
    align-content: flex-start;
}

.contact-info ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.contact-info ul li {
    margin-bottom: 10px;
}

.contact-info ul li:last-child {
    margin-bottom: 0;
}

form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    margin-right: 60px;
}

form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #3F5D61;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
}

form button {
    background-color: #1E94B2;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #0E688B;
}

@media (max-width: 768px) {
    header {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 10px 20px; 
        position: fixed;
        top: 0;
        width: 100%; 
        background-color: #fff; 
        z-index: 1000;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
        background-color: #3F5D61;
    }

    .logo {
        order: 1;
    }

    .menu-toggle {
        display: block;
        order: 1;
    }

    nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px; /* Ajuste conforme necessário */
        right: 20px; /* Ajuste conforme necessário */
        background-color: #fff;
        padding: 10px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin-left: 0;
        margin-bottom: 10px;
    }
    nav.show {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 20px; 
        background-color: #3F5D61;
        padding: 10px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
    }

    .carousel-images img {
        width: 100%;
    }

    .contact-info {
        margin-right: 0;
        justify-content: flex-start;
        flex-direction: column;
        align-content: flex-start;
    }

    .about-columns {
        margin-right: 0;
        flex-direction: column;
        align-content: flex-start;
    }

    #contact{
        flex-direction: column;
    }

    .game-columns {
        flex-direction: column;
        gap: 20px;
    }

    .section {
        display: block;
        margin-bottom: 20px; 
    }
}

.game-columns {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.game-column {
    flex: 1;
}
.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}