@import url('https://fonts.googleapis.com/css2?family=Dela+Gothic+One&display=swap');

@font-face {
    font-family: 'Ubuntu';
    src: local('Ubuntu'), url('../fonts/Ubuntu-L.ttf');
}

@font-face {
    font-family: 'Cy Grotesk Wide';
    src: local('Cy Grotesk Wide'), url('../fonts/cy-grotesk-wide.ttf');
}

@font-face {
    font-family: 'Ubuntu-B';
    src: local('Ubuntu-B'), url('../fonts/Ubuntu-B.ttf');
}

@font-face {
    font-family: 'Centro Sans';
    src: local('PF Centro Sans Pro X'), local('PF-Centro-Sans-Pro-X'),
        url('../fonts/PFCentroSansPro-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: light;
}

* {
    font-family: 'Alegreya Sans', sans-serif;
    /* font-family: 'Cy Grotesk Wide', sans-serif; */
    font-display: auto;
    margin: 0;
    padding: 0;
}

button {
    outline: none !important;
}

body {
    font-family: 'Alegreya Sans', sans-serif;
    /* font-family: 'Cy Grotesk Wide', sans-serif; */
    width: 100%;
    overflow-x: hidden;
}

html {
    font-family: 'Alegreya Sans', sans-serif;
    /* font-family: 'Cy Grotesk Wide', sans-serif; */
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.right {
    float: right;
}

.left {
    text-align: left !important;
    font-family: 'Dela Gothic One' !important; 
}

.text-center {
    text-align: center !important;
}

.margintop {
    margin-top: 30px;
    font-family: 'Dela Gothic One' !important; 
}

.table.back {
    margin-bottom: -100px;
    margin-top: 50px;
}

.table-size {
    min-width: 70%;
    z-index: 1;
}

.background::before {
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    width: 100%;
    /* will-change: transform; */
    min-height: 100vh;
    content: ' ';
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: -1;
}

.title-background {
    background-image: url('../src/webp/pool-background2.webp');
    background-size: cover;
    animation: fade-in 2s ease;
}

.background-blackout {
    background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65));
}

.title-background-blackout {
    background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.70), rgba(0, 0, 0, 0.70));
    min-height: 100vh;
    display: grid;
    /* grid-template-rows: 130px; */
    gap: 150px;
}

.h1-title {
    text-align: center;
    display: table-cell;
}

.h1-title>h1 {
    font-size: calc((100vw - 480px)/(1280 - 480) * (24 - 16) + 104px);
    color: #fff;
    padding-bottom: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-family: 'Dela Gothic One', sans-serif;
}

.h1-title>p {
    text-align: center;
    color: #fff;
    font-weight: 600;
    font-size: 35px;
    margin-bottom: 100px;
}

.header {
    display: flex;
    height: 130px;
    box-sizing: border-box;
    width: 100%;
    justify-content: space-between;
}

.logo {
    padding-left: 40px;
    transition: cubic-bezier(0.42, 0, 1, 1);
}

.logo img {
    width: 130px;
    height: 130px;
}

.menu-burger {
    display: flex;
    list-style: none;
    text-align: center;
    align-items: center;
    padding-right: 40px;
}

.menu-burger>a {
    cursor: pointer;
    color: #ffffff;
    font-size: calc((100vw - 480px)/(1280 - 480) * (24 - 16) + 16px);
    font-weight: 600;
    font-family: 'Alegreya Sans';
    /* font-family: 'Cy Grotesk Wide'; */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 20px;
    text-decoration: none;
    transition: 0.1s;
}

.about-title.left{
    line-height: 1.2;
}
.table {
    padding: 115px 0;
    max-width: 1200px;
    min-height: 60vh;
    margin-left: auto;
    margin-right: auto;
}

.table-text-background {
    background-color: #f0f0f0;
}

.table-text-background > .table {
    padding-top: -200px;
}

.about {
    width: 100%;
    margin-bottom: -100px;
}

.table > .about-title {
    margin-top: -70px;
    font-family: 'Dela Gothic One' !important; 
}

.about-title-text {
    display: grid;
    text-align: center;
    width: 50%;
    place-content: center;
}

.about-title {
    color: #000;
    font-family: 'Alegreya Sans', Arial, Helvetica, sans-serif;
    /* font-family: 'Cy Grotesk Wide', Arial, Helvetica, sans-serif; */
    font-weight: bold;
    font-size: 40px;
    text-align: center;
    margin-bottom: 20px;
}

.img-about {
    float: right;
}

.about-text {
    color: #000;
    font-size: 24px;
    text-align: left;
    font-family: 'Alegreya Sans';
    /* font-family: 'Cy Grotesk Wide'; */
}

.block-group {
    display: flex;
    justify-content: center;
}

.about-us {
    display: inline-flex;
    justify-content: space-between;
}

.about-img {
    display: grid;
    width: 50%;
    place-content: end;
}

.about-img>img {
    width: 100%;
}

.info-block {
    display: grid;
    width: 300px;
    margin: 30px 30px;
    text-align: center;
    justify-items: center;
    place-content: start;
    gap: 10px;
}

.info-block>.p-header {
    font-weight: 600;
}

.info-block>p {
    font-size: calc((100vw - 480px)/(1280 - 480) * (24 - 16) + 8px);
}

.info-block img {
    height: 100px;
    width: 100px;
}

.service {
    display: grid;
    margin-top: -100px;
}

.inline-content {
    display: inline-flex;
    margin-top: 150px;
}

.inline-content-img {
    width: 50%;
}

.inline-content-text {
    width: 50%;
    gap: 20px;
}

.inline-content-img>img {
    width: 100%;
}

.all-items {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.items-block {
    cursor: pointer;
    width: 30%;
    display: grid;
    justify-items: center;
}

.about > .about-title {
    margin-top: -80px;
    font-family: 'Dela Gothic One' !important; 
}

.table.prefix {
    margin-top: -100px;
    margin-bottom: -100px;
}

.whofor {
    font-weight: 600;
}

.items {
    background: url('/src/webp/ofp.webp') no-repeat;
    background-size: cover;
    height: 300px;
    width: 200px;
}

.distance li{
    margin-bottom: 10px;
    list-style: none;
}

.items>img {
    height: inherit;
}

.item-text {
    text-align: center;
    font-size: calc((100vw - 480px)/(1920 - 1280) * (24 - 18) + 6px);
    display: grid;
}

.item-text>p {
    margin: auto 0;
}

.items:first-child:hover {
    height: 305px;
    width: 205spx;
    background-color: #000;
}

.inline-content:nth-child(2),
.inline-content:nth-child(4),
.inline-content:nth-child(6) {
    display: inline-block;
}

.inline-content:nth-child(2)>.inline-content-text,
.inline-content:nth-child(4)>.inline-content-text,
.inline-content:nth-child(6)>.inline-content-text  {
    padding: 0;
    display: grid;
    place-content: center;
    height: 100%;
}

.inline-content-text {
    display: grid;
    place-content: center;
    padding-left: 40px;
}

.inline-content-text>.p-header {
    color: #000;
    font-family: 'Alegreya Sans';
    /* font-family: 'Cy Grotesk Wide'; */
    font-weight: 600;
    font-size: 30px;
    float: left;
}

.inline-content-text>p {
    font-size: 18px;
    padding-right: 5px;
}

.gifts-title-text {
    display: flex;
    margin: 15px 0;
    margin: 50px 0;
}

.gifts-chek-mark {
    margin-right: 20px;
}

.gifts-chek-mark>img {
    width: 70px;
    height: 70px;
}

.text-cover {
    float: right;
}

.gifts-title {
    font-size: 23px;
    margin-bottom: 15px;
    font-weight: 600;
    font-family: 'Alegreya Sans';
    /* font-family: 'Cy Grotesk Wide'; */
}

.gifts-text {
    font-size: 19px;
    font-family: 'Alegreya Sans';
    /* font-family: 'Cy Grotesk Wide'; */
}

.prefix {
    max-width: 760px;
}

.block-form-background {
    background-image: url('../src/webp/background-form.webp');
    background-repeat: no-repeat;
    background-size: cover;
}

.form-text {
    text-align: center;
}

.form-inputs {
    display: grid;
    line-height: 40px;
    z-index: 1;
}

.form-text>.p-header {
    color: #fff;
    font-size: 20px;
}

.form-politic {
    color: #fff;
}

.input {
    position: relative;
    border: 1px solid #00000094;
    margin: 10px 0;
    padding: 0px 5px;
    border-radius: 5px;
    line-height: 55px;
    font-size: 20px;
    outline: none;
    box-shadow: inset 0px 0px 5px #000;
}

.form-inputs>button {
    margin: 10px 0;
    padding: 0px 5px;
    border-radius: 5px;
    border: none;
    line-height: 55px;
    font-size: calc((100vw - 480px)/(1280 - 480) * (24 - 16) + 16px);
    outline: none;
    font-weight: 600;
    color: #fff;
    background-color: #005fcc;
    z-index: 1;
}

.form-inputs>button:active,
.form-inputs>button:focus {
    font-size: calc((100vw - 480px)/(1280 - 480) * (24 - 16) + 15px);
    /* box-shadow: inset 0px 0px 2px 0px #000; */
}

.map {
    margin-top: 100px;
}

.map-cover {
    margin-top: 100px;
    height: 100%;
}

.margin-map {
    max-width: 900px;
    overflow: hidden;
}

.form-text>p {
    line-height: 100%;
    font-family: 'Alegreya Sans';
    /* font-family: 'Cy Grotesk Wide'; */
    font-size: 45px;
    color: #fff;
    font-weight: 600;
    text-align: center;
}

.map-wrapper {
    display: flex;
    justify-content: center;
    padding: 40px 15px;
    box-sizing: border-box;
}
  
.map-responsive {
    width: 100%;
    max-width: 1000px;
    height: auto;
    aspect-ratio: 1000 / 500;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
  
.map-responsive iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
  
.feedback {
    background-color: #01142f;
    display: flex;
    justify-content: space-around;
    height: 130px;
}

.block-feedback {
    display: flex;
    width: 100%;
    justify-content: space-between;
    height: 60px;
    margin-top: 40px;
}

.feedback-text {
    display: flex;
    place-items: center;
}

.feedback-text>img {
    height: 70px;
    width: 70px;
}

.feedback-text>p {
    line-height: 95%;
    letter-spacing: -1px;
    font-size: 22px;
    font-weight: 600;
    text-align: left;
    color: #fff;
    font-family: 'Alegreya Sans';
    /* font-family: 'Cy Grotesk Wide'; */
    margin: 0;
}

.feedback-hrefs {
    display: flex;
}

.footer-text {
    display: grid;
}

.scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.element {
    flex: 0 0 auto;
    width: 80vw;
    margin-right: 20px;
    scroll-snap-align: start;
}

.feedback-hrefs>a {
    text-decoration: none;
    color: #fff;
    font-family: 'Alegreya Sans';    
    /* font-family: 'Cy Grotesk Wide'; */
    font-weight: 100;
    margin: auto 5px;
    font-size: 14px;
}

.other {
    color: #fff;
    margin: 5px;
}

.icons-svg {
    display: flex;
    place-items: center;
}

.icons-svg>a>img {
    height: 80px;
    width: 80px;
    margin: 0 5px;
}

.h1-title>button {
    background-color: #0076a0;
    border-radius: 25px;
    color: #fff;
    box-shadow: none;
    outline: none !important;
    margin-bottom: 100px;
}

.button:active,
.button:focus {
    outline: none !important;
    font-size: calc((100vw - 480px)/(1280 - 480) * (24 - 16) + 15px);
}

.button>a,
.button>a:hover {
    text-decoration: none;
    font-size: calc((100vw - 480px)/(1280 - 480) * (24 - 16) + 16px);
    padding: 15px;
    display: block;
    font-family: 'Alegreya Sans';
    /* font-family: 'Cy Grotesk Wide'; */
    color: #f0f0f0;
}

.button>a:active {
    font-size: calc((100vw - 480px)/(1280 - 480) * (24 - 16) + 15px);
}

.burger-icon {
    display: none;
}

.header-close {
    height: 60px;
}

.hidden {
    visibility: hidden;
}

.min-header {
    overflow: hidden;
}

.pen {
    max-width: fit-content;
    width: 100%;
    margin: 50px auto 0;
    opacity: 0;
    position: relative;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -ms-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
    -webkit-animation: 1s appear 1 forwards;
    -moz-animation: 1s appear 1 forwards;
    -o-animation: 1s appear 1 forwards;
    animation: 1s appear 1 forwards;
}

.credit {
    display: block;
    max-width: 400px;
    text-align: center;
    margin: 150px auto 0;
    padding: 0;
    font-size: 0.8em;
    color: #f0f0f0;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.9);
}

.credit p a,
.credit a {
    color: white;
    text-decoration: none;
    font-weight: 700;
}

.credit p a:hover,
.credit a:hover,
.credit p a:active,
.credit a:active {
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.4);
    color: white;
}

.credit p a.button,
.credit a.button {
    padding: 6px 12px;
    margin-top: 10px;
    background: #000000;
    border-radius: 3px;
}

.credit p a.button:hover,
.credit a.button:hover {
    background: #2b2b2b;
}

.credit p:last-of-type {
    margin-bottom: 30px;
}

.stage {
    display: flex;
    width: 100%;
    height: 400px;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -ms-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

.element {
    cursor: pointer;
    background: green;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;     
    text-align: center;
    position: relative;
    width: 202px;
    /* -webkit-transform-origin: 50% 50%; */
    height: inherit;
    margin: 0 7px 0 0;
    display: grid;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -ms-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.element::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    background: #00000B;
    opacity: 0.7;
    z-index: -1;
}

.element.active {
    font-size: 14px;
    width: 260px;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -ms-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

.element.inactive {
    width: 180px;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -ms-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
    opacity: 0.4;
}

.element.personal {
    background: url('/src/webp/individceny.WEBP') 45% 0 no-repeat;
    background-size: cover;
    flex: 1;
}

.element.groupswim {
    background: url('/src/webp/grupdeticeny.WEBP') 45% 0 no-repeat;
    background-size: cover;
    flex: 1;
}

.element.groupold {
    background: url('/src/webp/grupvzrosceny.WEBP') 45% 0 no-repeat;
    background-size: cover;
    flex: 1;
}

.element.ofp {
    background: url('/src/webp/ofpceny.WEBP') 45% 0 no-repeat;
    background-size: cover;
    flex: 1;
}

.element:last-of-type {
    margin: 0;
}

.front-text {
    font-family: 'Alegreya Sans';
    /* font-family: 'Cy Grotesk Wide'; */
    color: #fff;
    height: 130px;
    min-width: 285px;
    font-size: calc((100vw - 480px)/(1280 - 480) * (24 - 16) + 16px);
    font-weight: 600;
    text-align: center;
    margin: auto auto;
    display: block;
    animation: fade-in 0.7s ease;
}

.back-text a {
    font-size: 20px;
    font-family: 'Alegreya Sans';
    /* font-family: 'Cy Grotesk Wide'; */
}

.back-text li {
    font-size: 20px;
    font-family: 'Alegreya Sans';
    /* font-family: 'Cy Grotesk Wide'; */
}

.back-text {
    font-size: 14px;
    font-family: 'Alegreya Sans';
    /* font-family: 'Cy Grotesk Wide'; */
    display: none;
    color: #fffcfc;
    list-style: none;
    text-align: center;
    margin: auto 0;
    min-width: 335px;
    font-size: calc((100vw - 480px)/(1280 - 480) * (24 - 16) + 23px);
    animation: fade-in 0.7s ease;
}

@media all and (min-width: 1200px) {
    .element {
        width: 286px;
    }

    .element.inactive {
        width: 246px;
    }

    .element.active {
        width: 366px;
    }
}

@media all and (max-width:1200px) {
    .pen {
        max-width: none;
    }

    .element {
        width: 25%;
    }

    .element.active {
        width: 35%;
    }

    .element.inactive {
        width: 21.6%;
    }
}

@media all and (max-width: 660px) {
    .pen {
        max-width: 335px;
    }

    .element {
        width: 100%;
        place-content: center;
    }

    .element.inactive {
        width: 100%;
    }

    .map-responsive {
        height: 600px;
    }

    .element.active {
        width: 100%;
    }

    .stage {
        overflow-x: auto;
        overflow-y: hidden;
        max-width: 335px;
        width: 100%;
        -webkit-overflow-scrolling: touch;
    }

    .scroll-container {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    .front-text {
        display: block;
        min-width: 335px;

    }

    .back-text {
        display: block;
    }
}

@-webkit-keyframes appear {
    15% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-moz-keyframes appear {
    15% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-o-keyframes appear {
    15% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes appear {
    15% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

#floating-btn {
    position: fixed;
    bottom: 2em;
    left: 2em;
    height: 90px;
    width: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 999;
}

.pop-up-line {
    padding: 225px 0;
    min-height: 60vh;
    margin-left: auto;
    margin-right: auto;
}

.pop-up {
    position: relative;
    color: #fafafa;
    text-align: center;
    border-radius: 5px;
    display: grid;
    background: #7e24ff;
    width: fit-content;
    margin: 0 auto;
    vertical-align: middle;
    min-height: 300px;
}

.pop-up>p {
    margin: 0;
    padding: 0 20px;
    font-size: calc((100vw - 480px)/(1280 - 480) * (24 - 16) + 24px);
    display: grid;
    place-content: center;
    font-weight: 600;
    font-family: 'Alegreya Sans', 'Arial';
    /* font-family: 'Cy Grotesk Wide', 'Arial'; */
}

.form-pop-up>a {
    width: 90%;
    font-size: calc((100vw - 480px)/(1280 - 480) * (24 - 16) + 0px);
}

.pop-up-background {
    z-index: 101;
    background: #000000cf;
    position: fixed;
    height: 100%;
    width: -webkit-fill-available;
    top: 0px;
    left: 0;
}

.form-pop-up {
    display: grid;
    justify-items: center;
}

.close {
    content: '';
    position: absolute;
    display: block;
    height: 30px;
    width: 30px;
    top: 10px;
    right: 10px;
    background: url("/src/svg/burgers.svg") no-repeat;
    background-size: cover;
    cursor: pointer;
    z-index: 999;
}

.form-pop-up>input,
.form-pop-up>button {
    box-shadow: none;
    font-size: calc((100vw - 720px)/(1920 - 720) * (24 - 16) + 16px);
    border-radius: 5px;
    line-height: 100%;
    width: 80%;
}

.form-pop-up>button {
    background: #ffb60e;
}

.form-pop-up>button:active,
.form-pop-up>button:focus {
    outline: none !important;
    box-shadow: none;
    border: none;
}

#floating-btn>button {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 15px;
    height: 70px;
    width: 70px;
    background-color: #fafafa;
    position: absolute;
    border-radius: 50%;
    box-sizing: border-box;
    margin: 0 auto;
}

#floating-btn>button>img {
    cursor: pointer;
    margin: 2px -3px;
}

#floating-btn::before,
#floating-btn::after {
    content: " ";
    display: block;
    animation: border-animate 1.5s linear infinite;
    border: 1px solid #fff;
    border-radius: 50%;
    height: 70px;
    width: 70px;
    position: absolute;
    opacity: 1;
}

#floating-btn::after {
    animation-delay: .5s;
}

.margin-bottom {
    margin-bottom: 50px;
}

button {
    border: none;
}

.error-input {
    color: red;
    border: 1px solid #ff0000;
    box-shadow: 0px 0px 5px 0px #fb0404;
}

@media screen and (max-width: 1290px) {

    .h1-title>h1 {
        margin-top: 100px;
        font-size: calc((100vw - 480px)/(1280 - 480) * (24 - 16) + 64px);
    }

    .h1-title>p {
        margin-top: 100px;
        font-size: calc((100vw - 480px)/(1280 - 480) * (24 - 16) + 24px);
    }

    .pop-up-background {
        height: fit-content;
    }

    .button>a {
        font-size: calc((100vw - 480px)/(1280 - 480) * (24 - 16) + 24px);
        padding: 20px;
    }

    .margin-map {
        max-width: 90%;
    }

    .title-background-blackout {
        gap: 50px;
    }

    .about-title {
        margin-bottom: 20px;
        font-size: calc((100vw - 480px)/(1280 - 480) * (24 - 16) + 56px);
    }

    .about-text {
        font-size: calc((100vw - 480px)/(1280 - 480) * (24 - 16) + 32px);
    }

    .block-group {
        display: grid;
        justify-items: center;
    }

    .info-block {
        width: 55%;
    }

    .info-block>.p-header {
        font-size: calc((100vw - 480px)/(1280 - 480) * (24 - 16) + 32px);
    }

    .info-block>p {
        font-size: calc((100vw - 480px)/(1280 - 480) * (24 - 16) + 24px);
    }

    .table {
        max-width: 85vw;
    }

    .inline-content-text {
        margin: 0 50px;
    }

    .inline-content-text>.p-header {
        font-size: calc((100vw - 480px)/(1280 - 480) * (24 - 16) + 32px);
    }

    .inline-content-text>p {
        font-size: calc((100vw - 480px)/(1280 - 480) * (24 - 16) + 24px);
    }

    .prefix {
        max-width: 580px;
    }

    .service {
        justify-items: center;
    }

    .inline-content {
        display: grid;
        justify-content: center;
        justify-items: center;
        text-align: center;
    }

    .inline-content:nth-child(2),
    .inline-content:nth-child(4),
    .inline-content:nth-child(6) {
        display: grid;
    }

    .form-text>p {
        font-size: calc((100vw - 480px)/(1280 - 480) * (24 - 16) + 16px);
    }

    .form-text>.p-header {
        font-size: calc((100vw - 480px)/(1280 - 480) * (24 - 16) + 24px);
    }

    .about-title-text {
        width: 100%;
    }

    .map-cover {
        display: flex;
        justify-content: center;
    }

    .about-img {
        width: 100%;
    }

    .about-img>img {
        width: inherit;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    .about-us {
        display: grid;
        justify-items: center;
        gap: 50px;
    }

    #floating-btn {
        left: 1em;
        bottom: 1em;
    }

    .testimonial>p {
        font-size: calc((100vw - 480px)/(1280 - 480) * (24 - 16) + 13px) !important;
    }

    .front-text {
        font-size: calc((100vw - 480px)/(1280 - 480) * (24 - 16) + 24px);
        min-width: min-content;
        word-break: break-all;
        word-wrap: break-word;
    }

    .back-text {
        text-align: left;
        padding-left: 15px;
    }

    .service {
        margin-top: 0px;
    }
}

.koguvcavis-varazdel {
    text-align: center;
}

.sestim-donials {
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

.sectionesag {
    width: 195px;
    height: 3px;
    background: #6adaf6;
    margin: 23px auto;
}

.sagestim-lonials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.vemotau-vokusipol {
    flex: 33.33%;
    max-width: 33.33%;
    box-sizing: border-box;
    padding: 15px;
}

.testimonial {
    background: #ffffff;
    padding: 28px;
    border-radius: 5px;
    box-shadow: 1px 1px 18px -15px #000;
}

.testimonial img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.gecedanam {
    font-size: 20px;
    text-transform: uppercase;
    margin: 20px 0;
}

.apogered-gselected {
    color: #6adaf6;
    margin-bottom: 20px;
}

.testimonial>p {
    font-size: calc((100vw - 480px)/(1280 - 480) * (24 - 16) + 4px);
}

@media screen and (max-width:960px) {

    .vemotau-vokusipol {
        flex: 100%;
        max-width: 80%;
    }
}

@media screen and (max-width:600px) {

    .vemotau-vokusipol {
        flex: 100%;
        max-width: 100%;
    }

    .stage.scroll {
        position: relative;
    }
}

@media screen and (max-width: 760px) {

    .header {
        height: fit-content;
        display: grid;
        justify-content: center;
        background-color: #0000009e;
    }

    .element.personal .front-text {
        margin-bottom: -50px; 
    }

    .h1-title h1 {
        margin-top: 100px;
        font-size: calc((100vw - 480px)/(1280 - 480) * (24 - 16) + 48px);
    }

    .h1-title>p {
        font-size: calc((100vw - 480px)/(1280 - 480) * (24 - 16) + 16px);
    }

    .menu-burger{
        display: flex;
        gap: 20px;
        margin-left: 50px;
    }

    .menu-burger>a {
        font-size: 18px;
        padding: 0px;
        white-space: nowrap;
        text-align: center;
    }

    .distance li{
        margin-bottom: 10px;
    }

    .logo {
        display: flex;
        justify-content: center;
        padding: 0 0 0 10px;
    }

    .burger-icon_x {
        position: absolute;
        top: 10px;
        right: 15px;
        content: "";
        background-image: url('/src/svg/burgers.svg');
        background-size: cover;
        background-repeat: no-repeat;
        display: block;
        cursor: pointer;
        height: 35px;
        width: 35px;
    }

    .burger-icon {
        background-image: url('/src/svg/burger.svg');
    }

    .gifts-title {
        font-size: calc((100vw - 480px)/(1280 - 480) * (24 - 16) + 24px);
    }

    .gifts-text {
        font-size: calc((100vw - 480px)/(1280 - 480) * (24 - 16) + 16px);
    }

    .gifts-chek-mark>img {
        height: 35px;
        width: 35px;
    }

    .inline-content-img>img {
        width: 100%;
    }

    .inline-content-text>.p-header {
        font-size: calc((100vw - 480px)/(1280 - 480) * (24 - 16) + 16px);
    }

    .inline-content {
        margin: 30px 0 0px 0;
    }

    .inline-content-text>p {
        font-size: calc((100vw - 480px)/(1280 - 480) * (24 - 16) + 12px);
    }

    .inline-content-img {
        width: 100%;
    }

    .inline-content-text {
        padding: 0;
        width: 100%;
    }

    .form-pop-up>input,
    .form-pop-up>button {
        font-size: calc((100vw - 375px)/(1920 - 375) * (24 - 8) + 16px);
    }

    .form-pop-up>a {
        font-size: calc((100vw - 375px)/(1920 - 375) * (24 - 8) + 8px);
    }

    .feedback {
        height: fit-content;
    }

    .block-feedback {
        display: grid;
        justify-content: center;
        height: fit-content;
        gap: 30px;
        margin-bottom: 50px;
    }

    .feedback-text,
    .icons-svg {
        justify-content: center;
    }

    .footer-text {
        justify-items: center;
    }

    .testimonial>p {
        font-size: calc((100vw - 480px)/(1280 - 480) * (24 - 16) + 13px) !important;
    }

    .front-text {
        font-size: 26px;
        word-break: keep-all;
        hyphens: none;
    }

    .back-text {
        text-align: center;
    }

    .service {
        margin-top: 0px;
    }
}

@media screen and (max-width:550px) {
    .map-cover {
        overflow: hidden;
    }

    .button>a,
    .button>a:focus,
    .button>a:hover {
        font-size: calc((100vw - 480px)/(1280 - 480) * (24 - 16) + 19px);
        padding: 10px;
        font-weight: 600;
    }

    .button>a:active {
        font-size: calc((100vw - 480px)/(1280 - 480) * (24 - 16) + 15px);
    }

    .h1-title>h1 {
        margin-top: 100px;
        font-size: 40px;
    }

    .h1-title>p {
        margin: 0 10px;
        font-size: 20px;
    }

    .h1-title>button {
        margin: 100px 0;
    }

    .table {
        padding: 100px 0;
        max-width: 90%;
        min-height: 60vh;
        margin-left: auto;
        margin-right: auto;
    }

    .about-text {
        text-align: center;
    }

    .about-title {
        font-size: calc((100vw - 480px)/(1280 - 480) * (24 - 16) + 32px);
        margin-bottom: 10px;
        text-align: center !important;
    }

    .about-text {
        font-size: calc((100vw - 480px)/(1280 - 480) * (24 - 16) + 16px);
    }

    .info-block {
        width: 90%;
    }

    .info-block>p {
        font-size: calc((100vw - 480px)/(1280 - 480) * (24 - 16) + 16px);
    }

    .form-text>p {
        font-size: calc((100vw - 480px)/(1280 - 480) * (24 - 16) + 32px);
        line-height: 35px;
    }

    .form-inputs>button {
        font-size: calc((100vw - 480px)/(1280 - 480) * (24 - 16) + 16px);
    }

    .form-politic>p {
        font-size: calc((100vw - 480px)/(1280 - 480) * (24 - 16) + 16px);
        text-align: center;
    }

    .feedback-text>p {
        font-size: calc((100vw - 480px)/(1280 - 480) * (24 - 16) + 32px);
    }

    .inline-content-text>.p-header {
        font-size: calc((100vw - 480px)/(1280 - 480) * (24 - 16) + 24px);
    }

    .inline-content-text>p {
        font-size: calc((100vw - 480px)/(1280 - 480) * (24 - 16) + 16px);
    }

    .inline-content {
        margin: 30px 0 0px 0;
    }

    .form-pop-up>input,
    .form-pop-up>button {
        font-size: calc((100vw - 375px)/(1920 - 375) * (24 - 8) + 16px);
    }

    .form-pop-up>a {
        font-size: calc((100vw - 375px)/(1920 - 375) * (24 - 8) + 4px);
    }

    .carousel-text>p {
        font-size: calc((100vw - 375px)/(1280 - 375) * (24 - 8) + 12px);
        margin-top: 5px;
        background: #336699;
        color: #fff;
        border-radius: 5px;
    }

    #carousel {
        height: 400px !important;
    }

    #spin-container {
        width: 120px !important;
        height: 150px !important;
    }

    .feedback-hrefs {
        display: grid;
        justify-items: center;
        gap: 5px;
    }

    .service {
        margin-top: 0px;
    }
}

@keyframes fade-in {

    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes border-animate {
    0% {
        height: 60px;
        width: 60px;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        height: 100px;
        width: 100px;
        opacity: 0;
    }
}

.messagio {
    position: fixed;
    top: 60px;
    right: 30px;
    border-radius: 12px;
    background: #fff;
    padding: 20px 35px 20px 25px;
    box-shadow: 0 6px 20px -5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transform: translateX(calc(100% + 30px));
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.35);
  }

  .messagio.active {
    transform: translateX(0%);
  }

  .messagio .messagio-content {
    display: flex;
    align-items: center;
  }

  .messagio-content .check {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    min-width: 35px;
    background-color: #4070f4;
    color: #fff;
    font-size: 20px;
    border-radius: 50%;
  }

  .messagio-content .message {
    display: flex;
    flex-direction: column;
    margin: 0 20px;
  }

  .message .text {
    font-size: 16px;
    font-weight: 400;
    color: #666666;
  }

  .message .text.text-1 {
    font-weight: 600;
    color: #333;
  }

  .messagio .close {
    position: absolute;
    top: 10px;
    right: 15px;
    padding: 5px;
    cursor: pointer;
    opacity: 0.7;
  }

  .messagio .close:hover {
    opacity: 1;
  }

  .messagio .progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;

  }

  .messagio .progress:before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background-color: #4070f4;
  }

  .progress.active:before {
    animation: progress 5s linear forwards;
  }

  @keyframes progress {
    100% {
      right: 100%;
    }
  }

  button {
    padding: 12px 20px;
    font-size: 20px;
    outline: none;
    border: none;
    background-color: #4070f4;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
  }

  button:hover {
    background-color: #0e4bf1;
  }

  .messagio.active ~ button {
    pointer-events: none;
  }

#carousel {
    touch-action: none;
    display: flex;
    height: 500px;
    perspective: 1000px;
    transform-style: preserve-3d;
}

#carousel>h2 {
    text-align: center;
    font-weight: 400;
    color: #0076a0;
}

#drag-container,
#spin-container {
    position: relative;
    display: flex;
    margin: auto;
    margin-top: 40px;
    transform-style: preserve-3d;
    transform: rotateX(-3deg);
    width: 190px;
    height: 237px;
}

#spin-container>a>p {
    transform: none;
    font-size: 17px;
    left: 0px;
    top: 15px;
    position: relative;
}

#drag-container a {
    transform-style: preserve-3d;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 10px 16px rgba(0, 0, 0, 0.1);
    background: #2980B9;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(45deg, #FFFFFF, #6DD5FA, #2980B9);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(45deg, #FFFFFF, #6DD5FA, #2980B9);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    border-radius: 5px;
}

#drag-container img {
    width: 100%;
    height: 100%;
    transition: filter 0.3s;
    backface-visibility: hidden;
    border-radius: 5px;
}

#drag-container p {
    line-height: 1;
    font-size: 50px;
    font-weight: bold;
    text-align: center;
    font-family: Serif;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%) rotateX(90deg);
    color: #337AB7;
    font-family: Verdana, sans-serif;
}

#ground {
    width: 900px;
    height: 900px;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%) rotateX(90deg);
}

@keyframes spin {

    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(360deg);
    }
}

@keyframes spinRevert {

    from {
        transform: rotateY(360deg);
    }

    to {
        transform: rotateY(0deg);
    }
}