@import url('https://fonts.googleapis.com/css2?family=Raleway');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --font-family: 'Raleway', sans-serif;
  --font-size: 17px;
  --line-height: 1.2;
  --margin: 0;
  --padding: 0;
}

body {
  margin: 0;
  padding: 0;
  background-color: #f8f9fa;
}

.wrapper {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.top-block {
  background-color: #000;
  height: 5vh;
  max-height: 50px;
  border-bottom: 3px solid #0d6efd;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2), 0 5px 5px rgba(0, 0, 0, 0.24);
}

.main-block {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

.logo {
  display: block;
  height: 40%;
  justify-content: center;
  align-items: center;
  margin-bottom: 2vh;
}

.logo img {
  height: 100%;
  max-width: 90vw;
}

.main-text {
  display: contents;
  justify-content: center;
}

.contact-block {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
  margin-bottom: 10px;
  justify-content: center;
  align-items: center;
}

.contact-block h1 {
  font-family: 'Montserrat', sans-serif;
}

.bottom-block {
  background-color: #000;
  height: 5vh;
  max-height: 50px;
  border-top: 3px solid #0d6efd;
}

h1,
h2,
h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  line-height: var(--line-height);
}

h1 {
  font-family: var(--font-family);
  font-size: 1.728m;
  font-weight: 500;
  margin-left: 5vw;
  margin-right: 5vw;
}

h2 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-left: 5vw;
  margin-right: 5vw;
  margin-top: 1vw;
  font-family: var(--font-family);
}

@media (max-width: 768px) {

  .logo {
    margin-bottom: 0;
  }

  h1 {
    font-size: 16pt;
    line-height: 1;
    text-align: center;
  }

  h2 {
    font-size: 13pt;
  }

  .bottom-block {
    display: none;
  }

}