/* Общие стили */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 100vh;
  position: relative;
}

/* Блок приветствия */
.hider {
  background-color: rgba(0, 0, 0, 0.446);
  padding: 20px;
  font-family: Oswald, Helvetica, sans-serif;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.welcome-link {
  color: white;
  text-decoration: none;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  transition: color 0.3s ease;
}

.welcome-link:hover {
  color: #f0f0f0;
}

/* Контент */
.content {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  gap: 30px;
  z-index: 3;
}

/* Фото */
.profile-image {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  position: relative;
  z-index: 1; /* фото под кнопками */
}

.profile-image img {
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  margin-bottom: -60px;
  transition: transform 0.3s ease;
  cursor: pointer;
  outline: none;
}


.profile-image img:hover {
  transform: scale(1.05);
  
}

.profile-image a {
  display: inline-block;
  outline: none;
  border: none;
  text-decoration: none;
}


/* Видео фон */
.background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* Кнопки соцсетей */
.button-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2; /* кнопки поверх фото */
}

.button {
  width: 10vw;
  height: 10vw;
  max-width: 100px;
  max-height: 100px;
  border: none;
  background-color: transparent;
  cursor: pointer;
  padding: 0;
  display: inline-block;
  outline: none;
  border-radius: 50%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.button:hover {
  transform: rotate(20deg) scale(1.5);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

.button:active {
  transform: rotate(0deg) scale(1);
}

/* YouTube секция */
.youtube-section {
  margin-bottom: 10px;
  border: 2px solid #fff;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.youtube-title {
  width: 15vw;
  max-width: 150px;
  margin-bottom: 2vh;
}

.youtube-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2vw;
}

.youtube-button {
  width: 10vw;
  height: 10vw;
  max-width: 100px;
  max-height: 100px;
  border: none;
  background-color: transparent;
  cursor: pointer;
  padding: 0;
  display: inline-block;
  outline: none;
  border-radius: 50%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.youtube-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.youtube-button:hover {
  transform: rotate(-20deg) scale(0.8);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

.youtube-button:active {
  transform: rotate(0deg) scale(1);
}

/* Лого */
.logo {
  position: relative;
  bottom: 20px;
  max-width: 1000px;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Адаптив */
@media (max-width: 768px) {
  .button {
    width: 15vw;
    height: 15vw;
  }
  .youtube-section {
    margin-bottom: 15px;
  }
  .button-container {
    margin-bottom: 15px;
    gap: 5px;
  }
  .logo {
    width: 30vw;
  }
  .youtube-title {
    width: 20vw;
  }
  .youtube-button {
    width: 15vw;
    height: 15vw;
  }
}

@media (max-height: 600px) {
  body {
    justify-content: flex-start;
  }
  .youtube-section,
  .button-container {
    margin-bottom: 10px;
  }
  .logo {
    bottom: 5px;
    width: 25vw;
  }
}

/* Footer */
footer {
  background-color: #f8f9fa00;
  padding: 10px 0;
}
