html, body {
  overflow-x: hidden; /* Блокує горизонтальну прокрутку */
  max-width: 100%; /* Обмежує ширину */
}

img {
  max-width: 100%;
  height: auto; /* Виправляє розтягнення зображень */
}
a{
  text-decoration: none;
}
.sidenav {
    position: absolute !important; 
}
* {
  
 margin: 0;
  padding: 0;
  box-sizing: border-box;
    
  }
  html{
    font-size: 16px;
  }
  img{
  width: 100vw;  /* 100% ширини екрану */
  height: 100vh; /* 100% висоти екрану */
  object-fit: cover; /* Заповнює екран без спотворення */
}

.plan{
  display: flex;
  justify-content: center;
  

}
#hp{
  font-size: 2rem;
}
.all{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.plan2{
display: flex;
gap: 10px;
flex-direction: column;

align-items: center;
justify-content: center;
height: auto;
width: 100vw;
}
img {
  max-width: 100%;
  max-height: 100vh; /* Обмежує висоту екрану */
  object-fit: cover; /* Заповнює екран без спотворення */
}
  section{
      line-height: 0;
  }

.image-section {
  width: 100% !important; /* Замість 100vw */
  position: relative;
  overflow: hidden; /* Обрізає зайве */
}

.image-section img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center; /* Центрує зображення */
}
.image-section2{
    position: relative;
     margin: 0;
  padding: 0;

}
/* transform: scaleX(-1);  Дзеркально обертаємо контейнер */
.card1 {
    position: absolute;
    color: white;
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(68, 67, 55, 0.5);
    backdrop-filter: blur(2px);
    padding: 2rem;
    border-radius: 12px;
    opacity: 0;
    width: 80%;
    max-width: 600px;
    min-width: 300px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.title1 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    line-height: 1.2;
    margin: 0;
}

.title2 {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.4;
    margin: 0;
    font-weight: 400;
}

@media (max-width: 768px) {
    .card1 {
        left: 5%;
        width: 90%;
        padding: 1.5rem;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .card1 {
        padding: 1rem;
        gap: 0.8rem;
    }
    .title1 {
        font-size: 1.3rem;
    }
    .title2 {
        font-size: 0.9rem;
    }
}
.card2{
    
    position: absolute;
    color: white;
    font-size: 16px;
    left:100px;
        top: 60%;
 
   background-color: rgba(68, 67, 55, 0.5);
  
    width: 30%;
    height: 30%;
    
}
.card3{
    
    position: absolute;
    color: white;
    font-size: 16px;
    left:100px;
 
   background-color: rgba(68, 67, 55, 0.5);
    top: 20%;
    width: 30%;
    height: 30%;
    
}
.card4{
    
    position: absolute;
    color: white;
    font-size: 16px;
    left:100px;
        top: 50%;
    transform: translateY(-50%);
   background-color: rgba(68, 67, 55, 0.5);

    width: 30%;
    height: 30%;
    
}
.flex {
  display: flex;
    justify-content: center;
  align-items: center;

  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);

}
  .cards {
    margin: 4rem;
    top: 50px;
  }
/* Мобільна версія */
@media (max-width: 768px) {
  #hp{
  font-size: 1rem;
}
  .flex {
    flex-wrap: wrap;
  width: 100%;


  }
}

.card5{
    
    position: absolute;
    color: white;
    font-size: 16px;
    left:100px;
        top: 50%;
    transform: translateY(-50%);
   background-color: rgba(68, 67, 55, 0.5);
    top: 75%;
    width: 30%;
    height: 30%;
    
}

.header{
    background-color: rgb(44, 42, 42) !important;
}
footer{
     background-color: rgb(44, 42, 42) !important;
}



.group1{
    height: 100%;
    width: 100%;
}
.group2{
    height: 100%;
    width: 100%;
}
.two{
    position: absolute;
    top: 10%;
    right:50%
}
.cards{
  width: 80%;
  min-width: 300px;
  max-width: 600px;
  padding: 1rem;
  opacity: 0;
  margin-bottom: 10px;
    background-color: rgba(68, 67, 55, 0.5);
    color:white;
     border: 2px solid rgb(0, 0, 0);
     border-radius: 10px;
  
}
.bubble {
  position: relative;
  background: #f0f0f0;  /* фон хмаринки */
  border-radius: 10px;
  padding: 20px;
  max-width: 250px;
  margin: 20px;
}
@media (min-width: 600px) and (max-width: 1280px) {
  .menu-btn {
    display: block; /* Показуємо кнопку */
    position: absolute;
    top: 10px;
    right: 15px;
  }
  
  #desktopNav {
    display: none; /* Ховаємо десктопне меню */
  }
}

/* Створюємо стрілочку (хвостик) */
.bubble::after {
  content: '';
  position: absolute;
  bottom: 100%;  /* розташування над хмаринкою */
  left: 30px;    /* регулюйте положення стрілочки */
  border-width: 10px;
  border-style: solid;
  border-color: transparent transparent #f0f0f0 transparent;
}
#talkbubble {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    margin:1rem;
      width: 25%;
      max-width: 40%;
      min-width: 35%;
      height: auto;
      left:10%;
    background-color: rgb(71, 67, 67) !important;
      position: relative;
      -moz-border-radius: 10px;
      -webkit-border-radius: 10px;
      border-radius: 10px;
      padding: 0;
    }
    #talkbubble:before {
      content: "";
      position: absolute;
      right: 100%;
       top: 50%;
      width: 0;
      height: 0;
      border-top: 13px solid transparent;
      border-right: 26px solid rgb(71, 67, 67) !important;
      border-bottom: 13px solid transparent;
    }
    #talkbubble2:before {
    content: '';
    position: absolute;
    right: 100%; 
    top: 50%;
    transform: translateY(-50%); /* Центрування стрілки */
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 15px 10px 0; /* Форма стрілки */
    border-color: transparent rgb(44, 42, 42) transparent transparent; /* Колір стрілки */
}
  #talkbubble2 {
    position:absolute;
        display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
      max-width: 40%;
      min-width: 35%;
      height: auto;
    left: 66%;
    transform: scaleX(-1);  
      width: 25%;
background-color: rgb(44, 42, 42) !important;
      position: relative;
      -moz-border-radius: 10px;
      -webkit-border-radius: 10px;
      border-radius: 10px;
    }
 .rotate{
         transform: scaleX(-1);
         font-size: 2rem;
    }
     .norotate{
         font-size: 2rem;
    }
  /*  #talkbubble2:before {
      content: "";
    
      position: absolute;
      right: 100%;
      top: 26px;
           width: 25%;
      max-width: 35%;
      min-width: 20;
      height: 10%;
      left:10%;
      height: 0;
      border-top: 13px solid transparent;
          border-right: 26px solid rgb(44, 42, 42) !important;
      border-bottom: 13px solid transparent;
    }
      */
    .cardm{
    
    position: absolute;
    width: 100%;
    top: 0;
    color: white;
    font-size: 1rem;
   background-color: rgba(68, 67, 55, 0.5); 
    width: 100%;
    height: 100%;
    
}
.mainbutton{
    
       display: flex;
  justify-content: center;
  align-items: center;
    min-width: 300px;
    margin: 1rem;
    width: 40%;
    max-width: 600px;
    height: 15%;
    border-radius: 14%;
background-color: rgb(44, 42, 42) !important;
color: white;
font-size: 2rem;
  
}
.secondbutton{
    
    display: flex;
  justify-content: center;
  align-items: center;
  width: 30%;
   min-width: 200px;
    max-width: 400px;
    height: 10%;
    border-radius: 14%;
background-color: rgb(44, 42, 42) !important;
color: white;
font-size: 1.5rem;

 
}
.sidenav{
  background-color:rgb(44, 42, 42) !important ;
  
}
.coverbuttons{
        position:absolute;
            display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
 
    
    
    height: 100%;
    width: 100%;
    top:0;
}
.buttons{
  position: absolute;
  height: 40%;
  width: 100%;
  background-color: rgb(157, 0, 255);
}
nav{
  background-color:rgb(44, 42, 42) !important ;
}
.footeroneu{
  position: absolute;
  top:0;
  left:0;
    height: 100vh;
  width: 20%;
  background-color: rgb(44, 42, 42) !important;
}
a {
  color: inherit;          /* Успадковує колір батьківського елемента */
  text-decoration: none;   /* Прибирає підкреслення */
}
.margin{
  margin: 30px;
}
.social-icons .fa-instagram {
  color: #E4405F; /* Рожевий для Instagram */
}
.social-icons .fa-facebook {
  color: #694fc7; /* Рожевий для Instagram */
}

.social-icons .fa-telegram {
  color: #E4405F; /* Рожевий для Instagram */
}
.social-icons .fa-whatsapp{
  color: #64d246; /* Рожевий для Instagram */
}
.social-icons .fa-instagram {
  color: #E4405F; /* Рожевий для Instagram */
}
.social-icons .fa-viber {
  color: #694fc7; /* Рожевий для Instagram */
}

.social-icons .fa-youtube {
  color: #E4405F; /* Рожевий для Instagram */
}
.social-icons .fa-linkedin{
  color: #64d246; /* Рожевий для Instagram */
}
.social-icons .fa-twitter{
  color: #002cbc; /* Рожевий для Instagram */
}

.social-icons a:hover i {
  opacity: 0.8; /* Ефект при наведенні */
}
i:hover, a:visited, a:active {
  color: inherit}
  i {
  color: inherit;          /* Успадковує колір батьківського елемента */
  text-decoration: none;   /* Прибирає підкреслення */
}
i:hover, i:visited, i:active {
  color: inherit}
  .social-icons a {
  color: #000000; /* Чорний колір (змініть на свій) */
}

.social-icons a:hover {
  color: #000000 !important; /* Фіксує колір при наведенні */
}
.social-icons{
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 50px;
}
.footer-copyright{
 position: absolute;
 top:90%;
}
 #talkbubble h3,
#talkbubble2 h3 {
    font-family: 'Arial', sans-serif;
    font-size: 1.5rem;
}

@media(max-width: 768px) {

  .norotate{
    font-size: 20px;
  }
  .rotate{
    font-size: 20px;
  }
  #talkbubble h3,
#talkbubble2 h3 {
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
}

  #talkbubble {
   

width: 50%;
      font-size: 1rem;
      min-width: 20%;
      max-width: 50%;
      height: auto;
      left:10%;
     
      
    background-color: rgb(71, 67, 67) !important;
      position: relative;
      -moz-border-radius: 10px;
      -webkit-border-radius: 10px;
      border-radius: 10px;
    }
  /*  #talkbubble:before {
      content: "";
      position: absolute;
      right: 100%;
      top: 26px;
      width: 0;
      height: 0;
      border-top: 13px solid transparent;
      border-right: 26px solid rgb(71, 67, 67) !important;
      border-bottom: 13px solid transparent;
    }*/
  #talkbubble2 {
    
 
    left: 40%;
    transform: scaleX(-1);  
      width: 50%;
      font-size: 1rem;
      min-width: 20%;
      max-width: 50%;
      height: auto;
      
    
background-color: rgb(44, 42, 42) !important;
      position: relative;
      -moz-border-radius: 10px;
      -webkit-border-radius: 10px;
      border-radius: 10px;
    }
}
@media(max-width: 1280px) {
  .footeroneu{
  position: absolute;
  
bottom: 0;          /* Розташування за низом батька */
  left: 0;            /* Можна додатково вирівнювати по горизонталі */
  right: 0; 
  left:0;
  top:80%;
    height: auto;
  width: 100vw;
  background-color: rgb(44, 42, 42) !important;
  
}
.social-icons{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin:0;
  padding: 0;
  font-size: 10px;
  height: auto;
  width: 100vw;
}
}
.plan2 span {
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
#image-section4{
position: relative;
  
}
#image-section3 {
  position: relative;
  overflow: hidden; /* Ховає виступаючі елементи */
}

.cardm {
  display:flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  left: 0;
  right: 0;
  padding: 1rem;
}


/* Анімація для символів */
span {
  animation: textReveal 0.5s cubic-bezier(0.19, 1, 0.22, 1) both;
}

@media (max-width: 768px) {
  span {
    animation: textRevealMobile 0.4s ease-out both;
  }
}

@keyframes textReveal {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes textRevealMobile {
  from { opacity: 0; transform: translateX(15px); }
  to { opacity: 1; transform: translateX(0); }
}
.container{
  width: auto;
  height: auto;
}
\.page-footer {
  background-color: #2c2a2a !important;
  position: relative;
  z-index: 10;
}

.social-icons {
  list-style-type: none;
}

.social-icons a {
  transition: all 0.3s ease;
  display: inline-block;
  padding: 0.5rem;
}

.social-icons a:hover {
  transform: translateY(-3px);
  opacity: 0.8;
}

.footer-copyright {
  background-color: rgba(0,0,0,0.1) !important;
  padding: 1rem 0;
}

@media (max-width: 600px) {
  
  .social-icons li {
    margin: 0 1rem;
  }
  
  .social-icons i {
    font-size: 1.5em !important;
  }
  
  .page-footer {
    padding: 1.5rem 0 !important;
  }
}
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

#menuBtn {
  font-size: 20px;
margin-left: 10px;
  cursor: pointer;
  z-index: 1000;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
}

.side-menu {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1001;
  top: 0;
  left: 0;
  background-color: #111;
  overflow-x: hidden;
  transition: width 0.3s ease;
  padding-top: 60px;
}

.side-menu a {
  padding: 10px 25px;
  text-decoration: none;
  font-size: 18px;
  color: white;
  display: block;
  transition: 0.2s;
}

.side-menu a:hover {
  background-color: #575757;
}

.closeBtn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 36px;
  color: white;
  text-decoration: none;
}

.content {
  padding: 20px;
}

/* Додаткове для малих екранів */
@media screen and (min-width: 1024px) {
  #menuBtn{
    opacity: 0;
    z-index: 0;
  }
}
@media (max-width: 600px) {
  .side-menu a {
    font-size: 20px;
  }

  #menuBtn {
    font-size: 24px;
    opacity: 1;
  }
}
