@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    text-transform: capitalize;
    border: none;
    outline: none;
    font-family: nunito;
    line-height: 1.5;
}

:root {
    --aqua: #00b797;
    --black: #202020;
    --white: #fff;
    --border: .2rem solid #00b797;
    --box-shadow: 0 1rem 1rem rgba(0,0,0,.7);
}

::-webkit-scrollbar {
    width: 1.5rem;
}

::-webkit-scrollbar-track {
    box-shadow: 5px 5px 10px #0c0c0c inset,
                -5px -5px 10px #4c4c4c inset;
}

::-webkit-scrollbar-thumb {
    border-radius: 5rem;
    box-shadow: -5px -5px 5px #0c0c0c inset,
                5px 5px 5px #4c4c4c inset;
    background: #262626;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* header section start */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--black);
    box-shadow: var(--box-shadow);
    padding: 2rem 9%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}

.header .logo {
    font-size: 3.5rem;
    color: var(--aqua);
    background: linear-gradient(45deg, #b81385, #062dde, #e30028, #f8c112, #a124f9, #1eac35);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

.header .logo span {
    text-transform: uppercase;
    padding-right: 0.5rem;
    background: linear-gradient(45deg, #b81385, #062dde, #e30028, #f8c112, #a124f9, #1eac35);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    font-weight: 800;
}

.navbar a {
    font-size: 1.5rem;
    margin: 0 1rem;
    color: var(--white);
    font-weight: 600;
    transition: 0.5s;
}

.navbar a:hover {
    color: var(--aqua);
}

#menu-btn {
    font-size: 2.5rem;
    background: #fff;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    display: none;
}

/* header section end */

/* home section start */

.home {
    width: 100%;
    height: 100vh;
    padding: 2rem 9%;
    background: var(--black);
}

.home .home-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.home-content h1 {
    font-size: clamp(1vw, 1vw + 5vw, 8vw);
    background: linear-gradient(45deg, #b81385, #062dde, #e30028, #f8c112, #a124f9, #1eac35);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

.home-content h3 {
    font-size: clamp(1vw, 1vw + 2rem, 5rem);
    color: var(--white);
}

.home-content .btn {
    display: inline-block;
    padding: 1rem 4.5rem;
    border: var(--border);
    margin-top: 3rem;
    border-radius: 2rem;
    font-size: 2.5rem;
    color: var(--white);
    transition: 0.4s;
    box-shadow: var(--box-shadow);
}

.home-content .btn:hover {
    background: var(--aqua);
    color: var(--white);
    border: .2rem solid #fff;
}

/* home section end */

/* about section start */

.about {
    width: 100%;
    padding: 2rem 9%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 10rem;
}

.about .img {
    flex: 1 1 45rem;
}

.about .about-content {
    flex: 1 1 45rem;
}

.about .about-content h2 {
    font-size: 2.5rem;
    text-transform: none;
    margin-top: 2rem;
}

.about .about-content .btn {
    display: inline-block;
    padding: 1rem 4.5rem;
    border: var(--border);
    margin-top: 3rem;
    border-radius: 2rem;
    font-size: 2.5rem;
    color: var(--black);
    transition: 0.4s;
    box-shadow: var(--box-shadow);
}

.about .about-content .btn:hover {
    background: var(--aqua);
    color: var(--white);
}


/* about section end */

/* resources section start  */

.resources {
    width: 100%;
    height: 100vh;
    padding: 2rem 9%;
    background: #222;
    display: flex;
    justify-content: center;
    align-items: center;
}

.resources .container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80vw;
    gap: 2rem;
}

.resources .hex-btn {
    width: 40vw;
    height: 40vh;
    cursor: pointer;
    color: var(--black);
    font-size: clamp(.5vw, 1vw + 2vw, 3.5vw);
    border-radius: 2rem;
    box-shadow: var(--box-shadow);
    color: var(--white);
    font-weight: 800;
    background: linear-gradient(45deg, #b81385, #062dde, #e30028, #f8c112, #a124f9, #1eac35);
}

/* resources section end */

/* useful sites section start */

.useful-sites {
    width: 100%;
    padding: 2rem 3rem 9%;
}

.useful-sites .heading {
    font-size: clamp(1vw, 1vw + 5rem, 8rem);
    background: linear-gradient(45deg, #b81385, #062dde, #e30028, #f8c112, #a124f9, #1eac35);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    text-align: center;
    margin-top: 2rem;
}

.useful-sites .container {
    margin-top: 5rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.useful-sites .container-2 {
    margin-top: 5rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.useful-sites .container .box {
    position: relative;
    width: 60rem;
    height: 30rem;
    background: #000;
    cursor: pointer;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.useful-sites .container .box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.box .content {
    position: absolute;
    width: 100%;
    height: 0;
    left: 0;
    right: 0;
    bottom: 100%;
    overflow: hidden;
    background: rgba(0,0,0,.8);
    transition: 0.3s;
}

.box:hover .content {
    height: 100%;
    bottom: 0;
}

.box:hover .content h2 {
    white-space: nowrap;
}

.box:hover .content p {
    font-size: 1.3rem;
    text-transform: none;
}

.box:hover .content .text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 2.5rem;
    text-align: center;
}

.box:hover .content .text a {
    display: inline-block;
    border: var(--border);
    padding: 1rem 3rem;
    font-size: 1.2rem;
    color: #fff;
    border-radius: 2rem;
    transition: 0.5s;
    margin-top: 1rem;
}

.box:hover .content .text a:hover {
    background: var(--aqua);
    transform: scale(1.1);
}

/* useful sites section end */

/* footer section start */

.footer {
    width: 100%;
    padding: 2rem 5%;
    background: var(--black);
    color: var(--white);
}

.footer .wrapper {
    display: flex;
    align-content: inherit;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.footer .wrapper .about-footer h3 {
    background: linear-gradient(45deg, #b81385, #062dde, #e30028, #f8c112, #a124f9, #1eac35);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    font-size: 2.5rem;
}

.footer .wrapper .about-footer p {
    font-size: 1.5rem;
    text-transform: none;
}

.footer .wrapper .social h2 {
    font-size: 2rem;
}

.footer .wrapper .social-icons i {
    font-size: 3.5rem;
    margin: 0 0.5rem;
}

.footer .wrapper .social-icons .fa-youtube {
    color: red;
}

.footer .wrapper .social-icons .fa-telegram {
    color: #3061d5;
}

.line {
    width: 100%;
    background-color: rgba(255,255,255,0.7);
    height: .1rem;
    margin: 3rem auto;
}

.footer-1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-1 {
    font-size: 1.2rem;
}
/* footer section end */



/* media queries */

@media (max-width:991px) {
    .about .img img {
        width: 100%;
    }
}

@media (max-width:768px) {
    #menu-btn {
        display: initial;
    }

    .header .navbar {
        position: absolute;
        top: 120%;
        right: 2rem;
        border: .2rem solid #fff;
        box-shadow: var(--box-shadow);
        width: 30rem;
        background: #fff;
        border-radius: 0.5rem;
        transform: scale(0);
        opacity: 0;
        transform-origin: top right;
        transition: none;
    }

    .header .navbar.active {
        transform: scale(1);
        opacity: 1;
        transition: 0.2s ease-out;    
    }

    .header .navbar a {
        display: block;
        margin: 2.5rem;
        font-size: 2rem;
        color: var(--black);
    }

    .about .img img {
        width: 100%;
    }

    .home-content h1 {
        font-size: 7rem;
        line-height: 1;
        margin-bottom: 3rem;
    }
}

@media (max-width: 420px) {
    html {
        font-size: 50%;
    }

    .header .logo {
        font-size: 2.5rem;
    }

    .home-content h1 {
        font-size: 5rem;
        line-height: 1;
        margin-bottom: 3rem;
    }

    .about .about-content .btn {
        margin: 3rem auto;
        width: 80%;
    }

    .about .img img {
        width: 100%;
    }

    .resources .hex-btn {
        font-size: 3.5rem;
    }
}
