* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    background: rgba(32, 31, 31, 1);

}

nav {
    display: flex;
}

.navbar {

    margin: auto;

}

.navbar ul {
    list-style: none;

}

.navbar ul li {
    display: inline-block;
    padding-left: 5vw;
    line-height: 6vw;


}

.navbar ul li a {
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 23px;
    letter-spacing: 0.09em;
    color: #FFFFFF;
    transition: all 0.1s ease 0.1s;


}
.navbar ul li a:hover {

    border-bottom: rgba(158, 219, 58, 1) 5px solid;
}

.navbar ul li .active {
    border-bottom: rgba(158, 219, 58, 1) 5px solid;

}

.navimg img {
    width: 78px;
    height: 71px;
    left: 51px;
    top: 12px;
    position: relative;
}



.wslimg img {
    background-size: cover;
    right: 37px;
    position: absolute;
    width: 30%;
    top: 11vw;
    border-radius: 6vw;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}



.intro h1 {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 55px;
    line-height: 75px;
    letter-spacing: 0.09em;

    color: #FFFFFF;
}

.intro {
    position: absolute;
    width: 460px;
    height: 150px;
    left: 150px;
    top: 179px;
}

.intro h1 .waseel {
    color: rgba(158, 219, 58, 1);
}

.intro h2 {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 40px;
    letter-spacing: 0.09em;
    color: #FFFFFF;

    color: #FFFFFF;

}


.intro h2 .code {
    color: rgba(101, 104, 102, 1);
}

.connectbar {
    background-color: #9EDB3A;
    width: 20vw;
    border-radius: 10px;
    text-align: center;
    position: absolute;
    left: 190.48px;
    top: 422.83px;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

.connectbar h2 {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 800;
    font-size: 24px;
    line-height: 33px;
    text-align: center;
    letter-spacing: 0.09em;

    color: #2D2F2D;
}

.fa-sharp {
    font-size: 20px;
}

.mediaicons a:hover {
    color: #9EDB3A;
}

.mediaicons {
    
    position: absolute;
    top: 507.83px;
    left: 161px;


}

.mediaicons a {
    text-decoration: none;
    color: white;
    font-size: 39px;
    letter-spacing: 34px;
    transition: all 0.1s ease 0.1s;

}

@media only screen and (max-width: 700px) {
    .navimg img {

        left: 23px;
        top: 12px;
        width: 56px;
        height: 58px;

        position: relative;

    }

    .navbar ul li a {

        font-size: 21px;

    }

    .connectbar {

        width: 40vw;


    }

    .mediaicons {
        top: 96vw;
        left: 36vw;
        padding-bottom: 5vw;
    }

    main::before {
        display: none;
    }

    .wslimg img {
        background-size: cover;
        right: 23vw;
        position: absolute;
        width: 45%;
        top: 12vw;
        border-radius: 6vw;
        box-shadow: rgb(0 0 0 / 35%) 0px 5px 15px;
        height: 43vw;
    }


    .intro h1 {
        font-family: 'Open Sans';
        font-style: normal;
        font-weight: 700;
        font-size: 40px;
        line-height: 64px;
        letter-spacing: 0.09em;
        color: #FFFFFF;
    }

    .intro h2 {
        font-family: 'Open Sans';
        font-style: normal;
        font-weight: 700;
        font-size: 32px;
        line-height: 40px;
        letter-spacing: 0.09em;
        color: #FFFFFF;
        color: #FFFFFF;
    }


    .intro {
        position: absolute;
        width: 460px;
        height: 150px;
        left: 23vw;
        top: 56vw;
        text-align: center;
    }


    .connectbar {
        background-color: #9EDB3A;
        width: 33vw;
        border-radius: 10px;
        text-align: center;
        position: absolute;
        left: 281.48px;
        top: 85vw;
        filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    }


    .connectbar h2 {
        font-family: 'Open Sans';
        font-style: normal;
        font-weight: 800;
        font-size: 20px;
        line-height: 33px;
        text-align: center;
        letter-spacing: 0.09em;
        color: #2D2F2D;
    }


    .mediaicons a {
        text-decoration: none;
        color: white;
        font-size: 33px;
        letter-spacing: 31px;
        transition: all 0.1s ease 0.1s;
    }
}



main::before {
    content: '';
    width: 29%;
    height: 1vw;
    background-color: white;
    z-index: 1;
    position: absolute;
    left: 40vw;
    transform: rotate(90deg);
    top: 26vw;
}


@media screen and (max-width: 500px) {

    .navimg img {
        left: 23px;
        top: 12px;
        width: 53px;
        height: 53px;
        position: relative;
    }

    .navbar ul li {
        display: inline-block;
        padding-left: 21vw;
        line-height: 8vw;
    }
    
    

    .navbar ul li a {
        font-size: 15px;
    }

    .wslimg img {
        background-size: cover;
        right: 17vw;
        position: absolute;
        width: 70%;
        top: 32vw;
        border-radius: 6vw;
        box-shadow: rgb(0 0 0 / 35%) 0px 5px 15px;
        height: 64vw;
    }

    .intro {
        position: absolute;
        width: 330px;
        height: 150px;
        left: 14vw;
        top: 108vw;
        text-align: center;
    }

    .intro h1 {
        font-family: 'Open Sans';
        font-style: normal;
        font-weight: 700;
        font-size: 40px;
        line-height: 64px;
        letter-spacing: 0.09em;
        color: #FFFFFF;
    }


    .intro h2 {
        font-family: 'Open Sans';
        font-style: normal;
        font-weight: 700;
        font-size: 32px;
        line-height: 40px;
        letter-spacing: 0.09em;
        color: #FFFFFF;
        color: #FFFFFF;
    }   


    .connectbar {
        background-color: #9EDB3A;
        width: 55%;
        border-radius: 10px;
        text-align: center;
        position: absolute;
        left: 19vw;
        top: 151vw;
        filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    }


    .connectbar h2 {
        font-family: 'Open Sans';
        font-style: normal;
        font-weight: 800;
        font-size: 20px;
        line-height: 33px;
        text-align: center;
        letter-spacing: 0.09em;
        color: #2D2F2D;
    }


    .mediaicons {
        top: 168vw;
        left: 17vw;
        padding-bottom: 5vw;
    }


    .mediaicons a {
        text-decoration: none;
        color: white;
        font-size: 33px;
        letter-spacing: 31px;
        transition: all 0.1s ease 0.1s;
    }
    
}

/* RESPONSIVE WEB DESIGN */


@media screen and (max-width: 414px) {

    .intro {
        
        left: 8vw;
        top: 101vw;
        
    }

    .mediaicons {
        top: 168vw;
        left: 11vw;
        padding-bottom: 5vw;
    }

    .connectbar {
      
        left: 20vw;
        top: 150vw;
        
    }
    
    .navbar ul li a {
        font-size: 14px;
    }




}


@media screen and (max-width: 375px){
    .navbar ul li {
        display: inline-block;
        padding-left: 17vw;
        line-height: 8vw;
    }
    .intro h1 {
        font-family: 'Open Sans';
        font-style: normal;
        font-weight: 700;
        font-size: 33px;
        line-height: 53px;
        letter-spacing: 0.09em;
        color: #FFFFFF;
    }

    .connectbar {
        left: 22vw;
        top: 147vw;
        width: 55%;
    }
    .connectbar h2 {
        font-family: 'Open Sans';
        font-style: normal;
        font-weight: 800;
        font-size: 18px;
        line-height: 33px;
        text-align: center;
        letter-spacing: 0.09em;
        color: #2D2F2D;
    }
    .mediaicons {
    top: 165vw;
    left: 15vw;
    padding-bottom: 5vw;
}
    .mediaicons a {
        text-decoration: none;
        color: white;
        font-size: 28px;
        letter-spacing: 31px;
        transition: all 0.1s ease 0.1s;
    }

    .intro h2 {
        font-family: 'Open Sans';
        font-style: normal;
        font-weight: 700;
        font-size: 27px;
        line-height: 40px;
        letter-spacing: 0.09em;
        color: #FFFFFF;
        color: #FFFFFF;
    }

}

@media screen and (max-width: 390px){
    .connectbar {
        left: 21vw;
        width: 59vw;
        top: 150vw;
    }
    .navbar ul li {
        display: inline-block;
        padding-left: 16vw;
        line-height: 8vw;
    }
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 100%; /* Change 'right' to 'left' */
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: left 0.5s ease; /* Adjust 'left' here as well */
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    font-size: 24px;
    margin: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.3s ease;
}

.mobile-menu.active a {
    opacity: 1;
    transform: translateY(0);
}

/* Style for the close button */
.close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

.close-button svg {
    fill: white;
}
/* Style for the mobile menu */
.md:hidden.container {
position: absolute;
top: 5px;
left: 6px; /* Change 'right' to 'left' */
cursor: pointer;
}

/* CSS for the hover effect with an underline */
.nav-link {
    position: relative; /* Relative positioning for the anchor elements */
    text-decoration: none;
    color: white;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px; /* Add space below the text */
    background-color: #9EDB3A;
    height: 4px;
    width: 0;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    right: 0; /* When hovering, move the underline to the right */
}

.nav-link.active::after,
.nav-link:hover::after {
    width: 100%;
}