@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;800&display=swap');

* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: #f5f5f5;
    color: #333;
    min-height: 100vh;
}

nav {
    background: #1a1a1a; 
    height: 80px;
    width: 100%;
    z-index: 20;
    
 
}

label.logo {
    color: #00ff99; 
    font-size: 25px;
    line-height: 80px;
    padding: 0 100px;
    font-weight: bold;
}

nav ul {
    float: right;
    margin-right: 30px;
}

nav ul li {
    display: inline-block;
    line-height: 80px;
    margin: 0 5px;
}

nav ul li a {
    color: #00ff99; 
    font-size: 17px;
    padding: 7px 13px;
    border-radius: 3px;
    text-transform: uppercase;
}

a.active {
    color: #00ff99;
    transition: .5s;
}

.checkbtn {
    font-size: 30px;
    color: #00ff99;
    float: right;
    line-height: 80px;
    margin-right: 30px;
    cursor: pointer;
    display: none;
   
}

#check {
    display: none;
}

.main {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('cyber.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    z-index: 1;
}

.main h2 {
    color: #fff;
    font-size: 3em;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
}

.main h3 {
    color: #fff;
    font-size: 2em;
    font-weight: 500;
    margin-top: 0px;
    display: inline-block;
    text-align: center;

}


.main h2, .main h3 {
    color: #00ff99; 
    text-shadow: 0 0 10px rgba(0, 255, 153, 0.7); 
    text-align: center;
}

#dynamicText {

    opacity: 1;
    transition: opacity 0.5s ease-in-out;
    margin-left: 5px;
    color: #00ff99; 
    text-shadow: 0 0 10px rgba(0, 255, 153, 0.7); 
}
.fade-out {
    opacity: 0;
}
.contact {
    text-align: center;
    margin: 50px 0;
    padding: 20px;
    background: linear-gradient(135deg, #1e2321, #333);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.contact h2 {
    color: #00ff99;
    font-size: 2em;
    margin-bottom: 20px;
}
.contact p {
    color: #fff;
    font-size: 1.2em;
    margin: 10px 0;
}

.contact a {
    color: #00ff99;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease, transform 0.3s ease;
}

.contact a:hover {
    color: #fff;
    transform: scale(1.1);
}




@media (max-width: 1050px) {
    label.logo {
      padding-left: 30px;
    }
    nav ul li a {
      font-size: 16px;
    }
}

@media (max-width: 890px) {
    .checkbtn {
      display: block;
    }
    label.logo {
      font-size: 30px;
    }
    ul {
      position: fixed;
      width: 100%;
      height: 100vh;
      background: #1a1a1a; 
      top: 80px;
      left: -100%;
      text-align: center;
      transition: all .5s;
      z-index: 10;
    }
    nav ul li {
      display: block;
      margin: 50px 0;
      line-height: 20px;
    }
    nav ul li a {
      font-size: 20px;
    }
    a:hover,
    a.active {
      background: none;
      color: #00ff99;
    }
    #check:checked~ul {
      left: 0;
    }
}

@media (max-width: 768px) {
    .main h2 {
        font-size: 2em; 
    .main h3 {
        font-size: 1.5em;
    }
}
}
