body{
  background-color: rgb(14, 14, 84);
  margin:0;
  padding: 0;
}

/* NAVBAR */
.nav{
  font-family: 'Segoe UI', sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo{
  position: relative;
  left: 15px;
  color: white;
  display: flex;
  font-size: 1.5rem;
  font-family: 'Segoe UI', sans-serif;
}
#inner_logo{ 
  color: rgb(6, 172, 238); 
}

.nav_inner{
  position: relative;
  right: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  font-weight: bold;
}

#nav1 a{
  color: white;
  text-decoration: none;
}
#nav1 a:hover{
   color: yellow; 
  }

/* MAIN BOX SECTION */
.box {
  font-family: 'Segoe UI', sans-serif;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;       /*  allows stacking on small screens */
  gap: 2rem;
  min-height: 75vh;
  padding: 2rem;
  animation: fadeIn 0.8s ease;
}

.container {
  height: 200px;
  width: 100%;
  max-width: 500px;      /*  responsive width */
  text-align: center;
  background-image: url("images/aiphoto.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  color: white;
  border-radius: 10px;
  text-shadow: 2px 2px 1px black;
  box-shadow: 2px 2px 20px 1px pink;
  padding: 1rem;
  transition: 0.3s ease;
}
.container_1{
  background-image: url("images/select.avif");
}

.container:hover{ 
  height: 210px; 
}

/* BUTTONS */
button {
  padding: 0.5rem 1.2rem;
  margin-top: 1rem;
  font-size: 1rem;
  background-color: black;
  font-weight: bold;
  border-radius: 20px;
  border: none;
  cursor: pointer;
}
button a{
  text-decoration: none;
  color: white;
}
button:hover{ 
  background-color: green; 
}

footer{
  position: relative;
  bottom: 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  color: white;
  font-family: 'Segoe UI', sans-serif;
}

/* 📱 RESPONSIVE MEDIA QUERIES */
@media (max-width: 900px) {
  .box { 
    flex-direction: column; 
    gap: 1.5rem; 
  }
  .container { 
    max-width: 90%; 
  }
}

@media (max-width: 600px) {
  .logo { 
    font-size: 1.2rem; 
  }
  .nav_inner { 
    gap: 1rem; 
    font-size: 0.9rem; 
  }
  .container h1 { 
    font-size: 1.2rem; 
  }
  button { 
    font-size: 0.9rem; 
    padding: 0.4rem 1rem; 
  }
}

@media (max-width: 450px) {
  .nav_inner{
    left: 15px;
  }
}

@media (max-width: 400px) {
  .nav { 
    flex-direction: column; 
    gap: 0.5rem; 
    align-items: 
    flex-start; 
  }
  .container h1 { 
    font-size: 1rem; 
  }
  .container { 
    height: auto; 
    padding: 1.2rem; 
  }
}

@keyframes fadeIn {
      from {
        opacity:0; 
        transform:translateY(-20px);
    }
      to {
        opacity:1; 
        transform:translateY(0);
    }
    }
