* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: raleway, sans-serif;
}




a {
    color: white;
    text-decoration: none;

}

.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 10%;
    background: #2f3339;
    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;

    }

}


.nav-bar ul {
    display: flex;

}

.nav-bar ul li {
    list-style: none;
    display: inline-block;
    margin: 35px;

}

.nav-bar ul li a {
    font-size: 18px;
    font-weight: 500;
    transition: 0.5s;
}

.nav-bar ul li:hover a,
.nav-bar ul li.active a {
    color: #7cfe3d;
}

.nav-bar .logo {
    font-size: 30px;
    font-weight: 700;

}

.cont {
    padding: 5px 10px;
    background-color: #7cfe3d;
    border: 2px solid #7cfe3d;
    border-radius: 40px;
    font-size: 18px;

    color: #1f242d;
}

.cont:hover {
    background: transparent;
    color: #7cfe3d;
    box-shadow: none;
}


.home {
    gap: 80px;
    display: flex;
    align-items: center;
    height: 100vh;
    padding: 60px 9% 0;
    color: white;
    visibility: hidden;
    opacity: 0;
    animation: show-content 1.5s linear forwards;
    animation-delay: 1.6s;
    flex-wrap: wrap;
}


.home h1 {
    font-size: 55px;

}

.home h2 {
    font-size: 32px;
    margin-top: 8px;
    display: inline-block;
}

.home h2 span {
    color: transparent;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-block;
    -webkit-text-stroke: .7px #7cfe3d;
    animation: display-text 16s linear infinite;
    animation-delay: calc(var(--i) * -4s);
    position: relative;
}

@keyframes display-text {

    25%,
    100% {
        display: none;
    }

}


.home h2 span::before {
    content: attr(data-text);
    position: absolute;
    border-right: 2px solid #7cfe3d;
    color: #7cfe3d;
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    animation: fill-text 4s linear infinite;
}

@keyframes fill-text {

    10%,
    100% {
        width: 0;
    }

    70%,
    90% {
        width: 100%;
    }


}




.home p {
    font-size: 16px;
    padding: 10px 0 25px;
}


.home-info .btn-sci {
    display: flex;
    align-items: center;

}

.btn {
    display: inline-block;
    padding: 10px 30px;
    background-color: #7cfe3d;
    border: 2px solid #7cfe3d;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 600;
    color: #1f242d;

    cursor: pointer;
    transition: 0.5s;
    box-shadow: 0 0 10px #7cfe3d;
}

.btn:hover {
    background: transparent;
    color: #7cfe3d;
    box-shadow: none;
}

.home-info .btn-sci .sci {
    margin: 20px;

}


.home-info .btn-sci .sci a {

    display: inline-flex;
    border: 2px solid #7cfe3d;
    border-radius: 50%;
    padding: 8px;
    font-size: 20px;
    color: #7cfe3d;
    margin: 0 8px;
    transition: 0.5s;
}


.home-info .btn-sci .sci a:hover {
    background: #7cfe3d;
    color: #1f242d;
    box-shadow: 0 0 10px #7cfe3d;
}

.home-img .img-box {
    width: 32vw;
    height: 32vw;

    border-radius: 50%;
    padding: 5px;
    position: relative;
    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: conic-gradient(transparent, transparent, transparent, #7cfe3d);
    transform: rotate(0deg);
    animation: rotate-border 10s linear infinite;

}

.home-img .img-box::after {
    animation-delay: -5s;
}


@keyframes rotate-border {
    100% {
        transform: rotate(360deg);
    }
}




.home-img .img-box .img-item {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #1f242d;
    position: relative;
    display: flex;
    z-index: 1;
    justify-content: center;
    overflow: hidden;
    border: #1f242d 1px solid;
}

.home-img .img-box .img-item img {
    position: absolute;
    top: 30px;
    display: block;
    object-fit: cover;
    width: 85%;
    mix-blend-mode: lighten;
}


.bar-animation {
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    z-index: -1;
}

.bar-animation .bar {
    width: 100%;
    height: 100%;
    animation: show-bar .5s ease-in-out forwards;
    background: #1f242d;
    transform: translateY(-100%);
    animation-delay: calc(var(--i) * .1s);

}

@keyframes show-bar {
    100% {
        transform: translateY(0%);
    }

}


.container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #2f3339;
    gap: 80px;
    padding: 60px 9% 0;
    color: white;

}

.container img {
    float: left;
    margin-bottom: 60px;
    border-radius: 20px;
    border: 2px solid #2f3339;
}


.text h2 {
    font-size: 32px;
    color: #7cfe3d;
}


.text p {
    font-size: 16px;
    padding: 10px 0 25px;

}





.middle {
    background: #1f242d;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 9% 0;
    color: white;

}

.middle h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

iframe {
    width: 560px;
    height: 315px;
    border: none;
    margin: 20px 0px;
}





.footer {
    background: #2f3339;
    color: white;
    text-align: center;
    padding: 20px;
}


/* Default (desktop) */
#menu-toggle {
  display: none;
}
.menu-icon {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

/* ============== Responsive ============== */
@media (max-width: 768px) {
  .nav-bar {
    padding: 10px 5%;
  }

  /* Show hamburger */
  .menu-icon {
    display: block;
    z-index: 110;
  }

  /* Hide nav links by default */
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    right: 5%;
    width: 200px;
    background: #2f3339;
    flex-direction: column;
    border-radius: 8px;
    padding: 10px 0;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
  }

  .nav-links li {
    margin: 15px 0;
    text-align: center;
  }

  .nav-links li a {
    font-size: 16px;
    display: block;
    padding: 10px;
  }

  /* Toggle menu when checkbox is checked */
  #menu-toggle:checked ~ .nav-links {
    display: flex;
  }
}



/* ===========================
   Responsive Media Queries
=========================== */

/* Large tablets & small laptops (max-width: 1024px) */
@media (max-width: 1024px) {
    .nav-bar {
        padding: 10px 5%;
    }

    .nav-bar ul li {
        margin: 20px;
    }

    .home {
        flex-direction: column;
        text-align: center;
        padding: 100px 5% 0;
    }

    .home-img .img-box {
        width: 45vw;
        height: 45vw;
		
    }

    .container {
        flex-direction: column;
        gap: 40px;
        padding: 40px 5%;
    }

    .container img {
        max-width: 80%;
    }

    iframe {
        width: 90%;
        height: auto;
        aspect-ratio: 16/9;
    }
}

/* Tablets (max-width: 768px) */
@media (max-width: 768px) {
    .nav-bar ul {
        display: none;
        /* Hide normal nav, could be replaced with hamburger */
    }

    .nav-bar {
        justify-content: space-between;
        padding: 10px 5%;
    }

    .home h1 {
        font-size: 40px;
    }

    .home h2 {
        font-size: 24px;
    }

    .home p {
        font-size: 14px;
    }

    .btn {
        padding: 8px 20px;
        font-size: 14px;
    }

    .home-img .img-box {
        width: 55vw;
        height: 55vw;
    }

    .text h2 {
        font-size: 26px;
    }

    .text p {
        font-size: 14px;
    }

    iframe {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }
}

/* Mobile phones (max-width: 480px) */
@media (max-width: 480px) {
    .logo {
        font-size: 22px;
    }
	

    .home {
        padding: 80px 5% 0;
		
    }

    .home h1 {
        font-size: 25px;
		
    }

    .home h2 {
        font-size: 20px;
    }

    .home p {
        font-size: 13px;
    }

    .btn {
        padding: 6px 15px;
        font-size: 13px;
    }

    .home-info .btn-sci {
        flex-direction: column;
        gap: 15px;
    }

    .home-info .btn-sci .sci {
        margin: 0;
    }

    .home-img .img-box {
        width: 70vw;
        height: 70vw;
    }

    .container {
        padding: 30px 5%;
    }

    .text h2 {
        font-size: 22px;
        text-align: center;
    }

    .text p {
        font-size: 13px;
        text-align: center;
    }

    .middle {
        padding: 40px 5%;
        height: auto;
    }

    .middle h2 {
        font-size: 20px;
    }

    iframe {
        width: 100%;
        height: auto;
    }

    .footer {
        font-size: 12px;
        padding: 15px;
    }
}






