@font-face {
    font-family: 'ITCAmericanTypewriterMedium';
    src: url('../fonts/americantypewriter-medium-webfont.eot');
    src: url('../fonts/americantypewriter-medium-webfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/americantypewriter-medium-webfont.woff') format('woff'),
    url('../fonts/americantypewriter-medium-webfont.ttf') format('truetype'),
    url('../fonts/americantypewriter-medium-webfont.svg#ITCAmericanTypewriterMedium') format('svg');
    font-weight: normal;
    font-style: normal;

}

html {
    -webkit-tap-highlight-color: rgba(255, 255, 255, 1);
}

body, html {
    font-family: 'ITCAmericanTypewriterMedium', Arial;
    line-height: 25px;
    font-size: 16px;
    font-weight: normal;
    margin: 0;
    padding: 0;
}

body {
    padding-top: 80px;
}

@media screen and (max-width: 1023px) {
    body {
        line-height: 22px;
        font-size: 15px;
        padding-top: 70px;
    }
}

*:focus {
    outline: none;
}

input, select, textarea {
    font-family: 'ITCAmericanTypewriterMedium', Arial;
    font-size: 16px;
}

h1 {
    padding: 0;
    margin: 0;
    font-family: 'ITCAmericanTypewriterMedium', Arial;
    font-size: 24px;
    line-height: 1.3;

}

a {
    text-decoration: none;
    color: #888;
}

a:hover {
    text-decoration: none;
    color: #222;
}

.socials {
    text-align: center;
}

.socials a {
    text-decoration: none;
    color: #222;
}

.socials a:hover {
    text-decoration: none;
    color: #888;
}

.bg-slider {
    position: fixed;
    z-index: 0;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
}

.bg-slider .item {
    width: 100vw;
    height: 100vh;
}

.bg-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.glide, .glide__slides, .glide__slide {
    height: 100vh;
}

@media screen and (max-width: 1023px) {
    .bg-slider {
        top: 76px;
        height: calc(45vh - 76px);
    }

    .bg-slider .item {
        height: calc(45vh - 76px);
    }

    .glide, .glide__slides, .glide__slide {
        height: calc(45vh - 76px);
    }
}

#main-menu {
    position: fixed;
    z-index: 100;
    top: 60px;
    right: 90px;
    background: rgba(29, 29, 27, 0.96);
    border-radius: 25px;
    height: 64px;
    width: 440px;
    padding: 15px 35px;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.5);
    line-height: 0;
}

@media screen and (max-width: 1360px) {
    #main-menu {
        top: 30px;
        right: 90px;
        left: auto;
    }
}

@media screen and (max-width: 1023px) {
    #main-menu {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1000;
        width: 100vw;
        padding: 10px 0;
        border-radius: 0;
        text-align: center;
        background: rgba(29, 29, 27, 1);
        height: 56px;
    }

    #main-menu .logo {
        opacity: 1;
        width: 52px;
        padding-top: 3px;
        margin-right: 3px;
    }

    #main-menu .logo img {
        width: 100%;
    }

    #menu-item-home-wrapper {
        display: none !important;
    }
}

@media screen and (max-width: 360px) {
    #main-menu {
        font-size: 12px;
    }

    #main-menu .logo {
        width: 44px;
        padding-top: 6px;
    }
}

#main-menu .logo {
    margin-right: 10px;
}

#main-menu a {
    transition: opacity 0.3s ease;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
    opacity: 0.5;
    color: #fff;
}

#main-menu a.logo {
    opacity: 1;
}

#main-menu a:hover, #main-menu a.active {
    opacity: 1;
}

#content {
    position: fixed;
    z-index: 100;
    top: 170px;
    right: 90px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 25px;
    width: 440px;
    padding: 35px;
    color: #000;
}

.btn-close {
    position: absolute;
    right: 10px;
    top: 10px;
    display: inline-block;
    width: 30px;
    height: 40px;

    background: url('/images/close.svg') no-repeat 50%;
}

@media screen and (max-width: 1360px) {
    #content {
        top: 150px;
        right: 90px;
        left: auto;
    }
}

@media screen and (max-width: 1023px) {
    #content {
        background: #fff;
        position: relative;
        box-sizing: border-box;
        border-radius: 0;
        margin-top: 30vh;
        margin-bottom: 30vh;
        top:0;
        left: 50%;
        width: 100%;
        transform: translateX(-50%);
        padding: 25px;
        max-width: 400px;
    }
}

#btn-next, #btn-prev {
    display: none;
    transition: background .3s ease;
    position: fixed;
    z-index: 1000;
    top: 42%;
    background: rgba(0, 0, 0, .4) url(/images/arrow.svg) 50% no-repeat;
    background-size: 16px;
    cursor: pointer;
    color: #000;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.glide__bullets {
    display: none;
    opacity: 0;
}

.full .glide__bullets, .full #btn-next, .full #btn-prev {
    display: block;
    opacity: 1;
}

#btn-next:hover, #btn-prev:hover {
    background: rgba(0, 0, 0, 1) url(/images/arrow.svg) 50% no-repeat;
    background-size: 16px;
}

#btn-next {
    transform: rotate(-90deg);
    right: 20px;
}

#btn-prev {
    transform: rotate(90deg);
    left: 20px;
}

@media screen and (max-width: 1023px) {
    #btn-next, #btn-prev {
        display: none;
    }
}
