@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&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');

:root {
  --max-width: 1500px;

  --primary-color: #334693;
  --secondary-color: #BD1622;
  --grey-color: #A8A8A8;

  font-size: 16px;
  font-family: 'Roboto', sans-serif;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html,
body {
  width: 100vw;
  min-height: 100vh;
  overflow-x: hidden;
}

body {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;

  background-color: var(--primary-color);
  color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

header {
  width: 100%;
  max-width: var(--max-width);
  padding: 3rem 2rem;
  display: flex;
  align-items: center;
}

header img {
  height: 13.31rem;
}

main {
  flex: 1;
  width: 100%;
  max-width: var(--max-width);
  display: flex;
  padding: 0 2rem;
  gap: 2rem;
}

main h1 {
  font-size: 3.68rem;
  line-height: 1;
  font-family: 'Mulish', sans-serif;
  font-weight: 800;
  padding-left: 2rem;
  margin-bottom: 1.5rem;
}

section {
  flex: 1;
  height: 100%;
}

.text-section {
  font-size: 1.11rem;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.text-section hr {
  width: 7.62rem;
  height: .75rem;
  border: 0;
  background-color: #BD1622;
}

.text-section h2 {
  font-size: 1.25rem;
  font-weight: bold;
}

.text-section .container {
  background-color: #fff;
  color: #1C1D1E;
  border-radius: .6rem;
  padding: 2rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.text-section .content-wrapper {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.text-section .content-wrapper a {
  font-family: 'Mulish', sans-serif;
  font-weight: 800;
  background-color: var(--primary-color);
  border-radius: 2rem;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
  height: 2.9rem;
  width: 100%;
}

footer {
  width: 100%;
  display: flex;
  justify-content: center;
  background: #000;
}

.footer-wrapper {
  width: 100%;
  max-width: var(--max-width);
  display: flex;
  gap: 1rem;
  align-items: center;
  color: var(--grey-color);
  font-weight: bold;
  padding: 3rem 2rem;
}

@media screen and (max-width: 1450px) {
  :root {
    font-size: 14px;
  }

  .text-section .content-wrapper {
    flex-direction: column-reverse;
    align-items: start;
    gap: 1rem;
  }

  .text-section .content-wrapper a {
    padding: 0 2rem;
    width: max-content;
  }
}

@media screen and (max-width: 1080px) {
  body {
    gap: 2rem;
  }

  header {
    padding-bottom: 1rem;
  }

  main {
    flex-direction: column;
    justify-content: center;
  }

  section {
    flex: unset
  }

  .text-section {
    gap: 3rem;
  }

  .img-section {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

@media screen and (max-width: 600px) {
  :root {
    font-size: 12px;
  }

  header {
    padding-top: 3rem;
    padding-bottom: 0;
  }

  main h1 {
    padding-left: 0;
  }

  .text-section .container {
    padding: 1.5rem 2rem;
  }
}