

html {
  scroll-behavior: smooth;


}

*,
*::before,
*::after {
    box-sizing: border-box;
}


body {
    margin: 0;
    background-color: #fbfbfb;
    overflow-x: hidden; /*test*/
    
  
  }
  
  h1, h3, li {
  margin: 0;
  font-family: "Sofia Sans Condensed", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  }

   

   p, a {
    margin: 0;
    font-family: "Sofia Sans Condensed", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
    font-size: 22px;
  }

  .headr{
    font-family: "Sofia Sans Condensed", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 40px;
  }
  


  a {
    text-decoration: none;
    color: #0096dd;
    font-weight: 400;
}
  
  
  ul {
    padding: 0;
    list-style: none;
  }
  

  .full-screen {
    min-height: 80vh;
    /* background: #fff; */
    color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box; /* Убедитесь, что padding учитывается */
}

  .title-container {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .text-container {
    text-align: right;
  }
  
   
  .header-image {
    width: 150px;
    height: auto;
    margin-left: 20px;
  }
  
  .subtitle {
    font-size: 1.2em;
    margin-top: -10px;
  }
  
  .welcome-text {
    font-size: 1.2em;
    margin: 20px 0;
  }
  
  .strikethrough {
    text-decoration: line-through;
  }
  
  /* Информационные блоки */
  .info-container {
    display: flex;
    justify-content: space-between;
    width: 62%;
    margin: 40px 0;
  }
  
  .left-block, .right-block {
    width: 55%;
    text-align: center;
    padding: 10px;
  }
  
  .left-block h3, .right-block h3 {
    text-align: right;
  }

  .right-block h3 {
    text-align: left;
  }
  
  .left-block p {
    text-align: right;
  }
  
  .right-block p {
    text-align: left;
  }


  /* UE + UNITY */

  /* Информационные блоки */
  .info-container2 {
    display: flex;
    justify-content: space-between;
    width: 62%;
    margin: 40px 0;
  }
  
  .left-block2, .right-block2 {
    width: 55%;
    text-align: center;
    padding: 10px;
  }

  
  
  .left-block2 h3, .right-block2 h3 {
    text-align: left;
  }

  .right-block2 h3 {
    text-align: right;
  }
  
  .left-block2 p {
    text-align: right;
  }
  
  .right-block2 p {
    text-align: left;
  }
  
  /* Меню */
  .menu-container {
    margin-top: 20px;
    width: 80%;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  
  .menu-title {
    font-size: 1.6em;
    margin-bottom: 10px;
  }
  
  .menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  
  .menu li {
    margin: 1px 1px;
  }
  
  .menu li a {
    font-size: 1.2em;
    padding: 5px 10px;
    text-decoration: none;
    
    color: black;
    margin: 0 15px;
    transition: transform 0.3s ease, color 0.3s ease;
    margin: 0;
    font-family: "Rubik Mono One", monospace;
    font-weight: 400;
    font-style: normal;



  }
  
  .menu li a:hover {
    transform: scale(2.7);
    color: #0099ff;
  }
  


  


  /*вторая секция */

  .tools-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    margin: 0 auto;
  }
  
  .row {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: -50 px;

    flex-wrap: wrap;
  }
  
  .column {
    flex: 1;
    padding: 10px;
    text-align: center;
  }
  
  .img{
    max-width: 100%;
  }
  .column img {
    max-width: 350px;
    height: auto;
    display: block;
    margin: 0 auto;
  }
  


  
  .parallax {
    position: relative;
    overflow: visible;
   /* margin-bottom: -130px; */
  }
  
  .parallax img {
    width: 450px;
    transform: translateY(0);
    transition: transform 0.8s ease-out;
  }
  
  .parallax:hover img {
    transform: translateY(-20px);
  }
  
  .center {
    text-align: center;
    margin-top: 50px;
  }
  
  .center img {
    max-width: 450px;
    margin-bottom: 20px;
  }
  


  
  /* Третья секция */
  .portfolio {
    padding: 40px 20px;
  }
  
  .portfolio-header {
    position: relative;
    margin-bottom: 40px;
  }
  
  .portfolio-title {
    position: relative;
    display: inline-block;
  }
  
  .portfolio-title h2 {
    position: absolute;
    top: 33%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgb(0, 0, 0);
    font-size: 2.5em;
    text-transform: uppercase;

    font-family: "Sofia Sans Condensed", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;

  }
  
  .header-background {
    width: 238px;
    max-width: 800px;
    height: auto;
    display: block;
  }
  
  .category-title {
    font-size: 1.5em;
    color: rgb(0, 0, 0);
    margin: 20px 0;
    text-align: center;
  }
  
  .video-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
  }

  .video-grid_shorts {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .video-grid iframe {
    width: 300px;
    height: 170px;
    border: none;
    border-radius: 10px;
  }
  .video-grid_shorts iframe {
    width: 315px;
    height: 500px;
    border: none;
    border-radius: 10px;
  }


  /* slider */

/* Общие стили */
.video-slider {
  position: relative;
  overflow: hidden;
  width: 90%; /* Слайдер адаптируется под экран */
  max-width: 1280px;
  margin: auto;
}

.slider-container {
  overflow: hidden;
  width: 100%;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slider-track iframe {
  flex: 0 0 25%;
  height: 500px;
  border-radius: 33px;
  border: none;
  padding: 10px;
}

/* Кнопки слайдера */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  z-index: 10;
  cursor: pointer;
}

.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}



  /*секция с музыкой */

  .music-section {
    text-align: center;
    padding: 40px 20px;
  }
  
  .section-title {
    font-size: 2.5rem;
    color: #333;
    display: inline-block;
    padding: 10px 20px;
    margin-bottom: 40px;
  }
  
  .music-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  
  .music-block {
    padding: 20px;
    max-width: 320px;
    flex: 1;
    text-align: center;
  }
  
  .block-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
    padding: 5px;
  }
  
  .block-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
  }
  
  .music-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .music-frame {
    width: 100%;
    height: 80px;
    border-radius: 8px;
  }

  

  /*  end */
  

  /* медиазапросы для оптимизации */

  @media (max-width: 768px) {

  
  .slider-track iframe {
        flex: 0 0 100%; /* Один слайд на экран */
        height: 573px;  /* Уменьшенная высота */
    }

    

  .video-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1280px;
    margin: auto;
  }
.slider-btn {
  width: 30px;
  height: 30px;
  font-size: 1rem;
}

.title-container {
  display: block;
  align-items: center;
  justify-content: center;
  flex: 1;
}

    .music-columns {
      flex-direction: column;
    }
    

    .info-container, .info-container2  {
        flex-direction: column;
        align-items: center;
        width: 90%; /* Увеличить ширину для мобильных устройств */
    }

    .menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .left-block, .right-block {
      width: 90%;
      text-align: center;
      padding: 10px;
    }

    .tools-section {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 80%;
      margin: 0 auto;
    }
    
    .row {
      display: flex;
      justify-content: center;
      width: 80%;
      margin-bottom: -50 px;
  
      flex-wrap: wrap;
    }

    .center img {
      max-width: 365px;
      margin-bottom: 20px;
    }

    .video-grid {
      flex-direction: column;
      align-items: center;
    }
  
    .video-grid iframe {
      width: 90%;
      max-width: 300px;
    }

    /* .slider-container {
    overflow: hidden;
    width: 20%;

            width: 50px;
    }
}*/
}