@import url('https://fonts.googleapis.com/css2?family=Varela&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&display=swap');

* {
    scroll-behavior: smooth;
    scrollbar-width: none;
    font-family: "Varela", sans-serif;
    transition: all 0.3s ease;
    -webkit-user-select: none;
    /* Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Standard */
}

* a {
    text-decoration: none;
    color: #fff;
}

body {
    background-color: #222831;
    width: 100%;
    height: auto;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
}

.nav {
    position: fixed;
    z-index: 1000;
    top: 0;
    width: 100%;
    height: 80px;
    border-bottom: 1px solid #393e46;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 0px;
    background-blend-mode: darken;
    backdrop-filter: blur(15px);
    /* overflow: hidden; */

}

.nav .left {
    height: auto;
    width: 200px;
    display: flex;
    justify-content: center;
    margin-left: 5vw;
}


.nav .left img {
    width: 200px;
}

@media (max-width: 720px){
    .nav .left img{
        width: 150px;
    }
}

.nav .right {
    height: auto;
    width: 400px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-right: 5vw;
}

@media (max-width: 720px) {

    .nav .right {
        width: auto;
    }

    .nav .right .display {
        display: none;
    }
}

@media (min-width: 721px){
    
    .nav .right .menu-container{
        display: none;
    }

    .nav .right .menu-button{
        display: none;
    }

    .nav .right .menu-dropdown{
        display: none;
    }

    .nav .right .menu-dropdown a{
        display: none;
    }

}

.nav .right .menu-container {
    position: relative;
    display: inline-block;
    margin-left: 10px;
}

.nav .right .menu-button {
    font-size: 20px;
    cursor: pointer;
    padding: 5px 10px;
    user-select: none;
    background: transparent;
    border-radius: 5px;
    color: #00adb5;
}

.nav .right .menu-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 59px;
    border: 1px solid #393e46;
    min-width: 120px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    color: #00adb5;
    border-radius: 10px;
    height: auto;
}

.nav .right .menu-dropdown a {
    padding: 16px 16px;
    text-decoration: none;
    display: block;
    color: #fff;
    height: auto;
    border-bottom: 1px solid #393e4688;
    background-blend-mode: darken;
    backdrop-filter: blur(15px);
    z-index: 10;
}

.nav .right .menu-dropdown a:hover {
    background-color: #f0f0f034;
}


.nav .right a {
    width: 100px;
    text-align: center;
    transition: all 0.3s ease;
    border-radius: 10px;
    height: 50px;
    align-items: center;
    display: flex;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav .right a:hover {
    color: #ffffff9d;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.nav .right a.active {
    color: #00adb5;
    /* border-bottom: #00adb5 2px solid; */
}

.section1 {
    width: 100%;
    height: 80vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-image: url('/assets/backgrounds/spagecont1-1.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: #393e46 1px solid;
    z-index: 1;
    justify-content: center;
    position: relative;
}

.section1 .middle {
    width: 50vw;
    margin-left: 5vw;
    position: relative;
}

@media (max-width:720px){
    .section1 .middle{
        width: 80vw;
    }
}

.section1 .middle h1 {
    font-size: 3rem;
    margin: 0;
    padding: 20px;
    color: #00adb5;
    font-size: max(25px, 2.5vw);
}

.section1 .middle p {
    color: #ffffff9f;
    font-size: max(15px, 1vw);
    padding: 20px;
    padding-top: 0;
}

.section1 .topbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.section1 .topbar::before {
    content: "";
    position: absolute;
    width: 30%;
    height: 100%;
    border: 2px solid transparent;
    box-sizing: border-box;
    animation: borderRun 4s linear infinite;
}

@keyframes borderRun {
    0% {
        border-top: 2.5px solid transparent;
        border-right: 2.5px solid transparent;
        border-bottom: 2.5px solid transparent;
        border-left: 2.5px solid transparent;
    }

    25% {
        border-top: 2.5px solid transparent;
        border-right: 2.5px solid transparent;
        border-bottom: 2.5px solid transparent;
        border-left: 2.5px solid transparent;
    }

    50% {
        border-right: 2.5px solid transparent;
        border-bottom: 2.5px solid transparent;
        border-left: 2.5px solid #00adb5;
        border-top: 2.5px solid transparent;
    }

    75% {
        border-bottom: 2.5px solid transparent;
        border-left: 2.5px solid transparent;
        border-right: 2.5px solid transparent;
        border-top: 2.5px solid transparent;
    }

    100% {
        border-left: 2.5px solid transparent;
        border-top: 2.5px solid transparent;
        border-right: 2.5px solid transparent;
        border-bottom: 2.5px solid transparent;
    }
}

.section1 .bottomborder {
    width: 25vw;
    bottom: 0;
    right: 0;
    border: #00adb5 2px solid;
    position: absolute;
    animation: moveLeftsec1 15s linear infinite;
}

@keyframes moveLeftsec1 {
    0% {
        right: -25vw;
    }

    100% {
        right: 100vw;
    }
}

.section2 {
    width: 80vw;
    height: 70vh;
    min-height: 490px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin: 0 10vw;
    overflow: hidden;
}

@media (max-width:800px){
    
    .section2{
        flex-direction: column;
        justify-content: center;
    }

}

.section2 .left {
    width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

@media (max-width:800px){

    .section2 .left{
        position: none;
        align-items: center;
        border-bottom: #0adbb5 min(0.5vw, 5px) solid;
        width: 60vw;
        min-width: 232px;
        margin-bottom: 20px;
    }

}

.section2 .left .bar {
    width: 50px;
    min-width: 100px;
    margin-left: 50px;
    border-bottom: #00adb5 min(0.5vw, 5px) solid;
}

@media (max-width:800px){
    .section2 .left .bar{
        display: none;
    }
}

.section2 .left h2 {
    color: #ffffff9f;
    font-size: max(30px, 2vw);
    padding-left: 50px;
}

@media (max-width:800px){

    .section2 .left h2{
        padding: 0;
        width: 80vw;
        text-align: center;
        color: #00adb5;
    }

}

.section2 .right {
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width:800px){
    .section2 .right{
        width: 100%;
    }
}

.section2 .right h3 {
    color: #00adb5;
    font-size: max(15px, 1.3vw);
}

.section2 .right p {
    color: #ffffff9f;
    font-size: max(15px, 0.8vw);
    padding: 5px;
    margin: 5px;
    text-align: justify;
    font-weight: 550;
}

.section3 {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #000b0c63;
    position: relative;
    padding: 80px 0;
    gap: 100px;
    border-bottom: #393e46 1px solid;
    border-top: #393e46 1px solid;
}

.section3 .profile {
    width: 80vw;
    height: auto;
    align-items: center;
    justify-content: space-between;
    display: flex;
    flex-direction: row;
    background-color: #0000007a;
    position: relative;
    border-radius: 10px;
}

@media (max-width:800px){
    .section3 .profile{
        flex-direction: column;
    }
}

.section3 .profile .profile-image {
    width: 20vw;
    min-width: 280px;
    top: -30px;
    left: -30px;
    position: relative;
    border-radius: 10px;
}

@media (max-width:800px){
    
    .section3 .profile .profile-image{
        left: 0;
    }
}

.section3 .profile .profile-image img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.section3 .profile .profile-info {
    width: 50%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    margin-right: 5vw;
}

@media (max-width:800px){
    .section3 .profile .profile-info{
        width: 80%;
        margin-right: 0;
    }
}

.section3 .profile .profile-info h2 {
    color: #0adbb5;
    font-size: max(20px, 1.8vw);
    font-weight: 600;
}

.section3 .profile .profile-info p {
    color: #ffffff9f;
    font-size: max(15px, 0.8vw);
    margin-top: 10px;
    text-align: justify;
}

.section3 .profile .profile-info a {
    color: #ffffff9f;
    font-size: max(15px, 0.8vw);
    text-decoration: none;
    border: #0adbb5 2px solid;
    padding: 10px 20px;
    margin-top: 30px;
    display: inline-block;
    width: auto;
    align-self: flex-start;
}

@media (max-width:800px){
    .section3 .profile .profile-info a{
        margin-bottom: 20px;
    }
}

.section3 .profile .profile-info a:hover {
    background-color: #0adbb5;
    color: #222831;
    transition: all 0.3s ease;
    border-radius: 5px;
}

/* for right profile  */

.section3 .profile-right {
    width: 80vw;
    height: auto;
    align-items: center;
    justify-content: space-between;
    display: flex;
    flex-direction: row-reverse;
    background-color: #0000007a;
    position: relative;
    border-radius: 10px;
}

@media (max-width:800px){
    .section3 .profile-right{
        flex-direction: column;
    }
}

.section3 .profile-right .profile-image {
    width: 20vw;
    min-width: 280px;
    top: -30px;
    right: -30px;
    position: relative;
    border-radius: 10px;
}

@media (max-width:800px){
    .section3 .profile-right .profile-image{
        left: 0;
    }
}

.section3 .profile-right .profile-image img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.section3 .profile-right .profile-info {
    width: 50%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    margin-left: 5vw;
}

@media (max-width:800px){
    .section3 .profile-right .profile-info{
        width: 80%;
        margin-left: 0;
    }
}

.section3 .profile-right .profile-info h2 {
    color: #0adbb5;
    font-size: max(20px, 1.8vw);
    font-weight: 600;
}

.section3 .profile-right .profile-info p {
    color: #ffffff9f;
    font-size: max(15px, 0.8vw);
    margin-top: 10px;
    text-align: justify;
}

.section3 .profile-right .profile-info a {
    color: #ffffff9f;
    font-size: max(15px, 0.8vw);
    text-decoration: none;
    border: #0adbb5 2px solid;
    padding: 10px 20px;
    margin-top: 30px;
    display: inline-block;
    width: auto;
    align-self: flex-start;
}

@media (max-width:800px){
    .section3 .profile-right .profile-info a{
        margin-bottom: 20px;
    }
}

.section3 .profile-right .profile-info a:hover {
    background-color: #0adbb5;
    color: #222831;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.section3 .topborder {
    width: 25vw;
    top: 0;
    left: 0;
    border: #0adbb5 2px solid;
    position: absolute;
    animation: moveLeft 15s linear infinite;
}

@keyframes moveLeft {
    0% {
        left: -25vw;
    }

    100% {
        left: 100vw;
        /* how far left you want to go */
    }
}


.section3 .bottomborder {
    width: 25vw;
    bottom: 0;
    right: 0;
    border: #0adbb5 2px solid;
    position: absolute;
    animation: moveRight 15s linear infinite;
}

@keyframes moveRight {
    0% {
        right: -25vw;
    }

    100% {
        right: 100vw;
        /* how far left you want to go */
    }
}

.section4 {
    width: 100%;
    height: 50vh;
    display: flex;
    flex-direction: column;
    background-color: #222831;
    align-items: center;
    justify-content: center;
    border-bottom: #393e46 1px solid;
}

.section4 .top {
    height: 40px;
    border: #00adb5 2px solid;
}

.section4 .bottom {
    margin-top: 30px;
    margin-bottom: 20px;
    width: 80vw;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.section4 .bottom p {
    color: #0adbb5;
    font-size: max(20px, 1.5vw);
    margin-top: 0px;
    font-weight: 800;
}

.section4 .bottom a {
    color: #ffffff9d;
    font-size: max(15px, 1vw);
    border: #00adb5 3px solid;
    padding: 10px 20px;
    margin-top: 20px;
}

.section4 .bottom a:hover {
    color: #ffffff;
    border: #0adbb5 3px solid;
    transition: all 0.3s ease;
    scale: 1.01;
}

/* footer css  */

.footer {
    color: #ffffff9d;
    background-color: #000b0c63;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 8vw;
    padding-top: 80px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    font-family: "Outfit", sans-serif;
    font-optical-sizing: auto;
}

.footer-content-left img {
    width: 150px;
}

.footer-content {
    width: 100%;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
}

.footer .footer-content-left p {
    margin: 0;
    margin-left: 10px;
    margin-top: 5px;
    font-size: max(15px, 0.7vw);
}

.footer-content-left,
.footer-content-right,
.footer-content-center {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 0px;
}

.footer-content-left ul,
.footer-content-right ul,
.footer-content-center ul {
    margin-top: 0;
}

.footer-content-left li,
.footer-content-right li,
.footer-content-center li {
    margin-bottom: 10px;
    font-size: max(15px, 0.7vw);
}

.footer-content-left a,
.footer-content-right a,
.footer-content-center a {
    color: #ffffff9d;
}

.footer-content-left a:hover,
.footer-content-right a:hover,
.footer-content-center a:hover {
    color: #0adbb5;
}

.footer-content-right h2,
.footer-content-center h2 {
    color: #00adb5;
    font-size: max(17px, 1.2vw);
}

.footer-social-icons {
    margin-top: 25px;
}

.footer-social-icons img {
    width: max(1.8vw, 30px);
    margin-right: 7px;
    margin-left: 7px;
}

/* media footer css */

@media (max-width: 750px) {

    .footer-content {
        display: flex;
        flex-direction: column;
        gap: 35px;
    }

    .footer-copyright {
        text-align: center;
    }

}