/*
 Theme Name:   The Viking Path Child
 Theme URI:    https://links.thevikingpath.top
 Description:  Child theme for The Viking Path
 Author:       Александр
 Author URI:   https://links.thevikingpath.top
 Template:     twentytwentyfour
 Version:      1.0.0
*/

body {
  font-family: 'Cinzel', serif;
  background: black;
  min-height: 100vh;
  margin: 0;
}

.links {
  margin-top: 30px;    
}

.links-container {
  max-width: 500px;
  margin: 40px auto;
  text-align: center;
  font-family: 'Cinzel', serif;
  padding: 100px 20px 100px 20px;
  color: #eaeaea;
  border-radius: 15px;
  background: radial-gradient(circle, #19100D, #090A07);
}

.logo img {
  width: 100px;      /* размер логотипа */
  height: 100px;     /* высота равна ширине */
  border-radius: 50%; /* скругление до круга */
  overflow: hidden;   /* обрезает углы */
}

.links-container h1 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #eaeaea;
}

.links-container h2 {
  font-size: 1rem;
  font-weight: 600;
  color: #eaeaea;
}

.socials i {
  font-size: 26px; /* размер иконки */
  margin: 0 10px;  /* отступы между иконками */
  color: #eaeaea;
  transition: transform 0.3s ease, color 0.3s ease;
  display: inline-block; /* нужно для transform */
}
.socials i:hover {
  transform: scale(1.1); /* увеличение на 10% */
}

.yt-card {
  position: relative;
  display: inline-block;
  margin-top: 30px;
  margin-bottom: -8px;
}

.yt-card img {
  width: 100%;
  max-width: 500px;
  display: block;   /* убирает лишний отступ снизу */
}

.yt-card span {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: white;
  font-weight: 600;
  font-size: 14px;
}

iframe {
  width: 100% !important;
  max-width: 500px; /* ограничение сверху */
  height: auto;
  aspect-ratio: 16 / 9; /* сохраняем пропорции */
  display: block;
  margin: 0 auto;
}

.links-container .btn {
  display: block;
  margin: 15px 0 0 0; /* только сверху отступ */
  padding: 15px;
  border: 1px solid rgb(42, 42, 42);
  text-decoration: none;
  text-transform: none;      /* убрать CAPS */
  font-weight: 600;
  font-size: 14px;
  transition: 0.2s;
  color: #eaeaea;
  transition: transform 0.3s ease, color 0.3s ease;
}
.links-container .btn:hover {
  transform: scale(1.03);
}

.contact-blocks {
  display: flex;
  justify-content: center;
  gap: 20px; /* расстояние между иконками */
  margin-top: 40px;
}

.contact-item {
  text-align: center;
}

.contact-item i {
  font-size: 26px; /* размер иконки */
  color: #eaeaea;  /* золотистый цвет */
  display: block;
  margin-bottom: 5px; /* отступ от иконки до подписи */
}

.contact-item span {
  font-family: 'Cinzel', serif;
  font-size: 12px;
  color: #fff;
}
