@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* Extra */

::-webkit-scrollbar {
    width: .5em;
}

::-webkit-scrollbar-track {
    background-color: rgb(41, 40, 40);
    border-radius: 100vw;
    margin-block-end: 0;
}

::-webkit-scrollbar-thumb {
    background: rgb(5, 45, 61);
    border-radius: 100vw;
}

* {
    color: white;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

a{
    text-decoration: none;
}

body{
    margin: 0;
    background-color: #020817;
    overflow-x: hidden;
}

.no-scroll {
    overflow-y: hidden;
}

/* Loading Screen */

.loader {
    position: absolute;
    height: 100vh;
    width: 100vw;
    top: 0;
    left: 0;
    z-index: 4;
    background-color: #020817;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 1s;
}

.active {
    opacity: 1;
    transition: ease-in-out 2s;
}

.fade {
    opacity: 0;
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }


}

.pokeBall {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    z-index: 5;
    animation: 2s infinite rotation;
    transition: 2s;
}


/* Nav & Start */

.hero {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 6vh 0;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 1.25rem; /* 20px */
    min-height: 25vh;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.heroExtra {
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.heroLinks {
    display: flex;
    flex-direction: row;
    gap: 3rem;
}

.logo {
    background-image: url(../Assets/logoBanner.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 80vw;
    max-width: 800px;
    aspect-ratio: 16 / 9;
}

.logoBox {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.bigBox:hover .discordLogo {
    transform: translate(0, -5px);
}

.bigBox:hover .line {
    transform: translate(0, 5px);
}

.discordLink,
.pokeCoord {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    min-height: 80px;
    cursor: pointer;
    flex-wrap: wrap;
}

.textBox {
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.box {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
}

.line {
    width: 83.3333%;
    border-radius: 0.25rem;
    background-color: white;
    height: 5px;
    transition: all 0.5s;
    margin-top: 1rem;
}

.discordLogo {
    transition: all 0.5s;
}

.textOne {
    font-weight: 600;
    font-size: 1.25rem; /* 20px */
}

.textTwo {
    font-weight: 600;
    font-size: 0.875rem; /* 14px */
}

.textOne,
.textTwo {
    padding: 0;
    border: 0;
    margin: 0;
}

.backImg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    mask-image: linear-gradient(black 55%, transparent);
    -webkit-mask-image: linear-gradient(black 55%, transparent 100%);
    background-image: url(../Assets/PokeBanner.jpg);
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 0;
}

/* ---------- Responsive Design ---------- */

@media (max-width: 1024px) {
    .textOne {
        font-size: 1rem;
    }

    .textTwo {
        font-size: 0.75rem;
    }

    .logo {
        width: 90vw;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 4vh 1rem;
        flex-direction: column;
        align-items: center;
    }

    .heroExtra {
        gap: 1rem;
    }

    .logo {
        width: 95vw;
        max-width: 500px;
    }

    .textBox {
        align-items: center;
        text-align: center;
    }

    .box {
        align-items: center;
    }

    .textOne {
        font-size: 0.95rem;
    }

    .textTwo {
        font-size: 0.7rem;
    }

    .heroExtra {
        margin-top: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo {
        max-width: 90vw;
    }

    .textOne {
        font-size: 0.85rem;
    }

    .textTwo {
        font-size: 0.65rem;
    }

    .line {
        width: 70%;
    }
}

@media (max-width: 463px) {
    .textOne {
        font-size: 0.6rem;
    }

    .textTwo {
        font-size: 0.4rem;
    }
}

@media (max-width: 365px) {
    .textOne {
        font-size: 0.3rem;
        visibility: 0;
    }
    
    .textTwo {
        font-size: 0.3rem
    };
}


header {
    position: absolute;
    top:0;
    z-index: 3;
}

nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100vw;
    margin-top: 25px;
    font-weight: 800;
    font-size: 17px;
}

nav a {
    margin-left: 1rem;
    margin-right: 1rem;
    opacity: 0.5;
    transition: all 0.5s;
}

nav a:hover {
    opacity: 1;
}

@media (max-width: 500px) {
    nav {
        font-size: 12px;
    }
}

@media (max-width: 400px) {
    nav {
        font-size: 8px;
    }
}

/* Footer */

footer {
    width: 100vw;
    position: relative;
}

.footerMain {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    height: 50vh;
    background-image: linear-gradient(rgba(8, 6, 6, 0.575), rgba(20, 19, 19, 0.945)), url('../Assets/PokeBanner.jpg');
    background-size: cover;
    object-fit: cover;
    background-attachment: fixed;
    padding: 0;
    margin: 0;
}

.footerBrand {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footerImage {
    width: 150px;
    height: 150px;
}

@media (max-width: 1000px) {
    .footerImage {
        width: 75px;
        height: 75px;
    }

    footer {
        font-size: 10px;
    }
}

.footerSites {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

ul, ol {
    list-style-type: none;
    padding: 0;
    font-size: 20px;
}

.footerContacts {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footerUnder {
    position: absolute;
    top: 90%;
    height: 35px;
}

.joinDiscord {
    width: 10vw;
    height: 5vh;
    border-radius: 20px;
    background-color: #060b1b;
    text-align: center;
    transition: 0.5s;
    cursor: pointer;
}

.joinDiscord:hover {
    background-color: #091531;
}

.joinDiscord a {
    color: white;
    line-height: 45px;
}

@media (max-width: 1000px) {
    ul, ol {
        font-size: 10px;
    }
}

iframe {
    overflow-y: hidden;
}