:root {
  --primary: #10415c;
  --primaryLighter: #1f719c;
  --sideMargin: 10rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: "Ubuntu", sans-serif;
  overflow-x: hidden;
}

main {
  flex-grow: 1;
}

footer {
  width: 100vw;
  padding: 1.5rem;

  background-color: var(--primary);
  color: #d1d1d1;

  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

footer > a {
  color: inherit;
  text-decoration: none;
}

footer > a:hover {
  color: #fff;
}

footer nav {
  display: flex;
  gap: 3rem;
  margin: 0 auto;
}

footer nav a {
  color: #d1d1d1;
}

nav a {
  text-decoration: none;
  color: inherit;
}

nav a:hover {
  text-decoration: underline;
}

nav a:visited {
  color: inherit;
}

footer nav a:hover {
  text-decoration: underline;
}

.hero {
  height: 70vh;
  padding: 3rem var(--sideMargin);

  position: relative;

  display: flex;
  flex-direction: column;
  gap: 1rem;

  color: #fff;
}

.hero:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  z-index: -10;

  background-image: url("images/headerbg.jpg");
  background-position: top left;
  background-size: cover;

  filter: brightness(65%);
}

.hero span {
  text-transform: uppercase;
  font-weight: 800;
  font-size: 7rem;
}

.hero a {
  width: fit-content;
  padding: 1rem 3rem;

  text-transform: uppercase;
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;

  background-color: var(--primary);
  border: solid 0.2rem white;
  border-radius: 5px;

  transition: all 0.2s ease-in-out;
  text-decoration: underline;
}

.hero a:hover {
  background-color: var(--primaryLighter);
  transform: translateY(-5px);
}

header {
  background-color: var(--primary);
  color: white;
  padding: 2rem var(--sideMargin);
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

header nav {
  display: flex;
  gap: 2rem;
}

header > a {
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

header > a:visited {
  color: inherit;
}

header > a:hover {
  transform: scale(1.05);
}

.cta {
  margin: 5rem var(--sideMargin);

  display: flex;
  flex-direction: column;
}

.cta div {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.cta div img {
  object-fit: cover;
  object-position: center;
  height: 22rem;
  width: 100%;

  border-radius: 10px;

  -webkit-box-shadow: 27px 39px 71px -37px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 27px 39px 71px -37px rgba(0, 0, 0, 0.75);
  box-shadow: 27px 39px 71px -37px rgba(0, 0, 0, 0.75);
}

.cta div div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;

  padding: 0 5rem;

  text-align: center;
}

.cta div div h2 {
  font-size: 2rem;
}

.cta div div span {
  font-weight: 300;
}

.cta div div a {
  font-size: 1rem;
  padding: 1rem 2rem;

  text-transform: uppercase;
  color: #fff;
  font-weight: 700;

  background-color: var(--primary);
  border: solid 0.2rem white;
  border-radius: 10px;

  transition: all 0.2s ease-in-out;

  text-decoration: none;
}

.cta div div a:hover {
  background-color: var(--primaryLighter);
  transform: translateY(-5px);
}
