@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

/* Reset de estilo */
* {
    padding: 0;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

/* Estilo do corpo.discord-button:hover i {
    color: black !important;
} */
body {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: rgb(0, 0, 0);
}

/* Estilo do Navegador */
nav {
    width: 100%;
    height: 10vh;
    position: sticky;
}

/* Container do menu de navegação */
.nav-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    position: fixed;
    top: 30px;
    z-index: 1000;
}

/* Estilo do logo */
.logo {
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

.logo span {
    color: #9e26d6;
    text-shadow: 0 0 10vw #9e26d6;
}

/* Estilo do botão Hamburguer */
.hamburg, .cancel {
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 10px;
    color: white;
    display: none;
    font-size: clamp(2.5rem, 0.5rem + 5vw, 3rem);
}

/* Links de navegação */
.nav-container .links {
    display: flex;
}

.nav-container .links a {
    position: relative;
    font-size: 1.2rem;
    color: white;
    margin: 0 20px;
    text-decoration: none;
    font-weight: 550;
    transition: 0.3s linear;
}

/* Efeito de hover nos links */
.nav-container .links a::before {
    position: absolute;
    content: "";
    bottom: -3px;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: #9e26d6;
    transition: 0.2s linear;
}

.nav-container .links a:hover::before {
    width: 100%;
}

.nav-container .links a:hover {
    color: #9e26d6;
}

/* Dropdown de navegação */
.dropdown {
    z-index: 100;
    position: absolute;
    top: 0;
    transform: translateY(-500px);
    width: 100%;
    backdrop-filter: blur(4px) brightness(40%);
    box-shadow: 0 0 20px black;
    transition: 0.2s linear;
}

.dropdown{
    z-index: 100;
    position: absolute;
    top: 0;
    transform: translateY(-500px);
    width: 100%;
    height: auto;
    backdrop-filter: blur(4px) brightness(40%);
    box-shadow:  0 0 20px black;
    transition: 0.2s linear;
}

.dropdown .links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.dropdown .links a {
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    transition: 0.2s linear;
}

/* Estilo da seção principal */
section {
    width: 100%;
    height: 90vh;
}


@keyframes animate {
    0% { scale: 1; }
    50% { scale: 1.05; }
    100% { scale: 1; }
}

.content h1 {
    font-size: clamp(1rem, 1rem + 5vw, 1.8rem);
}

.content h1 span {
    color: #9e26d6;
    text-shadow: 0 0 10px #9e26d6;
}

.content .typewriter {
    font-size: clamp(1rem, 1rem + 5vw, 2.5rem);
    font-weight: 600;
}

.content .typewriter-text {
    color: #9e26d6;
    text-shadow: 0 0 10px #9e26d6;
}

.content p {
    font-size: clamp(0.4rem , 0.2rem + 9vw, 1rem);
    margin: 10px 0;
}

/* Estilo do botão */
.content button {
    width: 50%;
    height: 6vh;
    margin: 30px;
    background-color: #9e26d6;
    color: white;
    border: none;
    outline: none;
    font-size: 120%;
    font-weight: 700;
    border-radius: 5px;
    transition: 0.2s linear;
}

.content button:hover {
    scale: 1.1;
    color: #9e26d6;
    border: 2px solid #9e26d6;
    background-color: transparent;
    font-weight: 700;
    box-shadow: 0 0 40px #9e26d6;
    cursor: pointer;
}

.social-links i{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    background-color: transparent;
    border: 0.2rem solid #9e26d6;
    border-radius: 50%;
    color: #9e26d6;
    margin: 5px 15px;
    font-size: 1.5rem;
    transition: 0.2s linear;
    cursor: pointer;
    will-change: transform;
}

.social-links i:hover{
    transform: scale(1.3);
    color: black;
    background-color: #9e26d6;
    filter: drop-shadow(0 0 10px #9e26d6);
}

/* Botão do Discord */
.social-links {
    text-align: center;
}

.discord-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 350px;
    height: 60px;
    padding: 10px 20px;
    background-color: transparent;
    border: 0.2rem solid #9e26d6;
    border-radius: 15px;
    color: #9e26d6;
    text-decoration: none;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    transition: 0.2s linear;
    cursor: pointer;
    margin: 10px auto;
    animation: slideUp 1.5s ease-out 1.1s both;
}

.discord-button i {
    font-size: 1.5rem;
    margin-right: -5px;
    border: none;
    background: transparent;
    border-radius: 0;
    transition: 0.2s linear;
    pointer-events: none;
    position: relative;
    left: -20px;
}

.button-text {
    cursor: pointer;
    transition: color 0.2s linear;
    pointer-events: auto !important;
    margin-left: -10px;
}

.discord-button:hover {
    color: rgb(0, 0, 0);
    background-color: #9e26d6;
    border-color: #9e26d6;
    filter: drop-shadow(0 0 10px #9e26d6);
}

.discord-button:hover i {
    color: black !important;
}

.discord-button.hovered {
    color: rgb(0, 0, 0);
    background-color: #9e26d6;
    border-color: #9e26d6;
    filter: drop-shadow(0 0 10px #9e26d6);
}

.discord-button.hovered i {
    color: black !important;
}

/* Container principal */
.main-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 1%;  /* Reduz o espaçamento entre o texto e o formulário */
    width: 68%;  /* Reduz a largura para centralizar mais */
    background-color: rgb(0, 0, 0);
    padding: 20px;  /* Reduz o padding para aproximar mais os elementos */
    margin: 50px auto;  /* Centraliza o container e adiciona margem superior */
}

/* Texto à esquerda */
.content {
    color: white;
    width: 48%;
}

.content h1 {
    font-size: clamp(1rem, 1rem + 5vw, 1.8rem);
}

.content h1 span {
    color: #9e26d6;
    text-shadow: 0 0 10px #9e26d6;
}

.content p {
    font-size: clamp(0.4rem , 0.2rem + 9vw, 1rem);
    margin: 10px 0;
    font-size: 15px;
}

/* Formulário à direita */
.form-container {
    width: 48%;  /* Ajuste para ter as duas colunas balanceadas */
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: rgb(36, 36, 36);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.input-field {
    display: flex;
    flex-direction: column;
}

.input-field label {
    color: white;
    margin-bottom: 5px;
    font-weight: 500;
}

.input-field input, .input-field textarea {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #9e26d6;
    border-radius: 5px;
    background-color: #2d2d2d;
    color: white;
    margin-bottom: 10px;
}

.input-field input:focus, .input-field textarea:focus {
    outline: none;
    border-color: #9e26d6;
}

/* Botão de envio */
form button {
    width: 100%;
    padding: 15px;
    background-color: #9e26d6;
    color: white;
    border: none;
    font-size: 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #7a1fa5;
}

/* Estilo para telas pequenas */
@media (max-width: 884px) {
    nav .logo {
        position: absolute;
        top: 6vw;
        left: 15vw;
        font-size: 1.5rem;
    }

    .main-container {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: normal;
        gap: 1%;  /* Reduz o espaçamento entre o texto e o formulário */
        width: 68%;  /* Reduz a largura para centralizar mais */
        background-color: rgb(0, 0, 0);
        padding: 20px;  /* Reduz o padding para aproximar mais os elementos */
        margin: 50px auto;  /* Centraliza o container e adiciona margem superior */
    }

    .main-container .content {
        width: 80%;
    }

    .nav-container .links {
        display: none;
    }

    .hamburg, .cancel {
        display: block;
    }

    .main-container .content {
        width: 80%;
    }

    .social-links i{
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.5rem;
    }
    
    /* Ajuste o tamanho dos links no dropdown */
    .dropdown .links a {
        font-size: 1rem; /* Ajusta o tamanho da fonte dos links no menu dropdown */
        padding: 10px 15px; /* Ajuste o padding para os links não ficarem tão grandes */
        margin-top: auto;
    }
}

/* Ajustes para mobile */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
        width: 95%;
        margin: 20px auto;
        padding: 20px;
        gap: 30px;
    }

    .main-container .content {
        width: 100%;
        text-align: center;
    }

    .content h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .content p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin: 15px 0;
    }

    .form-container {
        width: 100%;
        padding: 20px;
        border-radius: 15px;
    }

    .form-container h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 0.9rem;
        padding: 12px;
    }

    .discord-button {
        font-size: 0.9rem;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .main-container {
        width: 98%;
        margin: 15px auto;
        padding: 15px;
        gap: 20px;
    }

    .content h1 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .content p {
        font-size: 0.85rem;
        line-height: 1.4;
        margin: 12px 0;
    }

    .form-container {
        padding: 15px;
        border-radius: 10px;
    }

    .form-container h2 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 0.85rem;
        padding: 10px;
    }

    .discord-button {
        font-size: 0.85rem;
        padding: 10px 16px;
    }
}

/* Ajustes para telas menores */
@media (max-width: 375px) {
    .main-container {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: normal;
        gap: 30%;  /* Reduz o espaçamento entre o texto e o formulário */
        width: 48%;  /* Reduz a largura para centralizar mais */
        background-color: rgb(0, 0, 0);
        padding: 10px;  /* Reduz o padding para aproximar mais os elementos */
        margin: 50px auto;  /* Centraliza o container e adiciona margem superior */
    }

    .main-container .content {
        width: 80%;
    }

    .main-container button {
        margin-top: 15px;
    }

    .feature {
        width: calc(100% - 20px);
    }

    .nav-container .links a {
        font-size: 1rem;
    }

    /* Formulário à direita */
    .form-container {
        width: 100%;
        height: auto;  /* Ajuste para ter as duas colunas balanceadas */
        display: flex;
        flex-direction: column;
        background-color: rgb(36, 36, 36);
        padding: 10px;  /* Reduz o padding para diminuir o tamanho do formulário */
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    .btn {
        width: auto;
        height: auto;
        padding: 10px 20px;
        margin: 0 auto;
        display: block;
        text-align: center;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}