:root {
  --colour-background-albicant: #F5F6F7;
  --colour-background-white: #FFFFFF;
  --colour-primary-grey-slate: #001928;
  --primary-bg-color: #0075be;
  --Primary-Greys-Slate: var(--colour-primary-grey-slate);

  /** screen sizes match freddy breakpoints **/
  --sm-screen-min: 375px;
  --sm-screen-max: 599px;
  --md-screen-min: 600px;
  --md-screen-max: 767px;
  --lg-screen-min: 768px;
  --lg-screen-max: 1023px;  
}

* {
  box-sizing: border-box;

}

@font-face {
  font-family: 'Heebo';
  src: url('../fonts/Heebo-Thin.woff2') format('woff2'),
       url('../fonts/Heebo-Thin.woff') format('woff');
  font-style: normal;
  font-weight: 100;
  font-display: swap;
}

@font-face {
  font-family: 'Heebo';
  src: url('../fonts/Heebo-Light.woff2') format('woff2'),
       url('../fonts/Heebo-Light.woff') format('woff');
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: 'Heebo';
  src: url('../fonts/Heebo-Regular.woff2') format('woff2'),
       url('../fonts/Heebo-Regular.woff') format('woff');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Heebo';
  src: url('../fonts/Heebo-Medium.woff2') format('woff2'),
       url('../fonts/Heebo-Medium.woff') format('woff');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'Heebo';
  src: url('../fonts/Heebo-Bold.woff2') format('woff2'),
       url('../fonts/Heebo-Bold.woff') format('woff');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: 'Heebo';
  src: url('../fonts/Heebo-Bold.woff2') format('woff2'),
       url('../fonts/Heebo-Bold.woff') format('woff');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Heebo';
  src: url('../fonts/Heebo-ExtraBold.woff2') format('woff2'),
       url('../fonts/Heebo-ExtraBold.woff') format('woff');
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: 'Heebo';
  src: url('../fonts/Heebo-Black.woff2') format('woff2'),
       url('../fonts/Heebo-Black.woff') format('woff');
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

html,
body {
  margin: 0;
  font-family: Heebo, Arial, sans-serif;
  font-size: 62.5%;
  background: var(--colour-background-albicant);
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.fdc-heading2 {
  color: var(--Primary-Greys-Slate, var(--colour-primary-grey-slate, #001928));

  /* Primary-Desktop/Heading 2 */
  font-size: 2.2rem;
  font-style: normal;
  font-weight: 700;
  line-height: 3.2rem;
  letter-spacing: 0.035rem;
  margin: 0; 
}

.header {
  width: 100%;
  justify-content: start;
  padding: 2rem 3.2rem;
  background: #0079C1;
}

.header img {
  width: 92px;
  height: 32px;
  top: 24px;
  left: 32px;

}

main {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  height: 100%;
  align-self: flex-start;
  padding: 4rem 2.4rem;
  width: 100%;
}

.content-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-self: flex-start;
  max-width: 912px;
  width: 100%;
}

.action-buttons {
  display: flex;
  flex-direction: row;
  justify-content: left;
  gap: 2.4rem;
  margin-top: 2.4rem; 
  margin-bottom: 5.6rem;
}

.action-buttons button {
  border-radius: 2.8rem;
  border: 0.2rem solid var(--primary-bg-color);
  padding: 1.6rem 2.8rem;
  color: var(--primary-bg-color);
  font-weight: 700;
  letter-spacing: 0.25px;
  vertical-align: middle;
  font-size: 1.4rem;
  line-height: 2.4rem;
  cursor: pointer;
  background: var(--colour-background-albicant);
}

.action-buttons button:hover, .action-buttons button:focus {
  background: var(--primary-bg-color);
  color: var(--colour-background-albicant);
}

.illustration {
  align-self: flex-end;
}

.form-section {
  text-align: left;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 2.4rem;
  letter-spacing: 0.015rem;
}

.form-section a {
  color: var(--primary-bg-color);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 3.2rem;
  letter-spacing: 0.25px;
  vertical-align: middle;
  text-decoration: none;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  padding-top: 2.8rem;
  padding-right: 3.2rem;
  padding-bottom: 2.8rem;
  padding-left: 3.2rem;
  background: var(--colour-background-white);
}

.footer-left {
  flex: 1;
  text-align: left;
}

.footer-right {
  text-align: right;
}

.footer a {
  padding-left: 0.2rem;
  padding-right: 0.2rem;
  gap: 2rem;
  color: #0079c1;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 3.2rem;
  letter-spacing: 0.25px;
  vertical-align: middle;
}

.footer .external-link {
  width: 1.6rem;
  height: 1.6rem;
  top: 0.3rem;
  left: 0.1rem;
  margin-right: 1.6rem;
}

.footer img {
  margin-bottom: 0.4rem;
  width: 8.8rem;
  height: 3.2rem;
  vertical-align: middle;
}

/** -------------------- mobile phone styles ---------- **/
@media screen and (max-width: 767px) {
  .fdc-heading2 {
    font-size: 1.6rem;
    line-height: 2.4rem;
    letter-spacing: 0.015rem;
  }

  .header {
    width: 100%;
    padding: 2.4rem;
  }
  
  .content-container {
    justify-content: center;
  }

  .form-section {
    text-align: center;
  }

  .action-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    align-items: center;
    gap: 16px;
    margin-top: 2.4rem; 
    margin-bottom: 2.4rem;
  }

  .action-buttons button {
    min-width: 26.8rem;
  }

  .illustration {
    display: none;
  }

  .footer {
    display: none;
  }
}