@font-face {
    font-family: pixel;
    src: url(../fonts/PixelForge.otf);
}

@font-face {
    font-family: inked;
    src: url(../fonts/inkedgod.ttf);
}

body {
    background-image: url("../images/layout/4.png");
    background-repeat: repeat;
    margin: 0;
    padding: 200px 0 0;
}


/* TÍTULO DA PÁGINA */

.page {
    font-family: inked;
    font-size: 150px;
    position: fixed;
    z-index: 11;
    top: 300px;
    left: 650px;
    text-shadow:
        4px 4px 0 #fff,
        2px 0 0 #fff,
        0 2px 0 #fff,
        -1px 0 0 #fff,
        0 -1px 0 #fff;
}


/* TÍTULO */

.titulo {
    font-family: pixel;
    font-size: x-large;
    z-index: 1;
    position: relative;
    top: -5px;
}


/* SITE */

.site {
    border: 5px solid #e5d9eb;
    width: 1200px;
    margin: 0 auto;
    padding: 15px;
    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.2),
            rgba(0, 0, 0, 0.4)
        ),
        url("../images/layout/1.png");
    display: flex;
    flex-direction: column;
    gap: 15px;
    transform: scale(0.55);
    border-radius: 400px 5px 400px 5px;
}


/* BACK */

.back {
    background-image: url(../images/layout/1.png);
    padding: 15px;
    border: 3px solid #e5d9eb;
    border-radius: 15px;
    width: 300px;
    display: flex;
    flex-direction: row;
}


/* BORDER */

.border {
    background-image: url(../images/layout/3.jpg);
    border: 3px solid #e5d9eb;
    border-radius: 400px 5px 400px 5px;
    padding: 70px;
    padding-left: 200px;
}


/* CAIXA */

.caixa {
    position: relative;
    padding: 20px;
    text-align: center;
    z-index: 0;
    box-sizing: border-box;
    width: 300px;
    padding-left: 0;
    padding-right: 0;
}

.caixa::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 15px solid;
    border-image: url("https://static.tumblr.com/yn7vk7p/DfHmp40xm/bo-ha26.gif") 8 fill round;
    filter: hue-rotate(250deg);
    pointer-events: none;
    z-index: -1;
}


/* ROXO */

.roxo {
    text-align: center;
}

.roxo > * {
    filter:
        brightness(0.5)
        sepia(1)
        hue-rotate(245deg)
        saturate(100%)
        contrast(120%);
    transition: filter 0.3s ease;
}

.roxo > *:hover {
    filter: none;
}


/* CARROSSEL */

.carrossel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.item {
    text-align: center;
}

.item img {
    display: block;
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.item a {
    display: block;
    margin-top: 5px;
}

.seta {
    cursor: pointer;
    border: none;
    background: none;
    font-size: 30px;
}


/* NAVBAR */

.navbar {
    position: absolute;
    top: 23%;
    left: 59%;
    transform: translateX(-50%);

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;

    font-family: pixel;
    width: 900px;
    height: 10px;

    z-index: 999999999999;
    zoom: 0.5;
}

.nav-item {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-family: pixel;
    height: 20px;
    padding: 8px 22px;

    border: 2px solid #514455;
    border-radius: 5px;

    background: linear-gradient(
        #48434b,
        #222025,
        #39343d
    );

    color: #b79ac5;

    box-shadow:
        inset 0 1px 2px #7b6d80,
        0 2px 3px #111;

    text-decoration: none;
    font-size: 15px;
    white-space: nowrap;
    cursor: pointer;
}


/* HOVER */

.nav-item:hover {
    background: linear-gradient(
        #5a535f,
        #29252d,
        #48414e
    );

    color: #eadcf0;
}


/* ACTIVE */

.nav-item.active {
    background: linear-gradient(
        #39343d,
        #222025,
        #48434b
    );

    color: #d8c3e2;

    border-color: #514455;

    box-shadow:
        inset 0 2px 3px #111,
        0 1px 2px #000;
}

.nav-item:focus-visible,
a:focus-visible {
    outline: 2px solid #ffe6a8;
    outline-offset: 3px;
}

@media (max-width: 1200px) {
    body {
        padding: 26px 12px 20px;
    }

    .navbar {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        height: auto;
        margin: 0 auto 18px;
        zoom: 1;
    }

    .page {
        position: relative;
        top: auto;
        left: auto;
        margin: 0 auto 18px;
        font-size: clamp(56px, 13vw, 120px);
        line-height: 1.1;
        text-align: center;
    }

    .site {
        width: min(100%, 800px);
        padding: 12px;
        transform: none;
        border-radius: 100px 5px 100px 5px;
    }

    .border {
        padding: clamp(18px, 6vw, 52px);
    }

    .back {
        width: min(100%, 300px);
        justify-content: center;
    }

    .caixa img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 600px) {
    body {
        padding-top: 18px;
    }

    .site {
        border-width: 3px;
    }

    .border {
        padding: 14px;
    }

    .caixa {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: .01ms !important;
    }
}
