@font-face {
  font-family: 'GveretLevin'; /* This is the name you'll use in your CSS */
  src: url('fonts/Gveret-Levin-AlefAlefAlef-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Assistant'; /* This is the name you'll use in your CSS */
  src: url('fonts/assistant.ttf') format('truetype');
}

body {
  margin: 0;
  font-family: 'Assistant';
  font-size: 16px;
  text-align: center;
}

.section-1 {
  height: 667px;
  background-image: url('section-1/bg-text.png'), url('section-1/top_bg.svg');
  background-size: 100% 667px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

h2 {
  color: white;
  font-size: 3rem;
  margin: 0;
}

.section-1 h2 {
  font-weight: normal;
  position: relative;
  letter-spacing: .1rem;
}

html[lang=he] .section-1 h2 {
  bottom: -2rem;
}

.section-1 h1 {
  color: white;
  font-size: 6.25rem;
  margin: 0;
  letter-spacing: 0.2rem;
  text-align: center;
  line-height: 5.6rem;
  margin: 1rem;
}

.section-1 h3 {
  font-family: GveretLevin;
  color: #0877CC;
  background: white;
  margin: 0;
  padding: .6rem 1.6rem 1rem;
  font-weight: normal;
  font-size: 2.5rem;
}

.signup-button {
  background: url(section-1/trial_button.svg);
  padding: 0 1rem;
  height: 48px;
  background-size: cover;
  display: inline-block;
  box-shadow: 0px 10px 20px 0px #9C5DCF80;
  border-radius: 24px;
  color: white;
  font-size: 1.5rem;
  font-family: 'Assistant';
  text-decoration: none;
  line-height: 3rem;
  margin: 1rem 0 10rem;
  z-index: 1;
}

.shapes-container {
  position: relative;
  width: 0;
}

.shapes-container > * {
  position: absolute;
}

.homepage-key {
  top: -5rem;
  left: -49rem;
}

.homepage-book {
  top: 10rem;
  left: -41rem;
}

.homepage-gbw_progress_bar {
  top: -2rem;
  right: -77rem;
  width: 1000px;
  transform: rotate(7.14deg);
}

.homepage-check {
  top: 3rem;
  right: -40rem;
}

@media (max-width: 1024px) {
  .section-1 h1 {
    font-size: 10vw;
    z-index: 1;
  }

  h2 {
    font-size: 4vw;
  }

  .signup-button {
    font-size: 3vw;
  }

  .shapes-container {
    width: 100vw;
    top: -10vw;
  }

  .homepage-key {
    top: -7vw;
    left: -6vw;
    width: 40vw;
  }

  .homepage-book {
    top: 29vw;
    left: 2vw;
    width: 30vw;
  }

  .homepage-gbw_progress_bar {
    top: 7vw;
    right: -29vw;
    width: 84vw;
  }

  .homepage-check {
    top: 16vw;
    right: -5vw;
    width: 50vw;
  }
}

.section-2 h3 {
  font-size: 3rem;
  padding: 0 1rem;
}

.features-table {
  font-size: 2rem;
  border-collapse: collapse;
  margin: 0 auto 3rem;
}

.features-table td + td {
  padding: 0 26px;
}

html[lang=he] .features-table td + td {
  border-right: 1px solid lightgray;
}

html[lang=en] .features-table td + td {
  border-left: 1px solid lightgray;
}

.features-table p {
  padding: 0 15px;
  margin: 0;
}

@media (max-width: 1024px) {
  .section-2 h3 {
    font-size: 4.7vw;
  }

  .features-table {
    font-size: 3vw;
  }
}

.section-3 {
  background: url('section-3/section-3-bg.svg') no-repeat;
  background-size: 100% 100%;
  height: 44vw;
  padding-top: 17vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.section-3 > img:first-child {
  margin-bottom: -3vw;
  z-index: 1;
}

.section-3 > img {
  max-width: 100%;
}

.section-3 > img:last-child {
  top: -9vw;
  position: relative;
  max-width: 30vw;
}

@media (min-width: 1920px) {
  .section-3 {
    height: 850px;
    padding-top: 200px;
  }
  .section-3 > img:last-child {
    top: -180px;
  }
}

.section-4 {
  background: url(section-4/section-4-bg.svg) no-repeat;
  background-size: 100% 100%;
  height: 40vw;
  margin-top: -9vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.section-4-buttons {
  display: flex;
  justify-content: center;
}

.section-4-buttons a {
  color: #0877cc;
  background: white;
  text-decoration: none;
  font-size: 1.5rem;
  padding: 0.8rem;
  height: 3rem;
  display: flex;
  justify-content: start;
  align-items: center;
  font-weight: bold;
  border-radius: 24px;
  margin: 10px;
  box-sizing: border-box;
  gap: 13px;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .section-4 > img {
    width: 48.625vw;
  }

  html[lang="en"] .section-4 > img {
    width: 36vw;
  }

  .section-4 > h2 {
    font-size: 4vw;
  }

  html[lang="en"] .section-4 > h2 {
    font-size: 3vw;
  }

  .section-4-buttons a {
    padding: 1.2vw;
    height: 5vw;
    font-size: 2.4vw;
    border-radius: 3vw;
    gap: 1vw;
    margin: 1vw;
  }

  .section-4-buttons a > img {
    width: 3vw;
  }
}

@media (min-width: 1920px) {
  .section-4 {
    height: 768px;
    margin-top: -180px;
  }
}

.section-5 {
  padding-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-5 h2 {
  color: black;
}

.section-5 > p {
  font-size: 2rem;
  margin: 0 0 1rem;
  padding: 0 2rem;
  max-width: 984px;
}

.section-5 .cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.section-5 .card {
  width: 421px;
  height: 337px;
  border-radius: 4px;
  box-shadow: 0px 0px 50px 0px #0560A633, 0px 0px 10px 0px #0000001A;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 40px 24px;
  box-sizing: border-box;
}

.section-5 h4 {
  font-size: 1.125rem;
  margin: 20px 0 0;
}

.section-5 .card p {
  margin: 0;
}

.section-5-buttons {
  margin-top: 20px;
  display: flex;
  gap: 16px;
}

.section-5 .card a {
  height: 37px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  border: 2px solid #0877cc;
  color: #0877cc;
  text-decoration: none;
  border-radius: 8px;
}

@media (max-width: 1024px) {
  .section-5 h2 {
    font-size: 5vw;
  }

  .section-5 > p {
    font-size: 3vw;
  }
}

.section-6 {
  padding: 2.5rem;
  background: #06538f;
  display: flex;
  align-content: center;
  flex-direction: column;
  flex-wrap: wrap;
}

.section-6 h3 {
  color: white;
  font-size: 2rem;
  font-weight: normal;
  margin: 0;
}

.videos {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  max-width: 1212px;
}

.video h4 {
  font-size: 1.5rem;
  color: white;
  font-weight: normal;
  margin: 0;
  text-align: start;
}

.video iframe {
  width: 584px;
  height: 380px;
}

@media (max-width: 645px) {
  .video iframe {
    width: 90vw;
    height: 58vw;
  }
}

.contact {
  background: #0F2E46;
  padding: 20px;
  font-size: 23px;
  position: relative;
}

.contact,
.contact a {
  color: white;
}

.contact a:hover {
  text-decoration: none;
}

.contact .admin-login {
  color: teal;
  font-size: small;
  position: absolute;
  right: 10px;
}
