/*<weight>: Use a value from 100 to 900*/
 /*<uniquifier>: Use a unique and descriptive class name*/

    /* app.js */
.hidden {
    opacity: 0;
    transition: all 1s;
    filter: blur(5px);
    transform: translateY(-10%);
}

.show {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0);
}

@media(prefers-reduced-motion) {
    .hidden {
        transition: none;
    }
}

    /* app.js */


.montserrat {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
}



body {
    position: relative;
    margin: 0;
    font-family: "Montserrat", sans-serif;
    background-color: #D5EAEE;
    background-image: linear-gradient(to left bottom, #d8eff8, #d2e9f4, #cce4f0, #c6deec, #c1d8e8, #bdd3e3, #b8cfdf, #b4cada, #afc5d3, #aac1cd, #a5bcc6, #a1b7c0);    background-size: 400% 400%;
    height: 100%;
    animation: gradient 3s ease infinite;
}
.wrapper {
    position: relative;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

span {
    display: block;
    font-size: 1.2rem;
}

button {
    font-family: "Montserrat", sans-serif;
    cursor: pointer;
}

a {
    text-decoration: none;
    color: black;
}

a:active {
    color: black;
}

.link-animation {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    animation: .2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.link-animation-2 {
    animation: .2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    padding: 0.5rem 0;
}

.bar {
    position: absolute;
    top: 1.5rem;
    left: 0;
    width: 100%;
    min-height: 5rem;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}

.bar-logo {
    font-size: 3rem;
    letter-spacing: -2px;
    display: flex;
    align-items: center;
    color: #D5EAEE;
}
.bar-logo img{
    display: inline-block;
    width: 3rem;
    height: 3rem;
}

.bar-contacts {
    display: flex;
    justify-content: flex-end;
    margin-right: 5rem;
    width: 100%;
    height: 100%;
    column-gap: 2rem;
    align-items: center;
}

.bar-link {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0 0rem 0 4rem;
}

.about-me {
    padding: 0.5rem 1rem;
    color: #D5EAEE;
    border-radius: 2rem;
    background-color: transparent;
    border: 3px solid #D5EAEE;
}

.tik-tok {}

.insta {}



section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 10rem 0 10rem;
    overflow: hidden;
    position: relative;
}

section:nth-child(1) {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 10rem 0 10rem;
    overflow: hidden;
    height: 100vh;
    position: relative;
}

.section video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    object-fit: cover;
    z-index: 1;
}

.effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.5);
}

.s1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.s1-s1 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 2rem 2rem 2rem 2rem;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.s1-s1::after {
    content: "";
    display: block;
    width: 100px;
    height: 100px;
    position: absolute;
    top: 8rem;
    right: 20rem;
    z-index: -1;
    background-image: url(images/s1/bg-travel2.png);
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.7;
    animation: 10s;
}


.s1-logo {
    border-radius: 250px 250px 250px 250px;
    width: 20rem;
    height: 20rem;
    background-size: cover;
    background-image: url(images/ava.PNG);

}

.s1-block {
    max-width: 50%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    color: #D5EAEE;
    margin: 0 0 0 10rem;
}

.s1-title {
    font-weight: 700;
    font-size: 3rem;
}

.s1-text {
    padding: 2rem 0;
    font-size: 1.7rem;
    line-height: 2.5rem;
    font-weight: 600;
}

.s1-btn {
    padding: 1rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 1.2rem;
    color: #D5EAEE;
    background-color: transparent;
    border: 3px solid #D5EAEE;
}

.s1-arrow {
    margin-bottom: 3rem;
}

.s1-text-mobile {
    display: none;
}

.s2 {
    display: flex;
    column-gap: 4rem;
}

.s2-title {
    padding: 6rem 0 6rem 0;
    font-weight: 700;
    font-size: 2.5rem;
    color: #243851;
}

.s2-blocks {
    color: #243851;
    position: relative;
    height: 100%;
    width: 100%;
}

.s2-block {
    border-radius: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 3rem 0 3rem;
    width: 22rem;
    height: auto;
    position: relative;
    background-image: linear-gradient(to left bottom, #d8eff8, #d2e9f4, #cce4f0, #c6deec, #c1d8e8, #bdd3e3, #b8cfdf, #b4cada, #afc5d3, #aac1cd, #a5bcc6, #a1b7c0);    background-size: 400% 400%;
    overflow: hidden;
    margin: 0.2rem;
    cursor: pointer;
}

@keyframes rotate {
  100% {
      transform: rotate(360deg);
  }
}

.box {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 3rem;
    width: 95%;
    height: 95%;
}

.box:before {
    border-radius: 3rem;
    position: absolute;
    content: "";
    width: 300%;
    height: 150%;
}

.box-2 {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 3rem;
    width: 80%;
    height: 80%;
    margin-bottom: 3rem;
}

.box-2:before {
    border-radius: 3rem;
    position: absolute;
    content: "";
    width: 400%;
    height: 400%;
}

.box:hover::before {
    animation: rotate 3.2s linear infinite;
    background-image: conic-gradient(#04b0ee 20deg, transparent 120deg);
}

.box-2:hover::before {
    animation: rotate 2s linear infinite;
    background-image: conic-gradient(#04b0ee 60deg, transparent 180deg);
}

.s2-price span {
    transition: color 0.3s ease;
    text-align: center;
}

.box-2:hover .s2-price {
    border: none;
    background-image: linear-gradient(to left bottom, #d8eff8, #d2e9f4, #cce4f0, #c6deec, #c1d8e8, #bdd3e3, #b8cfdf, #b4cada, #afc5d3, #aac1cd, #a5bcc6, #a1b7c0);    background-size: 400% 400%;
}

.box-2:hover .s2-price span {
    transform: scaleX(1.1);
    transition: 0.3s transform;
    color: #243851;
}

.box-2:hover .box-2 {
    background-color: #243851;
}

.s2-block-title {
    font-weight: 500;
    font-size: 2rem;
    padding: 2rem 0 1rem 0;
}
.s2-block-text {
    align-self: start;
    font-size: 1.2rem;
}

.s2-price {
    padding: 1rem 4rem;
    font-weight: 600;
    letter-spacing: 0.1rem;
    font-size: 1.5rem;
    border: 1px solid #fff;
    background-color: #243851;
    color: #fff;
    border-radius: 3rem;
    cursor: pointer;
    overflow: hidden;
    margin: 0.2rem;
    position: relative;
    width: 16rem;
    height: 1.7rem;
}

.s3 {
    padding-top: 20rem;
}

.add-title {
    padding: 5rem 0 5rem 0;
    font-weight: 700;
    font-size: 2.5rem;
    color: #243851;
}

.add-block {
    border-radius: 3rem;
    width: 60rem;
    font-size: 1.4rem;
    padding: 1rem 2rem;
    margin-bottom: 0;
    height: auto;
    position: relative;
    background-color: transparent;
    border: 3px solid #D5EAEE;
    color: #243851;
}

.add-block::after {
    content:"";
    opacity: 0.9;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: -1;
    border-radius: 4rem;
}

.s3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 0 10rem 0;
}

.s3-title {}

.s3-blocks {}

.s3-block {}

.s3-block-img {}

.s3-block-text {}

.s3-subtitle {}

.s4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.s4-title {
    font-weight: 700;
    font-size: 2.5rem;
    color: #243851;
}

.s4-blocks {
    display: flex;
    padding: 5rem 0 5rem 0;
    column-gap: 1rem;
    flex-wrap: wrap;
}

.s4-block {
    max-width: 20rem;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    font-size: 1.1rem;
    position: relative;
    padding: 0 1rem 0 1rem;
    color: #243851;
    border: 3px solid #D5EAEE;
    border-radius: 30px 30px 30px 30px;
}

.s4-block span {
    margin-bottom: 2rem;
}

span.num {
    font-size: 3rem;
    text-align: center;
    font-weight: 600;
    color: #243851;
    padding: 5rem 0 0rem 0;
}

.s4-block::after {
    background-color: #D5EAEE;
    content:"";
    border: 5px solid #E6F3FF;
    border-radius: 2rem 2rem 2rem 2rem;
    opacity: 0.1;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: -1;
}

.s4-block-img {}

.s4-block-text {
    font-size: 1.8rem;
    padding: 0rem 0 3rem 0;
}

.s4-subtitle {
    text-align: center;
    font-weight: 700;
    font-size: 1.4rem;
    color: #243851;
    padding: 0rem 0 2rem 0;
}

.s4-btn {
    padding: 1rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 1.2rem;
    background: transparent;
    border: 3px solid #243851;
    color: #243851;
}

.s4-arrow {
    margin-top: 5rem;
    padding: 0 0 0.6rem 0;
}



.to-top {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 2rem 2rem 2rem 2rem;
    text-decoration: none;
    z-index: 3;
    background-color: #243851;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.to-top.active {
    opacity: 1;
    pointer-events: auto; /* Дозволяємо кліки, коли кнопка видима */
}

.to-top img {
    width: 1.5rem;
    height: 1.5rem;
    rotate: 180deg;
}

.arrow {
    transition: all 0.3s ease;
    opacity: 1;
}

.arrow-hover {
    display: none;
    transition: all 0.3s ease;
    opacity: 0;
}

.to-top:hover .arrow-hover {
    display: block;
    opacity: 1;
}
.to-top:hover .arrow {
    display: none;
    opacity: 0;
}

/* modal window */

/* Основні стилі модального вікна */
.modal {
    display: none; /* Приховано за замовчуванням */
    position: fixed; /* Розташування */
    z-index: 1000; /* Розміщення над іншими елементами */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5); /* Напівпрозорий чорний фон */
}

/* Контент модального вікна */


/* Кнопка закриття */
.close-btn {
    color: #fff;
    float: right;
    font-size: 35px;

    cursor: pointer;
    position: absolute;
    top: 5px;
    right: 20px;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Стилі для форми */

.modal {
    color: #D5EAEE;
    position: fixed;
}

#order-form {
    padding: 0rem 3rem 0rem 0rem;
}

.form-group {
    margin-bottom: 15px;
    position: relative;
    width: 90%;
    text-align: center;
}

.modal-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: end;
    /*margin: 15% auto; !* 15% від верху і центрування *!*/
    border: 1px solid #888;
    max-width: 30%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: absolute;
    left: 35%;
    top: 15%;
    width: 100%;
    height: 65%;
    background-image: url(/images/ava.jpg);
    background-size: cover;
    background-position: center;
}

.modal-content:after {

}

.modal-title {
    padding: 0rem 6rem 0rem 0rem;
    font-size: 1.2rem;
}

.form-group label {
    display: block;
    font-weight: 800;
    font-size: 1rem;
    position: absolute;
    top: 20%;
    left: 10px;
    transform: translateY(-50%);
    pointer-events: none;
    transition: 0.2s;
}

.form-group label:nth-child(1) {
    transform: translateY(0);
}

.form-group label:nth-child(2) {
    transform: translateY(0);
}

.form-group input {
    font-size: 1rem;
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    border-bottom: 2px solid #D5EAEE;
    color: #D5EAEE;
    font-weight: 800;
    outline: none;
    border-top: none;
    border-left: none;
    border-right: none;
    background-color: transparent;
}

.form-group input:focus ~ label,
.form-group input:valid ~ label {
    top: -10px;
    font-size: 0.8rem;
}

button[type="submit"] {
    background-color: transparent;
    width: 90%;
    max-height: 50px;
    color: white;
    padding: 10px 10px;
    margin: 4rem 0 0 0;
    border: 3px solid #D5EAEE;
    border-radius: 10px 10px 10px 10px;
    cursor: pointer;
    font-size: 14px;
    display: block;
    transition: 0.2s ease;
    transform: translateX(0);
}

button[type="submit"]:hover {
    /*border: 3px solid #191D2E;*/
    /*font-weight: 800;*/
    transition: 0.2s ease;
    transform: translateX(3%);
    max-height: 50px;
}

.service-name {
    width: 100%;
    height: 1rem;
}

#user-phone.prefix-locked {
    /* Забороняє виділення тексту для користувача */
    -webkit-user-select: none; /* Для Safari */
    -moz-user-select: none; /* Для Firefox */
    -ms-user-select: none; /* Для Internet Explorer/Edge */
    user-select: none;
}


/* modal window */



/* адаптивна верстка */
/* Планшети (від 576px) */
@media (max-width: 576px) {
    section video {
        object-fit: scale-down;
    }
    .s1-title {
        padding: 1rem 0 0 0;
        font-size: 2.2rem;
        text-align: center;
    }
    .s1-s1 {
        justify-content: center;
        align-items: start;
        padding: 2rem 0 0 0;
    }
    .link-animation {
        bottom: 1rem;
    }
    .s1-arrow {
        margin-bottom: 2rem;
    }
    .s1-arrow img {
        width: 2rem;
        height: 2rem;
    }
    .s1-btn {
        padding: 0.4rem 1rem;
        display: none;
    }
    .s1-block {
        max-width: 25rem;
        margin: 0 1.4rem;
    }
    .s1-text {
        display: none;
    }
    .s1-s1::after {
        right: 1rem;
    }
    .s1-text-mobile {
        display: flex;
        font-size: 1.6rem;
        padding: 5rem 0;
    }
    .bar {
        display: none;
    }
    .s2 {
        flex-direction: column;
        margin: 0 0 0 0;
    }
    .s2-blocks {
        padding: 1rem 0;
    }
    .s2-title {
        font-size: 1.2rem;
        padding: 3rem 1rem;
        text-align: center;
        width: 100%;
    }
    section {
        padding: 0 0;
        margin: 0 auto;
    }
    section:nth-child(1) {
        padding: 0;
        height: 90vh;
    }
    .box {
        margin: 0 auto;
        width: 100%;
        height: 100%;
    }
    .s2-block {
        max-width: 20rem;
    }
    span {
        font-size: 1rem;
        text-align: center;
    }
    .s2-price {
        padding: 0.6rem 1rem 0.6rem 1rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .modal-content {
        max-width: 80%;
        left: 10%;
        align-items: center;
    }
    #order-form {
        padding: 0;
        margin: 0 auto;
    }
    .form-group {
        width: 100%;
    }
    button[type="submit"] {
        width: 100%;
    }
    .add-title {
        font-size: 1.5rem;
        padding: 2rem 0 2rem 0;
    }
    .add-block {
        width: 80%;
        padding: 1rem 1rem;
        font-size: 1rem;
    }
    .s4-title {
        font-size: 1.5rem;
    }
    .s4-blocks {
        padding: 2rem 0;
        justify-content: center;
    }
    .s4-block {
        margin: 1rem 0;
    }
    .s4-subtitle {
        font-size: 1rem;
    }
    .s4-btn {
        padding: 0.2rem 1rem;
    }
    .s1-s1::after {
        display: none;
    }
    .s2-block-title {
        font-size: 1.6rem;
    }
    section:nth-child(2) {
        margin: 0 1rem;
    }
    section:nth-child(3) {
        margin: 0 1rem;
    }
}

/* Десктопи (від 992px) */
@media (min-width: 576px) {
    .s1-block {
        max-width: 40rem;
        margin: 0 1.4rem;
    }
    .s1-s1 {
        justify-content: flex-start;
        align-items: center;
        padding: 1rem 0 0 0;
    }
    .s1-text {
        font-size: 2rem;
        padding: 10rem 0 0 0;
    }
    .bar {
        display: none;
    }
    .link-animation {
        bottom: 1.5rem;
    }
    .s1-btn {
        padding: 0.3rem 1rem;
        display: none;
    }
    .s1-arrow img {
        width: 2rem;
        height: 2rem;
    }
    section {
        padding: 0 0;
        margin: 0 auto;
    }
    .s2 {
        flex-direction: column;
    }
    .s2-title {
        text-align: center;
        font-size: 2rem;
    }
    .add-title {
        font-size: 2rem;
    }
    .s1-s1::after {
        display: none;
    }
    .s4-blocks {
        padding: 2rem 0;
        justify-content: center;
    }
    .s4-block {
        margin: 1rem 0;
    }
    .box {
        width: 100%;
        height: 100%;
    }
}

/* Широкі екрани (від 1200px) */
@media (min-width: 992px) {
    .s2 {
        flex-direction: row;
    }
    .s1-block {
        max-width: 40rem;
        margin: 0 0 0 5rem;
    }
    .s1-title {
        font-size: 2rem;
    }
    .s1-text {
        font-size: 1.2rem;
        padding: 1rem 0 0 0;
    }
    .s2 {
        column-gap: 0;
    }
    .s2-block {
        width: 18rem;
    }
    .s2-price {
        padding: 1rem 2rem;
    }
    .bar {
        display: flex;
    }
    .s2-block-title {
        font-size: 1.6rem;
    }
    .add-title {
        font-size: 2rem;
    }
    .s4-title {
        font-size: 2rem;
    }
}

/* media  1200px +  */
@media (min-width: 1200px) {
    .s2 {
        column-gap: 2rem;
    }
    .s2-block {
        width: 18rem;
    }
    .s2-price {
        padding: 1rem 2rem;
    }
    .s2-block-title {
        font-size: 1.6rem;
    }
}
/* media  1200px +  */
/* адаптивна верстка */