/*** FONTS ***/
@font-face {
  font-family: Heebo;
  font-style: normal;
  font-weight: 400;
  src: url("assets/fonts/Heebo-Regular.ttf") format("truetype");
}

@font-face {
  font-family: Heebo;
  font-style: normal;
  font-weight: 700;
  src: url("assets/fonts/Heebo-Bold.ttf") format("truetype");
}

@font-face {
  font-family: Heebo;
  font-style: normal;
  font-weight: 500;
  src: url("assets/fonts/Heebo-Medium.ttf") format("truetype");
}

@font-face {
  font-family: Heebo;
  font-style: normal;
  font-weight: 300;
  src: url("assets/fonts/Heebo-Light.ttf") format("truetype");
}

/*** RESET ***/
* {
  box-sizing: border-box;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  border: 0;
  font: inherit;
  font-family: Heebo, Arial, sans-serif;
  font-size: 100%;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

html {
  /* 1rem = 10px */
  font-size: 62.5%;
}

/*** BASE ***/
body {
  min-height: 100vh;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
}

/*** HEADER ***/
.header-container {
  width: 100%;
  max-width: 1440px;
  margin: 2.4rem auto 0;
  padding: 0 24px 13px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  position: relative;
}

.header-container .logo {
  width: 7.6rem;
  height: auto;
  display: block;
}

.header-container .cta-text {
  color: #005587;
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  text-decoration-line: underline;
}

.header-container .cta-text:hover {
  color: #002a52;
  text-decoration-thickness: 0.2rem;
}

.header-container .cta-text:focus {
  outline: 0.2rem solid #005587;
  outline-offset: 0.3rem;
}

.header-container::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100vw;
  height: 1px;
  background-color: #d8dde0;
}

/*** MAIN LAYOUT ***/
.main-container {
  width: 100%;
  max-width: 1440px;
  margin: 32px auto 0;
  padding: 0 24px 40px;

  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "text"
    "image";
  row-gap: 28px;
  align-items: center;
}

.text-container {
  grid-area: text;
  width: 100%;
  max-width: 640px;
}

.image-container {
  grid-area: image;
  width: min(100%, 420px);
  justify-self: center;
  aspect-ratio: 3 / 2;
  background-color: #ffffff;
}

.main-container .image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/*** TYPOGRAPHY ***/
.main-container .text-container h1 {
  color: #101518;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 125%;
  margin-bottom: 1.6rem;
}

.main-container .text-container p {
  color: #101518;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 150%;
}

/*** PARTNERSHIP CTA ***/
.partnership-container {
  margin-top: 24px;
}

.main-container .text-container .partnership-text {
  font-size: 1.6rem;
  font-weight: 700;
  color: #101518;
  margin-bottom: 16px;
}

.partnership-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  width: 100%;
  min-height: 48px;
  padding: 12px 24px;
  border: 2px solid #0072bc;
  border-radius: 999px;

  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;

  color: #0072bc;
  background-color: #ffffff;
}

.partnership-button:hover {
  background-color: #0072bc;
  color: #ffffff;
}

.partnership-button:hover .button-icon {
  filter: brightness(0) invert(1);
}

.button-icon {
  width: 20px;
  height: 20px;
  display: block;
  flex: 0 0 auto;
}

sup {
  font-size: 0.6em;
  vertical-align: super;
}

/*** TABLET ***/
@media screen and (min-width: 601px) {
  .header-container {
    padding: 0 48px 13px;
  }

  .main-container {
    margin-top: 64px;
    padding: 0 48px 56px;
    row-gap: 40px;
  }

  .text-container {
    max-width: 560px;
  }

  .image-container {
    width: 420px;
    justify-self: start;
  }

  .main-container .text-container h1 {
    font-size: 3.2rem;
  }

  .partnership-button {
    width: auto;
    padding-inline: 28px;
  }
}

/*** DESKTOP / SMALL LAPTOP ***/
@media screen and (min-width: 951px) {
  body {
    gap: 3rem;
  }

  .header-container {
    margin-top: 4.8rem;
    padding: 0 80px 13px;
  }

  .header-container .cta-text {
    font-size: 2rem;
  }

  .main-container {
    margin-top: 72px;
    padding: 0 48px 64px 96px;
    grid-template-columns: minmax(0, 1fr) 420px;
    grid-template-areas: "text image";
    column-gap: 64px;
    row-gap: 0;
  }

  .text-container {
    max-width: 560px;
  }

  .image-container {
    width: 100%;
    justify-self: stretch;
  }

  .main-container .text-container h1 {
    font-size: 3.6rem;
  }

  .main-container .text-container p {
    font-size: 2rem;
  }
}

/*** WIDE DESKTOP ***/
@media screen and (min-width: 1237px) {
  body {
    gap: 3.6rem;
  }

  .header-container {
    padding: 0 120px 13px;
  }

  .main-container {
    margin-top: 96px;
    padding: 0 120px 80px;
    grid-template-columns: minmax(0, 1fr) 480px;
  }

  .text-container {
    max-width: 640px;
  }
}

/*** VERY SMALL PHONES ***/
@media screen and (max-width: 380px) {
  .header-container,
  .main-container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .main-container .text-container h1 {
    font-size: 2.5rem;
  }

  .main-container .text-container p,
  .main-container .text-container .partnership-text {
    font-size: 1.5rem;
  }

  .partnership-button {
    letter-spacing: 0.08em;
    padding-inline: 18px;
  }
}
