@import url("https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap");

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}
html {
  box-sizing: border-box;
  font-size: 62.5%;
}

body {
  font-family: "Work Sans", sans-serif;
}

.first-part {
  width: 100%;
  height: 30rem;
}
.first-part--img {
  width: 100%;
  height: 30rem;
  object-fit: cover;
  margin: 0 auto;
}
.second-part {
  width: 100%;
  height: 70vh;
  background-color: hsl(275, 100%, 97%);
}
.main-box {
  width: 50rem;
  height: fit-content;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 1.5rem;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.1);
  background-color: white;
  padding: 2.6rem 3.2rem;
}
.first-row {
  display: flex;
  justify-self: flex-start;
  align-items: center;
}
.star-icon {
  margin-right: 1.5rem;
}
.main-box--header {
  font-size: 4.5rem;
}

h2 {
  margin-bottom: 1.6rem;
  font-size: 1.5rem;
  padding-top: 2rem;
  margin-right: 1.6rem;
}
h2:hover {
  cursor: pointer;
  color: hsl(292, 55%, 49%);
}

p {
  line-height: 1.7rem;
  font-size: 1.25rem;
  color: hsl(292, 16%, 49%);
}
.second-row {
  padding-bottom: 1rem;
  border-bottom: 1.5px solid hsl(275, 100%, 97%);
}

.third-row {
  border-bottom: 1.5px solid hsl(275, 100%, 97%);
  padding-bottom: 1rem;
}
.forth-row {
  border-bottom: 1.5px solid hsl(275, 100%, 97%);
  padding-bottom: 1rem;
}
.row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.btn {
  transition: all 0.3s;
  cursor: pointer;
}
.btn:active {
  transform: translateY(1px);
}
.paragraph {
  max-height: 500px;
  transition: all 0.6s ease;
  opacity: 1;
  overflow: hidden;
}
.hidden {
  max-height: 0;
  opacity: 0;
  transition: all 0.3s ease;
}

@media (max-width: 600px) {
  .main-box {
    width: 36rem;
    height: fit-content;
    border-radius: 1rem;
  }
  h2 {
    margin-bottom: 1.4rem;
    font-size: 1.5rem;
    padding-top: 2rem;
  }
}
@media (max-width: 400px) {
  .main-box {
    width: 32rem;
    height: fit-content;
  }
}
