/* Importa a fonte Inria Sans do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inria+Sans:wght@400;700&display=swap');

/* Basic CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inria Sans', sans-serif; /* Aplica a fonte Inria Sans a todo o corpo */
    line-height: 1.6;
    overflow-x: hidden;
}

header {
    background: rgba(0, 0, 0, 0.8); /* Preto com transparência */
    color: #fff;
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

header:hover {
    background: rgba(0, 0, 0, 1); /* Torna-se opaco quando o rato passa por cima */
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    width: 50px;
    height: auto;
    margin-right: 20px;
}

nav ul {
    list-style: none;
    display: flex;
    margin-right: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    text-transform: uppercase;
    padding: 10px;
}

nav ul li a:hover {
    color: #00ffbf;
}

/* Section Styling */
.section {
    position: relative; /* Importante para o posicionamento absoluto da seta */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}

/* Adiciona um gradiente de fade no topo de cada secção */
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px; /* Ajusta a altura do fade */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0)); /* Gradiente de preto para transparente */
    z-index: 2;
}

/* Adiciona um gradiente de fade no final de cada secção */
.section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px; /* Ajusta a altura do fade */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0)); /* Gradiente de preto para transparente */
    z-index: 2;
}

/* Títulos */
h2 {
    font-size: 36px;            /* Tamanho 36px */
    font-weight: 700;           /* Bold 700 */
    text-transform: uppercase;  /* Texto em maiúsculas */
    margin-bottom: 20px;        /* Espaço abaixo do título */
}

/* Descrições */
p {
    font-size: 14px;            /* Tamanho 14px */
    text-transform: uppercase;  /* Texto em maiúsculas */
    font-weight: 400;           /* Regular */
}

/* Home Section Background */
#home {
    background-image: url('images/home.png');
}

/* About Us Section Background */
#about {
    background-image: url('images/about.png');
}

/* Discord Section Background */
#discord {
    background-image: url('images/discord.png');
}

/* Centered logo above title in Home section */
.home-logo {
    max-width: 400px; /* 3x maior */
    margin: 0 auto 20px auto;
    display: block;
}

/* Mantém a posição relativa da secção */
.content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Limit the text container width to the center */
.text-side {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Play button */
.play-btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    background: #28a745;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.play-btn:hover {
    background: #00ffbf;
}

/* Discord button with icon */
.discord-btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    background: #5865F2;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
    margin-top: 40px;
}

.discord-btn i {
    margin-right: 10px;
}

.discord-btn:hover {
    background: #4854c2;
}

/* Downward arrow styling */
.arrow-down {
    position: absolute;
    bottom: 20px; /* Posiciona a seta 20px acima do fundo da secção */
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem; /* Tamanho da seta */
    z-index: 10; /* Certifica que a seta aparece acima de tudo */
    transition: color 0.3s ease; /* Transição suave ao mudar a cor */
}

/* Upward arrow styling */
.arrow-up {
    position: absolute;
    top: 100px; /* Ajuste para evitar sobrepor o nav */
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem; /* Tamanho da seta */
    z-index: 10; /* Certifica que a seta aparece acima de tudo */
    transition: color 0.3s ease; /* Transição suave ao mudar a cor */
}

.arrow-down a, .arrow-up a {
    color: white;
    text-decoration: none;
}

.arrow-down a:hover, .arrow-up a:hover {
    color: #00ffbf; /* Cor de hover */
    transition: color 0.3s ease; /* Transição suave */
}

/* Footer Styling */
footer {
    background: black;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    font-size: 10px;
    text-transform: uppercase;
}

footer p {
    margin: 0;
}

/* Responsive layout for smaller screens */
@media (max-width: 768px) {
    .text-side {
        padding: 20px;
        justify-content: center;
        text-align: center;
        width: 100%;
    }

    .arrow-down, .arrow-up {
        font-size: 1.5rem;
    }

    .home-logo {
        max-width: 300px; /* Ajuste para ecrãs pequenos */
    }



}
