html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* main styles */
/* manrope-600 - latin_cyrillic */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/src/fonts/manrope-v11-latin_cyrillic-600.woff") format("woff");
}
* {
  -webkit-locale: auto;
  white-space: normal;
}
:root {
  font-family: "Manrope", sans-serif;
  font-variant: normal;
  font-weight: 600;
  font-style: normal;
  --second: #6d6d6d;
  color: #0e0e0e;
  background-color: #fff;
}
::selection {
  background: rgba(14, 14, 14, 0.8);
  color: #fff;
}
body {
  overflow-x: hidden;
}
body > * {
  margin-top: 7vw;
  margin-bottom: 7vw;
}
.logical {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}
.content {
  width: 95%;
  margin-left: auto;
  margin-right: auto;
}
.visuallyhidden {
  position: absolute;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(0px 0px 99.9% 99.9%);
  clip-path: inset(0px 0px 99.9% 99.9%);
  overflow: hidden;
  height: 1px;
  width: 1px;
  padding: 0;
  border: 0;
}
.hide {
  display: none;
}
/* header */
.logo {
  font-size: 13vw;
}
.logosvg {
  display: none;
}
.subtitle {
  font-size: 6vw;
}
.main-image {
  width: 80vmin;
  height: 140vmin;
}
header {
  flex-direction: column;
  margin-top: 7vw;
}
.logo-container > * {
  margin-bottom: 5vw;
}

/* products */
.product-card {
  height: 60vw;
  margin-bottom: 3vw;
  background-repeat: no-repeat;
  background-size: 100%;
  border-radius: 8vw;
  background-color: transparent;
}
.windows-card {
  background-image: url(/img/windows_mobile.webp);
}
.doors-card {
  background-image: url(/img/doors_mobile.webp);
}
.conserv-card {
  background-image: url(/img/conserv_mobile.webp);
}
.stained-card {
  background-image: url(/img/stained_mobile.webp);
}

/* specs */

.spec-card {
  padding: 1em;
  text-align: center;
  margin-bottom: 3vw;
  color: #fff;
  border-radius: 4vw;
  background-repeat: no-repeat;
  background-size: 100%;
}
.spec-card h2 {
  color: #c4c5c9;
  font-size: 5vw;
  padding-top: 2vw;
  padding-bottom: 2vw;
}
.spec-card p {
  display: block;
  font-size: 4vw;
  margin-right: 5vw;
  margin-left: 5vw;
  line-height: 1.2em;
  text-align: left;
  padding-bottom: 3vw;
}
.manufacture {
  background-image: url(/img/manufacture.webp);
}
.mats {
  background-image: url(/img/mats.webp);
}
.indiv {
  background-image: url(/img/indiv.webp);
}

/* portfolio */

.portfolio {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: scroll;
  align-items: center;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: -ms-autohiding-scrollbar;
  justify-content: space-between;
  line-height: normal;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none;
}
.portfolio-container {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: center;
  flex-wrap: no-wrap;
  align-content: center;
}
.portfolio:-webkit-scrollbar {
  display: none;
}
.photo,
start-photo {
  max-width: 100%;
  max-height: 50vw;
}

.photo-container {
  width: fit-content;
  flex: 0 0 auto;
  height: fit-content;
}
.photo-size {
  margin-right: 3vw;
  justify-content: center;
  flex: 0 0 auto;
}
figcaption {
  color: var(--second);
  font-size: 5vw;
  text-align: left;
}
.button-container {
  display: none;
}
.arrow-button {
  border: none;
  background: none;
}
.arrow {
  fill: var(--second);
  width: 15vw;
  height: 15vw;
}
.minus-button {
  transform: rotate(180deg);
}

/* footer */
footer > a {
  font-size: 8vw;
  text-decoration: none;
  color: #0e0e0e;
  display: block;
}
.phone {
  color: var(--second);
  margin-bottom: 5vw;
  letter-spacing: -0.03em;
}
.phone-prime {
  color: #9b7d44;
  margin-bottom: 5vw;
}
.email {
  margin-bottom: 15vw;
}
.copyright {
  font-size: 4vw;
  color: var(--second);
}

/* media */
@media only screen and (min-width: 768px) {
  .logo-container {
    margin-right: 8vw;
  }
  .logo {
    font-size: 8vw;
  }
  .subtitle {
    font-size: 4vw;
  }
  .content {
    width: 80%;
  }
  .product-card {
    height: 50vw;
  }
  footer > a {
    font-size: 5vw;
    width: fit-content;
  }
  .phone {
    margin-bottom: 5vw;
  }
  .email {
    margin-bottom: 15vw;
  }
  .copyright {
    font-size: 3vw;
  }
}
@media only screen and (min-width: 1024px) {
  .main-image {
    height: 80vmin;
    width: 40vmin;
  }
  header {
    justify-content: center;
    margin-top: 1vw;
    width: 60% !important;
  }
  header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 60%;
  }
  .logo {
    font-size: 6vw;
  }
  .logosvg {
    display: inline-block;
  }
  .subtitle {
    font-size: 3vw;
  }
  .product-card {
    height: 33vw;
    margin-bottom: 10vw;
    background-repeat: no-repeat;
    background-size: 100%;
    border-radius: 3vw;
    /* transition: border-radius cubic-bezier(0.83, 0, 0.17, 1) 0.3s; */
  }
  /* .product-card:hover {
    border-radius: 5vw;
  } */
  .windows-card {
    background-image: url(/img/windows_desktop.webp);
  }
  .doors-card {
    background-image: url(/img/doors_desktop.webp);
    margin-bottom: 0;
  }
  .conserv-card {
    background-image: url(/img/conserv_desktop.webp);
  }
  .stained-card {
    background-image: url(/img/stained_desktop.webp);
    margin-bottom: 0;
  }
  .products {
    display: flex;
    flex-direction: row;
    width: 60%;
    margin-bottom: 0;
  }
  .products .col1-2 {
    width: 100%;
    margin-right: 5vw;
  }
  .products .col2-2 {
    margin-top: 15vw;
    margin-left: 5vw;
    width: 100%;
  }
  .spec-card h2 {
    color: #0e0e0e;
    font-size: 2vw;
    padding-top: 3vw;
  }
  .spec-card p {
    margin: 0;
    font-size: 1.5vw;
    line-height: 1.3em;
    text-align: left;
    display: block;
    padding-top: 3vw;
    padding-left: 5vw;
    padding-right: 5vw;
    padding-bottom: 3vw;
    border-radius: 3vw;
  }
  .spec-card br {
    display: none;
  }
  .spec-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    border-radius: 2.5vw;
    width: 35vw;
    height: fit-content;
  }
  .specs {
    position: relative;
    top: -30px;
    margin-top: 0;
    display: flex;
    justify-content: space-between;
  }
  .specs col1-2 {
    width: 50%;
  }
  .specs col2-2 {
    width: 50%;
  }
  .mats {
    margin-top: 7vw;
    background-image: none;
  }
  .manufacture {
    margin-bottom: 7vw;
    background-image: none;
  }
  .indiv {
    background-image: none;
  }
  .manufacture p {
    background-image: url(/img/manufacture.webp);
    background-position: center;
  }
  .mats p {
    background-image: url(/img/mats.webp);
  }
  .indiv p {
    background-image: url(/img/indiv.webp);
    background-position: center;
  }

  footer > a {
    font-size: 3vw;
  }
  .phone {
    margin-bottom: 3vw;
  }
  .email {
    margin-bottom: 10vw;
  }
  .copyright {
    font-size: 1.5vw;
  }
  .portfolio {
    overflow-x: hidden;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
  .portfolio:-webkit-scrollbar {
    display: none;
  }
  .photo {
    max-width: 100%;
    max-height: 40vw;
    border-radius: 5vw;
  }

  .photo-container {
    width: fit-content;
    flex: 0 0 auto;
  }
  .photo-container {
    margin: 0;
  }
  .start-photo-container {
    display: block;
  }
  .photo-size {
    display: flex;
    justify-content: center;
    flex: 0 0 auto;
    width: 100%;
  }
  figcaption {
    color: var(--second);
    font-size: 2vw;
    text-align: left;
    margin-left: 5vw;
  }
  figcaption br {
    display: none;
  }
  .desk_br {
    display: inline;
  }
  .button-container {
    width: 30%;
    display: flex;
    flex-direction: row;
    justify-content: center;
  }
  .arrow-button {
    border: none;
    background: none;
  }
  .arrow {
    fill: var(--second);
    width: 100px;
    height: 100px;
  }
}
