
/* Font imports */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;700&display=swap');

/* Universal Styles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* Front End Mentor defult style */

.attribution { font-size: 11px; text-align: center; }
.attribution a { color: hsl(228, 45%, 44%); }




body{
  background-color: hsl(212, 45%, 89%) ;
}

/* Typography */

body h1{
  font-size: 2.5rem;
  font-weight: 700;
  color: hsl(218, 44%, 22%);
}

body p{
  font-size: 1rem;
  font-weight: 400;
  color: hsl(220, 15%, 55%);
}

/* main */

main{
  max-width: 100%;
  max-height: 50%;;

}


/* wrapper */

.wrapper{
  min-width: 100%;
}

/* Card Container */ 

.card-container{
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background-color: white;
  margin: 3rem 1rem;
  border-radius: 1rem;
}

/* Image Container */

.card-img{
  min-width: 100%;
  min-height: 100%;
  object-fit: fill;
  padding-bottom: 0.5rem;
}

.card-img img{
  max-width:100%;
  border-radius: 1rem;
}

/* Card Description Container*/

.card-desc{
  min-width: 100%; 
  display: flex;
  flex-direction: column;
  font-family: "Outfit", sans-serif;
  text-align: center;
}

.card-desc h1{
  font-size: 1.5rem;
  font-weight: 700;
  padding: 1rem 0.5rem;
}

.card-desc p{
  font-size: 16px;
  font-weight: 400;
  padding: 0.5rem 1rem;
  padding-bottom: 2rem;
}


/* Media Queries */

@media screen and (min-width: 1050px){
  body{
    height: fit-content;
    overflow: hidden;
  }
  .card-container{
    max-width: 25%;
    Height: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background-color: white;
    margin: 8rem 35rem;
    border-radius: 1rem;
    }

  }
  
