@font-face {
  font-family: Outfit;
  src: url(./Fonts/Outfit-VariableFont_wght.ttf);
}

body{
  height: 1000px;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background: hsl(212, 45%, 89%);
}

.container{
  height: 740px;
  max-width: 480px;
  margin: 0 auto;
  background:  hsl(0, 0%, 100%);
  border-style: none;
  border-radius: 20px;
  display: flex;
  align-items: center;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  
}

.content-image{
  height: 600px;
  max-width: 435px;
  background: hsl(218, 99%, 55%);
  border-style: none;
  border-radius: 20px;
  margin: 20px 16px 16px;
  overflow: hidden;
  z-index: 1;
}
img{
  width: 100%;
  height: 100%;
}

.content-text{
  height: 400px;
  width: 400px;
  background: white;
  text-align: center; 
  margin-top: 2rem;
  font-family:"Outfit";
}

.content-text span{
  font-size: 35px;
  font-weight: 700œœ;
  color: black;
}

.content-text p {
  font-size: 22px;
  font-weight: 400;
  color: hsl(220, 15%, 55%);
}

@media only screen and (max-device-width: 375px){
  body{
    height: 600px;
    max-width: 100%;
  }
  
  .container{
    height: 50%;
    max-width: 80%;
    
  }
  
  .content-image{
    height: 100%;
    max-width: 110%;

  }
  img{
    width: 100%;
    height: 100%;
  }
  
  .content-text{
    height: 80%;
    width: 90%;
    position: relative;
    top: -1rem;

  }
  
  .content-text span{
    font-size: 25px;
    font-weight: 1000;
  }
  
  .content-text p {
    font-size: 15px;
    font-weight: 400;
    color: hsl(220, 15%, 55%);
    padding-bottom: 2rem;
  }

}