/* variables */
:root {
    --primary: #06117B;
    --secondary: #000;
    --link: #006CD0;
    --link-hover: #bb9255;
    --background: #00adff;
    --background-primary: #fff;
    --button: #ff9900;
    --map-tiles-filter: brightness(0.6) invert(1) contrast(3) hue-rotate(200deg) saturate(0.3) brightness(0.7);
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--secondary);
    background-color: var(--background);
}

a {
    color: var(--link);
}

a:hover {
    color: var(--link-hover);
}

a.hide-link{
    text-decoration: none;
}

.img-thumbnail{
    float: right;
    max-width: 500px;
}

article{
    background-color: var(--background-primary);
    display: block;
}

footer {
    background-color: var(--background-primary);
    padding: 20px 0;
}

b{
    background: linear-gradient(
    to right, 
    hsl(98 100% 62%), 
    hsl(204 100% 59%)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h1 {
    font-size: 32px;
    line-height: 130%;
}

h2 {
    font-size: 25px;
    line-height: 130%;
}

h3 {
    font-size: 23px;
    line-height: 130%;
}

h4 {
    font-size: 21px;
    line-height: 130%;
}

h5 {
    font-size: 17px;
    line-height: 130%;
}

h6 {
    font-size: 15px;
    line-height: 130%;
}

.align-items-center {
    align-items: center;
}

.align-text-end{
    text-align: end;
}

.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    width: 90%;
    z-index: 100;
}

.h-auto {
    position: relative;
    min-height: 100vh;
    background-color: var(--background-primary);
}

.autosize{
    position: relative;
    background-color: #f8faff;
}

.img-fluid{
    width: 100%;
}

.header {}

.header>.title {}

.header>.description {
    font-size: 18px;
}

.header.text {
    font-size: 60px;
    line-height: 130%;
    font-weight: bold;
}

.hero {
    position: fixed;
    z-index: 100;
    width: 50%;
    top:0;
}

.hero.content {
    margin: 200px 0 0 0;
}

.hero>.title {
    display: flex;
    font-family: 'Montserrat Alternates', sans-serif;
}

.hero>.description {
    display: flex;
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 15px;
}

.hero-cover {
    /*background-image: url(https://www.krynytsia.com.ua/assets/images/wells.svg);*/
    /*background-repeat: no-repeat;*/
    /*background-size: 100%;*/
    background-color: #00adff;
    color: #fff;
}

.mb-10{
    margin: 0 0 10px 0;
}

.language {
    display: flex;
    justify-content: right;
    margin: 0 20px 0 0;
}

.language.ru {
    color: #cf0000;
    font-weight: 900;
}

.language.ua {
    color: #dede19;
    font-weight: 900;
    margin: 0 20px 0 0;
}

.lang {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 40px 0 10px 26px;
}

.ru {
    color: #cf0000;
    font-weight: 900;
}

.ua {
    color: #dede19;
    font-weight: 900;
}

.section-background {
    background-attachment: fixed;
    /*background-position: center;*/
    background-repeat: no-repeat;
    /*background-size: contain;*/
    background-size: 100% 90vh;
    background-position: bottom;
    height: 100vh;
    width: 100%;
    color: #FFFFFF;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
    
.parallax-bottom {
    background-image: url(https://www.krynytsia.com.ua/assets/images/m-wells-bottom.svg); 
}

.parallax-top {
    background-image: url(https://www.krynytsia.com.ua/assets/images/m-wells-top.svg); 
}

.content {
    font-size: 15px;
}

.overflow {
    overflow: hidden;
}

.date {
    display: flex;
    padding: 0 0 25px 0;
    color: #f90;
}

.h-hidden{
    display: none;
}

.overlay {
    position: absolute;
    display: none;
    cursor: pointer;
    z-index: 99997;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #000;
    opacity: 0.6;
}

.overlay-bg {
    display: none;
}

.wrapper {
    height: 100vh;
}

.info-container {
    background-color: var(--button);
    display: block;
    z-index: 1001;
    position: fixed;
    right: 25px;
    bottom: 25px;
    font-size: 42px;
    width: 55px;
    height: 55px;
    border-radius: 35px;
    text-align: center;
}

.boer-container {
    display: block;
    z-index: 1001;
    position: fixed;
    right: 100px;
    bottom: 0px;
}

.boer-container img {
    width: 28vw
}

.show {
    display: block;
}

.logo {
    color: var(--background-primary);
}

.logo-text {
    font-size: 36px;
    font-family: 'Marck Script', cursive;
}

.button {
    display: inline-block;
    cursor: pointer;
    font-style: normal;
    font-weight: bold;
    padding: 10px 55px;
    border: 0px;
    text-decoration: none;
    outline: none;
    margin: 0 auto;
    box-shadow: 3px 4px 4px rgb(0 0 0 / 25%);
    font-size: 15px;
}

.button.circle {
    padding: 0px;
    border-radius: 25px;
    width: 42px;
    height: 42px;
}

.button.primary {
    background-color: var(--button);
    color: #fff;
}

.button.secondary {
    background-color: #ffffff;
    border: 1px solid;
}

.button.primary:hover {
    background-color: #a78656;
    color: #fff;
}

.button.secondary:hover {
    background-color: #eee8e8;
}

.phone-link{
    display: none;
}

.phone{
    color: #fff;
}

.phone:hover{
    color: #fff;
}

.link-button {
    background-color: #3EE0E0;
    border-radius: 0;
    display: inline-block;
    cursor: pointer;
    color: #fff;
    font-style: normal;
    font-weight: bold;
    font-size: 24px;
    padding: 10px 20px;
    border: 0px;
    text-decoration: none;
    outline: none;
    margin: 0 auto;
}

.shadow {
    box-shadow: 3px 4px 4px rgb(0 0 0 / 25%);
}

#menu__toggle:checked~.overlay {
    display: block;
}

.menu__btn {
    display: flex;
    align-items: center;
    position: fixed;
    top: 20px;
    right: 20px;
    width: 26px;
    height: 26px;
    cursor: pointer;
    z-index: 99998;
}

.menu__btn>span,
.menu__btn>span::before,
.menu__btn>span::after {
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--button);
    transition-duration: .25s;
}

.menu__btn>span::before {
    content: '';
    top: -8px;
}

.menu__btn>span::after {
    content: '';
    top: 8px;
}

.menu__close {
    display: flex;
    align-items: center;
    position: fixed;
    top: 20px;
    right: 20px;
    width: 26px;
    height: 26px;
    cursor: pointer;
    z-index: 99999;
}

.menu__close>span,
.menu__close>span::before,
.menu__close>span::after {
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #bb9255;
    /* transition-duration: .25s; */
}

.menu__close>span {
    content: '';
    transform: rotate(45deg);
}

.menu__close>span::before {
    content: '';
    top: 0;
    transform: rotate(0);
}

.menu__close>span::after {
    content: '';
    top: 0;
    transform: rotate(90deg);
}

[data-pushbar-direction=left][data-pushbar-id], [data-pushbar-direction=right][data-pushbar-id] {
    width: 330px !important;
}

.hamburger-menu {
    position: fixed;
    visibility: hidden;
    background-color: #171a1d;
    max-width: 300px;
    width: 100%;
    right: 0;
    top: 0;
    bottom: 0;
    box-shadow: 1px 0px 6px rgba(0, 0, 0, .2);
    transition-duration: .25s;
    -webkit-transition: transform ease-in-out 0.3s;
    -moz-transition: transform ease-in-out 0.3s;
    -o-transition: transform ease-in-out 0.3s;
    transition: transform ease-in-out 0.3s;
    z-index: 99998;
}

.hamburger-menu__header {
    position: relative;
    height: 80px;
}

.hamburger-menu__content {
    position: relative;
    height: 100%;
}

.hamburger-menu__footer {
    position: fixed;
    left: 20px;
    bottom: 20px;
}

.menu__box {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sub-menu-box{
    list-style: none;
}

.menu__item {
    display: block;
    padding: 8px 24px;
    color: var(--secondary);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition-duration: .25s;
}

.menu__item:hover {
    /* background-color: #006CD0; */
}

.phone-link {
    display: none;
    text-decoration: none;
    margin: 0 20px;
}

.phone-text {
    font-size: 20px;
    text-decoration: none;
    line-height: 44px;
    font-weight: 600;
    color: #ffffff;
}

.phone-text-wave {
    font-size: 20px;
    text-decoration: none;
    line-height: 44px;
    font-weight: 600;
    color: #5ae6ff;
}

.phone-animation {
    position: absolute;
}

#canvas {
    width: 100vh;
    height: 100vh;
}

/* map */

#mapid {
    /* width: 45vw; */
    height: 70vh;
}

/* Only the necessary CSS shown */

.map-tiles {
    filter: var(--map-tiles-filter, none);
}

/* endmap */
/* ANIMATION */

.wave-affect {
    animation: wave 3s ease-in-out infinite;
}

#water{
    fill: url(#paint5_linear_615_975);
}

@keyframes wave {

    0%,
    100% {
        clip-path: polygon(0 42%, 13% 48%, 26% 55%, 41% 64%, 56% 65%, 69% 58%, 84% 45%, 100% 38%, 100% 100%, 0% 100%);
    }

    50% {
        clip-path: polygon(0 63%, 14% 57%, 25% 50%, 40% 42%, 56% 40%, 71% 44%, 84% 50%, 100% 60%, 100% 100%, 0% 100%);
    }
}

.outside-note
{
    line-height: 25px;
    overflow: hidden;
    padding: 12px;
    margin: 10px;
    border: 0.5px solid var(--link-hover);
    border-radius: 20px;
}

/* ENDANIMATION */

/*-------------- CARD ----------------- */
.card-holder {}

.card-holder a {
    text-decoration: none;
}

.card {
    padding: 35px;
}

.card.service{
    padding: 35px;
    border: 1px solid #aceef6;
    border-radius: 25px;
}

.card.news{
    background-color: #9cecf4;
    border-radius: 25px;
    max-width: 300px;
    min-height: 150px;
}

.card.disable{
    pointer-events:none;
}

.card:hover {
    box-shadow: 0px 0px 30px 5px rgba(0, 0, 0, 0.1);
    border-radius: 25px;
    transition: 0.15s box-shadow ease-out;
}

.card-title {
    color: var(--secondary);
    font-size: 15px;
    text-transform: uppercase;
    text-align: center;
}

.card-title.news {
    color: var(--background-primary);
    text-align: left;
}

.card-text.news{
     color: var(--background-primary);
}

.card__content{
    display: flex;
    text-align: center;
    max-height: 150px;
    justify-content: center;
}

.card__image{
    width: 100%;
}

@media (min-width: 991.98px) {
    .card-body {
        min-height: 100px;
    }

    .card-content {
        min-height: 200px;
    }
}

@media (min-width: 1200px) {
    .card-body {
        min-height: 70px;
    }

    .card-content {
        min-height: 252px;
    }
}

@media (min-width: 1400px) {
    .card-body {
        min-height: 100px;
    }

    .card-content {
        min-height: 315px;
    }

    /* .card-title {
        font-size: 23px;
    } */
}


/* --------------- MEDIA ---------------*/
/* // Extra small devices (portrait phones, less than 576px) */

@media (max-width: 575.98px) {
    .hero {
        width: 60%;
    }
   .hero.content {
        margin: 100px 0 0 0;
    }
    
    .section-background {
        /*background-size: 100% 50vh;*/
        background-position: bottom;
    }
    
    .parallax-top {
        background-image: url(https://www.krynytsia.com.ua/assets/images/m-wells.svg); 
    }
    
    .language {
        display: none;
    }
}

/* // Small devices (landscape phones, less than 768px) */

@media (min-width: 767.98px) {
    [data-pushbar-direction=left][data-pushbar-id],
    [data-pushbar-direction=right][data-pushbar-id] {
        width: 300px !important;
        z-index: 2000;
    }
}

/* // Medium devices (tablets, less than 992px) */

@media (min-width: 991.98px) {}

/* // Large devices (desktops, less than 1200px) */

@media (min-width: 1199.98px) and (max-width: 1600px) {
    h1 {
        font-size: 60px;
        line-height: 130%;
    }

    h2 {
        font-size: 42px;
        line-height: 130%;
    }

    h3 {
        font-size: 32px;
        line-height: 130%;
    }

    h4 {
        font-size: 21px;
        line-height: 130%;
    }

    h5 {
        font-size: 17px;
        line-height: 130%;
    }

    h6 {
        font-size: 15px;
        line-height: 130%;
    }

    .button {
        font-size: 23px;
    }

    .header>.description {
        font-size: 23px;
    }

    .hero>.description {
        font-size: 23px;
    }

    .info-container {
        display: none;
    }

    .phone-link{
        display: block;
    }

    .outside-note{
        font-size: 18px;
    }

    .content {
        font-size: 18px;
    }
    
    .section-background {
  background-size: contain;
    /*background-size: 100% 90vh;*/
    background-position: bottom;
}

.parallax-bottom {
  background-image: url(https://www.krynytsia.com.ua/assets/images/wells-bottom.svg); 
}

.parallax-top {
  background-image: url(https://www.krynytsia.com.ua/assets/images/wells-top.svg); 
}

.cookie {
    position: fixed;
    bottom: 0;
    right: 0;
    background-color: var(--background-primary);
    z-index: 9999;
    padding: 25px;
}

.cookie__header, .cookie__footer{
    text-align: right;
}