* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
button {
  border: 0;
  cursor: pointer;
}


/* Var */
:root {
  --transition: 0.5s;
  --transition-big: 1s;
  --transition-circle: 2s;
}


.desctop { display: block; }
.mobile { display: none !important; }


body {
  background: #1C1D21;
}


header {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  width: 100vw;
  height: 150px;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 56px;
  margin: 0 33px;
  padding: 0 32px;
}

.header__menu {
  width: 40px;
  height: 40px;
}
.header__logo {
  width: 205px;
  height: 56px;
}
.header__logo img {
  width: 100%;
  height: 100%;
}
.header__call {
  font-family: 'Museo Sans Cyrl';
  font-weight: 700;
  font-size: 18px;
  line-height: 153%;
  text-transform: uppercase;
  color: #EFEFEF;
  white-space: nowrap;

  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  width: 40px;
}
.header__call .icon.call {
  display: inline-block;
  width: 36px;
  min-width: 36px;
  height: 36px;
  background: url('../img/call_icon.svg') no-repeat center / contain;
}


.main-page {
  margin-top: 100px;
  min-height: calc(100vh - 100px);
  background: #1C1D21 url('../img/main_bg.png') no-repeat bottom / 100%;
  background-position-y: 100px;
}

.catalog-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding-top: 100px;
}

.catalog__card {
  position: relative;
  width: 260px;
  height: 355px;
  margin: 0 10px;
  padding-top: 32px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
}

.catalog__card::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  display: block;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  z-index: 2;
}

.catalog__card.kedr {
  background-image: url('../img/kedr_bg.png');
}
.catalog__card.pine {
  background-image: url('../img/pine_bg.png');
}

.catalog__card-title {
  font-family: 'Catorze27 Style 1';
  font-size: 30px;
  line-height: 113%;
  text-align: center;
  color: #F6C57C;

  width: 100%;
  height: 72px;
  margin-bottom: 50px;
}

.catalog__card-nextButton {
  width: 40px;
  height: 40px;
  margin: 0 auto;
  background: url('../img/next_button.svg') no-repeat center / contain;
}

.catalog__card-imageHouse {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 240px;
  height: 120px;
  object-position: bottom right;
  object-fit: contain;
  border-bottom-right-radius: 12px;
}


@media (min-width: 500px) {
  header {
    height: 11.7188vw;
  }
  header .container {
    width: 100%;
    height: 4.3750vw;
    margin: 0 2.5781vw;
    padding: 0 2.5000vw;
  }
  
  .header__menu {
    width: 3.1250vw;
    height: 3.1250vw;
  }
  .header__logo {
    width: 16.0156vw;
    height: 4.3750vw;
  }
  .header__call {
    font-size: 1.4063vw;
    line-height: 153%;
    width: 3.1250vw;
  }
  .header__call .icon.call {
    width: 2.8125vw;
    min-width: 2.8125vw;
    height: 2.8125vw;
  }
  
  
  .main-page {
    margin-top: 7.8125vw;
    min-height: calc(100vh - 7.8125vw);
    background-position-y: 7.8125vw;
  }
  
  .catalog-wrapper {
    padding-top: 7.8125vw;
  }
  
  .catalog__card {
    width: 20.3125vw;
    height: 27.7344vw;
    margin: 0 0.7813vw;
    padding-top: 2.5000vw;
    border-radius: 0.9375vw;
  }
  
  .catalog__card::after {
    top: 0.3906vw;
    left: 0.3906vw;
    width: calc(100% - 0.9375vw);
    height: calc(100% - 0.9375vw);
    border-radius: 0.7813vw;
  }
  
  .catalog__card-title {
    font-size: 2.3438vw;
    height: 5.6250vw;
    margin-bottom: 3.9063vw;
  }
  
  .catalog__card-nextButton {
    width: 3.1250vw;
    height: 3.1250vw;
  }
  
  .catalog__card-imageHouse {
    width: 18.7500vw;
    height: 9.3750vw;
    border-bottom-right-radius: 0.9375vw;
  }  
}

@media (max-width: 700px) {
  .header__call span {
    display: none;
  }
}

@media (max-width: 500px) {
  .desctop { display: none !important; }
  .mobile { display: block; }

  header {
    height: 28.1250vw;
  }
  header .container {
    height: 11.2500vw;
    margin: 0;
    padding: 0 10.0000vw;
  }
  
  .header__menu {
    width: 12.5000vw;
    height: 12.5000vw;
  }
  .header__logo {
    width: 40.6250vw;
    height: 11.2500vw;
  }
  
  
  .main-page {
    margin-top: 28.1250vw;
    min-height: calc(100vh - 28.1250vw);
    background: #1C1D21 url('../img/main_bg_mobile.png') no-repeat bottom / contain;
    background-position-y: bottom;
  }
  
  .catalog-wrapper {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0 10.0000vw;
    padding-top: 28.1250vw;
  }
  
  .catalog__card {
    position: relative;
    display: block;
    width: 100%;
    height: 56.2500vw;
    margin: 0;
    margin-bottom: 6.2500vw;
    padding: 5.0000vw 7.5000vw;
    border-radius: 12px;
  }
  
  .catalog__card::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    display: block;
    width: calc(100% - 12px);
    height: calc(100% - 12px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    z-index: 2;
  }
  
  .catalog__card.kedr {
    background-image: url('../img/kedr_bg_mobile.png');
  }
  .catalog__card.pine {
    background-image: url('../img/pine_bg_mobile.png');
  }
  
  .catalog__card-title {
    font-size: 7.5000vw;
    line-height: 117%;
    text-align: left;
    width: 100%;
    height: 20.0000vw;
    margin-bottom: 16px;
  }
  
  .catalog__card-nextButton {
    width: 10.0000vw;
    height: 10.0000vw;
    margin: 0;
  }
  
  .catalog__card-imageHouse {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 75.0000vw;
    height: 37.5000vw;
    object-position: bottom right;
    object-fit: contain;
    border-bottom-right-radius: 12px;
  }
}

