body{
    margin: 0;
    padding: 0;
    background-color: rgb(7, 7, 58);

}
main{
    padding-top: 100px;
}
/*buble*/
.bubble {
  position: absolute;
  left: 65%;
  margin-top: 110px;
  background: #5ac4ed;
  color: white;
  padding: 15px;
  border-radius: 10px;
  width: fit-content;
  max-width: 300px;
  font-family: sans-serif;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.bubble::before {
  content: "";
  position: absolute;
  top: -10px; /*arrow appears above the bubble*/
  right: 20px; /*positions it on top-right*/
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #5ac4ed; /* same as bubble background*/
}


.header{
    width: 100%;
    height: 95px;
    border-bottom: 2px solid aliceblue;
    display: flex;
    position: fixed;
    background-color: rgb(7, 7, 58);
    z-index: 1;
}
.logo{
    display: flex;
    padding-left: 5px;
}
.logo img{
    width: 100px;
    height: 100px;
}
.logo h1{
    color: aliceblue;
    font-size: 25px;
}
.nav{
    display: flex;
    padding-left:22%;
}
.nav ul{
    list-style-type: none;
    gap: 50px;
    display: flex;
    padding-top: 20px;
}
.nav ul li a{
    text-decoration: none;
    color: aliceblue;
    font-size: 20px;
}
.menu img{
    display: none;
}
.nav ul button{
   margin-left: 200px;
   width: 100px;
   height: 30px;
   background-color: brown;
   color: aliceblue;
   border: none;
   border-radius: 3px;
}
.nav ul button:hover{
    background-color: aliceblue;
    color: black;
    cursor: pointer;
}
.rank h2{
    color: rgb(44, 223, 223);
    font-size: 20px;
    padding-left: 5px;
}
.rank p{
    width: 50ch;
    font-size: 18px;
    color: aliceblue;
    padding: 3px 0 0 10px;
    display: block;
}
.marketer{
    display: flex;
    margin-left: 30%;
}
.marketer h1{
    font-size: 50px;
    color: gold;
    text-align: center;
    margin-top: 15%;
}
.marketer img{
    width: 500px;
    height: 500px;
    border-radius: 50%;
    margin-left: 100px;
}
.motto p{
    text-align: center;
    color: greenyellow;
    font-size: 20px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
.start p{
    color: rgb(44, 223, 223);
    font-size: 30px;
    margin-left: 30px;
    margin-right: 30px;
    border-bottom: 2px solid aliceblue;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}
.netacad{
    display: flex;
    gap: 50px;
}
.netacad .academic{
    border: 1px solid aliceblue;
    margin-left: 100px;
    border-radius: 10px;
    background-color: rgb(6, 6, 83);
    margin-bottom: 20px;

}
.netacad .academic h1{
     color: deepskyblue;
     padding-left: 10px;
}
.netacad .academic p{
    color: aliceblue;
    width: 500px;
    padding-left: 16px;
    font-size: 17px;
}
.netacad .network{
    border: 1px solid aliceblue;
    margin-left: 50px;
    border-radius: 10px;
    background-color: rgb(6, 6, 83);
    margin-bottom: 20px;
}
.netacad .network h1{
     color: deepskyblue;
     padding-left: 10px;
}
.netacad .network p{
    color: aliceblue;
    width: 500px;
    padding-left: 16px;
    font-size: 17px;
}

.affligame{
    display: flex;
    gap: 50px;
}
.affligame .affliate{
    border: 1px solid aliceblue;
    margin-left: 100px;
    border-radius: 10px;
    background-color: rgb(6, 6, 53);
}
.affligame .affliate h1{
     color: deepskyblue;
     padding-left: 10px;
}
.affligame .affliate p{
    color: aliceblue;
    width: 500px;
    padding-left: 16px;
    font-size: 17px;
}

.affligame{
    display: flex;
    gap: 50px;
}
.affligame .gaming{
    border: 1px solid aliceblue;
    margin-left: 50px;
    border-radius: 10px;
    background-color: rgb(6, 6, 53);
}
.affligame .gaming h1{
     color: deepskyblue;
     padding-left: 10px;
}
.affligame .gaming p{
    color: aliceblue;
    width: 500px;
    padding-left: 16px;
    font-size: 17px;
}

.testimonials{
    margin-top: 10rem;
    margin-bottom: 10rem;
}
.testimonials h2{
    text-align: center;
    padding: 3px;
    color: aliceblue;
}
.slider{
    margin-top: 3rem;
    width: 300px; 
    height: 400px;
    overflow: hidden; 
    border-radius: 5px; 
    margin-left: 37%;
} 
.slides{
    display: flex; 
    animation: slide 20s infinite; 
}
.slide{ 
    height: 250px; 
    width: 250px;
    border-radius: 50%;
    transition: transform 20s; 
}
    figure figcaption{
        text-align: left;
        color: aliceblue;
    }

/* Keyframes for sliding animation */ 
@keyframes slide {
    0%, 20% {
     transform: translateX(0); 
    }
    25%, 45% {
        transform: translateX(-110%); 
    } 
    50%, 70% {
         transform: translateX(-225%); 
    } 
    75%, 95% {
             transform: translateX(-330%); 
    } 
    100% {
         transform: translateX(0);
    } 
}

.legit{
    background-color: aqua;
    padding-bottom: 10px;
    border-radius: 7px;
}
.legit h1{
    color: brown;
}
.legit ul {
    margin-left: 10px;
}
.legit ul li {
    font-size: 16px;
}
.location{
    margin-top: 5rem;
    background-image: url('img/market.jpeg');
    background-repeat: no-repeat;
    background-size: 100%;
    height: 300px;
    border-bottom: 0.5px solid blueviolet;
}
.location h3{
       text-align: center;
       font-size: 30px;
}
.location p{
    text-align: center;
    font-size: 20px;
    padding-top: 20px;
    color:red;
}
.contact{
    padding-top: 10px;
    border-bottom: 2px solid black;
}
.contact p{
    margin-left: 30px;
    color: azure;
}
.footer p{
    text-align: center;
    color: aliceblue;
    font-size: 19px;
}

/* style the popup*/
#form{
    border: 1px solid whitesmoke;
    width: 350px;
    height: auto;
    padding: 15px;
    background-color: rgb(7, 7, 58);
    border-radius: 4px;
    font-size: 15px;
    color: rgb(245, 243, 243);
    text-align: left;
}
#form h2{
    font-size: 30px;
    color: rgb(255, 255, 255);
    text-align: center;
}
.inputform{
    display: flex;
    flex-direction: column;
}
.inputform input{
    border: 2px solid rgb(17, 10, 10);
    border-radius: 4px;
    display: block;
    font-size: 15px;
    padding:10px;
    width: 95%;
}

.logbtn{
    padding: 10px;
    margin-top: 10px;
    width: 100%;
    color: white;
    background-color: rgb(4 57 194);
    border: none;
    border-radius:4px;
    align-items:center;
    font-size: 18px;
    font-weight: 300;
}
.logbtn:hover{
    background-color: rgb(10, 10, 94);
    cursor: pointer;
}
.span{
    color: rgb(221, 218, 218);
    font-size:18px;
    margin-top: 10px;
}

#e:hover{
    color: aqua;
}
.li{
    text-decoration-line: none;
    color: rgb(235, 53, 235); 
    font-size: 15px;
}
.li:hover{
    color: darkblue;
}
.error{
    color: red;
    text-align: center;
}

.popup{
    position: fixed;
    top:-150%;
    left: 37%;
    opacity: 0;
    transform: translate(-50% -50%) scale(0.1);
    transition: transform 0.4s, top 0.4s;
}



.popup.active{
    position: fixed;
    top: 40%;
    opacity: 1;
    transform: translate(-50% -50%) scale(1);
    z-index: 1;
}
#closebtn{
    width: 25px;
    height: 25px;
    margin-left: 330px;
}
#closebtn:hover{
    background-color: gray;
    border-radius: 50%;
    cursor: pointer;
}
.li2{
    font-size: 15px;
    color: rgb(245, 78, 245);
    text-decoration-line: none;
}
.affliate{
    color: aliceblue;
    margin-left: 10px;
    margin-top: 10rem;
}
.affliate h1{
    text-align: center;
    color: aqua;
}
.affliate h3{
    color: greenyellow;
}
.affliate ul li{
    color: gold;
}
.services{
    margin-left: 10px;
    color: green;
    margin-top: 10rem;
    margin-bottom: 10rem;
}
.services h1{
    margin-left: 20%;
    color: aqua;
}
.services h3{
    color: darkcyan;
    margin-left: 20%;
}
.services p{
     color: darkred;
     text-align: center;
}
.joinUs{
    background-image: url('img/pmk.png');
    background-repeat: no-repeat;
    background-size: 100%;
    width: 70%;
    height: 300px;
    margin-left: 15%;
    border-radius: 3px;
}
.join h1{
    color: yellow;
    font-size: 30px;
    text-align: center;
    margin-top: 5rem;
}
.joinUs h1{
    font-size: 40px;
    text-align: center;
    color: aqua;
}
.joinUs a{
    margin-left: 70%;
    font-size: 30px;
    color: aliceblue;
    margin-top: 20rem;

}
.classes{
    margin-top: 10rem;
    margin-left: 10px;
}
.classes h1{
    color: aqua;
    text-align: center;
}
.classes h2{
    color: yellowgreen;
}
.classes h3{
    color: orange;
    margin-left: 30px;
}
.classes p{
    font-size: 20px;
    color: darkcyan;
}
.languages{
    display: flex;
}
.languages ul{
    color: gold;
    margin-left: 10%;
    margin-top: 50px;
    font-size: 25px;
}
.languages img{
    width: 500px;
    height: 400px;
    margin-left: 20%;
    margin-top: -50px;
}
#preloader{
    background: rgb(5, 5, 5) url(img/blueloader.gif) no-repeat center center;
    background-size: 40%;
    width: 100%;
    height: 100vh;
    z-index:100;
    position: fixed;
}


@media screen and (max-width: 770px){
    .header{
        height: 70px;
        border-bottom: 2px solid aliceblue;
        display: flex;
        background-color: rgb(7, 7, 58);
    }
    .logo img{
        width: 70px;
        height: 70px;
    }
    .logo h1{
        color: aliceblue;
        font-size: 16px;
    }
    .nav{
        background-color: rgb(5, 5, 83);
        padding-left:0;
        width: 200px;
        height: 300px;
        margin-top: 73px;
        margin-left: -20px;
        display: none;
        border-bottom: 2px solid aliceblue;
        position: fixed;
    }
    .nav ul{
        list-style-type: none;
        display: block;
    }
    .nav ul li{
        margin-bottom: 20px;
        padding-right: 50px;
    }
    .nav ul li a{
        text-decoration: none;
        color: aliceblue;
        font-size: 17px;
    }
    
    .menu img{
        display: inline;
        height: 30px;
        width: 30px;
        background-color: aliceblue;
        margin-left: 320px;
        margin-top: 19px;
        border-radius: 7px;
        cursor: pointer;
    }
    .nav-active{
        display: inline !important;
        position: absolute;
        z-index: 12 !important;
    }
    .nav ul button{
        background-color: skyblue;
        border-radius: 20px;
        margin-left: 0;
    }

    .rank h2{
        font-size: 18px;
        padding-left: 5px;
    }
    .rank p{
        width: 45ch;
        font-size: 16px;
        color: aliceblue;
        padding: 3px 0 0 10px;
        display: block;
    }
    .marketer{
        display: flex;
        margin-left: 2%;
    }
    .marketer h1{
        font-size: 30px;
        color: gold;
        text-align: center;
        margin-top: 15%;
    }
    .marketer img{
        width: 250px;
        height: 250px;
        border-radius: 50%;
        margin-left: 10px;
    }

    .netacad{
        display: block;
    }
    .netacad .academic{
        border: 1px solid aliceblue;
        margin-left: 10px;
        border-radius: 10px;
        background-color: rgb(7, 7, 59);
        margin-bottom: 10px;
    }
    .netacad .academic h1{
         color: deepskyblue;
         padding-left: 10px;
    }
    .netacad .academic p{
        color: aliceblue;
        width: 400px;
        padding-left: 16px;
        font-size: 15px;
    }
    .netacad .network{
        border: 1px solid aliceblue;
        margin-left: 10px;
        border-radius: 10px;
        background-color: rgb(6, 6, 53);
    }
    .netacad .network h1{
         color: deepskyblue;
         padding-left: 10px;
    }
    .netacad .network p{
        color: aliceblue;
        width: 400px;
        padding-left: 16px;
       font-size: 15px;  
    }

    .affligame{
        display: flex;
        gap: 50px;
    }
    .affligame .affliate{
        border: 1px solid aliceblue;
        margin-left: 10px;
        border-radius: 10px;
        background-color: rgb(6, 6, 53);
        margin-bottom: 10px;
    }
    .affligame .affliate h1{
         color: deepskyblue;
         padding-left: 10px;
    }
    .affligame .affliate p{
        color: aliceblue;
        width: 400px;
        padding-left: 16px;
        font-size: 17px;
    }
    
    .affligame{
        display: block;
        gap: 50px;
    }
    .affligame .gaming{
        border: 1px solid aliceblue;
        margin-left: 10px;
        border-radius: 10px;
        background-color: rgb(6, 6, 53);
    }
    .affligame .gaming h1{
         color: deepskyblue;
         padding-left: 10px;
    }
    .affligame .gaming p{
        color: aliceblue;
        width: 400px;
        padding-left: 16px;
        font-size: 17px;
    }
    .slider{
       margin-left: 16%;
    }
    .legit h1{
        text-align: center;
        padding-top: 10px;
    }
    .popup{
        position: fixed;
        top:-150%;
        left: 10%;
        opacity: 0;
        transform: translate(-50% -50%) scale(0.1);
        transition: transform 0.4s, top 0.4s;
    }
    .affliate{
        color: aliceblue;
        margin-left: 10px;
    }
    .affliate h1{
        text-align: center;
        color: aqua;
    }
    .affliate p{
        font-size: 14px;
        text-align: center;
    }
    .services{
        margin-left: 10px;
        color: green;
        margin-top: 10rem;
        margin-bottom: 10rem;
    }
    .services h1{
        margin-left:40px;
        color: aqua;
    }
    .services h3{
        color: darkcyan;
        text-align: center;
        margin-left: 0;
    }
    .services p{
         color: darkred;
         text-align: center;
         font-size: 14px;
    }
    .join h1{
        color: yellow;
        font-size: 20px;
        text-align: center;
    }
    .joinUs{
        background-image: url('img/marketer.jpeg');
        background-repeat: no-repeat;
        background-size: 100%;
        width: 80%;
        height: 300px;
        margin-left: 10%;
        border-radius: 3px;
    }
    .joinUs h1{
        font-size: 30px;
        text-align: center;
        color: aqua;
        padding-top:20px;
    }
    .joinUs a{
        margin-left: 40%;
        font-size: 20px;
        color: aliceblue;
        margin-top: 20rem;
        color: black;
    }
    .footer p{
        font-size: 15px;
    }
    .classes{
        margin-top: 10rem;
        margin-left: 5px;
        margin-bottom: 10rem;
    }
    .classes h1{
        color: aqua;
        text-align: center;
        font-size: 20px;
    }
    .classes h2{
        color: yellowgreen;
        font-size: 19px;
    }
    .classes h3{
        color: orange;
        margin-left: 30px;
    }
    .classes p{
        font-size: 16px;
        color: darkcyan;
        padding-top: 40px;
    }
    .languages{
        display: flex;
    }
    .languages ul{
        color: gold;
        margin-left: 0;
        margin-top: 50px;
        font-size: 15px;
    }
    .languages img{
        width: 230px;
        height: 230px;
        border-radius: 50%;
        margin-left: 5px;
        margin-top: 10px;
    }
    /*buble*/
.bubble {
  left: 65%;
  margin-top: 90px;
  padding: 7px;
  max-width: 300px;
  font-size: 11px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
}