@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@300;400;700&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --anima-brilho: #000;
    --anima-brilho-escuro: #000;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background-color: #000;
}

::-webkit-scrollbar-thumb {
    background-color: #0ff;
    border-radius: 2000px;
}

body,
html {
    min-height: 100vh;
    max-width: 100vw;
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    text-align: justify;
    font-family: 'Kalam', Arial, Helvetica, sans-serif;
    background-image: url(../imagens/codigos-fundo.avif);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow-x: hidden;
    overflow-y: hidden;

    -webkit-user-select: none;
    /* Chrome, Safari, Opera */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE/Edge */
    user-select: none;
    /* Standard syntax */
}

#input-div {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    text-align: center;
    background-color: #000;
    color: #fff;
    padding: 0 10px 5px 10px;
    box-shadow: 0px 0px 15px 15px #000;
    z-index: 1000;
}

#carregando {
    position: fixed;
    top: 50vh;
    left: 50vw;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #000;
    min-width: 200px;
    width: 110vw;
    height: 110vh;
    overflow: hidden;
    z-index: 999;
}

#imgCarregar {
    width: 200px;
    animation: preload 1s ease infinite;
    transform: scale(1);
}

@keyframes preload {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

#divVideo {
    background-color: transparent;
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: -1;
}

video {
    height: 100vh;
}

#divImg {
    height: 90vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;

    & img {
        position: absolute;
        width: 75%;
        opacity: 1;
        transition-duration: .5s;
        z-index: 1;
        -webkit-box-reflect: below 0 linear-gradient(transparent, transparent, #0005);
        display: none;
    }

    & model-viewer {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 1;
        transition-duration: .5s;
        z-index: 1;
    }
}

section#sec-anima {
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(1.25);
    transition-duration: .5s;
}

.loader {
    position: relative;
    transform: rotate(calc(45deg * var(--r)));
}

.loader span {
    position: absolute;
    top: 0;
    left: -200px;
    width: 200px;
    height: 2px;
    transform-origin: right;
    transform: rotate(calc(18deg * var(--i)));
}

.loader span::before {
    content: '';
    position: absolute;
    top: calc(-15px / 2);
    width: 15px;
    height: 15px;
    background-color: #00ff0a;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff0a,
        0 0 20px #00ff0a,
        0 0 40px #00ff0a,
        0 0 60px #00ff0a,
        0 0 80px #00ff0a,
        0 0 100px #00ff0a;
    animation: animate 5s linear infinite;
    animation-delay: calc(-0.5s * var(--i));
}

@keyframes animate {
    0% {
        transform: translateX(200px) scale(1);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        transform: translateX(0px) scale(0);
        opacity: 1;
    }
}

#btn-atalho {
    position: absolute;
    bottom: 10%;
    background-color: #fff;
    color: black;
    width: 50px;
    height: 50px;
    box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
    text-decoration: none;
    text-transform: none;
    transition-duration: .5s;
    transform: translate(0, 0) scale(1);
    animation: none;
    z-index: 10;
}

@keyframes animaBtnAtalho {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(0, 20px) scale(1.2);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

header {
    position: sticky;
    top: 0px;
    left: 0;
    height: 50px;
    width: 100vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    padding-top: 3px;
    z-index: 100;
    transition-duration: .5s;
}

header.header-scroll {
    backdrop-filter: blur(20px);
    background-color: rgb(255, 255, 255, .25);
}

header.header-scroll img {
    display: block;
}

header img {
    height: 40px;
    display: none;
}

#progresso {
    position: absolute;
    top: 0;
    left: 0;
    height: 2.5px;
    width: 0px;
    max-width: 100vw;
    background-color: #0ff;
    box-shadow: 0px 0px 20px 5px #0ff;
}

#github {
    padding: 1px;
    background-color: white;
    border-radius: 50%;
}

section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 50px;
}

.swiper {
    width: 100vw;
    height: 25vh;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition-duration: .3s;
    filter: brightness(.5);
    transform: scale(0.5) translateY(50%) !important;
}

.swiper-slide img {
    display: block;
    height: 80%;
    object-fit: cover;
}

.swiper-slide img#php {
    height: initial;
    width: 80%;
}

.swiper-container {
    width: 80%;
    margin: 0 auto;
}

.swiper-slide-active {
    filter: brightness(1);
    transform: scale(1) translateY(0) !important;
}

.setas {
    display: none;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    content: '';
}

.swiper-button-disabled {
    opacity: 1 !important;
    filter: brightness(.5);
}

#swiper-p {
    width: 100vw;
    color: #fff;
    background-image: linear-gradient(135deg, #E14F25, #F16529);
    padding: 20px;
    margin: 50px 0;
    text-shadow: 0px 0px 5px black,
        0px 0px 10px black;
}

#box-swiper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
    width: 40vw;
    max-width: 400px;
    pointer-events: none;
    border-radius: 20px;
    margin-bottom: 50px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

#back-swiper {
    width: 95%;
    height: 95%;
    background-image: url(../imagens/codigos3.avif);
    background-position: center center;
    background-size: cover;
    border-radius: 15px;
    z-index: 10;
}

.box-vanilla {
    position: relative;
}

.des-van-div {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 200px;
    z-index: 100;
    transform: scale(1.025);
    display: none;
}

.acessar-div {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #000;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    display: none;
}

.acessar-div .acessar-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: initial;
    height: 100%;
}

.acessar-div .divp {
    position: fixed !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    background-image: linear-gradient(to top, #000, transparent, transparent);
    box-shadow: inset 0px 0px 100px 20px black;
    backdrop-filter: blur(5px);
}

.acessar-div .divp p {
    position: absolute;
    top: initial !important;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: justify;
    line-height: 20px;
    padding: 0;
    width: 90%;
    text-shadow:
        -2px -2px 0px #000,
        -2px 2px 0px #000,
        2px -2px 0px #000,
        2px 2px 0px #000,
        0px 0px 20px #000;
}

.lugar {
    position: absolute;
    top: 5px;
    left: 10px;
    font-size: 50px;
    color: #0ff;
    text-shadow:
        -2px -2px 0px #fff,
        -2px 2px 0px #fff,
        2px -2px 0px #fff,
        2px 2px 0px #fff,
        0px 0px 20px #0ff,
        0px 0px 20px #0ff;
}

.acessar-div .h3Container {
    position: absolute;
    top: 15px !important;
    left: 50% !important;
}

.acessar-div h3 {
    transform: translateX(-50%);
    font-size: 30px;
    color: #fff;
    text-shadow:
        -2px -2px 0px #000,
        -2px 2px 0px #000,
        2px -2px 0px #000,
        2px 2px 0px #000,
        0px 0px 20px #000;
}

.acessar-div .acessar-btn,
.acessar-div #acessar-sobre {
    position: absolute;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%);
    font-size: normal;
    font-weight: bolder;
    text-align: center;
    text-decoration: none;
    color: #000;
    background-color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    border: 3px solid black;
    transition-duration: .5s;
    z-index: 10000 !important;
}

.acessar-div #acessar-sobre {
    background-color: #666;
    pointer-events: none;
}

.acessar-div .x {
    position: absolute !important;
    top: 10px !important;
    left: initial !important;
    right: 10px !important;
    width: 50px;
    height: 50px;
    background-color: #fff;
    box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, .5);
    padding: 20px;
    border-radius: 50%;
    display: flex !important;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition-duration: .5s;
    z-index: 10;
}

.x span {
    font-weight: bolder;
}

main {
    margin: auto;
    width: 100vw;
    padding-bottom: 50px;
    background-image: url(../imagens/codigos3.avif);
    background-position: top center;
    background-repeat: repeat;
    background-size: contain;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow-x: hidden;
}

#top3-div {
    --anima-brilho: #ff0;
    --anima-brilho-escuro: #a0a000;
    position: relative;
    border-radius: 30px;
    width: 100vw;
    padding: 0px;
    padding-top: 100px;
    margin: 20px 0 80px 0;
    border: 5px solid var(--anima-brilho);
    animation: animacao-brilho 1s linear infinite;
}

#top3-div::before,
#outros::before {
    content: 'Top 3';
    position: absolute;
    left: 50%;
    bottom: 100%;
    font-weight: bold;
    padding: 10px 20px;
    text-align: center;
    border-radius: 10px 10px 0px 0px;
    text-transform: uppercase;
    transform: translateX(-50%);
    background-color: var(--anima-brilho);
    animation: animacao-brilho-before 1s linear infinite;
}

#outros::before {
    content: 'Todos os Sites';
}

#outros {
    --anima-brilho: #0ff;
    --anima-brilho-escuro: #00a0a0;
    position: relative;
    border-radius: 30px;
    width: 100vw;
    padding: 0px;
    padding-top: 100px;
    margin-bottom: 80px;
    border: 5px solid var(--anima-brilho);
    animation: animacao-brilho 1s linear infinite;
}

@keyframes animacao-brilho-before {
    0% {
        background-color: var(--anima-brilho);
        box-shadow: 0px 0px 10px 5px var(--anima-brilho),
            inset 0px 0px 10px 5px var(--anima-brilho);
    }

    50% {
        background-color: var(--anima-brilho-escuro);
        box-shadow: none;
    }

    100% {
        background-color: var(--anima-brilho);
        box-shadow: 0px 0px 10px 5px var(--anima-brilho),
            inset 0px 0px 10px 5px var(--anima-brilho);
    }
}

@keyframes animacao-brilho {
    0% {
        border: 5px solid var(--anima-brilho);
        box-shadow: 0px 0px 10px 5px var(--anima-brilho),
            inset 0px 0px 10px 5px var(--anima-brilho);
    }

    50% {
        border: 5px solid var(--anima-brilho-escuro);
        box-shadow: none;
    }

    100% {
        border: 5px solid var(--anima-brilho);
        box-shadow: 0px 0px 10px 5px var(--anima-brilho),
            inset 0px 0px 10px 5px var(--anima-brilho);
    }
}

h2 {
    display: inline-block;
    font-size: 50px;
    text-align: center;
    margin: 25px 0;
    background: linear-gradient(to right, #ff0, #0ff, #ff0);
    background-size: 300%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: anima-cor 5s linear infinite;
}

@keyframes anima-cor {
    from {
        background-position: 300% 0;
    }
    to {
        background-position: 0 0;
    }
}

ol {
    display: grid;
    justify-items: center;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 50px;
    list-style: none;
    counter-reset: item;
}

ol li {
    position: relative;
    padding-bottom: 50px;
}

ol li::before {
    content: counter(item) '.';
    counter-increment: item;
    position: absolute;
    top: initial;
    left: 50%;
    bottom: 100%;
    transform: translateX(-50%);
    color: var(--anima-brilho);
    font-size: 40px;
    text-shadow:
        -2px -2px 0px #fff,
        -2px 2px 0px #fff,
        2px -2px 0px #fff,
        2px 2px 0px #fff,
        0px 0px 20px var(--anima-brilho),
        0px 0px 20px var(--anima-brilho);
}

.box-site {
    width: 300px;
    height: 200px;
    border-radius: 20px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    transition-duration: .5s;
    cursor: pointer;
    opacity: 0;
    transform: translateY(50px);
    pointer-events: none;
}

.box-site.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.box-site::before,
.box-site::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background-image: conic-gradient(transparent, transparent, transparent, var(--anima-brilho));
    animation: anima-borda 3s linear infinite;
}

.box-site::after {
    animation-delay: -1.5s;
}

@keyframes anima-borda {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.nome-site {
    position: absolute;
    background-image: linear-gradient(to top, black, transparent, transparent, transparent);
    box-shadow: inset 0px 0px 25px 0px #000;
    border-radius: 15px;
    width: 95%;
    height: 95%;
    z-index: 20;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: end;
    padding: 20px;
}

.nome-site p {
    transition-duration: .5s;
    font-weight: bolder;
    color: white;
    text-shadow:
        -2px -2px 0px #000,
        -2px 2px 0px #000,
        2px -2px 0px #000,
        2px 2px 0px #000,
        0px 0px 20px #000;
}

.box-img {
    background-color: #000;
    width: 95%;
    height: 95%;
    z-index: 10;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    transition-duration: .5s;
}

.box-img img {
    transition-duration: .5s;
    height: 100%;
}

footer {
    padding: 30px;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

#logodiv {
    padding: 20px;
    border-radius: 30px;
    background-color: white;
    box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.5);
    transition-duration: .5s;
    animation: animaLogo 1s linear infinite;
    transform: scale(1);
    cursor: pointer;
}

#logo {
    background-color: transparent;
    max-width: 150px;
    border-radius: 20px;
    transition-duration: .5s;
}