*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.container{
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #afafaf;
}

.container h1{
  margin-top: 50px;
  font-size: 3rem;
  color: #ededed;
}

.main{
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  gap: 20px;
  overflow: hidden;
}

.card{
  width: 400px;
  box-shadow: 10px 10px 20px rgb(100,100,100);
}

.image{
  width: 100%;
  height: 100%;
}



@media screen and (max-width: 540px){
  .main{
    flex-direction: column;
    justify-content: start;
  }

  .card{
    width: 300px;
    margin: 10px;
  }

  .image{
    width: 100%;
    height: 100%;
  }

  .container h1{
    font-size: 1.5rem;
  }
}
