@keyframes fadeIn {
    from {
        background-color: rgb(204, 204, 204, 1);
    }
    to {
        background-color: rgba(255, 255, 255, 1);
    }
}
body, html {
    font-family: "Coco Gothic", sans-serif;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: white;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

body.fade-in {
    animation: fadeIn 1.4s forwards;
}

/* Скрываем все содержимое страницы по умолчанию */
body > *:not(.preloader) {
    opacity: 0;
    transition: opacity 1s; /* Плавный переход */
}

/* Показываем содержимое страницы, когда body имеет класс .content-visible */
body.content-visible > *:not(.preloader) {
    opacity: 1;
}

.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.content {
    display: none;
    height: 100%;
}

@media (max-width: 768px) {
    .right-section {
        display: none;
    }

    .circle {
        height: 100px;
        width: 100px;
      }
      .contact-form {
        margin: 5px auto!important;
        max-width: 500px;
        text-align: center;
        /* background-color: #d1e8e44a; */
        padding: 5px!important;
        border-radius: 25px;
    }
    
}



.bottom-section {
    padding: 20px;
    text-align: center;
}

.top-section {
    display: flex;
    justify-content: space-between;
}

.left-section, .right-section {
    flex: 1;
    padding: 20px;
}
.photo img {
    padding-top: 35%;
    max-width: 100%;
    display: block;
}

.text {
    text-align: left;
    padding-left: 15px;
    font-size: 35px;
    font-weight: 700;
}

.right-section video {
    max-width: 100%;
    display: block;
}

.bottom-section {
    padding: 10px;
    text-align: center;
    font-size: 20px;
}

.coming-soon {
    font-size: 100px;
    margin-top: 10px;
    font-weight: 800;
}

.additional-text {
    margin-top: 10px;
}


 /* .swipe-down {
    text-align: center;
    margin-top: 50px;
}  */

.swipe-text {
    margin-top: 25px;
    font-size: 26px;
}

.swipe-icon {
    margin: 0px;
} 

.contact-form {
    margin: 50px auto;
    max-width: 500px;
    text-align: center;
    /* background-color: #d1e8e44a; */
    padding: 50px;
    border-radius: 25px;
}

.contact-form h2 {
    font-size: 25px;
    color: #027bff
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form input {
    font-family: Arial, sans-serif; 
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form button {
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

  #preloader {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
  }
  #loader {
      display: block;
      position: relative;
      left: 50%;
      top: 50%;
      width: 150px;
      height: 150px;
      margin: -75px 0 0 -75px;
      border-radius: 50%;
      border: 3px solid transparent;
      border-top-color: #9370DB;
      -webkit-animation: spin 2s linear infinite;
      animation: spin 2s linear infinite;
  }
  #loader:before {
      content: "";
      position: absolute;
      top: 5px;
      left: 5px;
      right: 5px;
      bottom: 5px;
      border-radius: 50%;
      border: 3px solid transparent;
      border-top-color: #BA55D3;
      -webkit-animation: spin 3s linear infinite;
      animation: spin 3s linear infinite;
  }
  #loader:after {
      content: "";
      position: absolute;
      top: 15px;
      left: 15px;
      right: 15px;
      bottom: 15px;
      border-radius: 50%;
      border: 3px solid transparent;
      border-top-color: #FF00FF;
      -webkit-animation: spin 1.5s linear infinite;
      animation: spin 1.5s linear infinite;
  }
  @-webkit-keyframes spin {
      0%   {
          -webkit-transform: rotate(0deg);
          -ms-transform: rotate(0deg);
          transform: rotate(0deg);
      }
      100% {
          -webkit-transform: rotate(360deg);
          -ms-transform: rotate(360deg);
          transform: rotate(360deg);
      }
  }
  @keyframes spin {
      0%   {
          -webkit-transform: rotate(0deg);
          -ms-transform: rotate(0deg);
          transform: rotate(0deg);
      }
      100% {
          -webkit-transform: rotate(360deg);
          -ms-transform: rotate(360deg);
          transform: rotate(360deg);
      }
  }

/* /////// arrow */
  
  @keyframes occasional-arrow-bounce {
    0% { transform: translateY(0); }
    79% { transform: translateY(0); }
    80% { transform: translateY(2px); }
    100% { transform: translateY(-4px); }
  }
  
  a:after {
    color: rgb(0, 0, 0);
    content: '\02193';
    font-size: 40px;
     position: absolute;
    /* top: 50%; */
    margin-top: 28px;
    left: 50%;
    margin-left: -13px;
    
    animation: occasional-arrow-bounce 3s infinite 2s alternate ease-out;
  }
  
  .circle {
    height: 124px;
    width: 124px;

  }
    
  .background {
    fill: transparent;
    stroke: rgba(255, 255, 255, 0.1);
    transition: all 200ms ease;
  }
    
  .foreground {
    fill: transparent;
    stroke-dasharray: 377;
    stroke-dashoffset: 377;
    stroke: #000000;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
    transition: all 800ms ease;
  }
      
  a:hover .foreground {
    stroke-dashoffset: 0;
    transform: rotate(90deg);
  }
  
  @keyframes arrow-bounce {
    0% { transform: translateY(2px); }
    100% { transform: translateY(-4px); }
  }
  
  a:hover:after {
    animation: arrow-bounce 0.5s infinite alternate ease-out;
  }