/* Подключение шрифта */
@font-face {
  font-family: "PFBeauSansPro-Light";
  src: url("/assets/fonts/PFBeauSansPro-Light.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  height: 100%;
  font-family: "PFBeauSansPro-Light", Arial, sans-serif; /* Указание нового шрифта */
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: url("/assets/images/background.png") no-repeat center
    center/cover;
  text-align: center;
}

.overlay {
  background: rgba(
    255,
    255,
    255,
    0.7
  ); /* Темная подложка для логотипа и текста */
  padding: 150px 30px;
  display: inline-block; /* Чтобы блок сохранял центральное выравнивание */
}

.logo img {
  width: 350px;
  margin-bottom: 20px;
}

.content h1 {
  font-size: 3em;
  margin-bottom: 10px;
  color: #000;
  text-transform: uppercase;
}

.content p {
  font-size: 1.2em;
  color: #000;
}

.content .contacts {
  font-size: 1.6em;
  color: #000;
}

.content .contacts a {
  color: #000;
  text-decoration: none;
}

.content .contacts a:hover {
  text-decoration: underline;
}

/* Мобильная версия */
@media (max-width: 768px) {
  .container {
    justify-content: center;
    align-items: center;
  }

  .overlay {
    background: rgba(255, 255, 255, 0.7); /* Подложка без скруглений */
    padding: 100px 30px;
    border-radius: 0; /* Убираем скругления */
    width: 100%; /* На всю ширину */
    display: block; /* Делаем блок блочным, чтобы он растягивался */
  }

  .content h1 {
    font-size: 2em;
  }

  .content p {
    font-size: 1em;
  }

  .content .contacts {
    font-size: 1.5em;
  }
}
