@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');


@font-face {
    font-family: 'OldTimer';
    src: url('/assets/fonts/oldtimer.ttf')  format('truetype');
}

:root {
  --main-bg-color: #FFFBF0;
  --main-elements:#364C66;
  --main-decoration:#F4B743;
}

*{
    box-sizing: border-box;
    padding: 0; 
    margin: 0;
    /* font-size: 16px; */
    font-family: 'Jost', sans-serif;
}

.slogan h1{
    font-family: 'OldTimer';
}

.logo-image{
   width: 85px;
}

ymaps[class*="-balloon_layout_normal"]{
    border-radius: 15px;
   /*  width: 400px;
   height: 400px; */
}
ymaps[class*="-balloon__layout"]{
    border-radius: 15px;
} 
ymaps img{
    /* max-width:60%; */
}
h1{
    font-size: 2em;
    color:var(--main-elements);
}
html:not(.full-description), body:not(.full-description) {
    width: 100%; 
    height: 100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    background: var(--main-bg-color);
    flex-direction: column;
    grid-gap:10px;
}
.header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    width:97%;
}
.logo img{
    height: 100px;
}
.logo{
    width:20%;
}
.slogan{
    width:60%;
    text-align:center;
    text-transform:uppercase;
    display:flex;
    align-items:center;
    justify-content:center;
    grid-gap:10px;
}
.soc-icons{
    width:20%;
    text-align:right;
}
.soc-icons a{
    text-decoration:none;
}
.soc-icons svg{
    width:35px;
    height:35px;
}
#map{
    width:97%;
    height: 85%;
    box-shadow: 0px 0px 20px 4px black;
    border-radius: 15px;
}
#map > ymaps {
    border-radius: 15px;
    overflow: hidden;
}
.short-description-img{
    margin-bottom:5px;
}
.short-description-img img{
    /* display: block;
    height: 300px;
    object-fit: cover;
    width: 100%;
    object-position: center; */
    display: block;
    object-fit: cover;
    max-width: 100%;
    margin: 0 auto;
    object-position: center;
}
.full-description{
    padding: 10px;
    width: 450px;
    height: 90vh;
    margin: auto;
    border-radius: 15px 0px 0px 15px;
    position: fixed;
    right: -520px;
    z-index: 10;
    top: 0;
    background: white;
    color: black;
    transition: all 0.5s ease;
    bottom: 0;
    word-break:break-all;
}
.open{
    right:0 !important;
}
.close-description{
    position: absolute;
    background: var(--main-bg-color);
    border: 1px solid var(--main-elements);;
    border-radius: 20px;
    margin-left: -55px;
    top: 0;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:0.3s ease;
    cursor:pointer;
}
.close-description:hover{
    background:var(--main-elements);
    color:var(--main-bg-color);
}

button.button-more{
    border: none;
    width: 100%;
    margin: 10px 0;
    font-size: 17px;
    font-weight: bold;
    background: var(--main-elements);
    color: var(--main-bg-color);
    padding: 10px 0;
    cursor:pointer;
    border-radius: 40px;
    transition:0.3s ease;
}
button.button-more:hover{
    transform:scale(0.95);
}
iframe{
    width: 100%;
    height:100%;
}
img{
    max-width:100%;
    height: auto;
    object-fit: scale-down;
}

/* preloader */
.preloader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
}
.preloader hr {
    border: 0;
    margin: 0;
    width: 40%;
    height: 40%;
    position: absolute;
    border-radius: 50%;
    animation: spin 2s ease infinite
}

.preloader :first-child {
    background: #19A68C;
    animation-delay: -1.5s
}

.preloader :nth-child(2) {
    background: #F63D3A;
    animation-delay: -1s
}

.preloader :nth-child(3) {
    background: #FDA543;
    animation-delay: -0.5s
}

.preloader :last-child {
    background: #193B48
}

@keyframes spin {

    0%,
    100% {
        transform: translate(0)
    }

    25% {
        transform: translate(160%)
    }

    50% {
        transform: translate(160%, 160%)
    }

    75% {
        transform: translate(0, 160%)
    }
}
.hidden{
    display:none !important;
}
@media(min-width:1024px){
    .hidden-desktop{
        display:none !important;
    }
}
@media(max-width:768px){
    .hidden-mobile{
        display:none !important;
    }
    .full-description{
        width: 100% !important;
        height:100vh !important;
    }
    .close-description{
        position:relative;
        margin-left: 0;
    }
    
    .full-description{
        padding: 10px;
        width: 450px;
        height: 90vh;
        margin: auto;
        border-radius: 0;
        position: fixed;
        right: 0px;
        z-index: 10;
        /* top: 150vh; */
        top:200%;
        background: white;
        color: black;
        transition: all 0.5s ease;
        bottom: 0;
    }
    .open{
        right:0 !important;
        top:0 !important;
    }
    .slogan{
        display:none;
    }
    .logo{width:45%;}
    .soc-icons{width:45%;}
}