@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;700&display=swap");

html,
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Oswald", sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

a:hover,
a:visited,
a:link,
a:active {
  text-decoration: none;
}

.hero {
  width: 100vw;
  height: 50vw;
  position: relative;
  margin-bottom: 20vw;
}

.hero img {
  width: 100%;
  position: absolute;
}

.hero h1 {
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  text-align: center;
  color: #fff;
  font-size: 4.5vw;
  letter-spacing: 5px;
}

.hero-h2 {
  box-sizing: border-box;
  text-align: center;
  color: #1a475f;
  font-size: 2vw;
  margin: 0 8vw;
}

.features {
  margin: 5vw 0;
}

.features-main {
  margin: 1vw 5vw;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.nums {
  height: 140px;
  text-align: center;
}

.feature p {
  padding: 0 1vw;
  color: #1a475f;
  font-size: 1.1rem;
}

.history {
  background-color: #fff;
  height: auto;
}

.history-main {
  text-align: center;
  margin: -4vw 5vw 3vw;
  background: url(assets/txt_bg.png) no-repeat;
  background-size: 90%;
  background-position: 50%;
  height: 60vw;
}

.history-content {
  padding: 6vw 14vw;
  color: #2e2683;
}

.history-content h3 {
  font-size: 2rem;
}

.history-content p {
  font-size: 20px;
  text-align: left;
}

.rainbow-img {
  width: 120px;
  float: right;
  position: relative;
  margin-top: -4rem;
  margin-right: 5rem;
}

.mission {
  background-color: #27466f;
  padding: 6vw 5vw 3vw;
}

.mission-main {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.smol-flower,
.paint-img {
  width: 20%;
}

.smol-flower img {
  width: 120px;
}

.paint-img img {
  width: 180px;
}

.mission-content {
  width: 60%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #f8f8f9;
}

.mission-content img {
  height: 1.5vw;
  width: 75%;
}

.mission-content h2 {
  font-size: 40px;
  margin-top: 20px;
  letter-spacing: 4px;
}

.mission-content p {
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 2px;
  line-height: 1.8;
}

.perks-container {
  padding: 2vw 4vw;
  color: #1a475f;
  text-align: center;
  background-color: #dbecf5;
}

.perks-main {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.perks-container h2 {
  font-size: 2rem;
  margin-bottom: 3rem;
}
.perks {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.perks-icon {
  height: 90px;
  text-align: center;
}

.perks h4 {
  font-size: 22px;
}

.perks p {
  padding: 0 2vw;
  font-size: 18px;
  font-weight: 400;
}

.wrapper {
  background: url(assets/pink-background.png) no-repeat;
  background-size: cover;
  padding: 3vw 4vw;
  text-align: center;
  color: #2e2683;
}

.wrapper-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 14vw;
  margin: -5rem 0;
}

.wrapper-content h2 {
  font-size: 2.5rem;
  margin-bottom: 0;
}

.wrapper-icons {
  display: flex;
}

.icon-2 {
  justify-content: flex-end;
}

.wrapper-icons img {
  max-width: 150px;
}

.wrapper-content p {
  font-size: 20px;
  letter-spacing: 1.5px;
}

.w-button {
  box-sizing: border-box;
  border: 2px solid #1a475f;
  border-radius: 0.6rem;
  width: 8rem;
  font-size: 1.2rem;
  font-weight: 400;
  text-align: center;
  cursor: pointer;
  padding: 0.5vw 0.5vw;
  letter-spacing: 2px;
}

.w-button a {
  text-decoration: none;
  color: #1a475f;
}

.w-button:hover {
  color: #fff;
  background-color: #1a475f;
  transition: ease-in-out 0.3s;
}

.w-button:hover > a {
  color: #fff;
}

@media screen and (max-width: 992px) {
  .history-main {
    background-size: 100% 50rem;
    margin: -10vw 0 0;
    background-position: center;
    position: relative;
    left: -5px;
    width: 100%;
    height: 100%;
    content: "";
    display: inline-block;
  }
  .history-content h3 {
    font-size: 1.2rem;
  }
  .history-content p {
    font-size: 1rem;
  }
}

@media screen and (max-width: 768px) {
  .features-main {
    flex-direction: column;
  }
  .feature {
    margin-bottom: 1rem;
  }
  .nums {
    text-align: end;
  }
  .mission {
    padding-left: 0;
    padding-right: 0;
  }
  .perks-main {
    flex-direction: column;
  }
  .perks {
    margin-bottom: 1rem;
  }
  .perks p {
    margin-top: 0;
  }
  .perks h4 {
    margin-top: 14px;
  }
  .wrapper-icons img {
    max-width: 100px;
  }
  .wrapper-content {
    padding: 0 1vw;
  }
}
