@import url('util.css');
@import url('blog.css');

:root {
  --blue: #1e88d2;
  --dark-blue: #004b80;
  --gray: #d9d9d9;
  --dark-gray: #272727;
  --light-gray: #ebeff0;
  --graphite: #bfbfbe;
  --beige: #d7ccb8;
  --yellow: #ffc03a;
}

.container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 50px !important;
}

body {
  font-family: Murecho;
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
}

a {
  text-decoration: none;
  color: var(--blue);
  display: inline-block;
}

strong {
  font-weight: 700;
}

.button,
input[type='submit'],
button {
  font-size: 16px;
  border-radius: 25px;
  background-color: var(--blue);
  color: white;
  text-transform: uppercase;
  font-weight: 900;
  padding: 10px 30px;
  text-align: center;
  border: none;
  cursor: pointer;
  line-height: 30px;
}

.button:hover,
input[type='submit']:hover,
button:hover {
  background-color: var(--yellow);
  color: var(--dark-blue);
}

h2 {
  font-family: Amaranth;
  font-weight: 700;
  font-size: 48px;
  line-height: 50px;
  margin-bottom: 30px;
}

h3 {
  font-family: Amaranth;
  font-weight: 700;
  font-size: 32px;
  line-height: 32px;
  margin-bottom: 20px;
}

h4 {
  font-weight: 900;
  font-size: 20px;
  line-height: 54px;
  text-transform: uppercase;
  color: var(--blue);
}

p {
  margin-bottom: 40px;
}

section {
  padding: 140px 0;
}

.wrapper {
  max-width: 1240px;
  margin: auto;
  padding: 0 50px;
}

header {
  padding-top: 20px;
}

header .wrapper {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
}

header h1,
header h1 a {
  line-height: 0;
}

header img {
  max-width: 216px;
}

header .hamburguer {
  width: 20px;
  height: 10px;
  position: relative;
  z-index: 4;
  display: none;
}

header .hamburguer:before,
header .hamburguer:after {
  content: '';
  width: 20px;
  height: 2px;
  background-color: var(--blue);
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.3s;
}

header .hamburguer:after {
  top: 100%;
}

header .hamburguer.active:before,
header .hamburguer.active:after {
  transform: rotate(45deg);
  background-color: white;
  top: 5px;
}

header .hamburguer.active:after {
  transform: rotate(-45deg);
}

header nav ul {
  display: flex;
  gap: 50px;
}

header nav a {
  font-size: 16px;
  line-height: 1;
  color: initial;
}

header nav a:hover {
  color: var(--blue);
}

header nav .button {
  background: none;
  color: var(--blue);
  border: 2px solid #ffce89;
  padding: 10px 20px;
  text-transform: none;
  font-weight: 600;
  line-height: 1;
}

.hero {
  text-align: center;
  padding: 0px;
}

.hero h2 {
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.hero img {
  margin-top: 60px;
}
.hero-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.hero-content {
  text-align: start;
  margin-top: 220px;
  max-width: 600px;
}

.hero-content a {
  border-radius: 0px 20px 20px 20px;
}

.hero-image {
  position: relative;
  flex: 1;
}
.hero-mobile {
  display: none;
}

#hero-image-full {
  display: none;
}

@keyframes prompt-slide-in {
  from {
    right: 0;
    opacity: 0;
  }
  to {
    right: -250px;
    opacity: 1;
  }
}
.hero-image .prompt-anim {
  position: absolute;
  top: 15px;
  right: 0;
  opacity: 1;
  animation: prompt-slide-in 1s cubic-bezier(0.77, 0, 0.18, 1) 0.6s forwards;
}

.second-hero {
  text-align: center;
  background-image: url(../images/bg-hero.png);
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: 1536px 386px;
  padding-top: 40px;
  padding-bottom: 386px;
}

.second-hero h2 {
  max-width: 1020px;
  margin-left: auto;
  margin-right: auto;
}

.features {
  background-color: black;
  color: white;
}

.features p {
  max-width: 960px;
}

.features .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin-top: 60px;
  margin-bottom: -250px;
}

.features .grid .item {
  background-color: var(--dark-gray);
  padding: 30px;
  border-radius: 28px;
  display: flex;
  flex-wrap: wrap;
}

.features .grid h3,
.features .grid p,
.features .grid img {
  width: 100%;
}

.features .grid h3 {
  color: var(--blue);
  max-width: 75%;
}

.features .grid p {
  font-size: 16px;
  line-height: 22px;
}

.features .grid img {
  width: 100%;
  height: auto;
  align-self: flex-end;
}

.features .grid .item:last-child {
  background-color: var(--beige);
  color: black;
  text-align: center;
  justify-content: center;
}

.features .grid .item:last-child p {
  font-family: Amaranth;
  font-size: 20px;
  line-height: 22px;
}

.posts {
  color: white;
}

.posts p {
  max-width: 960px;
}

.posts .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin-top: 60px;
  margin-bottom: -250px;
}

.posts .grid .item {
  background-color: var(--dark-gray);
  padding: 30px;
  border-radius: 28px;
  display: flex;
  flex-wrap: wrap;
  transition: 0.5s;
}

.posts .grid .item:hover {
  background-color: var(--blue);
  padding: 30px;
  border-radius: 28px;
  display: flex;
  flex-wrap: wrap;
}

.posts .grid .item:hover .author-info span {
  color: #fff !important;
}
.posts .grid .item .author-info span,
.posts .grid .item button {
  transition: 1s;
}

.posts .grid .item:hover button {
  background-color: #000;
}
.posts .grid .item:hover h3 {
  color: #fff;
}

.posts .grid h3,
.posts .grid p,
.posts .grid img {
  width: 100%;
  transition: 1s;
}

.posts .post-item h3 {
  color: var(--blue);
  max-width: 100%;
}

.posts .grid p {
  font-size: 16px;
  line-height: 22px;
}

.posts .grid img {
  width: 100%;
  height: auto;
  align-self: flex-end;
}

.author-info {
  display: grid;
}

.mission {
  padding-top: 180px;
}

.mission h2 {
  margin-bottom: 60px;
}

.plans {
  background-color: var(--gray);
  background-image: url(../images/bg-plans-left.png),
    url(../images/bg-plans-right.png);
  background-repeat: no-repeat, no-repeat;
  background-position: left bottom, right bottom;
}

.plans .wrapper {
  display: flex;
  gap: 100px;
  flex-wrap: wrap;
}

.plans .left {
  max-width: 200px;
  flex: 1;
}

.plans .right > div {
  flex: 1;
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  row-gap: 30px;
}

.plans .right > div:not(.active) {
  display: none;
}

.plans .periodicity {
  background-color: white;
  border-radius: 25px;
  padding: 5px;
  display: flex;
  gap: 10px;
}

.plans .periodicity span {
  background-color: white;
  border-radius: 20px;
  padding: 5px 15px;
  flex: 1;
  text-align: center;
  cursor: pointer;
}

.plans .periodicity .active {
  background-color: var(--blue);
  color: white;
  font-weight: 700;
}

.plans .description {
  font-size: 12px;
  text-align: center;
}

.plans .item {
  background-color: white;
  border-radius: 30px;
  padding: 30px;
  position: relative;
  height: 400px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.plans .item h3 {
  font-size: 24px;
  line-height: 1;
  color: var(--blue);
  margin: 0;
  width: 100%;
}

.plans .item .price {
  font-family: Amaranth;
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0;
  width: 100%;
}

.plans .item .price span {
  font-family: Murecho;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: var(--dark-gray);
  opacity: 0.5;
  max-width: 100px;
  text-transform: uppercase;
}

.plans .item ul {
  width: 100%;
}

.plans .item li {
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  margin: 10px 0;
}

.plans .item li:before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-size: 10px;
  font-weight: 600;
  margin-right: 10px;
  background-color: var(--light-gray);
  color: var(--dark-gray);
  border-radius: 100%;
  width: 16px;
  height: 16px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.plans .item .button {
  padding: 5px;
  width: calc(100% - 10px);
  margin-top: auto;
}

.plans .item:first-child {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.plans .item.featured {
  background-color: var(--blue);
  border: 10px solid var(--graphite);
  margin: -8px;
  z-index: 1;
  color: white;
  height: 450px;
}

.plans .item.featured h3 {
  color: white;
}

.plans .item.featured > span {
  position: absolute;
  background-color: white;
  color: var(--blue);
  font-weight: 500;
  font-size: 12px;
  line-height: 1;
  padding: 10px;
  border-radius: 8px;
  right: 30px;
  top: 20px;
}

.plans .item.featured .price span {
  color: white;
}

.plans .item.featured li:before {
  background-color: var(--yellow);
}

.plans .item.featured .button {
  background-color: var(--yellow);
  color: var(--dark-blue);
}

.plans .item:last-child {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.banners .item {
  background-color: var(--beige);
  border-radius: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  overflow: hidden;
  align-items: center;
}

.banners img {
  align-self: flex-end;
  max-width: 100%;
}

.banners .text {
  flex: 1;
  padding: 50px;
}

.faq {
  padding-top: 0;
}

.faq .wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 100px;
}

.faq .text {
  flex: 1;
}

.faq > div > ul {
  display: flex;
  gap: 10px 60px;
  flex-wrap: wrap;
  flex: 1;
}

.faq > div > ul,
.faq > div > ul ul {
  list-style: none;
  padding: 0;
  margin: 50px 0 0;
}

.faq > div > ul > li {
  position: relative;
  border-bottom: 2px solid var(--gray);
  cursor: pointer;
  text-align: left;
  font-size: 24px;
  font-weight: 700;
  padding: 0 30px 15px 0;
  flex: 1;
  min-width: calc(100% - 30px);
}

.faq > div > ul > li:before {
  content: '\2b';
  font-family: 'Font Awesome 6 Free';
  font-size: 18px;
  position: absolute;
  top: 4px;
  right: 0;
  color: var(--blue);
  transition: transform linear 0.3s;
}

.faq > div > ul > li.active,
.faq > div > ul > li:hover {
  color: var(--blue);
}

.faq > div > ul > li.active:before {
  transform: rotate(45deg);
}

.faq > div > ul > li > ul {
  margin-top: 15px;
}

.faq > div > ul > li.active > ul > li {
  color: initial;
}

.faq > div > ul > li:not(.active) > ul {
  display: none;
}

.faq > div > ul > li > ul > li {
  font-size: 20px;
  font-weight: 400;
  cursor: initial;
  padding: 0;
}

footer {
  padding: 140px 0 60px;
  background-color: black;
  background-image: url(../images/bg-footer.png);
  background-repeat: no-repeat;
  background-position: center bottom;
  color: white;
}

footer .wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 100px;
  justify-content: space-between;
}

footer .left {
  max-width: 800px;
  flex: 1;
}

footer form {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
}

footer form > div {
  flex: 1;
  min-width: 290px;
}

footer label {
  font-weight: 700;
  font-size: 14px;
  opacity: 0.5;
  display: block;
}

footer input[type='text'],
footer input[type='email'],
footer input[type='url'] {
  font-family: Murecho;
  font-weight: 900;
  font-size: 20px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--dark-gray);
  width: 100%;
  color: white;
}

footer .right ul {
  display: flex;
  gap: 30px;
  border-bottom: 1px solid var(--dark-gray);
  padding-bottom: 30px;
  margin-bottom: 30px;
  display: none;
}

footer .right li a {
  background-color: white;
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: black;
}

footer .right li a:hover {
  background-color: var(--blue);
  color: white;
}

footer .top {
  display: flex;
  flex-direction: column;
  width: 74px;
  font-family: Amaranth;
  font-size: 14px;
  line-height: 1;
  text-transform: uppercase;
  color: white;
  align-items: center;
  margin: 100px auto 0;
}

footer .top:before {
  width: 4px;
  height: 4px;
  border-top: 1px solid white;
  border-right: 1px solid white;
  transform: rotate(-45deg);
  content: '';
  order: -2;
  margin-bottom: -3px;
}

footer .top:after {
  width: 1px;
  height: 50px;
  background-color: white;
  content: '';
  order: -1;
  margin-bottom: 10px;
}

footer .top figure {
  width: 74px;
  height: 74px;
  background-color: white;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px var(--blue);
  margin-top: 20px;
}
