@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900&display=swap');



* {
  padding: 0;
  margin: 0;
  font-family: "League Spartan", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

body {
  scroll-behavior: smooth;
}

body > img{
  width: 100%;
  position: fixed;
}

body > img:nth-of-type(1), body > img:nth-of-type(2) {
  top: 0;
  width: 100%;
  left: 0;
}

body > img:nth-of-type(3), body > img:nth-of-type(4) {
  bottom: 0;
  width: 100%;
}

body > img:nth-of-type(3) {
  left: 0;
}

body > img:nth-of-type(2), body > img:nth-of-type(4) {
  display: none;
}

body > img:nth-of-type(3) {
  height: 40%;
}





main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  padding: 15% 6%;
}


.hero {
  display: flex;
  flex-direction: column;
}

.hero .hero-text {
  margin-bottom: 30px;
  text-align: center;
}

.hero .hero-text h1 {
  font-size: 2.4rem;
  color: hsl(300,43%,22%);
  padding: 0 10px;
  margin-bottom: 25px;
  line-height: 1;
}

.hero .hero-text p {
  font-size: 1.05rem;
  font-weight: 500;
  color: hsl(303,10%,53%);
  line-height: 1.3;
}

.ratings {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.ratings .rating-type {
  background: hsl(270, 50%, 95%);
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 8px;
}

.ratings .rating-type i {
  color: #ff9d2b;
  padding: 0 2px 12px;
  font-size: 0.9rem;
}

.ratings .rating-type p:nth-of-type(2) {
  color: hsl(300,43%,22%);
  font-size: 1rem;
  font-weight: 700;
}



.reviews {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.reviews .review {
  background: hsl(300,43%,22%);
  padding: 40px 30px 30px;
  border-radius: 10px;
}

.reviews .review .profile {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.reviews .review .profile img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.reviews .review .profile .profile-name h6 {
  color: hsl(0,0%,100%);
  font-size: .9rem;
}

.reviews .review .profile .profile-name p {
  color: hsl(333,80%,67%);
  font-size: 0.9rem;
}

.reviews .review > p {
  color: hsl(300,24%,96%);
  font-size: 1rem;
  line-height: 1.4;
}




.accredition {
  color: hsl(270,7%,64%);
  font-size: 0.8rem;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 20px;
}

.accredition a {
  color: hsl(210,80%,50%);
}






@media(min-width: 1000px){
  body > img:nth-of-type(2), body > img:nth-of-type(4) {
    display: block;
    
  }
  
  body > img:nth-of-type(2) {
    width: 40%;
  }
  
  body > img:nth-of-type(4) {
    right: 0;
    width: 70%;
  }
  
  body > img:nth-of-type(1), body > img:nth-of-type(3) {
    display: none;
  }
  
  main {
    height: 90vh;
    padding: 0 10%;
  }
  
  .hero {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 18%;
  }
  
  .hero .hero-text {
    width: 52%;
  }
  
  .hero .hero-text h1 {
    text-align: left;
    font-size: 2.5rem;
    font-weight: 900;
    padding: 0 20% 0 0;
  }
  
  .hero .hero-text p {
    text-align: left;
  }
  
  .hero .ratings {
    width: 60%;
  }
  
  .hero .ratings .rating-type {
    width: 78%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }
  
  .ratings #type2 {
    margin-left: 8%;
  }
  
  .ratings #type3 {
    margin-left: 16%;
  }
  
  .reviews {
    flex-direction: row;
    gap: 3%;
  }
  
  .reviews #review-2 {
    margin-top: 4%;
  }
  
  .reviews #review-3 {
    margin-top: 8%;
  }
  
  .reviews .review {
  . padding: 40px 35px 30px;
  }
}