@font-face {
    font-family: "Noita Blackletter";
    src: url("assets/fonts/NoitaBlackletter-Regular.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    width: 100%;
    min-width: 100%;
    overflow-x: hidden;
}

main {
    width: 100%;
    overflow-x: hidden;
}

.tela {
    width: 100%;
    height: 100vh;
    position: relative;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.tela-1 {
    background-image: url("assets/backgrounds/Fundo-1.webp");
}

.tela-2 {
    background-image: url("assets/backgrounds/Fundo-2.webp");
}

.tela-3 {
    background-image: url("assets/backgrounds/Fundo-3.webp");
}

.navbar {
    width: 100%;
    height: 63px;
    background-color: black;
    position: relative;
    z-index: 10;
}

.suizeo-link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    height: 63px;
    text-decoration: none;
}

.logo-fundo {
    width: 63px;
    height: 63px;
    background-color: #d4af37;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    height: 45px;
    width: auto;
}

.suizeo-nome {
    margin-left: 12px;
    color: white;
    font-size: 22px;
    font-weight: 700;
}

.anuroth-titulo {
    position: absolute;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    font-family: "Noita Blackletter";
    font-size: 340px;
    color: #ffdcfe;
    text-decoration: none;
    white-space: nowrap;
    z-index: 5;
    cursor: pointer;
    transition: text-shadow 0.25s ease;
}

.anuroth-titulo:hover {
    text-shadow: 7px 7px 0 #a86fa6;
}

.servidor-container {
    position: absolute;
    top: 500px;
    left: 22.5%;
    display: flex;
    align-items: flex-start;
    z-index: 5;
}

.botao-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.botao-servidor {
    background-color: #A76CA6;
    border: 3px solid #000000;
    border-radius: 5px;
    padding: 22px 95px;
    font-family: Tahoma, sans-serif;
    font-size: 30px;
    font-weight: normal;
    color: #000000;
    box-shadow: 8px 8px 0 #301722;
    cursor: pointer;
    transition: transform 0.08s, box-shadow 0.08s;
}

.botao-servidor:active {
    transform: translate(8px, 8px);
    box-shadow: none;
}

.mensagem-copiado {
    margin-top: 15px;
    font-family: Tahoma, sans-serif;
    font-size: 16px;
    font-weight: normal;
    color: #ffdcfe;
    visibility: hidden;
}

.servidor-texto {
    margin-left: 40px;
    font-family: "Microsoft YaHei UI", sans-serif;
    font-size: 20px;
    font-weight: normal;
    color: #ffdcfe;
    line-height: 1.4;
    text-align: left;
    white-space: nowrap;
}

.area-arvore {
    position: relative;
    width: 100%;
    height: 200vh;
    overflow: hidden;
}

.arvore-gigante {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 200vh;
    object-fit: fill;
    z-index: 0;
    pointer-events: none;
}

.quadrados {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1250px;
    height: auto;
    z-index: 1;
    pointer-events: none;
}

.clicavel-tela2 {
    position: absolute;
    display: block;
    z-index: 5;
    cursor: pointer;
}

.clicavel-littlebigplanet {
    left: 71.5%;
    top: 3%;
    width: 9%;
    height: 17%;
}

.clicavel-instagram {
    left: 75%;
    top: 46%;
    width: 13%;
    height: 28%;
}

.personagem-area {
    position: absolute;
    z-index: 5;
    cursor: pointer;
}

.personagem-1 {
    left: 38%;
    top: 40%;
    width: 150px;
    height: 152px;
}

.personagem-2 {
    left: 73%;
    top: 15%;
    width: 90px;
    height: 100px;
}

.personagem-3 {
    left: 93%;
    top: 61%;
    width: 65px;
    height: 64px;
}

.balao {
    position: absolute;
    bottom: 105%;
    left: 50%;
    width: 220px;
    padding: 15px;
    background-color: white;
    color: black;
    border: 3px solid black;
    border-radius: 15px;
    font-family: Tahoma, sans-serif;
    font-size: 16px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.personagem-area:hover .balao {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.personagem-1 .balao {
    left: 35%;
}

.personagem-3 .balao {
    width: 170px;
    left: auto;
    right: -35px;
    transform: translateY(10px);
}

.personagem-3:hover .balao {
    transform: translateY(0);
}

@media (max-width: 768px) {

    html {
        width: 100%;
        overflow-x: hidden;
        scroll-behavior: smooth;
    }

    body {
        width: 100%;
        overflow-x: hidden;
    }

    main {
        width: 100%;
        overflow-x: hidden;
    }

    .tela {
        width: 100%;
        height: 100svh;
        min-height: 100svh;
        overflow: hidden;
    }

    .area-arvore {
        width: 100%;
        height: 200svh;
        min-height: 200svh;
        overflow: hidden;
    }

    .navbar {
        width: 100%;
        height: 52px;
    }

    .suizeo-link {
        height: 52px;
    }

    .logo-fundo {
        width: 52px;
        height: 52px;
    }

    .logo {
        height: 37px;
    }

    .suizeo-nome {
        margin-left: 10px;
        font-size: 18px;
    }

    .anuroth-titulo {
        top: 20vh;
        left: 50%;
        transform: translateX(-50%);
        font-size: 22vw;
        line-height: 1;
        text-align: center;
        white-space: nowrap;
        z-index: 10;
    }

    .servidor-container {
        top: 54vh;
        left: 0;
        width: 100%;
        transform: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        z-index: 10;
    }

    .botao-area {
        width: 100%;
        align-items: center;
    }

    .botao-servidor {
        padding: 14px 52px;
        font-size: 20px;
        border: 2px solid #000000;
        box-shadow: 5px 5px 0 #301722;
    }

    .mensagem-copiado {
        margin-top: 10px;
        font-size: 12px;
    }

    .servidor-texto {
        width: 85%;
        margin-left: 0;
        font-size: 13px;
        line-height: 1.5;
        text-align: center;
        white-space: normal;
    }

    .arvore-gigante {
        display: none;
    }

    .quadrados {
        top: 50%;
        left: 50%;
        width: 115vw;
        max-width: none;
        transform: translate(-50%, -50%);
    }

    .clicavel-tela2 {
        display: block !important;
        position: absolute;
        z-index: 20;
        pointer-events: auto;
    }

    .clicavel-littlebigplanet {
        left: 75%;
        top: 31%;
        width: 10%;
        height: 8%;
    }

    .clicavel-instagram {
        left: 82%;
        top: 49%;
        width: 11%;
        height: 11%;
    }

    .tela-3 {
        width: 100%;
        height: 100svh;
        min-height: 100svh;
        overflow: hidden;
        background-size: auto 100%;
        background-position: 38% center;
        background-repeat: no-repeat;
    }

    .personagem-2,
    .personagem-3 {
        display: none;
    }

    .personagem-1 {
        left: 38%;
        top: 40%;
        width: 150px;
        height: 152px;
    }

    .balao {
        width: 150px;
        padding: 9px;
        font-size: 11px;
        border-width: 2px;
        border-radius: 10px;
    }

    .personagem-area:hover .balao {
        opacity: 0;
        visibility: hidden;
    }

    .personagem-area.ativo .balao {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}