/*zero page*/

*,
*:before,
*:after {
    padding: 0;
    margin: 0;
    border: 0;
    box-sizing: border-box;
    outline: none;
}

input,
textarea,
button,
select,
a {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    text-decoration: none;
    font-size: 1.1rem;
}


/*body stly*/

html,
body {
    background-color: #fff;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 15px;
    color: #5D0909;
}

.container {
    max-width: 100%;
}

.page {
    display: flex;
}


/* header
=============*/

.header {
    background: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1002;
}

.header-logo-link {
    font-size: 1.5vh;
    color: #650c0c;
    font-weight: 700;
    text-decoration: none;
    z-index: 1006;
}

.header-logo-link:hover {
    color: #811b1b;
    opacity: 1;
    transition: .2s ease-in-out;
}

.sidebar {
    width: 100px;
    padding: 1rem 0;
    box-shadow: 0px 0 0px rgba(0, 0, 0, .0);
    z-index: 3;

}


.sidebar__logo {
    padding-left: 15%;
    margin-bottom: 6px;
    z-index: 1005;
}

.content {
    width: calc(100% - 150px);

}

.header-logo-link {
    padding-left: 0.0;
    z-index: 1007;
}

.sidebar__nav {
    list-style: none;
    visibility: visible;
}

.sidebar__nav li {
    position: relative;
}

.sidebar__nav li:hover .sidebar__info {
    opacity: 1;
    visibility: visible;
}

.sidebar__nav a {
    display: block;
    color: #797979;
    text-decoration: none;

}

.sidebar__nav a:hover {
    color: #000;
}

::-webkit-scrollbar {
    display: none;
}

.sidebar__info {
    width: 10vh;
    padding: 1rem;
    /* margin-top: 8%; */
    background-color: #fff;
    z-index: 2;
    color: #000;
    font-size: 1vh;
    color: #797979;
    transition: 0.5s;
    padding-left: 15%;
    padding-bottom: 91.7vh;
    padding-top: 4rem;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -4;
}

.sidebar__info:hover {
    opacity: 1;
}


/* Slider */

.slick-slider {
    min-width: 0;
}


/* Ограничивающая оболочка */

.slick-list {
    overflow: hidden;
}


/* Лента слайдов */

.slick-track {
    display: flex;
}


/* Конкретный слайдер */

.slider {
    position: relative;
    height: 100vh;
}


/* Arrows */

.slider .slick-arrow {
    position: absolute;
    top: 0;
    margin: 0px 0px 0px 0px;
    font-size: 0;
    width: 25%;
    height: 100vh;
    z-index: 1000;
    background-color: transparent;
    cursor: ew-resize;
}

.slider .slick-arrow.slick-prev {
    left: 0;
    opacity: 1;
}

.slider .slick-arrow.slick-next {
    right: 0;
    opacity: 1;
}

.slider .slick-arrow .slider .slick-arrow.slick-next:hover {
    color: #000;
    opacity: 0.7;
    transition: .3s ease-in-out;
}

.slider .slick-arrow.slick-prev:hover {
    color: #000;
    opacity: 0.7;
    transition: .3s ease-in-out;
}

.slider .slick-arrow.slick-disabled {
    opacity: 0.7;
}


/* Dots */

.slider .slick-dots {
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider .slick-dots li {
    list-style: none;
    margin: 0px 10px;
}

.slider .slick-dots button {
    font-size: 0;
    width: 10px;
    height: 10px;
    border: 1px solid #000;
    opacity: 0.7;
    border-radius: 50%;
}

.slider .slick-dots li.slick-active button {
    background-color: transparent;
    background-color: #000;
    opacity: 0.7;
}


/*Slider*/



.slider__item img {
    max-width: 100%;
    height: 100vh;
    display: block;
    margin: 0 auto;
    object-fit: cover;

}


/* Slide track */

.slider .slick-track {
    display: flex;
    align-items: flex-start;
    align-items: center;
    justify-content: center;
}

.slider__img {
    height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}


/* media
=============*/

@media screen and (max-width: 1024px) {
    .header-logo-link {
        font-size: 1.3rem;
    }

    .slider__item img {

        max-width: 100%;
        margin: 0 auto;

    }

    .header-contacts-link {
        font-size: 1rem;
    }

    .sidebar__info {
        width: 30vh;
    }


}



@media screen and (max-width: 600px) {

    .header-logo-link {
        font-size: 1rem;
    }


    .column {
        flex: 100%;
        max-width: 100%;
        min-width: 100%;
    }

    .sidebar__info {
        display: block;
        position: absolute;
        width: 50vh;
        top: 6%;
        z-index: 10000;
    }

    .slider__item img {
        height: auto;
        max-width: 100%;
    }

}




@media (max-width: 768px) and (orientation: portrait) {
    .slider__item img {
        max-width: 100%;
    }

    .slider__item {
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sidebar__info {
        display: block;
        position: absolute;
        top: 10%;
        width: 50vh;
        padding-top: 0px;
        padding-left: 17px;
        padding-bottom: 0px;

    }

}

@media screen and (orientation: portrait) {
    .sidebar {
        width: 0px;
        padding: 1rem 0;
        box-shadow: 0px 0 0px rgba(0, 0, 0, .0);
        z-index: 1008;
    }

    .sidebar__info {
        position: absolute;
        width: 40vh;
        top: 2rem;
        z-index: 10000;
        font-size: 0.5rem;
    }






    .header-logo-link {
        padding-left: 17px;

    }



    .content {
        width: calc(100% - 0px);
        padding: 0 0 0 0;
    }




}

@media (max-width: 821px) and (orientation: portrait) {

    .sidebar__info {
        display: block;
        width: 40vh;
        padding-bottom: 0px;
        padding-left: 17px;
        font-size: 0.7rem;
        padding-top: 0px;
        padding-top: 0.5rem;
    }


    .slider__item img {
        max-width: 100%;
        height: auto;
        margin-top: 0%;
        margin-bottom: 20%;

    }
}

@media (max-width: 750px) and (orientation: portrait) {

    .sidebar__info {
        display: block;
    }
}

@media (max-width: 750px) and (orientation: landscape) {

    .sidebar__info {
        display: block;
        font-size: 2vh;
        padding-top: 10vh;
        padding-bottom: 80vh;
    }
}

@media (max-width: 1024px) and (orientation: landscape) {

    .sidebar__info {
        display: block;
        font-size: 2vh;
        padding-top: 2rem;
        padding-bottom: 80vh;
        width: 40vh;
    }



}

@media (max-width: 1181px) and (orientation: landscape) {
    .slider__item img {
        max-width: 100%;
        height: 80vh;
        display: block;
        padding-top: 5vh;
        margin: 0 auto;
        object-fit: cover;
    }

    .header-logo-link {
        font-size: 1rem;
        color: #650c0c;
        font-weight: 700;
        text-decoration: none;
        z-index: 1006;
    }

    .sidebar__info {
        width: 10vh;
        padding: 1rem;
        /* margin-top: 8%; */
        background-color: #fff;
        z-index: 2;
        color: #000;
        font-size: 0.5rem;
        color: #797979;
        transition: 0.5s;
        padding-left: 15%;
        padding-bottom: 70.5vh;
        padding-top: 2.5rem;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -4;
    }
}

@media (max-width: 1181px) and (min-height: 726px) and (orientation: landscape) {
    .slider__item img {
        /* width: 100%; */
        height: 100%;
        max-height: 100vh;
        display: block;
        margin: 0 auto;
        object-fit: cover;

    }

    .sidebar__info {
        width: 23vh;
        padding: 1rem;
        /* margin-top: 8%; */
        background-color: #fff;
        z-index: 2;
        color: #000;
        font-size: 1rem;
        color: #797979;
        transition: 0.5s;
        padding-left: 15%;
        padding-bottom: 80.5vh;
        padding-top: 2.5rem;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -4;
    }
}

@media (max-width: 900px) and (min-height: 1110px) and (orientation: portrait) {
    .sidebar__info {
        width: 50vh;
        padding: 1rem;
        /* margin-top: 8%; */
        background-color: #fff;
        z-index: 2;
        color: #000;
        font-size: 1.3rem;
        color: #797979;
        transition: 0.5s;
        padding-left: 17px;
        padding-bottom: 0vh;
        padding-top: 2.8rem;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -4;
    }
}


@media (max-width: 2160px) and (min-height: 1600px) and (orientation: landscape) {
    .slider__item img {
        width: 100%;
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
        object-fit: cover;

    }

    .slider__item {
        max-width:100%;
        max-height: 100vh;
    }


    .sidebar__info {
        display: none;
    }

    .sidebar {
        width: 90px;
        padding: 1rem 0;
        box-shadow: 0px 0 0px rgb(0 0 0 / 0%);
        z-index: 3;
    }

    .header-logo-link {
        font-size: 1.5vh;
        color: #650c0c;
        font-weight: 700;
        text-decoration: none;
        z-index: 1006;
        background-color: #fff;
    }

    .content {
        width: 100%;
        position: absolute;
        top: 0px;
    }
}

@media (max-width: 1650px) and (min-height: 2150px) and (orientation: portrait) {
    .sidebar__info {
        display: none;
    }

    .header-logo-link {
        font-size: 1.5vh;
        color: #650c0c;
        font-weight: 700;
        text-decoration: none;
        z-index: 1006;
        background-color: #fff;
    }

    .slider__item img {
        max-width: 100%;
        height: auto;
        margin-top: 20%;
        margin-bottom: 20%;
    }
}