@charset "utf-8";
/* CSS Document */

/* общие стили */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@200;300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght@8..144,100..1000&display=swap');


*{
  font-family: 'Roboto', sans-serif;
}
.roboto-flex-100 {
                font-family: "Roboto Flex", sans-serif;
                font-optical-sizing: auto;
                font-weight: 100;
                font-style: normal;
                font-variation-settings:
                        "slnt" 0,
                        "wdth" 100,
                        "GRAD" 0,
                        "XOPQ" 96,
                        "XTRA" 468,
                        "YOPQ" 79,
                        "YTAS" 750,
                        "YTDE" -203,
                        "YTFI" 738,
                        "YTLC" 514,
                        "YTUC" 712;
              }

a {
  color: #04a58f;
  text-decoration: none;
}
html, body{
  padding: 0;
  margin: 0;
}
body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.content.np {
  flex-grow: 1;
}

.debug{
  position: absolute;
  background-color: white;
  padding: 5px;
  top: 0;
  right: 0px;
  z-index: 9999;
  border: 1px solid #dfdfdf;
  display: none;
}

.header{
  height: 40px;
  background-color: black;
  color: white;
  display: flex;
  padding: 8px;
  justify-content: space-between;
}
.header *{
  color: white;
}
.header .logo img{
  height: 100%;
}

.menu{
  background-image: url('/i/burger.png');
  background-repeat: no-repeat;
  background-size: 34px;
  min-height: 36px;
  min-width: 36px;
  cursor: pointer;
}

.menu_item{
  display: none;
}


.h1 {
  font-size: 48px;
  font-weight: 100;
  /* margin-top: 30px; */
  padding: 32px 0 16px;
  font-family: "Roboto Flex";
}
.h2 {
  font-size: 28px;
  padding: 0 0 16px;
  color:  #6b6b6b;
  font-weight: 600;
  font-family: 'Roboto Flex';
}
.content{
  background-color: #e5e5e5;
}
.content_text {
  font-family: 'Roboto Flex';
  font-weight: 100;
}
.collections{
  padding-bottom: 30px;
}

.collections {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  margin-left: -8px;
  gap: 8px;
}

.collection {
  padding: 15px;
  background-color: white;
  border-radius: 16px;
}

.collection .img {
  margin-bottom: 24px;
  background-color: white;
  min-height: 187px;
  border-radius: 12px;
  display: flex;
  align-items: center;
}

.collection .img > img,
.collection .img a > img{
  /* width: 100%; */
  display: block;
  border-radius: 12px;
  max-height: 200px;
  text-align: center;
  max-width: 100%;
  margin: 0 auto;
}


.collection:after{
  content: ' ';
  display: block;
  width: 50%;
  height: 6px;
  background-color: #f5f5f5;
  margin: auto;
  transform: translateY(28px);
  border-radius: 5px;
}


.title {
  font-size: 21px;
  font-weight: 400;
  padding: 0 0 16px;
}

.icons{
  display: flex;
  justify-content: flex-start;
}

.collection  .icons {
  display: flex;
  justify-content: flex-start;
  margin: 0px 0 16px -1px;
  padding: 0;
}

.icons > div{
  /* background-color: antiquewhite; */
  padding: 4px 4px 4px 32px;
  margin: 0 24px 0 0;
  height: 24px;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 24px;
  line-height: 24px;
}

.collection .icons > div.count{
  background-image: url('/i/img.png');
}
.collection .icons > div.likes{
  background-image: url('/i/like.png');
}
.collection .icons > div.share{
  background-image: url('/i/share.png');
}

.collection .title {
  font-size: 21px;
  font-weight: 400;
  padding: 0 0 16px;
  display: flex;
  height: 54px;
  align-items: flex-end;
}

.collection .descr{
  margin-top: 8px;
  margin-bottom: 8px;
}

/* ---------------------- FANCY BOX ------------------ */
.fancybox-content{
  background-color: white;
  padding: 24px;
  border-radius: 15px;
}
/* ---------------------- FANCY BOX ------------------ */

.copy{
  color: white;
  padding: 0 40px 20px;
  margin: 0 AUTO;
  text-align: center;
}
.f_logo{
  width: 230px;
  padding: 36px 14px;
}

footer{
  background-color: black;
}

.main_padding{
  padding: 32px;
}

@media (max-width: 320px){
  .content{
    width: 320px;
  }
}
@media (min-width: 425px){
  .content{
    width: 100%;
  }

  .collection{
    width: 75%;
    box-sizing: border-box;
    margin: 60px auto;
  }

  .collection:after{
    transform: translateY(43px);
  }


}
@media (min-width: 768px){
  .content{
    width: 100%;
  }

  .collections {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin-left: -8px;
  }

  .collections .collection {
    width: 275px;
    box-sizing: border-box;
    margin: 30px 2px 0;
    position: relative;
  }

  .collection:after{
    display: none;
  }

  .collection .descr_wrap   {
    height:200px;
  }

  .collection .descr {
    margin-top: 8px;
    margin-bottom: 8px;
    max-height: 200px;
    overflow: hidden;
    user-select: none;
  }
  .collection .descr:hover {
    position: absolute;
    overflow: visible;
    height: max-content;
    width: 100%;
    /* background-color: wheat; */
    margin-top: -16px;
    margin-left: -1px;
  }

  .collection .descr:hover .descr_cont {
    position: relative;
    background-color: white;
    z-index: 99;
    padding: 16px;
    width: calc(100% - 0px);
    margin-left: -15px;
    border-radius: 18px;
    box-shadow: 0 10px 10px #00000030;
    box-sizing: border-box;
    min-height: 230px;
  }

  .collection .img {
    margin: -17px -16px 24px -16px;
    background-color: white;
    min-height: 200px;
    max-height: 200px;
    display: flex;
    align-items: center;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0;
    overflow: hidden;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
  }

  .collection .img > img,
  .collection .img a > img {
    /* width: 100%; */
    display: block;
    border-radius: 12px;
    max-height: 100%;
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    /* box-shadow: 0 0 10px #00000030; */
  }
}
@media (min-width: 1024px){
  .content{
    width: 100%;
  }

  .header{
    height: 55px;
  }

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

  .header{
    height: 70px;
  }

  .content{
    width: 1200px;
    margin: 0 auto;
    box-shadow: 0 0 30px #00000030;
    padding: 33px;
    box-sizing: border-box;
  }

  .content.np{
    padding: 0;
  }

  .menu{
    background-image: none;
    background-repeat: no-repeat;
    background-size: auto;
    min-height: inherit;
    min-width: inherit;
    padding: 50px 0px 0px 60px;
  }

}

/*  */

@media (min-width: 1440px){

}
@media (min-width: 1024px){
  .header{
    justify-content: start;
  }

  .menu{
    background-image: none;
    background-repeat: no-repeat;
    background-size: auto;
    min-height: inherit;
    min-width: inherit;
    padding: 33px 0px 0px 60px;
  }

  .menu_item{
    display: inline-block;
    margin: 0 16px 0 0;
  }
}

@media (max-width: 1023px){
}
@media (max-width: 767px){
  .collection .img a {
    width: 100%;
  }
  .collection .img {
    margin: -17px -16px 24px -16px;
    background-color: white;
    min-height: 200px;
    max-height: 200px;
    display: flex;
    align-items: center;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0;
    overflow: hidden;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    width: auto;
    /* margin: auto; */
    flex-grow: 1;

  }
}
@media (max-width: 424px){
}
@media (max-width: 319px){
}
.header + .content{
  min-height: calc(100vh - 40px - 259px);
}
.hidden {
  display: none;
}