:root {
  --color-primary: #CE0E2D;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-gray: #707070;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: tt_squaresbold, sans-serif;
  height: 100vh;
  color: var(--color-gray);
  display: flex;
  flex-direction: column;
  font-size: 16px;
  position: relative;
  background: url('../images/bg-map.png') no-repeat center center;
}

a {
  text-decoration: none;
  color: var(--color-gray);
  transition: all 200ms ease-in-out;
}

main {
  flex: 1;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.content {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.container {
  display: flex;
  max-width: 1320px;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.header {
  display: flex;
  padding-top: 36px;
  align-items: center;
}

.logo {
  display: flex;
  gap: 36px;
  margin-right: auto;
  margin-bottom: 60px;
  margin-left: auto;
  flex-direction: column;
  align-items: center;
}

.logo-bottom {
  margin-top: 48px;
  margin-bottom: 24px;
}

.head {
  margin-bottom: 36px;
}

.title {
  margin-bottom: 3px;
  color: var(--color-black);
  font-size: 1.5em;
  font-weight: 700;
}

.subtitle {
  font-size: 1em;
  font-weight: 400;
  color: var(--color-primary);
  font-family: 'Open Sans', sans-serif;
}

.nav {
  display: grid;
  width: max-content;
  margin-bottom: 12px;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  place-items: center;
  font-family: 'Open Sans', sans-serif;
}

.nav-item {
  display: flex;
  width: 96px;
  height: 96px;
  color: var(--color-gray);
  aspect-ratio: 1/1;
  align-items: center;
  font-size: 0.875em;
  justify-content: center;
  border: 1px solid var(--color-gray);
  border-radius: 6px;
  text-decoration: none;
  transition: all 200ms ease-in-out;
}

.nav-item:hover {
  color: var(--color-primary);
  background-color: rgba(206, 14, 45, 0.4);
  border-color: var(--color-primary);
}

.description {
  font-size: 0.75em;
  font-weight: 300;
  color: var(--color-gray);
  font-family: 'Open Sans', sans-serif;
}

.footer {
  display: flex;
  padding-bottom: 16px;
  font-family: 'Open Sans', sans-serif;
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.footer-nav {
  display: flex;
  width: 100%;
  max-width: 320px;
  margin-top: 12px;
  margin-bottom: 16px;
  gap: 16px;
  align-items: center;
  justify-content: flex-end;
  font-size: 14px;
}

.footer-nav a {
  color: var(--color-gray);
}

.footer-nav a:hover {
  color: var(--color-primary);
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-right: auto;
  margin-left: auto;
  align-items: center;
}

.footer-social a {
  display: flex;
  width: 36px;
  height: 36px;
  color: var(--color-primary);
  align-items: center;
  justify-content: center;
}

.footer-social a:hover {
  color: var(--color-black);
}

.footer-social a svg {
  width: 24px;
  height: 24px;
}

.copyright {
  width: 100%;
  max-width: 285px;
  order: 3;
  font-size: 14px;
  text-align: center;
}

.copyright a:hover {
  color: var(--color-primary);
}

@media (min-width:576px) {}

@media (min-width: 768px) {
  .footer {
    padding-bottom: 36px;
  }

  .footer .container {
    flex-direction: row;
  }

  .footer-nav {
    margin-top: 0;
    margin-bottom: 0;
  }

  .copyright {
    order: inherit;
    text-align: left;
  }
}

@media (min-width: 576px) {
  .nav {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(1, 1fr);
  }
}

@media (min-width: 992px) {
  .nav-item {
    font-size: 0.75em;
  }
}

@media (min-width: 1920px) {
  body {
    font-size: 22px;
  }
}