:root {
    --primary-green: #44BD32;
    --secondary-green: #4CAF50;
    --dark-background: #1E1E1E;
    --light-text: #E0E0E0;
    --very-light-text: #FFFFFF;
    --button-hover-green: #2ECC71;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: url('imagens/cursor.png'), auto;
}

body {
    font-family: Helvetica, Verdana, Arial, sans-serif;
    background-image: url('imagens/minecraft-background.jpg');
    background-repeat: repeat;
    background-attachment: fixed;
    color: var(--light-text);
    line-height: 1.6;
}

header {
    background-color: rgba(68, 189, 50, 0.9);
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    width: 256px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--very-light-text);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--dark-background);
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--very-light-text);
    margin: 5px;
    transition: all 0.3s ease;
}

main {
    max-width: 800px;
    margin: 80px auto 2rem;
    background-color: rgba(30, 30, 30, 0.9);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

section {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

section:last-child {
    border-bottom: none;
}

.server-logo {
    text-align: center;
    margin-bottom: 0.4rem;
}

.server-logo img {
    max-width: 75%;
    height: auto;
}

h1, h2 {
    margin-bottom: 1rem;
    color: var(--very-light-text);
    font-weight: bold;
    text-align: center;
}

h1 {
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

h2 {
    font-size: 2rem;
    border-bottom: 2px solid var(--primary-green);
    padding-bottom: 0.5rem;
}

#about p {
    text-align: justify;
}

#about p:last-child {
    text-align: center;
    font-style: italic;
    margin-top: 1.5rem;
}

#lema {
    text-align: center;
    font-style: italic;
    font-size: 0.8em;
}

#link_server {
    color: chartreuse;
    font-size: 2.3em;
    text-align: center;
}

#server {
    font-size: 1.8em;
    text-align: center;
}

.cta-button, button[type="submit"] {
    background-color: #5B8731;
    border: 2px solid #3F5E22;
    color: #FFFFFF;
    padding: 10px 20px;
    font-family: Helvetica, Verdana, Arial, sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    
}

.cta-button:hover, button[type="submit"]:hover {
    background-color: #7BAA43;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
}

.feature-item {
    background-color: rgba(63, 63, 63, 0.5);
    padding: 1.5rem;
    border-radius: 5px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: scale(1.05);
    background-color: rgba(79, 79, 79, 0.5);
}

.feature-item h3 {
    color: var(--primary-green);
    margin-top: 1rem;
}

.feature-item img {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
}

#contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form input, .contact-form textarea {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid #5B8731;
    color: #FFFFFF;
    padding: 10px;
    margin-bottom: 10px;
    width: 100%;
    font-family: Helvetica, Verdana, Arial, sans-serif;
}

.contact-form input::placeholder, .contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

footer {
    background-color: rgba(68, 189, 50, 0.9);
    text-align: center;
    padding: 1rem;
    color: var(--very-light-text);
}

@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .burger {
        display: block;
    }

    .nav-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        right: 0;
        top: 70px;
        background-color: var(--primary-green);
        width: 100%;
        align-items: center;
        padding: 1rem;
    }

    .nav-active li {
        margin: 1rem 0;
    }

    main {
        margin: 80px 1rem 1rem;
    }
}

#home {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cta-button, button[type="submit"] {
    background-color: #5B8731;
    border: 2px solid #3F5E22;
    color: #FFFFFF;
    padding: 10px 20px;
    font-family: Helvetica, Verdana, Arial, sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    margin-top: 0.5rem;
}

.cta-button:hover, button[type="submit"]:hover {
    background-color: #7BAA43;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

html {
    scroll-padding-top: 80px; /* Ajuste este valor para corresponder à altura do seu cabeçalho */
}

section {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: -80px; /* Altura negativa correspondente ao cabeçalho */
    padding-top: 80px; /* Compensa a margem negativa */
}

section:target {
    scroll-margin-top: 80px; /* Ajuste fino para navegadores modernos */
}

#map-view {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.map-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* Proporção 16:9 */
    overflow: hidden;
    border-radius: 10px;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.player-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items:start;
    margin-left: 10%;
}

.player-list li {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.player-icon {
    width: 32px; /* Ajuste o tamanho conforme necessário */
    height: 32px;
    margin-right: 10px;
    border-radius: 50%; /* Torna a imagem circular, se desejar */
}

#version {
    text-align: center;
    color: darkorange;

}

.captura {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.server-image {
    max-width: 60%;
    height: auto;
    display: block;
    margin: 0 auto;
}