@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

html,
body {
  margin: 0px;
  height: 100vh;
}

h1, p, span {
  margin: 0;
}

section {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.section_box {
  background-image: url("ocean_bg.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 0 16px;
}

.banner {
  display: flex;
  width: 100%;
  max-width: 656px;
  padding: 48px 24px 32px 24px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  background: #61B0BC;
}

.banner h1 {
  color: #FFF;
  font-family: Roboto;
  font-size: 57px;
  font-style: normal;
  font-weight: 700;
  line-height: 110%;
  letter-spacing: -1.71px;
  text-transform: uppercase;
}

.banner p {
  color: #FFF;
  font-family: Roboto;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
}

.banner a {
  display: flex;
  height: 44px;
  padding: 0px 32px;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  border-radius: 2px;
  border: 2px solid var(--colour-system-black, #1C1B1F);
  background: var(--colour-system-white, #FFF);
  color: var(--colour-system-black, #1C1B1F);
  text-align: center;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  margin-top: 16px;
  text-decoration: none;
}

.banner a:hover {
  background: #eeeeee;
}

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--colour-system-primary, #354EB1);
}

.footer_content {
  padding: 36px 32px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 1280px;
}

.footer_text {
  display: flex;
  gap: 20px;
  width: 75%;
  justify-content: space-between;
  align-items: center;
}

.footer_content img {
  width: 140px;
  height: 80px;
}

.footer_content p {
  max-width: 697px;
  color: var(--colour-system-white, #FFF);
  font-family: Inter;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: -0.16px;
}

.footer_content a {
  padding: 10px 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 2px;
  border: 2px solid var(--colour-system-white, #FFF);
  background: var(--colour-system-white, #FFF);
  color: var(--colour-system-primary, #354EB1);
  font-family: Inter;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 27px;
  letter-spacing: -0.16px;
  cursor: pointer;
  flex-shrink: 0;
  text-decoration: none;
}

.footer_content a:hover {
  background: #eeeeee;
}

.footer_box {
  display: flex;
  align-self: stretch;
  justify-content: center;
  align-items: center;
  padding: 20px 0 24px;
  background: rgba(21, 25, 26, 0.20);
}

.footer_credits {
  max-width: 1280px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  padding: 0 32px;
}

.footer_box span, .footer_box a, .footer_box a:active, .footer_box a:focus, .footer_box a:visited {
  color: var(--colour-system-white, #FFF);
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.16px;
}

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

@media screen and (max-width: 970px) {
  .banner {
    padding: 24px 16px;
    gap: 8px;
  }

  .banner h1 {
    font-size: 28px;
    letter-spacing: -0.84px;

  }
  
  .banner p {
    font-size: 18px;
    font-weight: 400;
    line-height: 22px;
  }

  .banner button {
    margin-top: 0;
  }

  .footer_content {
    padding: 36px 16px 30px;

  }

  .footer_credits {
    padding: 0 16px;
  }
}

@media screen and (max-width: 830px) {
  .footer_content img {
    width: 90px;
    height: 52px;
  }
  .footer_content {
    flex-direction: column;
    align-items: normal;
  }

  .footer_text {
    width: auto;
  }

  .footer_content p {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.16px;
  }

  .footer_content button {
    font-size: 16px;
    line-height: 24px; 
  }
}