/*
Theme Name: neve_Plugina
Template: neve

Не обязательные параметры:
Theme URI: http://example.com/
Description: Дочерняя тема для темы twentytwentyone
Author: 
Author URI: http://example.com/about/
Version: 1.0
*/

/* Основные стили остаются такими же */

body {
  color: aliceblue;
  /* background: url('/wsc/wp-content/themes/neve_Plygina/content/fon.jpg'); */
  
}

.header {
  font-family: 'Times New Roman', Times, serif;
  padding: 15px 0;
  font-size: 26px;
}

.nav-link {
  color: rgb(0, 0, 0);
  text-decoration: none;
  padding: 10px 20px;
}

.nav-link:hover {
  color: hsl(0, 0%, 50%);
}

/* Медиа-запросы */
@media screen and (max-width: 768px) {
  .header {
    font-size: 20px;
  }

  .nav {
    flex-direction: column; /* Список на мобильных устройствах */
  }

  .nav-link {
    padding: 8px 15px;
    font-size: 16px;
    text-align: center;
  }
}

@media screen and (max-width: 480px) {
  .header {
    font-size: 18px;
  }

  .nav-link {
    padding: 5px 10px;
    font-size: 14px;
  }
}


h1 {
  font-family: 'Times New Roman', Times, serif;
  text-align: center;
}

/* Изображения */
.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 30px;
}

img {
  width: 380px;
  height: 480px;
  margin-left: 45px;
}

.text-beside {
  margin-left: 5px;
  margin-right: 10px;
  font-family: 'Times New Roman', Times, serif;
  text-align: center;
  font-size: 23px;
}

/* Кнопки */
.button {
  display: inline-block;
  padding: 10px 20px;
  background-color: transparent;
  color: #808080;
  border-radius: 5px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
}

.button:hover {
  background-color: white;
}

/* Футер */
.footer {
  color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: hsl(0, 0%, 90%);
  padding: 15px 10px;
  text-align: center;
  flex-wrap: wrap; /* Позволяет перенос элементов на новую строку */
}

.footer-left {
  font-size: 23px;
  user-select: none;
}

/* Ссылка во футере */
.footer a {
  color: hsl(220, 50%, 40%);
  text-decoration: none;
  margin-left: 5px;
}

.footer a:hover {
  text-decoration: underline;
}

/* Медиа-запросы */
@media screen and (max-width: 768px) {
  .footer-left {
    font-size: 18px;
    line-height: 1.5; /* Более комфортное расстояние между строками */
  }

  .footer a {
    font-size: 16px;
  }
}

@media screen and (max-width: 480px) {
  .footer-left {
    font-size: 16px;
  }

  .footer a {
    font-size: 14px;
  }
}

/* Медиазапросы для мобильных устройств */
@media screen and (max-width: 768px) {
  /* Уменьшаем размер шрифта */
  
  h1 {
      font-size: 22px;
  }

  .text-beside {
      font-size: 18px;
  }

  .image-container {
      flex-direction: column;
      align-items: center;
      margin-left: 0;
  }

  img {
      width: 100%;
      height: auto;
      margin-left: 0;
      margin-bottom: 15px;
  }

  .button {
      padding: 8px 15px;
      font-size: 14px;
  }

  
}

/* Медиазапросы для очень маленьких экранов (например, телефоны) */
@media screen and (max-width: 480px) {

  .text-beside {
      font-size: 16px;
  }

  img {
      width: 100%;
      height: auto;
  }
}
