/*
Theme Name: New Theme
Author: Ваше Имя
Description: Простая тема для сайта, похожего на Zooma
Version: 1.0
*/

body {
    font-family: "Manrope", sans-serif;
    background-color: #161209;
    color: #f0d8af;
    margin: 0;
    padding: 0 ;
}
@font-face {
    font-family: 'Manrope';
    src: local('font/Manrope-Regular.ttf'),
        url('font/Manrope-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Manrope';
    src: local('font/Manrope-Medium.ttf'),
        url('font/Manrope-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Manrope';
    src: local('font/Manrope-Bold.ttf'),
        url('font/Manrope-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Manrope';
    src: local('font/Manrope-ExtraBold.ttf'),
        url('font/Manrope-ExtraBold.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}
@font-face {
    font-family: 'Manrope';
    src: local('font/Manrope-ExtraLight.ttf'),
        url('font/Manrope-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}
@font-face {
    font-family: 'Manrope';
    src: local('font/Manrope-SemiBold.ttf'),
        url('font/Manrope-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}
a {
    
    text-decoration: none;
}
img {
    height: auto;
  width: 100%;
}
* {
    box-sizing: border-box;
}
.login-button-link {
    background: linear-gradient(#d49b08,#8e5c07);
  padding: 10px 33px;
  display: block;
  width: fit-content;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  border-radius: 5px;
  margin-left: 75px;
}
header {
    padding: 20px 20px;
    text-align: center;
    margin: 0 auto;
    max-width: 1360px;
    display: flex;
    align-items: center;
}
.site-logo {
    max-width: 200px;
}
nav {
    margin: 0 0 0 auto;
}
nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    width: fit-content;
}

nav ul li {
    margin-right: 20px;
}
nav ul li a {
    color: #fff;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 1.5px;
    position: relative;
  padding-left: 23px;
}
nav ul li a svg {
    position: absolute;
    width: 15px;
  height: 15px;
  left: 0;
  top: 5px;
}
main {
    margin: 0 auto;
    max-width: 1360px;
    padding: 0 20px;
}


footer {
    text-align: center;
    padding: 20px;
    margin: 0 auto;
    max-width: 1360px;
    margin-top: 20px;
}
.slider {
    max-width: 100%;
    overflow: hidden;
    position: relative;
    margin-bottom: 50px;
}

.slider img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}
.slide-content {
    position: absolute;
  top: 0;
  padding-left: 45px;
  padding-top: 55px;
}
.slide-content h2{
    font-size: 36px;
    line-height: 49px;
    margin-bottom: 4px;
    font-weight: 900;
    color: #fff;
}

.slide-content p{
    font-size: 25px;
    color: #ecbc40;
    font-weight: 700;
    margin: 0;    
}

.slide-content .slide-button {
    background: linear-gradient(#d49b08,#8e5c07);
  padding: 10px 33px;
  display: block;
  width: fit-content;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  border-radius: 5px;
  margin-top: 35px;
}
h2.img_link {
    color: #f0d8af;
  font-size: 24px;
  letter-spacing: normal;
  text-transform: uppercase;
  text-align: center;
  border: 1px solid #ffd981;
  padding: 24px 5px;
  border-bottom-color: #c99f43;
  border-radius: 9px;
  font-weight: 600;
}

.image-blocks {
    display: flex;
    gap: 27px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.image-block {
    width: 242px;
    background: linear-gradient(#d49b0808,#d49b0803 85%,#8e5c071f);
    padding-bottom: 5px;
  border-radius: 3px;
  display: block;
  overflow: hidden;
  position: relative;
  transition: .5s;
}

.image-block h3 {
    color: #fff;
  display: block;
  font-size: 15px;
  overflow: hidden;
  font-weight: 400;
  text-align: right;
  margin: 3px 10px 6px;
}
.image-block .play {
    opacity: 0;
    position: absolute;
  background: #00000054;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}


.image-block:hover .play{
    opacity: 1;
    

}
.image-block:hover .play span {
    background: #ffffffde;
  color: #986507;
  font-size: 19px;
  font-weight: 600;
  padding: 5px 21px;
  border-radius: 50px;
  text-transform: unset;
}
.all-galleries h2{
    font-size: 24px;
  color: #fff;
  font-weight: 500;
  margin-bottom: 20px;
  
}

.all-galleries img {
    width: 105px;
}

.all-galleries .gallery-images {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.gallery {
    margin-bottom: 50px;
}
.gallery:first-child .gallery-images{
    padding-top: 30px;
    padding-bottom: 30px;
    border-bottom: 1px dashed #fff;
    border-top: 1px dashed #fff;
}



.slide {
    display: none;
    width: 100%;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: auto;
}

.slider-pagination {
    text-align: center;
    margin-top: 20px;
}

.pagination-button {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background-color: #ddd;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.pagination-button.active {
    background-color: #ff6600;
    color: white;
}


.text-after-slider p {
    font-size: 26px;
  color: #fff;
  font-weight: 800;
  margin-bottom: 20px;
}
.text-before-galleries {
    font-size: 21px;
}
.slider img.mobile-slide {
    display: none;
}
@media (max-width:768px) {
    main {
        max-width: 100%;
        padding: 0 20px;
    }
    .slide {
        width: 100%;
        height: 310px;
    }
    .slide img {
        height: 100%;
        object-fit: cover;
        opacity: .6;
    }
    .slide img.desktop-slide {
        display: none;
    }
    .slide img.mobile-slide {
        display: block;
    }
    nav ul, header {
        flex-wrap: wrap;
        align-items: flex-start;
    }
    nav {
        margin: 0;
        order: 3;
    }
    header {
        padding: 20px;
        flex-direction: inherit;
        justify-content: space-between;
        gap: 15px;
    }
    .slide-content {
        padding: 0 20px 10px;
    top: initial;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    }
    .slide-content h2 {
        font-size: 30px;
        line-height: 35px;
        text-align: center;
    }
    .slide-content p {
        font-size: 21px;
        text-align: center;
    }
    .slide-content .slide-button {
        margin: 35px auto 0;
    }
    .image-block {
        width: calc(50% - 14px);
    }
    .all-galleries .gallery-images {
        flex-wrap: wrap;
    }
    .footer-text {
        font-size: 14px;
    }
    .image-block .img {
        width: 100%;
        height: 40vw;
        display: block;
    }
    .image-block .img img {
        object-fit: cover;
        height: 100%;

        
    }
    .login-button {
        order: 2;
    }
    .login-button-link { 
        margin: 0;
        padding: 10px 16px;
    }
    .text-before-galleries {
        font-size: 18px;
      }
     .site-logo {
        max-width: 156px;
        order: 1;
    }
}

@media (max-width:600px) {
    .image-block {
        width: calc(100% / 3 - 18px);
    }
    .image-block .img {
        height: 31vw;
    }
}

@media (min-width:768px) {
    .slide {
        height: 375px;
    }
    .slide img {
        object-fit: cover;
  height: 100%;
    }
}
@media (min-width:768px) and (max-width: 998px) {
    .image-block {
        width: calc(100% / 3 - 18px);
    }
    .image-block .img {
        height: 31vw;
        display: block;
    }
    .image-block .img img {
        object-fit: cover;
        height: 100%;

    }
}

@media (min-width:998px) and (max-width: 1270px) {
    .image-blocks {
        max-width: 1000px;
    }
    .image-block {
        width: 229px;
    }
}