/* Theme Name: neve-danilbelyaev
Template: neve

Не обязательные параметры:
Theme URI: http://example.com/
Description: Дочерняя тема для темы twentytwentyone
Author: 
Author URI: http://example.com/about/
Version: 1.0 */

/* Основные настройки */

  /* Подключённые шрифты */
  html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

body {
    margin: 0;
    font-family: "Mulish", serif;
    font-optical-sizing: auto;
    background-color: #121212;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    height: 100vh;
  }

  .container_custom {
    flex: 1;
    width: 80%;
    height: 100%;
    background: linear-gradient(135deg, #242424, #333333);
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    padding: 20px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    
  }

  .container_web {
    flex: 1;
    width: 80%;
    height: 100%;
    /* background: linear-gradient(135deg, #242424, #333333);
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); */
    padding: 20px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    
  }

/* Общий стиль для header и footer */
.menu {
    padding: 20px 0;
    text-align: center;
    margin-top: auto;

}

.header {
    background: linear-gradient(90deg, #242424, #333333);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.footer {
    background: linear-gradient(90deg, #333333, #242424);
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.3);
    padding: 20px 0;
    text-align: center;
    width: 100%;
    margin-top: auto; /* Это обеспечит, что футер всегда будет внизу */
}

/* Центровка элементов */
.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.container_header_footer {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Стили списка */
.p {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.p li {
    display: flex;
    align-items: center;
    gap: 10px; /* Отступ между иконкой и текстом */
}

/* Стили ссылок */
.p a {
    text-decoration: none;
    color: #cccccc;
    font-size: 18px;
    padding: 10px 15px;
    transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
}

.p a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px #ffffff, 0 0 20px #00d4ff;
    transform: scale(1.1);
}

.p a:active {
    color: #00d4ff;
    text-shadow: 0 0 15px #00d4ff, 0 0 30px #ffffff;
}

/* Стили иконок */
.p i {
    font-size: 20px;
    color: #00d4ff;
    transition: color 0.3s ease, transform 0.3s ease;
}

.p i:hover {
    color: #ffffff;
    transform: scale(1.2);
}

/* Адаптивность */
@media (max-width: 768px) {
    .p {
        flex-direction: column;
        gap: 15px;
    }

    .p a {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .p a {
        font-size: 14px;
        padding: 8px 10px;
    }

    .p i {
        font-size: 18px;
    }
}





















body {
  margin: 0;
  background-color: #121212;
  color: #ffffff;
  line-height: 1.6;
}

/* Общий стиль для заголовков и текстов */
h2 {
  font-family: 'Lobster', cursive;
  font-size: 2.5rem;
  color: #ffffff;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 0 10px #00d4ff, 0 0 20px #ffffff;
}

.text-simple {
  font-size: 1rem;
  color: #cccccc;
  text-align: center;
  margin: 10px auto;
  max-width: 800px;
}

/* Оформление изображений */
.picture {
  display: block;
  margin: 20px auto;
  max-width: 20%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.picture:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
}

/* Центровка контейнеров */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* Стили ссылок */
a {
  text-decoration: none;
  color: #00d4ff;
  font-size: 1.1rem;
  font-weight: 500;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
  color: #ffffff;
  text-shadow: 0 0 10px #ffffff, 0 0 20px #00d4ff;
}

a:active {
  color: #00d4ff;
  text-shadow: 0 0 15px #00d4ff, 0 0 30px #ffffff;
}

/* Карточки в разделах "Web-программирование" */
.col-12,
.col-sm-12,
.col-md-6,
.col-lg-3,
.col-xl-3 {
  padding: 15px;
  text-align: center;
  background: linear-gradient(135deg, #242424, #333333);
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.col-12:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.7);
}

/* Заголовок "Пример моих работ" */
.col-12 h2 {
  margin-bottom: 30px;
  color: #00d4ff;
  font-family: 'Lobster', cursive;
  text-shadow: 0 0 15px #00d4ff;
}

/* Адаптивный дизайн */
@media (max-width: 768px) {
  h2 {
    font-size: 2rem;
  }

  .text-simple {
    font-size: 0.9rem;
  }

  .col-12 {
    padding: 10px;
  }
}

@media (max-width: 480px) {
  h2 {
    font-size: 1.8rem;
  }

  .text-simple {
    font-size: 0.8rem;
  }

  a {
    font-size: 0.9rem;
  }
}





.neve-skip-link.show-on-focus {
  display: none;
}























































  /* Раздел статей */
  .article-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article-list li {
    background: linear-gradient(135deg, #242424, #333333);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-list li:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
}

.article-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #00d4ff;
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.article-title:hover {
    color: #ffffff;
    text-shadow: 0 0 10px #ffffff, 0 0 20px #00d4ff;
}

.article-excerpt {
    font-size: 1rem;
    color: #cccccc;
    margin: 10px 0;
}

.article-list p {
    font-size: 0.9rem;
    color: #999999;
    margin: 5px 0;
}

.article-list p strong {
    color: #ffffff;
}

/* Подсвечивающиеся кнопки */
button, input[type="button"], input[type="submit"] {
    background: linear-gradient(135deg, #00d4ff, #005f7f);
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

button:hover, input[type="button"]:hover, input[type="submit"]:hover {
    background: linear-gradient(135deg, #005f7f, #00d4ff);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.8);
}

button:active, input[type="button"]:active, input[type="submit"]:active {
    background: #003f5f;
    transform: scale(0.98);
}

/* Интерактивные элементы */
#reset_search input, #advanced_search select {
    width: 100%;
    max-width: none; /* Remove max-width to allow full width in grid */
    padding: 10px;
    margin-bottom: 0; /* Remove margin-bottom to align items properly */
    font-size: 1rem;
    border: 1px solid #444444;
    border-radius: 5px;
    background: #1f1f1f;
    color: #cccccc;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#reset_search input:focus, #advanced_search select:focus {
    border-color: #00d4ff;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
    outline: none;
}

#toggle_advanced_search {
    background: linear-gradient(135deg, #242424, #333333);
    color: #00d4ff;
    padding: 10px 20px;
    font-size: 1rem;
    border: 1px solid #444444;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

#toggle_advanced_search:hover {
    background: linear-gradient(135deg, #00d4ff, #005f7f);
    color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.8);
}

.advanced_search .reset_search {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 10px;
    align-items: center;
}
