* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: --font-primary;
    line-height: 1.6;
    overflow-x: hidden;
    background-color: white;
    height: 100vh;
    position: relative;
    color: #222;
    background: url('/assets/images/backgrounds/minimalist\ full-page.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}

header {
    background: transparent;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 5;
    padding: 20px;
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
    color: #333;
    padding: 20px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
}

.menu_navegacao {
    list-style: none;
    display: flex;
    position: absolute;
    right: 60px;
    top: 0;
    justify-content: flex-end;
    gap: 24px;
    padding-top: 5px;
}

.menu_navegacao li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 24px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    text-underline-offset: 4px;
}

.menu_navegacao li a:hover {
    text-decoration: underline;
    background-color: transparent;
    color: #319795;
}

.logo {
    font-size: 1.2rem;
    color: #333;
    position: static;
    transform: none;
    margin-left: 40px;
}

.logo:hover {
    background-color: transparent;
    color: #319795;
}

.medias {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1vw;
    padding-top: 80px;
}

.media img {
    width: 11vw;
    height: 11vw;
    object-fit: contain;
    border-radius: 4%;
    display: block;
    pointer-events: none;
    will-change: transform;
}

.contact-section {
    max-width: 600px;
    margin: 0 auto;
    padding: 130px 20px 120px;
    text-align: center;
}

.contact-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #222;
}

.contact-description {
    font-size: 1rem;
    color: #333;
    margin-bottom: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    background-color: #f9f9f9;
}

.contact-form textarea {
    resize: none;
    height: 120px;
}

.contact-form button {
    padding: 12px;
    background-color: #222;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #444;
}

.form-feedback {
    display: none;
    margin-top: 20px;
    padding: 12px 20px;
    background-color: #e0ffe0;
    color: #2d7a2d;
    border: 1px solid #b2d8b2;
    border-radius: 8px;
    font-weight: 500;
    opacity: 0;
}

.contact-links {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #222;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-links a:hover {
    color: #555;
}

.contact-links i {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.contact-links a:hover i {
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .header {
        padding: 15px;
        display: flex;
        justify-content: space-between;
        font-size: 12px;
    }

    .header div:nth-child(2) {
        display: none;
    }

    .medias {
        grid-template-columns: repeat(3, 1fr);
        gap: 2vw;
    }

    .media img {
        width: 18vw;
        height: 18vw;
    }
}

.menu-wrapper {
    position: relative;
    margin-right: 20px;
}

.menu-toggle {
    font-size: 24px;
    cursor: pointer;
    display: block;
}

.side-panel {
    position: absolute;
    top: 40px;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px 20px;
    white-space: nowrap;
    min-width: 160px;
    text-align: left;
    display: none;
    flex-direction: column;
    gap: 10px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.side-panel button {
    background: none;
    border: none;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background 0.2s;
    text-align: left;
}

body.dark-mode .menu-toggle {
    color: #eee;
}

body.dark-mode .side-panel {
    background-color: #1e1e1e;
    color: #eee;
}

body.dark-mode #toggle-theme {
    color: #eee;
}

body.dark-mode {
    background: #121212;
    color: #eee;
}

body.dark-mode a {
    color: #eee;
}

body.dark-mode .logo {
    color: #eee;
}

body.dark-mode .logo:hover {
    color: #319795;
}

body.dark-mode footer {
    color: #eee;
}

body.dark-mode .contact-description {
    color: #eee;
}

body.dark-mode .contact-section h2 {
    color: #eee;
}

input,
textarea,
select {
    padding: 10px;
    font-size: 1rem;
    border-radius: 4px;
    border: 1px solid #ccc;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 15px;
}

body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select {
    background-color: #2a2a2a;
    color: #eee;
    border: 1px solid #555;
}

body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder {
    color: #aaa;
}

body.dark-mode #zen-mode {
    color: #eee;
}

body.dark-mode #game-mode {
    color: #eee;
}