*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

body{
    background-image: url(../Images/images.jpeg);
    background-position: center;
}

/* Navigation */
nav{
    display: flex;
    justify-content: right;
    padding: 20px 0;
    background-color: rgb(38, 38, 66);
}

nav ul{
    display: flex;
    list-style: none;
    align-items: center;
    gap: 10px;
}

nav ul li{
    padding: 10px;
}

ul li a{
    color: white;
    text-decoration: none;
}

ul a:hover{
    color:white;
}

nav .registeringbtn{
   
    background-color: white;
    padding: 10px 30px;
    margin: 0px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    border-radius: 5px;
}

.About
{
  margin: 11% auto;
  background-color: rgb(38, 38, 66);
  color: white;
  height: 500px;
  max-width: 1100px;
  text-align: center;
  border-radius: 10px;
  padding: 20px;
}

.Aboutinfor{
  margin: 10% auto;
  font-size: 20px;
  max-width: 90%;
}

/* ----------- MEDIA QUERIES ----------- */
.mobile-top-icons {
    display: none;
}

@media only screen and (max-width: 1200px){
 
  .About {
    width: 90%;
    height: auto;
    padding: 20px;
  }

  nav ul {
    gap: 5px;
  }

  nav .registeringbtn {
    padding: 8px 20px;
    font-size: 14px;
  }
}

@media only screen and (max-width: 768px){
    .mobile-top-icons {
        display: flex;
        justify-content: space-around;
        align-items: center;
        background-color: rgb(38, 38, 66);
        padding: 12px 0;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 9999;
    }

    .mobile-top-icons a {
        color: white;
        font-size: 22px;
        text-decoration: none;
        transition: transform 0.2s ease;
    }

    .mobile-top-icons a:hover {
        transform: scale(1.2);
    }

    .mobile-top-icons .register-icon {
        background-color: white;
        color: #000;
        padding: 10px 15px;
        font-size: 14px;
        border-radius: 5px;
    }

    /* Push page down to make space for top bar */
    body {
        padding-top: 60px;
    }

    /* Optionally hide full nav bar on mobile */
    nav {
        display: none;
    }

    .About {
        height: auto;
        padding: 30px 20px;
    }

    .Aboutinfor {
        font-size: 16px;
    }
}

@media only screen and (max-width: 600px){
 /* Stack nav items vertically or hide desktop nav */
  nav {
    display: none; /* or change layout if you prefer */
  }

  .About {
    width: 90%;
    margin: 20% auto;
  }

}