@import url('https://fonts.googleapis.com/css2?family=Agbalumo&family=Big+Shoulders+Display:wght@700&family=Fira+Sans:wght@500&family=Fraunces:opsz,wght@9..144,700&family=Griffy&family=Inter:wght@700&family=Kumbh+Sans:wght@400;700&family=Lexend+Deca&family=Montserrat:ital,wght@0,500;1,700&family=Outfit:wght@300;400;600&family=Pacifico&family=Poppins:wght@200;400;600&family=Red+Hat+Display:wght@500;700;800&family=Roboto:ital@0;1&display=swap');

*{
  box-sizing: border-box;
}

body{
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
  overflow: hidden;
}
.col-sm {
  display: flex;
  width: 90vw;
  gap: 1rem;
  
}

.area {
  background-size: auto 100%;
  background-position: center center;
  background-repeat: no-repeat;
  height: 80vh;
  border-radius: 50px;
  cursor: pointer;
  flex: 0.3;
  position: relative;
  
  
}
.area h3 {
  font-size: 24px;
  position: absolute;
  color: RED;
  bottom: 10px;
  left: 45%;
  margin: 0;
  opacity: 0;
  
}

.area.open h3 {
opacity: 1;
transition:opacity 0.3s ease-in 0.4s;
font-size: 15px;

}

.area.open {
  flex: 3;
  transition:flex 0.7s ease-in;
  border-radius: 50px;
}

@media (max-width: 600px) {
  
  body{
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    overflow: hidden;
    
  }
  .col-sm {
    display: flex;
    width:100vw;
    gap: 0.3rem;
    
  }
  
  .area {
    background-size: auto 100%;
    background-position: center center;
    background-repeat: no-repeat;
    height: 80vh;
    border-radius: 50px;
    cursor: pointer;
    flex: 0.1;
    position: relative;
   
    
    
  }
  .area h3 {
    font-size: 15px;
    position: absolute;
    color: RED;
    bottom: 10px;
    left: 45%;
    margin: 0;
    opacity: 0;
   
    
  }
  
  .area.open h3 {
  opacity: 1;
  transition:opacity 0.3s ease-in 0.4s;
  font-size: 15px;
  
  }
  
  .area.open {
    flex: 3;
    transition:flex 0.7s ease-in;
    border-radius: 50px;
    
  }
}


