@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,500;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    transition-duration: 500ms;
    /* overflow-x: hidden; */
}

html {
    font-size: 62.5%;
    /* font-family: 'Roboto', sans-serif; */
}

body {
    background: #161617;
    font-family: 'Poppins', sans-serif;
}


/* Let's get this party started */
::-webkit-scrollbar {
    width: 8px;
    background: #000;
}
 
/* Track */
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
    -webkit-border-radius: 10px;
    border-radius: 10px;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 1px;
    background: linear-gradient(
45deg
, #00d2ff, #0088ff);
    /* -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);  */
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

.header {
    height: 100vh;
    width: 100%;
    background: url("../img/bg.png?v=revgg-pink-v3") no-repeat;
    background-size: cover;
}

.navbar {
    display: flex;
    justify-content: space-between;
    padding: 3rem 10rem;
}

.hamburger {
    display: none;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: #fff;
    border-radius: 25px;

}

.nav-menu {
    display: flex;
    /* justify-content: center; */
    align-items: center;
    margin: 0 auto;
    color: #000;
    z-index: 997;
}

.nav-logo img {
    height: 38px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.45));
}

.header_logo {
    animation: 3.5s pulse infinite ease-in-out;
    z-index: 89;
    max-width: 480px;
    width: 32vw;
    height: auto;
    filter: drop-shadow(0 0 35px rgba(0, 210, 255, 0.6)) drop-shadow(0 0 70px rgba(0, 136, 255, 0.35));
}

@keyframes pulse {
    0% {
        transform: scale(1.0);
    }

    50% {
        transform: scale(1.1);
    }

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

.nav-item {
    margin-left: 5rem;
}

.nav-discord {
    color: #fff;
    font-size: 24px;
    font-family: 'Poppins', sans-serif;
    display: flex;
    font-weight: 400;
}

.nav-discord img {
    margin-right: 1rem;
}

.nav-link {
    font-size: 1.6rem;
    font-weight: 400;
    color: #fff;
    transition: 0.5s;
}

.nav-link:hover,
.nav-link.active {
    color: #00d2ff !important;
    text-shadow: 0 0 14px rgba(0, 210, 255, 0.75) !important;
}


.container__header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding-top: 8rem;
    /* padding-top: auto; */
}

.container__header .container__header-logo img {
    height: 10vh;
}

.container__header .container__header-text {
    /* width: 25rem; */
    margin: 60px auto;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

.btn {
    width: 225px;
    height: 62px;
    border-radius: 50px;
    border: 0;
    background: linear-gradient(45deg, #00d2ff, #0088ff);
    color: #fff;
    -webkit-box-shadow: 0px 12px 15px 5px rgba(0,0,0,0.24);
    box-shadow: 0px 12px 15px 5px rgba(0,0,0,0.24);
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.last-section {
    height: 400px;
    width: 100%;
    background: url("../img/bg.png?v=revgg-pink-v3");
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.last-section-text {
    color: #fff;
    margin-bottom: 60px;
    font-size: 28px;
    font-weight: 500;
}



.footer {
    height: 100px;
    width: 100%;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(
45deg
, #00d2ff, #0088ff);
}

.footer a {
    color: #fff;
    text-decoration: underline;
}

.footer .btn-back {
    height: 60px;
    width: 60px;
    background: #fff;
    border-radius: 5px;
    border: 0;
    box-shadow: 0px 12px 12px 5px rgba(0,0,0,0.12);
    position: absolute;
    right: 0;
    margin-top: -8rem;
    margin-right: 10rem;
    cursor: pointer;
}

.footer .btn-back .btn-back-transparent {
    fill: linear-gradient(
        45deg
        , #00d2ff, #0088ff);
        /* background: linear-gradient(
            45deg
            , #00d2ff, #0088ff); */
}


.main {
    transition: 0.5s;
    display: none;
}

.preloader {
    background: #161617;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
}

.sbl-circ {
    height: 48px;
    width: 48px;
    color: #0088ff;
    position: relative;
    display: inline-block;
    border: 5px solid;
    border-radius: 50%;
    border-top-color: transparent;
    animation: rotate 1s linear infinite; }
  
  @keyframes rotate {
    0% {
      transform: rotate(0); }
    100% {
      transform: rotate(360deg); } }

@media only screen and (min-width: 1024px) {
    .container__header {
        padding-top: 22rem;
    }
}

@media only screen and (max-width: 1024px) {
    .nav-discord {
        display: none;
    }
}

@media only screen and (max-width: 320px) {
    .container__header {
        padding-top: 10rem;
    }
    .server-unique-text {
        margin-top: 40rem;
    }
}

@media only screen and (max-width: 375px) {
    .container__header {
        padding-top: 12.5rem;
    }
}

@media only screen and (max-width: 768px) {
    .nav-item {
        margin-left: -1rem;
    }
}

@media only screen and (max-width: 768px) {
    .navbar {
            padding: 3rem 3rem;
    }
    .nav-menu {
        position: fixed;
        top: -50rem;
        left: 0;
        /* top: 10rem; */
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
        text-align: center;
        transition: 0.6s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    }

    .nav-menu.active {
        top: 0rem;
    }

    .nav-item {
        margin: 2.5rem 0;
    }

    .nav-discord {
        display: none;
    }

    .nav-link {
        color: #000;
    }

    .hamburger {
        display: block;
        cursor: pointer;
        color: #fff;
        z-index: 999;
    }

    .bar.active {
        background-color: #000;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-48deg);
    }

    .container__header .container__header-text {
        width: 25rem;
        /* margin: 3rem auto; */
        /* color: #fff; */
    }

    .last-section .last-section-text {
        text-align: center;
    }

    .footer p {
        width: 15rem;
        margin-right: 15rem;
        /* display: flex; */
    }
    
    .footer .btn-back {
        margin-right: 2.5rem;
        margin-top: -8rem;
    }
}
/* Discord OAuth account chip */
.nav-auth{display:flex;align-items:center;gap:10px;margin-left:18px;font-family:'Poppins',sans-serif}
.nav-login,.nav-admin-link,.nav-logout{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;color:#fff;border:1px solid rgba(255,255,255,.14);background:rgba(20,20,25,.64);border-radius:12px;height:40px;padding:0 13px;font-size:12px;font-weight:600;white-space:nowrap;transition:.2s}
.nav-login:hover,.nav-admin-link:hover,.nav-logout:hover{border-color:#00d2ff;background:rgba(0, 210, 255,.15)}
.nav-login img{width:18px;height:18px;margin-right:8px}
.nav-user-chip{height:42px;display:flex;align-items:center;gap:9px;padding:0 11px 0 6px;border:1px solid rgba(255,255,255,.12);background:rgba(18,18,23,.72);border-radius:13px;color:#fff}
.nav-user-avatar{width:30px;height:30px;border-radius:50%;object-fit:cover}.nav-user-fallback{display:grid;place-items:center;background:#00d2ff;font-size:12px;font-weight:800}
.nav-user-chip span{display:flex;flex-direction:column;min-width:0}.nav-user-chip strong{font-size:11px;line-height:14px;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nav-user-chip small{font-size:8px;line-height:11px;color:#9295a3}
.nav-admin-link{border-color:rgba(0, 210, 255,.38);color:#d0f4ff}.nav-logout{padding:0 10px;color:#a8abb5}.nav-auth-loading{color:#7f8290;font-size:12px}
@media(max-width:1280px){.nav-auth .nav-user-chip small,.nav-auth .nav-logout{display:none}.nav-auth{margin-left:10px}.nav-user-chip strong{max-width:90px}}
@media(max-width:1024px){.nav-auth{margin-left:auto;margin-right:14px}.nav-auth .nav-admin-link{display:none}.nav-user-chip{display:none}.nav-login{height:38px;padding:0 11px}.nav-login img{margin-right:6px}}
@media(max-width:540px){.nav-auth{margin-right:8px}.nav-login{font-size:0;width:38px;padding:0}.nav-login img{margin:0;width:18px}}


/* Rev.GG: Discord zawsze jako osobny przycisk w prawym dolnym rogu */
.nav-discord,
.nav-discord.floating-discord {
    position: fixed !important;
    right: 24px !important;
    bottom: 24px !important;
    top: auto !important;
    left: auto !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    width: auto !important;
    z-index: 2147483647 !important;
}
.nav-discord.floating-discord img {
    flex: 0 0 auto;
}
@media only screen and (max-width: 1024px) {
    .nav-discord, .nav-discord.floating-discord {
        display: flex !important;
    }
}
@media only screen and (max-width: 540px) {
    .nav-discord, .nav-discord.floating-discord {
        right: 12px !important;
        bottom: 12px !important;
    }
}
