:root {
    --basic-bg-color: #ffffff; /* Basic background color */
    --scene-bg-color: #ffffff;
    --dark-bg-color: #042b4b;

    --button-color: #008ecb; /* Button color */
    --hover-color: #0076ab; /* Hover color */
    --active-color: #056087; /* Active color */

    --alter-button-color: #f3f7f8;
    --alter-hover-color: #c7d8da;
    --alter-active-color: #9fbec1;

    --start-button-color: #66a6c6;
    --start-hover-color: #468db1;
    --start-active-color: #347195;

    --main-text-color: #072c18; /* Main text color */
    --main-text-color2: #c82b0d;
    --alter-text-color: white; /* Text color */

    --main-text-color-rgb: 75, 15, 4;

    --base-color-hsl: 40, 51%, 33%; /* shadow base color in HSL */

    --scene-dark: #083644;
    --scene-light: white;
    --scene-color1: #66a6c6;
    --scene-color2: #66a6c6;
    --scene-color3: #ff5e3f;

    --font: 'Roboto', sans-serif;
    --alter-font: 'Roboto', sans-serif;
    --letter-spacing: 0.1em;
    --spacing-beetwen-rows: 40px;
}




/* -------------------------------- loading screen -------------------------------- */

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: radial-gradient(circle, var(--scene-color2) 5%, var(--scene-color3) 5%); */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s;

    background-image: url(img/welcome-bg.jpg);
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    min-height: 650px;
}

.loader {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 50px;
}

.dot {
    position: relative;
    width: 18px;
    height: 18px;
    background-color: var(--start-button-color);
    border: 1px solid var(--button-color);
    /* border-radius: 50%; */
    transform: rotate(-50deg);
    transform-origin: center;
    animation: dotFlashing 1s infinite linear alternate;
    animation-delay: calc(0.25s * var(--dot-index));
    /* margin: 0 10px; */
}

.dot:nth-child(1) { --dot-index: 1; }
.dot:nth-child(2) { --dot-index: 2; }
.dot:nth-child(3) { --dot-index: 3; }

@keyframes dotFlashing {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}


/* -------------------------------- main -------------------------------- */

body {
    font-family: var(--font);
    color: var(--main-text-color);
    padding: 0px;

    /* min-height: 100vh; */
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    overflow-x: hidden;
    box-sizing: border-box;

    background-image: url(img/welcome-bg.jpg);
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}

.block {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
}
.inline-block {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
}
.block-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    padding: 50px 0px 50px 0px;
}
.margin-top {
    margin-top: 240px;
}

.gradient-welcome-bottom {
    width: 100%;
    height: 100px;
    position: relative;
    bottom: 0px;
    background: linear-gradient(to bottom, transparent, white);
}
@media (max-width: 480px) {
    .gradient-welcome-bottom {
        bottom: 0px;
    }
}
.gradient-top-to-transparent {
    width: 100%;
    height: 100px;
    position: relative;
    top: 0;
    background: linear-gradient(to bottom, white, transparent);
}
.gradient-bottom {
    width: 100%;
    height: 100px;
    position: relative;
    bottom: 0px;
    background: linear-gradient(to bottom, transparent, white);
}
.separator-white {
    width: 100%;
    height: 150px;
    background-color: white;
}
.separator-blue {
    width: 100%;
    height: 50px;
    background-color: var(--scene-color1);
}



/* -------------------------------- header -------------------------------- */

.header-logo {
    cursor: pointer;
    position: absolute;
    left: 20px;
    top: 15px;
    z-index: 10;

    filter: drop-shadow(1px 1px 3px white);
    -webkit-filter: drop-shadow(1px 1px 3px white);
}


.header-logo:hover {
    filter: drop-shadow(1px 1px 5px white);
    -webkit-filter: drop-shadow(1px 1px 5px white);
}
.header-logo img {
    width: 150px;
}

.header-btn {
    position: fixed;
    right: 180px;
    top: 50px;
    padding: 20px 30px;
    z-index: 10;
    text-decoration: none;
    color: var(--main-text-color);
}
.header-btn:hover {
    filter: drop-shadow(1px 1px 5px white);
    -webkit-filter: drop-shadow(1px 1px 5px white);
}

.spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url('img/spinner.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    animation: spin 0.2s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.header-side-menu {
    position: fixed;
    right: 0px;
    top: 0px;
    width: 400px;
    height: 100vh;
    padding: 10px 40px;
    z-index: 50;
    background-color: white;
    display: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
#sideMenu {
    display: none;
}
#sideMenu.show {
    display: block;
}

.header-side-menu-content {
    position: relative; 
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    margin-top: 100px;
    height: 100%;

}

.header-side-menu-item {
    margin-bottom: 20px;
}
.header-side-menu-item a {
    text-decoration: none;
    color: var(--main-text-color);
    display: flex;
    flex-direction: row;
}
.header-side-menu-item a:hover {
    color: var(--hover-color);
}
.header-side-menu-item a h3 {
    margin: 0px;
    font-size: 24px;
    letter-spacing: var(--letter-spacing);
}

.header-side-btn {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 55;
    width: 350px;
}


/* -------------------  dropdown menu ------------------- */

.dropdown-menu {
    position: fixed;
    top: 100px; 
    right: 30px; 
    width: 20%; 
    background-image: linear-gradient(192deg, white 55%, var(--scene-color4) 55%);
    max-width: 250px;
    min-width: 180px;
    box-shadow: 0px 4px 8px 0px hsla(var(--base-color-hsl),0.2);
    z-index: 1010;
    box-sizing: border-box;
    padding: 20px;
    display: none;
}
#dropdown-menu.show {
    display: flex; 
    flex-direction: column;
    text-align: center;
}
.dropdown-menu a,
.dropdown-menu button {
    padding: 12px 0px 12px 0px;
    text-decoration: none;
    display: flex;
    align-items: center; 
    background: none;
    border: none;
    text-align: center;
    cursor: pointer;
    font-size: 20px;
    width: 100%;
    color: var(--main-text-color);
    justify-content: center;
    text-transform: uppercase;
}
.dropdown-span {
    color: var(--start-button-color);
}
.dropdown-menu a:hover,
.dropdown-menu button:hover,
.dropdown-span:hover {
    color: var(--start-hover-color);
}
.menu-icon svg, 
.menu-icon img {
    filter: invert(100%);
}
.menu-icon {
    width: 16px; 
    height: 16px; 
    margin-right: 15px; 
}
.logout-button {
    font-size: 16px;
    font-family: var(--alter-font);
}






/* ------------------- welcome ------------------- */

.welcome-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* padding-top: 60px; */
    background-image: url(img/welcome-bg.jpg);
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    min-height: 650px;
    width: 100%;
    max-width: 100%;
    color: var(--alter-text-color);
    letter-spacing: var(--letter-spacing);
}
@media (max-width: 480px) {
    .welcome-block {
        flex-direction: column;
    }
}
.welcome-block h1 {
    font-family: var(--alter-font);
    font-size: 48px;
    font-weight: bold;
    margin-top: 180px;
    letter-spacing: var(--letter-spacing);
}



/* -------------------- colibri -------------------- */


.colibri-container {
    position: relative;
}

.colibri {
    position: absolute;
    width: 50px; /* Initial size */
    animation: fly 8s ease-in-out forwards;
    z-index: 0;
    transition: opacity 0.15s ease-in-out; 
}
.fade-in {
    opacity: 1;
}
.fade-out {
    opacity: 0;
}
@keyframes fly {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }
    5% {
        transform: translate(-250px, -90px) scale(0.7); /* движение влево 1 */
        opacity: 1;
    }
    5.1% {
        transform: translate(-250px, -90px) scale(0.7) scaleX(-1); /* поворот направо */
    }
    10% {
        transform: translate(-250px, -90px) scale(0.7) scaleX(-1); /* ожидание */
    }
    15% {
        transform: translate(190px, -50px) scale(1.5) scaleX(-1); /* движение вправо 2 */
    }
    15.1% {
        transform: translate(190px, -50px) scale(1.5) scaleX(1); /* поворот влево */
    }
    20% {
        transform: translate(190px, -50px) scale(1.5) scaleX(1); /* ожидание */
    }
    24% {
        transform: translate(-100px, -180px) scale(2.5) scaleX(1); /* движение влево 3 */
    }
    24.1% {
        transform: translate(-100px, -180px) scale(2.5) scaleX(-1); /* поворот направо */
    }
    30% {
        transform: translate(-100px, -180px) scale(2.5) scaleX(-1); /* ожидание */
    }
    34% {
        transform: translate(150px, -50px) scale(6) scaleX(-1); /* движение вправо 4 */
    }
    34.1% {
        transform: translate(150px, -50px) scale(6) scaleX(1); /* поворот влево */
    }
    34.2% {
        transform: translate(150px, -50px) scale(6) scaleX(1); /* ожидание, парит */
    }
    45% {
        transform: translate(150px, -60px) scale(6) scaleX(1); /* ожидание, парит */
    }
    55% {
        transform: translate(150px, -50px) scale(6) scaleX(1); /* ожидание, парит */
    }
    65% {
        transform: translate(150px, -60px) scale(6) scaleX(1); /* ожидание, парит */
    }
    75% {
        transform: translate(150px, -50px) scale(6) scaleX(1); /* ожидание, парит */
    }
    85% {
        transform: translate(150px, -60px) scale(6) scaleX(1); /* ожидание, парит */
    }
    96% {
        transform: translate(150px, -50px) scale(6) scaleX(1); /* ожидание, парит */
        opacity: 1;
    }
    99% {
        transform: translate(-450px, -900px) scale(35) scaleX(1); /* движение влево 5, улетает*/
        opacity: 0;
    }
    100% {
        transform: translate(-450px, -900px) scale(0.1) scaleX(1); /* конец*/
        opacity: 0;
    }
}



/* ------------------- Tabs ------------------- */

.tabs-menu {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}
.tabs-menu a {
    color: var(--main-text-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 24px;
    text-transform: uppercase;
    padding: 20px 0px 20px 0px;
}
.tabs-menu a:hover {
    color: var(--hover-color);
}


.tabs-container {
    display: flex;
    width: 100%;
    justify-content: space-evenly;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.tabs-container a {
    text-decoration: none;
}

.tab {
    flex-grow: 1;
    text-align: center; 
    box-sizing: border-box;
    padding: 10px 30px;
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
}
.tab:hover {
    color: var(--alter-text-color);
}
.tab.active {
    position: relative;
    display: inline-block;
    color: var(--alter-text-color);
    filter: drop-shadow(1px 1px 2px white);
    -webkit-filter: drop-shadow(1px 1px 2px white);
}




/* -------------------------------- scenes -------------------------------- */

h1, h2 {
    font-family: var(--alter-font);
}
.scene {
    width: 100%;
    position: relative;
    align-items: center;
}
.scene::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 200vw;
    height: 100%;
    transform: translateX(-50%);
    z-index: -1;
}
/* Определение цветов фона для разных блоков */
.scene--dark {
    background-color: var(--scene-dark); 
    color: var(--alter-text-color);
}
.scene--light {
    background-color: var(--scene-light);
    color: var(--main-text-color);
}
.scene--color1 {
    background-color: var(--scene-color1);
    color: var(--alter-text-color);
    background-image: url(img/scene1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.scene--color2 {
    background-color: var(--scene-color2);
    color: var(--alter-text-color);
}
.scene--color3 {
    background-color: var(--scene-color3);
    color: var(--main-text-color);
}

/* Определение цветов фона для разных блоков */
.scene--dark::before {
    background-color: var(--scene-dark); 
    color: var(--alter-text-color);
}
.scene--light::before {
    background-color: var(--scene-light);
    color: var(--main-text-color);
}
.scene--color1::before {
    background-color: var(--scene-color1);
}
.scene--color2::before {
    background-color: var(--scene-color2);
    color: var(--alter-text-color);
}
.scene--color3::before {
    background-color: var(--scene-color3);
    color: var(--main-text-color);
}

.scenes-img {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 80px;
    max-width: 100%;
    overflow: hidden;
    padding: 0px 20px;
}
.scenes-img img {
    max-width: 90%;
    height: auto;
    flex-shrink: 1;
    border-radius: 30px;
}

@media (max-width: 480px) {
    .scene {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }
}

.scene-desc {
    font-family: var(--alter-font);
    letter-spacing: var(--letter-spacing);
    font-size: 24px;
    font-weight: 100;
    line-height: var(--spacing-beetwen-rows);
}

.bg2 {
    min-height: 1456px;
    background-image: url(img/horizon-2.jpg);
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
}


/* ====== COMPARISION ===== */

.image-comparison {
    max-width: 400px;
    max-height: 400px;
    margin: 20px auto;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: justify;
    padding: 40px;
  }
  
  .images-container {
    max-width: 400px;
    max-height: 400px;
    margin: 0px auto;
    border-radius: 30px;
    overflow: hidden;
  }
  
  .image-comparison img {
    width: 100%; 
    height: 100%;
    object-fit: cover;
    object-position: left;
  }
  
  .image-comparison .images-container { 
    position: relative;
    display: flex;
  }
  
  .image-comparison .images-container .before-image {
    position: absolute;
    top: 0;
    width: 50%;
   }
  
   .image-comparison .slider {
    position: absolute;
    inset: 0;
    opacity: 0;
   }
  
   .image-comparison .slider-line {
    position: absolute;
    height: 100%;
    width: 4px;
    background-color: #fff;
    left: 50%;
    transform: translateX(-50%);
   }
  
   .image-comparison .slider-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    color: #fff;
    width: 60px;
    height: 60px;
    transform: translate(-50%, -50%) rotateZ(90deg);
   }
/* ====== END COMPARISION ===== */

/* Video container */
.video-container {
    max-width: 400px;
    max-height: 400px;
    margin: 0px auto;
    border-radius: 30px;
    overflow: hidden;
    margin: 0px 20px;

    display: flex;
    align-items: stretch;
    justify-content: center;
}


/* Стилизация трека слайдера */
.slider::-webkit-slider-runnable-track {
    cursor: pointer;
    width: 100%;
    height: 8px;
    background: var(--button-color);
    border-radius: 4px;
}

.slider::-moz-range-track {
    cursor: pointer;
    width: 100%;
    height: 8px;
    background: var(--button-color);
    border-radius: 4px;
}

.slider::-ms-track {
    cursor: pointer;
    width: 100%;
    height: 8px;
    background: var(--button-color);
    border-radius: 4px;
}

/* Стилизация ползунка */
.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    margin-top: -6px; /* Чтобы выровнять ползунок по центру трека */
    width: 40px;
    height: 40px;
    background-color: var(--button-color);
    cursor: pointer;
    border: 1px solid black;
    border-radius: 50%;

}

.slider::-moz-range-thumb {
    width: 40px;
    height: 40px;
    background-color: var(--button-color);
    cursor: pointer;
    border: 1px solid black;
    border-radius: 50%;
}

.slider::-ms-thumb {
    width: 40px;
    height: 40px;
    background-color: var(--button-color);
    cursor: pointer;
    border: 1px solid black;
    border-radius: 50%;
}


/* -------------------- FAQ -------------------- */

  .faq-container {
    width:100%;
    max-width: 100%;
    margin: 0 auto;
    /* margin-top: 150px; */
    padding: 20px;
    position: relative;
    /* background: linear-gradient(to top, rgba(191, 0, 255, 0.0), rgba(191, 0, 255, 0.4), rgba(255, 0, 191, 0.4) 70%, rgba(255, 0, 191, 0)); */
  }
  .faq-insider {
    max-width: 1200px;
    margin: 0 auto;
  }
  .faq-container h1 {
    text-align: center;
    padding-bottom: 60px;
  }
  

  .faq-item {
    margin-bottom: 20px;
    border-bottom: 0.001px solid var(--button-color);
    padding-bottom: 1px;
  }
  
  .question {
    cursor: pointer;
    color: var(--main-text-color);
    padding: 10px;
    border-radius: 5px;
    display: block;
    font-size: 18px;
    font-weight: bold;
  }
  
  .answer {
    display: none;
    padding: 10px;
  }
  
  .answer p {
    margin: 0;
    font-size: 16px;
    text-align: left;
  }
  
  .question:hover {
    color: var(--hover-color)
  }
  .question-checkbox {
    display: none;
  }
  .question-checkbox:checked+.question+.answer {
    display: block;
  }

  





/* -------------------- reviews -------------------- */

.reviews-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 100px 0px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.review-row {
    display: flex;
    justify-content: space-around;
    width: 100%;
}
.review-row h1 {
    width: 100%;
    margin: 20px;
    padding: 20px;
    text-align: left;
}

.review {
    background-color: var(--dark-bg-color);
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 10px 30px;
    margin: 20px;
    width: 50%;
    min-height: 200px;
    text-align: center;
    color: var(--main-text-color);
    font-size: 1.2em;
}

.review h4 {
    margin: 0;
}

.stars {
    text-align: right;
    color: #ffd700;
    font-size: 1em;
    margin: 5px 0;
}



@media (max-width: 480px) {
    .reviews-container {
        margin: 20px 0; /* Уменьшаем вертикальные отступы */
    }

    .review-row {
        flex-direction: column; /* Ставим отзывы в столбец */
        align-items: center; /* Центрируем отзывы */
    }

    .review {
        width: 85%; /* Уменьшаем ширину отзывов */
        margin: 10px; /* Уменьшаем отступы между отзывами */
        padding: 10px; /* Уменьшаем внутренние отступы */
    }

    .review-header {
        flex-direction: column; /* Заголовок и звезды теперь в столбце */
        align-items: center; /* Центрируем заголовок и звезды */
    }

    .stars {
        order: -1; /* Помещаем звезды над заголовком */
        margin-bottom: 5px; /* Добавляем небольшой отступ между звездами и заголовком */
    }
    .block-row {
        flex-direction: column;
    }
}


/* -------------------------------- buttons -------------------------------- */

.button {
    cursor: pointer;
    padding: 20px 40px;
    font-size: 18px;
    font-weight: 600;
    margin: 0 10px;
    border: none;
    border-radius: 50px;
    color: white;
    letter-spacing: var(--letter-spacing);
    background-color: var(--button-color);
    transition: all 0.2s ease;
    box-shadow: 0 5px var(--hover-color); 
    will-change: transform, box-shadow;
}
.button svg {
    height: 1em;
    padding-right: 15px;
}
.button:hover {
    transform: translateY(4px);
    box-shadow: 0 3px var(--hover-color); 
}
.button:active {
    transform: translateY(6px);
    box-shadow: 0 1px var(--hover-color); 
}


.alter-color {
    background-color: var(--alter-button-color);
    box-shadow: 0 5px var(--alter-hover-color); 
    color: var(--start-button-color);
}
.alter-color:hover {
    box-shadow: 0 3px var(--alter-hover-color); 
}
.alter-color:active {
    box-shadow: 0 1px var(--alter-hover-color); 
}


.start-color {
    background-color: var(--start-button-color);
    box-shadow: 0 5px var(--start-hover-color); 
}
.start-color:hover {
    box-shadow: 0 3px var(--start-hover-color); 
}
.start-color:active {
    box-shadow: 0 1px var(--start-hover-color); 
}




/* generate button */
.ok-button { 
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    height: 90px;
    padding: 25px 40px;
    border: 0;
    border-radius: 50px;
    background-color: var(--button-color);
    border: none;

    transition: all 0.1s;
    -webkit-transition: all 0.2s;
    cursor: pointer;

    font-family: var(--alter-font);
    font-size: 24px;
    color: white;
    font-weight: Bold;
}

.ok-button svg {
  height: 1em;
  stroke: white;
}
  
.ok-button:hover {
  background-color: var(--hover-color);
  box-shadow: 0 0 20px var(--hover-color)52;
}

.ok-button:active {
  background-color: var(--active-color);
  transition: all 0.1s;
  -webkit-transition: all 0.1s;
  box-shadow: none;
  transform: scale(0.99);
}

/* LOGIN BUTTON */
.accept-button {
    width: 100%;
    height: 60px;
    background-color: var(--button-color);
    transition-duration: .2s;
    border: none;
    color: rgb(241, 241, 241);
    cursor: pointer;
    font-weight: 600;
    border-radius: 30px;
    margin: 20px 0px 20px 0px;
    font-size: 28px; 
    font-family: var(--alter-font);
    /* font-size: 32px; */
    font-weight: bold;
}
.accept-button:hover {
    background-color: var(--hover-color);
    transition-duration: .2s;
} 



/* button on index */
.start-button {
    width: 100%;
    max-width: 400px;
    max-height: 60px;
    background-color: var(--start-button-color);
    transition-duration: .2s;
    border: none;
    color: white;
    cursor: pointer;
    font-weight: 600;
    border-radius: 10px;
    font-size: 24px; 
    font-family: var(--alter-font);


}
.start-button:hover {
    background-color: var(--start-hover-color);
    transition-duration: .2s;
} 
.start-button:active {
    background-color: var(--start-active-color);
    transition: all 0.1s;
    -webkit-transition: all 0.1s;
    box-shadow: none;
    transform: scale(0.99);
}
@media (max-width: 480px) {
    .start-button {
        margin: 0px 20px 0px 20px;
        width: 100%;
        max-width: 90%;
    }
}

.separator {
    display: flex;
    text-align: center;
    margin: 25px 0px 25px 0px;
    width: 100%;
}
.separator span {
    flex: 1;
    
}
.separator-line {
    display: flex;
    flex: 1;
    height: 1px;
    background-color: var(--start-button-color);
    width: 100%;
    margin: 10px 0px 10px 0px;
}

/* all white buttons */
.save-button { 
    min-width: 100px;
    height: 40px;
    border-radius: 30px;
    background-color: white;
    transition-duration: .2s;
    border: 3px solid var(--button-color);
    color: var(--button-color);
    cursor: pointer;

    margin: 0px 10px 20px 0px;

    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--alter-font);
    /* font-size: 18px;
    font-weight: 400; */
}
.save-button:hover {
    /* background-color: var(--hover-color);
    border: 3px solid var(--hover-color);
    color: white; */
    transition-duration: .2s;
} 
.save-button svg {
    height: 1em;
    padding-right:5px;
}
.save-button svg path {
    fill: var(--button-color); /* Default fill color */
    stroke: var(--button-color); /* Default stroke color */
}
.save-button:hover svg path {
    fill: white; /* Fill color on hover */
    stroke: white; /* Stroke color on hover */
}

.btn-primary-color {
    border: 3px solid var(--button-color);
    color: var(--button-color);
}
.btn-primary-color:hover{
    background-color: var(--hover-color);
    border: 3px solid var(--hover-color);
    color: white;
}
.btn-primary-color:active {
    background-color: var(--active-color);
    border: 3px solid var(--active-color);
    transform: scale(0.99);
}
.btn-secondary-color {
    border: 3px solid var(--start-button-color);
    color: var(--start-button-color);
}
.btn-secondary-color:hover{
    background-color: var(--start-hover-color);
    border: 3px solid var(--start-hover-color);
    color: white;
}
.btn-secondary-color:active {
    background-color: var(--start-active-color);
    border: 3px solid var(--start-active-color);
    transform: scale(0.99);
}


.overlay-cover-button { /* for studio history */
    position: absolute;
    bottom: 7px;
    left: 7px;
    padding: 5px 5px 5px 5px;
    font-size: 10px;
    z-index: 100;
    margin: 0px 0px 0px 0px;
    height: 25px;
    min-width: 45px;
    cursor: pointer;
}
.overlay-book-button { /* for studio history */
    position: absolute;
    bottom: 7px;
    right: 7px;
    padding: 5px 5px 5px 5px;
    font-size: 10px;
    z-index: 100;
    margin: 0px 0px 0px 0px;
    height: 25px;
    min-width: 45px;
    cursor: pointer;
}

.overlay-download-button { /* for studio NFT download */
    cursor: pointer;
    position: absolute;
    bottom: 20px;
    left: 20%;
    /* transform: translateX(-50%); */

    font-size: 10px;
    z-index: 100;
    margin: 0px 0px 0px 0px;
    height: 25px;
    /* opacity: 0.9; */
}
@media (max-width: 480px) {
    .overlay-download-button {
        padding: 3px 3px 3px 3px;
    }
}

.overlay-cancel-button {
    position: absolute;
    top: 7px;
    right: 7px;
    padding: 5px 5px 5px 5px;
    font-size: 10px;
    z-index: 100;
    margin: 0px 0px 0px 0px;
    height: 25px;
    min-width: 25px;
    cursor: pointer;

    border-radius: 50px;
    background-color: white;
    color: red;
    transition-duration: .2s;
    border: 1px solid var(--start-button-color);
 
    font-weight: 600;
    /* margin: 0px 10px 20px 0px; */
    font-size: 16px;
    display: flex; 
    justify-content: center;
    align-items: center;
}
.overlay-cancel-button:hover {
    background-color: red;
    color: white;
    transition-duration: .2s;
}

/* -------------------------------- modal window -------------------------------- */

.modal {
    display: block;
    position: fixed; /* Оставаться на месте при прокрутке */
    z-index: 1002; /* Сидеть на верху */
    left: 0;
    top: 0;
    width: 100%; /* Полная ширина */
    height: 100%; /* Полная высота */
    overflow: auto; /* Включить прокрутку, если нужно */
    background-color: rgba(0,0,0,0.7);
}
.modal-content {
    background-color: var(--scene-bg-color);
    margin: 15% auto; /* 15% сверху и по центру */
    /* border: 3px solid var(--start-button-color); */
    width: 60%;
    border-radius: 35px;
    display: flex; /* Use flexbox for centering */
    flex-direction: column; /* Arrange children in a column */
    align-items: center; /* Center children horizontally */
    justify-content: center; /* Center children vertically */
    padding: 30px;
    gap: 20px;
    color: var(--main-text-color);
}



.panel-desc {
    display: flex;
    /* flex-direction: column; */
    align-items: center;
    justify-content: center;
    padding: 20px;
    /* margin: 0px 20px 0px 20px; */
    max-width: 100%;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 35px;
    box-shadow: 0 0 10px 5px rgba(255, 255, 255, 0.5);
    box-sizing: border-box;
}
@media (max-width: 480px) {
    .panel-desc {
        flex-direction: column;
    }
}

 /* PANELS (profile / billing) */

.panel-block {
    width: 100%;
    height: 100%;
    /* max-width: 400px; */
    /* max-height: 400px; */
    /* border-radius: 50px; */
    /* padding: 50px; */
    /* background-color: white; */

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    contain: content;
}
.panel-block img {
    width: 200px;
    max-width: 100%;
    max-height: 100%;
    filter: invert(0.2);
}
.panel-h1 {
    font-size: 56px;
}
.panel-p {
    padding: 0px 20px 0px 20px;
}

.primary-panel {
    background-color: var(--start-button-color);
    /* background-color: var(--dark-bg-color); */
    color: white;
    font-family: var(--alter-font);

}
.secondary-panel {
    /* background-color: var(--button-color); */
    border: 3px solid var(--start-button-color);
}
.width-fixed {
    max-width: 550px;
}
@media (max-width: 480px) {
    .width-fixed {
        width: 100%;
        max-width: 100%;
    }
    .panel-block {
        width: 100%;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
    }
}


.square {
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 35px;
    box-shadow: 0 0 10px 5px rgba(255, 255, 255, 0.5);
    box-sizing: border-box;
    padding: 20px;
    margin: 20px;
    color: white;
}
.square img {
    max-width: 100px;
    max-height: 100px;
    object-fit: cover;
    filter: invert(1);
}

.square-row {
    display: flex;
    flex-direction: row; /* Изменено с row на column для растягивания элементов по вертикали */
    justify-content: stretch; /* Элементы растягиваются на всю ширину контейнера */
    align-items: stretch; /* Элементы растягиваются на всю ширину контейнера */
    padding-top: 10px;
    padding-bottom: 10px;
}
.sticky-block {
    position: -webkit-sticky; /* Для поддержки Safari */
    position: sticky;
    top: 0; /* Расстояние от верха окна, при котором элемент станет залипающим */
    z-index: 10; /* Убедитесь, что элемент находится над другими элементами */
}
.sticky-block a {
    text-decoration: none;
    color: var(--button-color);
}
.sticky-block a:hover {
    text-decoration: none;
    color: var(--hover-color);
}



/* button for file input and profile */
.file-input {
    cursor: pointer;
    width: 100%;
    /* max-width: 450px; */
    height: 60px;
  
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    border: 0px;
  
    transition-duration: .2s;
  
    background-image: linear-gradient(175deg, var(--start-button-color) 75%, var(--start-hover-color) 27%);
    color: var(--alter-text-color);
  
    font-size: 20px;
    font-weight: bold;
  
    clip-path: polygon(
      10% 0%,    /* Верхняя левая вершина */
      90% 0%,    /* Верхняя правая вершина */
      100% 90%,  /* Правая сторона, почти у нижнего края */
      90% 100%,  /* Нижняя правая вершина */
      10% 100%,  /* Нижняя левая вершина */
      0% 10%     /* Левая сторона, начиная немного выше нижнего края */
  );
  
  }
  .file-input:hover {
    transform: rotate(1deg);
    transition: transform 0.2s;
    background-image: linear-gradient(172deg, var(--start-hover-color) 75%, var(--start-active-color) 27%);
  }
  .file-input:active, .file-input:focus {
    transform: rotate(1deg);
    transition: transform 0.2s;
    background-image: linear-gradient(172deg, var(--start-hover-color) 75%, var(--start-active-color) 27%);
  }
  
  @media (max-width: 480px) {
    .file-input {
      font-size: 18px;
    }
  }





/* ------------------------ checkbox ------------------------ */
.switch {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 34px;
    
  }
  
  .switch input { 
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .slider {
    /* position: absolute; */
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
  }
  
  .slider:before {
    /* position: absolute; */
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
  }
  
  input:checked + .slider {
    background-color: var(--start-hover-color);
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px var(--start-hover-color);
  }
  
  input:checked + .slider:before {
    transform: translateX(26px);
  }
  
  /* Optional: styles for when the switch is focused or hovered */
  .slider:hover {
    background-color: var(--start-button-color);
  }
  
  .slider:focus {
    box-shadow: 0 0 1px var(--start-hover-color);
  }
  




/* -------------------------------- cookies -------------------------------- */
/* 
.cookie-card {
    width: 300px;
    height: 220px;
    background-color: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 30px;
    gap: 13px;
    position: relative;
    overflow: hidden;
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.062);
  }
  
  #cookieSvg {
    width: 50px;
  }
  
  #cookieSvg g path {
    fill: rgb(97, 81, 81);
  }
  
  .cookieHeading {
    font-size: 1.2em;
    font-weight: 800;
    color: rgb(26, 26, 26);
  }
  
  .cookieDescription {
    text-align: center;
    font-size: 0.7em;
    font-weight: 600;
    color: rgb(99, 99, 99);
  }
  
  .buttonContainer {
    display: flex;
    gap: 20px;
    flex-direction: row;
  }
  */
  
  /*
  .declineButton {
    width: 80px;
    height: 30px;
    background-color: rgb(218, 218, 218);
    transition-duration: .2s;
    color: rgb(46, 46, 46);
    border: none;
    cursor: pointer;
    font-weight: 600;
    border-radius: 20px;
  }
  
  .declineButton:hover {
    background-color: #ebebeb;
    transition-duration: .2s;
  }
  
*/



/* ------------------- Description ------------------- */
.description {
    font-family: var(--alter-font);
    font-size: 20px;
    text-align: center;
  }



/* -------------------------------- footer -------------------------------- */


.footer-container {
    position: relative;
    z-index: 1;
    padding:0px 0px 0px 0px;
}

footer {
    width: 100%;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    z-index: 1;
}

.footer-tabs {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0px 0px 0px 20px;
}
.footer-tabs a {
    text-decoration: none;
    color: var(--alter-text-color);
    letter-spacing: var(--letter-spacing);
    text-transform: uppercase;
    font-size: 24px;
    margin-bottom: 10px;
}
.footer-tabs a:hover {
    color: var(--start-hover-color);
}
.footer-tabs h2 {
    letter-spacing: var(--letter-spacing);
    margin-bottom: 0px;
    padding-bottom: 0px;
    text-transform: uppercase;
    font-weight: normal;
    color: var(--alter-text-color);
}
.footer-tabs p {
    letter-spacing: var(--letter-spacing);
    text-align: left;
    color: var(--alter-text-color);
}




.footer-copyright {
    font-family: var(--alter-font);
    letter-spacing: var(--letter-spacing);
    font-size: 16px;
    margin: 10px 0px 100px 0px;
    color: var(--alter-text-color);
}
.footer-logos {
    text-align: center; 
}
.footer-logos img {
    width: 50px;
    height: auto;
} 
.footer-bg {
    background-color: var(--scene-color2);
    position: relative;
}
.footer-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--scene-color2);
    z-index: -1;
    width: 200vw;
    transform: translateX(-50vw);
  }


/* Cloud Separator */
/* Cloud Separator */
.cloud-separator {
    position: relative;
    width: 100%;
    /* height: 150px; */
    /* overflow: hidden; */
}

.cloud-separator svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    max-height: 150px;
}






.share-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 150px;
    color: var(--main-text-color);

}
.share-footer a {
    text-decoration: none;
    color: var(--hover-color);
    margin-bottom: 10px;
}

.share-footer a:hover {
    color: var(--active-color);
}



/* ------------------- fade in (thru script) ------------------- */
.fade-in {
    opacity: 0; /* Начальная прозрачность */
    transition: opacity 2s ease-in; /* Плавный переход */
}

.visible {
    opacity: 1; /* Конечная прозрачность */
}




/* -------------------------------- history -------------------------------- */
.history {
    margin-top: 20px;
}

.history h3 {
    margin-bottom: 20px;
    font-size: 20px;
    color: var(--main-text-color);
}

#history-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#history-thumbnails img {
    max-width: 100px;
    height: auto;
    cursor: pointer;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

#history-thumbnails img:hover {
    transform: scale(1.1);
}




/* ------------------------------------ 404 page ----------------------------- */

.not-found-body {
    color: var(--main-text-color);
    margin: 0;
    padding: 0;
}

.not-found-message {
    /* background: white; */
    max-width: 360px;
    margin: 100px auto 16px;
    padding: 32px 24px 16px;
    border-radius: 20px;
    text-align: center;
}

.not-found-message h3 {
    color: var(--main-text-color);
    font-weight: normal;
    font-size: 16px;
    margin: 16px 0 12px;
}

.not-found-messageh2 {
    color: var(--active-color);
    font-weight: bold;
    font-size: 46px;
    margin: 0 0 8px;
}

.not-found-message h1 {
    font-size: 22px;
    font-weight: 300;
    color: rgba(0, 0, 0, 0.6);
    margin: 0 0 16px;
}

.not-found-message p {
    line-height: 140%;
    margin: 16px 0 24px;
    font-size: 14px;
}

.not-found-message a {
    text-transform: uppercase;
    text-decoration: underline;
    color: var(--start-button-color);
    font-weight: bold;
}

.not-found-message a:hover {
    color: var(--start-hover-color)
}

.not-found-message {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.not-found-message #load {
    color: rgba(0, 0, 0, 0.4);
    text-align: center;
    font-size: 13px;
}

@media (max-width: 480px) {

    .not-found-body,
    .not-found-message {
        margin-top: 0;
        box-shadow: none;
    }

    .not-found-body {
        border-top: 16px solid var(--start-button-color);
    }
}

/* --------------------------------- inputs */

.input {
    width: 100%;
    height: 60px;
    border: 0px;
    border-radius: 30px;
    padding: 5px 5px 5px 25px;
    box-sizing: border-box;
    font-size: 12pt;
    background-color: white;

    filter: drop-shadow(1px 1px 3px var(--hover-color));
    -webkit-filter: drop-shadow(1px 1px 3px var(--hover-color));
}
.input:focus {
    transition: transform 0.2s;
    border: 2px solid var(--start-button-color);
    outline: none;
}


/* -------------------------------- images modal -------------------------------- */
/* #modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

#modal.hidden {
    display: none;
}

#modal-image {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}

#close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2em;
    color: #fff;
    cursor: pointer;
}

#download-image,
#use-prompt {
    margin-top: 20px;
    padding: 15px 30px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

#download-image {
    background-color: #4CAF50;
    color: #fff;
    border: none;
}

#download-image:hover {
    background-color: #45a049;
}

#use-prompt {
    background-color: #2196F3;
    color: #fff;
    border: none;
}

#use-prompt:hover {
    background-color: #0b7dda;
} */



@media (max-width: 480px) {
    body {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        padding: 0px;
        margin: 0px;
        box-sizing: border-box;
        /* overflow-x: hidden; */
    }
    .block{
        max-width: 100%;
        left: 0px;
        right: 0px;
        box-sizing: border-box;
        /* overflow-x: hidden; */
    }
    .inline-block {
        flex-wrap: wrap;
    }
    .margin-top {
        margin-top: 300px;
    }
    footer {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        content: center;
        justify-content: center;
        left: 0;
        right: 0;
        box-sizing: border-box;
    }
    .footer-left, .footer-right, .footer-bottom {
        text-align: center;
        padding: 0 10px; 
    }
    
}
