/* mobile first appraoch */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  padding: 0;
  box-sizing: border-box;
  background-color: blue;
}

.logo img {
    width: 100px;
    height: auto;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    
}

.nav-buttons button {
    margin-left: 30px;
    font-size: larger;
    border: none;
    cursor: pointer;
    
}

.nav-buttons button:hover {
    background-color: aqua;
} 

.home {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* background-color: gray; */
    padding-bottom: 80px;
    
}

.home img {
    width: 900px;
    height: 500px;
    display: block;
}
.home h2 {
    position: absolute;
    bottom:10px;
    left: 40px;
    /* transform: translate(90%); */
    border: 1px solid black;
    padding: 40px;
    line-height: 2;

}

.about-me {
    display: flex;
    align-items: flex-start; 
    gap: 40px; 
    max-width: 1000px;
    height: 580px;
    margin: 0 auto;
    padding: 20px;
}

.about-me img {
    width: 400px; 
    height: 570px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.info {
    flex: 1;
}

.info h1 {
    margin-top: 0;
}

.info p {
    line-height: 1.8;
    font-size: larger;
    margin-bottom: 1em;
}

.info button {
    padding: 10px 20px;
    font-size: 20px;
    cursor: pointer;

}

.info button:hover {
    background-color: brown;
}

.interested {
    display: flex;
    justify-content: space-between;

}
.interested h2 {
    font-size: x-large;
}

.interested button {
    padding: 10px;
    font-size: 20px; 
    margin-top: 20px;  
    cursor: pointer;
  }

  .interested button:hover {
    background-color:aqua;
  }

  .sample{
    padding: 10px;
  }

  /* Medium screens (tablets) */
@media (min-width: 600px) {
    .navbar {
      flex-direction: row;
      justify-content: space-between;
    }
  
    .nav-buttons {
      margin-top: 0;
    }
  
    .about-me {
      flex-direction: row;
      justify-content: space-between;
    }
  
    .info {
      margin-top: 0;
      padding-left: 20px;
    }
  
    .home h2 {
      font-size: 1.8rem;
    }
  }
  
  /* Large screens (laptops and desktops) */
  @media (min-width: 1024px) {
    .home {
      flex-direction: column;
      align-items: center;
    }
  
    .home h2 {
      position: absolute;
      bottom: 40px;
      left: 50px;
      background-color: rgba(255, 255, 255, 0.8);
      padding: 30px;
      border: 1px solid black;
      transform: none;
      font-size: 2rem;
      white-space: pre-line;
    }
  
    .interested {
      flex-direction: row;
      justify-content: space-between;
      padding: 40px 80px;
      text-align: left;
    }
  
    .interested h2 {
      font-size: 2rem;
    }
  
    .interested button {
      font-size: 18px;
      margin-top: 0;
    }
  }

