* {
  margin: 0;
  border: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Lato;
  color: #445577;
}

html, body {
  background-color: #fff;
  font-size: 10px;
}

body > header,
body > nav,
body > section,
body > article,
body > aside,
body > footer,
body > div {
  padding: 4rem;
}

@font-face {
  font-family: "Lato";
  src: url("/public/fonts/Lato-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Lato";
  src: url("/public/fonts/Lato-Black.ttf") format("truetype");
  font-weight: bold;
}

@font-face {
  font-family: "Lato";
  src: url("/public/fonts/Lato-Italic.ttf") format("truetype");
  font-style: italic;
}

@font-face {
  font-family: "Lato";
  src: url("/public/fonts/Lato-BlackItalic.ttf") format("truetype");
  font-weight: bold;
  font-style: italic;
}

h1 {
  margin: 3rem 0;
  font-size: 5rem;
}

p {
  margin: 2.5rem 0;
  font-size: 2rem;
}

.main-header {
  box-shadow: 0 0 2rem 0 #cccccc;
}

.logo-container {
  margin-bottom: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  border-radius: 2rem;
  width: 100px;
  display: block;
}

.main-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  font-size: 2rem;
  font-weight: bold;
  text-transform: uppercase;
}

.main-menu li {
  margin: 0 1rem;
}

.main-menu li a {
  border-radius: 1rem;
  padding: 1rem 2rem;
  display: block;
  text-decoration: none;
}

.main-menu li a:hover,
.main-menu li a.active {
  background-color: #445577;
  color: #ffffff;
}

.main-section {
  margin: 0 auto;
  max-width: 104rem;
  font-size: 2rem;
}

.modal {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  background-color: #f7f7f7;
  opacity: 0.8;
}

.modal-window {
  margin: 2rem;
  border-radius: 2rem;
  padding: 4rem;
  max-width: 60rem;
  position: relative;
  background-color: #f7f7f7;
  box-shadow: 0 0 2rem 0 #cccccc;
}

.modal-window::before {
  border-radius: 100%;
  display: block;
  width: 1rem;
  height: 1rem;
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: #ff3300;
}

.main-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
