body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #000216;
}

.parallax-container {
    height: 100vh;
  width: 100vw;
    perspective: 1px;
    overflow-x: hidden;
    overflow-y: auto;
}

.flower {
    position: absolute;
    width: 50px;
    height: 50px;
    background: url('https://i.ibb.co/v4VXLF8/image.png') no-repeat center/cover;
    opacity: 0.7;
    transition: opacity 0.3s, transform 0.3s;
}

.flower:hover {
    opacity: 1;
    transform: scale(1.2);
}

.flower1 { top: 10vh; left: 60vw; width: 35vh; height: 35vh; }
.flower2 { top: 40vh; left: 40vw; width: 25vh; height: 25vh; }
.flower3 { top: 5vh; left: 5vw; width: 17vh; height: 17vh; }
.flower4 { top: 90vh; left: 70vw; width: 80vh; height: 80vh; }
.flower5 { top: 80vh; left: 75vw; width: 20vh; height: 20vh; }
.flower6 { top: 20vh; left: 47vw; width: 55vh; height: 55vh; }
.flower7 { top: 70vh; left: 16vw; width: 75vh; height: 75vh; }
.flower8 { top: 60vh; left: 67vw; width: 15vh; height: 15vh; }
.flower9 { top: 14vh; left: 16vw; width: 20vh; height: 20vh; }


h1  {
  color: #AAAAD6;
}
h2{
  color: #AAAAD6;
}
h3 {
  color: #AAAAD6;
}
h4 {
  color: #AAAAD6;
}






@media (min-width: 3000px) {
.text-block {
    position: absolute;
    width: 15%;
    padding: 2%;
    border: 1px solid #ccc;
    cursor: pointer;
    opacity: 0.2;
    color: #AAAAD6;
    border-radius: 10px;
    font-size: 2.5vh;
  
}

.text-block:hover {
    background-color: #58588E;
    opacity: 0.9;
}

h3, p {
    margin: 0;
    font-family: Arial, sans-serif;
}

h3 {
    margin: 0;
    font-family: Arial, sans-serif;
    font-size: 3.5vh;
}



#block1 { top: 10%; left: 20%; }
#block2 { top: 80%; left: 49%; }
#block3 { top: 110%; left: 65%; }
#block4 { top: 25%; left: 70%; }
#block5 { top: 70%; left: 10%; }
#block6 { top: 67%; left: 75%; }
#block7 { top: 40%; left: 7%; }


.fl { top: 35%; left: 40%; position: absolute; cursor: pointer; pointer-events: none;}

.shampoo { 
top: 25%; 
left: 50%; 
position: absolute;
width: 40%;
  }
  


  #main { 
    top: 110%; 
    left: 15%; 
    width: 40%;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 2.5vh;
    background-color: #0D0E42;
  
  }


.text {
    position: absolute;
    border: 1px solid #ccc;
    cursor: pointer;
    color: #ECECFF;
    opacity: 0.85;
    padding: 1%;
    }


    .text:hover {
   /*  background-color: #58588E;
    opacity: 0.9;  */
  }
  
}











@media (min-width: 1000px) and (max-width: 2999px) {
.text-block {
    position: absolute;
    width: 15%;
    padding: 2%;
    border: 1px solid #ccc;
    cursor: pointer;
    opacity: 0.2;
    color: #AAAAD6;
    border-radius: 10px;
    font-size: 2.5vh;
  
}

.text-block:hover {
    background-color: #58588E;
    opacity: 0.9;
}

h3, p {
    margin: 0;
    font-family: Arial, sans-serif;
}

h3 {
    margin: 0;
    font-family: Arial, sans-serif;
    font-size: 3.5vh;
}



#block1 { top: 10%; left: 20%; }
#block2 { top: 80%; left: 49%; }
#block3 { top: 110%; left: 65%; }
#block4 { top: 25%; left: 70%; }
#block5 { top: 70%; left: 10%; }
#block6 { top: 67%; left: 75%; }
#block7 { top: 40%; left: 7%; }


.fl { top: 35%; left: 17%; position: absolute; cursor: pointer; pointer-events: none;}

.shampoo { 
top: 25%; 
left: 50%; 
position: absolute;
width: 40%;
  }
  


  #main { 
    top: 110%; 
    left: 15%; 
    width: 40%;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 2.5vh;
    background-color: #0D0E42;
  
  }


.text {
    position: absolute;
    border: 1px solid #ccc;
    cursor: pointer;
    color: #ECECFF;
    opacity: 0.85;
    padding: 1%;
    }


    .text:hover {
   /*  background-color: #58588E;
    opacity: 0.9;  */
  }
  
}






  
  /* МОБИЛЬНАЯ ВЕРСИЯ  */
  
@media (max-width: 999px) {
    /* Стили для блоков текста */
  
  img {
    max-width: 100%; /* Максимальная ширина изображения будет равна ширине контейнера */
    height: auto; /* Это обеспечит сохранение пропорций изображения */
    display: block; /* Убирает лишние отступы, которые могут возникать вокруг изображений */
    margin: 0 auto; /* Центрирует изображения по горизонтали */
}

  
  
  
    .text-block {
        position: absolute;
        width: 80%;
        padding: 2%;
        border: 1px solid #ccc;
        cursor: pointer;
        opacity: 0.9;
        color: #AAAAD6;
        border-radius: 10px;
        font-size: 2.5vw;
        background-color: #58588E;
        margin: 2% auto; /* Центрирование блоков */
        top: 10%; /* Настройте вертикальное позиционирование */
        left: 5%; /* Настройте горизонтальное позиционирование */
        z-index: 10; /* Установите порядок слоя, чтобы текстовые блоки находились поверх изображений */
    }


    #block1 { top: 70%; left: 5%; }
    #block2 { top: 90%; right: 5%; }
    #block3 { top: 110%; left: 5%; }
    #block4 { top: 130%; right: 5%; }
    #block5 { top: 150%; left: 5%; }
    #block6 { top: 170%; right: 5%; }
    #block7 { top: 190%; left: 5%; }


    .fl { top: 35%; left: 17%; position: absolute; cursor: pointer; pointer-events: none;}

  .shampoo { 
top: 25%; 
left: 50vw; 
position: absolute;
width: 40vw;
    
  }
  
    #main { 
    top: 210%; 
    left: 5%; 
    width: 90%;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 2.5vh;
      background-color: #0D0E42;}
  
  
  
    /* Дополнительные стили для текста */
    .text {
        position: absolute;
        border: 1px solid #ccc;
        cursor: pointer;
        color: #ECECFF;
        opacity: 0.85;
        padding: 1%;
    }
}