@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;500;600;700;800;900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
}

:root {
    --clr-neon: hsl(317 100% 54%);
    --clr-bg: hsl(323 21% 16%);
}

html,
body {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

.main-width {
    width: 1280px;
    max-height: 100vh;
    max-width: 95%;
    margin: 0 auto;
    padding: 0px 20px;
}

.hero {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(./background.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
    margin-bottom: 3px;
}

header {
    padding: 40px 0 30px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
}
header.sticky{
    position: fixed;
    padding: 5px 20px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    background: #222b30;
    
    border-radius: 50px;
    z-index: 5;
    animation: 1s upping ease-out;
    opacity: 1;
}
@keyframes upping{
    0%{
        opacity: 0;
        transform: translateY(-100px);
    }
    100%{
        opacity: 1;
    }
}
.logo i {
    height: 55px;
    width: 55px;
    background: transparent;
    border: 2px solid #2ecc71;
    color: #2ecc71;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;

}

.logo span{
    position: relative;
    display: inline;
    margin-left: 10px;
    font-size: 35px;
    text-align: center;
    top: 5px;
}

nav .hamb {
    width: 35px;
    height: 24px;
    right: 3%;
    top: 60px;
    z-index: 5;
    position: absolute;
    cursor: pointer;
    display: none;
}

nav .hamb span {
    display: block;
    background: #2ecc71;
    width: 100%;
    height: 3px;
    transition: .3s;
    transition-property: transform, opacity;
}

nav .hamb span:nth-child(2) {
    margin: 7px 0px;
}

nav .nav-list {
    list-style: none;
}

nav .nav-list li {
    display: inline-block;
}

nav .nav-list li a {
    display: inline-block;
    color: #eee;
    margin-left: 55px;
    font-size: 15px;
    font-weight: 600;
}
header.sticky .logo,
header.sticky nav ul li a{
    color: #000;
}

nav .nav-list li:not(:last-child) a:hover {
    color: #2ecc71;
    transition: .4s;
}

nav .nav-list li.btn a {
    display: inline-block;
    background: transparent;
    border: 2px solid #2ecc71;
    padding: 9px 28px;
    border-radius: 30px;
    line-height: 1.3;
    color: #2ecc71;
    font-weight: 500;
}

nav .nav-list li.btn:hover a {
    background: #2ecc71;
    color: white;
    border: 2px solid transparent;
}

.container {
    padding-top: 200px;
}

.container .hero-text h1 {
    color: white;
    font-size: 47px;
    font-weight: 900;
    line-height: 1.2;
    margin: 20px 0px 20px;
}

span {
    color: #2ecc71;
}

.container .hero-text h3 {
    color: #eee;
    font-weight: 400;
    font-size: 17px;
}

.container .hero-text p {
    width: 440px;
    max-width: 100%;
    color: #eee;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 30px;
    word-break: break-all;
}

.social a {
    width: 37px;
    height: 37px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: #eee;
    cursor: pointer;
    margin-right: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    margin-bottom: 35px;
    transform: translateY(5px);
}

.social a:hover {
    transform: scale(1.3);
    background-color: #2ecc71;
    transition: .5s;
}

.container .hero-text button {
    color: #eee;
    background: #2ecc71;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    padding: 8px 30px;
    border: 2px solid #2ecc71;
    border-radius: 30px;
    cursor: pointer;
}

.container .hero-text button:hover {
    background: transparent;
    border: 2px solid #2ecc71;
    ;
    color: #2ecc71;
    transition: .4s;
}

.bottom {
    margin-top: 80px;
}

.bottom p {
    color: #2ecc71;
    letter-spacing: 2px;
    font-size: 15px;
    /* transform: translateY(-170px); */
}

/* BTN ACtive */
.neon-button a {
    font-size: 4rem;
    z-index: 2;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    color: var(--clr-neon);
    border: var(--clr-neon) 0.125em solid;
    padding: 0.25em 1em;
    border-radius: 0.25em;
    text-shadow: 0 0 0.125em hsl(0 0% 100% / 0.3), 0 0 0.45em currentColor;
    box-shadow: inset 0 0 0.5em 0 var(--clr-neon), 0 0 0.5em 0 var(--clr-neon);
    position: relative;
}
.neon-button a:hover{
    color: #eee!important;
}



.neon-button a::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    box-shadow: 0 0 2em 0.5em var(--clr-neon);
    opacity: 0;
    background-color: var(--clr-neon);
    z-index: -1;
    transition: opacity 100ms linear;
    color: var(--clr-bg);
    text-shadow: none;
    opacity: 1;
}

/* ACTIVE BTN END */

@media screen and (max-width: 1003px) {
    nav .hamb {
        display: initial;
    }

    .click {
        top: 46px;
    }

    .click span {
        position: absolute;
        margin-top: 12px;
    }

    .click span:first-child {
        transform: rotate(-40deg);
    }

    .click span:nth-child(2) {
        opacity: 0;
        margin: 0;
    }

    .click span:last-child {
        transform: rotate(40deg);
        top: 0;
    }

    nav .nav-list {
        position: absolute;
        top: 90px;
        right: -65%;
        bottom: 0;
        width: 60%;
        height: 50%;
        background: black;
        z-index: 2;
        padding: 6% 9%;
        transition: .3s right;
        border-radius: 10px;
    }

    nav .nav-list li {
        display: block;
    }

    nav .nav-list li a {
        display: block;
        text-align: center;
        font-size: 18px;
        font-weight: 400;
        margin-left: 0;
        margin-bottom: 40px;
    }

    nav .nav-list li.btn a {
        position: absolute;
        bottom: 0%;
        right: 20%;
        left: 20%;
        padding: 7px 15px;
        font-size: 14px;
    }

    nav .nav-list.open {
        right: 0;
    }    
    
    header.sticky nav .nav-list.open {
        right: 0;
        height: 400px;
        top: 46px;
    }
    
    header.sticky{
        width: 100%;
        position: fixed;
        padding: 5px 20px;
        background: transparent;
        border-radius: 50px;
        z-index: 5;
        animation: 1s upping ease-out;
        opacity: 1;
        justify-content: space-between;
    }
    @keyframes upping{
        0%{
            opacity: 0;
            transform: translateY(-100px);
        }
        100%{
            opacity: 1;
        }
    }
    header.sticky .logo,
    header.sticky nav ul li a{
        color: #eee;
    }
    header.sticky nav .hamb{
        border-right: 100px;
        transform: translateX(-40px);
        top: 14px;
    }

    @media screen and (max-width: 690px) {
        .hero {
            background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(./background1.jpg);
            background-size: cover;
            background-position: right;
            position: relative;
        }
    }

    @media screen and (max-width: 400px) {
        .container .hero-text h1 {
            font-size: 24px;
        }
    }
}
