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

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins',sans-serif;
}

a {
    color: white;
    text-decoration: none;
}

.navbar {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    padding: 25px 9%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    visibility: hidden;
    opacity: 0;
    animation: show-content 1.5s linear forwards;
    animation-delay: 1.2s;
}

@keyframes show-content {
    100% {
        visibility: visible;
        opacity: 1;
    }
    
}

.navbar .logo {
    font-size: 30px;
    font-weight: 700;
}

.navbar ul {
    display:flex;
}

.navbar ul li {
    list-style: none;
    margin-left: 35px;
}

.navbar ul li a {
    font-size: 20px;
    font-weight: 500;
    transition: .5s;
}

.navbar ul li:hover a,
.navbar ul li.active a {
    color: #7cf03d;
}

.home {
    display: flex;
    align-items: center;
    gap: 50px;
    height: 100vh;
    padding: 60px 9% 0;
    color:white;
    visibility: hidden;
    opacity: 0;
    animation: show-content 1.5s linear forwards;
    animation-delay: 1.6s;
}

.home-info h1 {
    font-size: 55px;
}

.home-info h2 {
    font-size: 32px;
    margin-top: -10px;
}

.home-info p {
    font-size: 16px;
    margin: 10px 0 25px;
}

.home-info .btn-sci {
    display: flex;
    align-items: center;
}

.btn {
    display: inline-block;
    padding: 10px 30px;
    background: #7cf03d;
    border: 2px solid #7cf03d;
    border-radius: 40px;
    box-shadow: 0 0 10px #7cf03d;
    font-size: 16px;
    color: #1f242d;
    font-weight: 600;
    transition: .5s;
}

.btn:hover {
    background: transparent;
    color: #7cf03d;
    box-shadow: none;
}

.home-info .btn-sci .sci {
    margin-left: 20px;

}

.home-info .btn-sci .sci a {
    display: inline-flex;
    padding: 8px;
    border: 2px solid #7cf03d;
    border-radius: 50%;
    font-size: 20px;
    color: #7cf03d;
    margin: 0 8px;
    transition: .5s;

}

.home-info .btn-sci .sci a:hover {
    background: #7cf03d;
    color: #1f242d;
    box-shadow: 0 0 10px #7cf03d;
}

.home-img .img-box {
    position: relative;
    width: 18vw;
    height: 18vw;
    border-radius: 50%;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.home-img .img-box::before,
.home-img .img-box::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: #59ff00;
}

.home-img .img-box .img-item {
    position: relative;
    width: 100%;
    height: 100%;
    background: #1f242d;
    border-radius: 50%;
    border: .1px solid #1f242d;
    display: flex;
    justify-content: center;
    z-index: 1;
    overflow: hidden;
}

.home-img .img-box .img-item img {
    position: absolute;
    display: block;
    top: 30px;
    width: 200%;
    object-fit: cover;
    mix-blend-mode: lighten;
}

.bars-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: -1;
}

.bars-animation .bar {
    width: 100%;
    height: 100%;
    background: #1f242d;
    transform: translateY(-100%);
    animation: show-bars .5s ease-in-out forwards;
    animation-delay: calc(.1s * var(--i));
}

@keyframes show-bars {
    100% {
        transform: translateY(0%);
    }
}

/* Media Queries for Responsiveness */
@media screen and (max-width: 1024px) {
    .navbar {
        padding: 25px 5%;
    }
    .home {
        flex-direction: column;
        gap: 30px;
        padding: 60px 5% 0;
    }
    .home-info h1 {
        font-size: 45px;
    }
    .home-info h2 {
        font-size: 28px;
    }
    .home-info p {
        font-size: 14px;
    }
    .home-img .img-box {
        width: 25vw;
        height: 25vw;
    }
}

@media screen and (max-width: 768px) {
    .navbar ul {
        display: block;
        text-align: center;
    }
    .navbar ul li {
        margin: 15px 0;
    }
    .home-info h1 {
        font-size: 40px;
    }
    .home-info h2 {
        font-size: 24px;
    }
    .home-info p {
        font-size: 14px;
    }
    .home-img .img-box {
        width: 30vw;
        height: 30vw;
    }
    .home-info .btn-sci {
        flex-direction: column;
        align-items: center;
    }
    .home-info .btn-sci .sci {
        margin-left: 0;
        margin-top: 10px;
    }
    .home-info .btn-sci .sci a {
        margin: 8px;
    }
}

@media screen and (max-width: 480px) {
    .navbar {
        padding: 25px 3%;
    }
    .navbar .logo {
        font-size: 25px;
    }
    .home-info h1 {
        font-size: 35px;
    }
    .home-info h2 {
        font-size: 22px;
    }
    .home-info p {
        font-size: 12px;
    }
    .home-img .img-box {
        width: 35vw;
        height: 35vw;
    }
    .home-info .btn {
        font-size: 14px;
        padding: 8px 20px;
    }
    .home-info .btn-sci .sci a {
        font-size: 18px;
    }
}