/* Fonts settings */

/* inter-100 - latin */
@font-face {
  font-display: swap; 
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100;
  src: url('../fonts/inter-v13-latin-100.woff2') format('woff2');
}
/* inter-200 - latin */
@font-face {
  font-display: swap; 
  font-family: 'Inter';
  font-style: normal;
  font-weight: 200;
  src: url('../fonts/inter-v13-latin-200.woff2') format('woff2');
}
/* inter-300 - latin */
@font-face {
  font-display: swap; 
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/inter-v13-latin-300.woff2') format('woff2'); 
}
/* inter-regular - latin */
@font-face {
  font-display: swap; 
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/inter-v13-latin-regular.woff2') format('woff2'); 
}
html{
    box-sizing: border-box;
}
*, *::before, *::after{
    box-sizing: inherit;
}
body {
  color: #FFF;
  text-align: justify;
  font-family: Inter;
  font-size: 25px;
  font-style: normal;
  font-weight: 200;
  line-height: 34px; /* 136% */
  background-color: #01111A; 
}
.wrapper{
  max-width: 1160px; 
  margin: 0 auto;
}

.text {
  color: #FFF;
  font-family: Inter;
  font-size: 25px;
  font-style: normal;
  font-weight: 200;
  line-height: 34px; /* 136% */
  max-width: 760px;
  margin: 0 auto;
}




/* Animation settings */

@keyframes slidein {
  from {
    margin-top: 100px;
    opacity: 0;
  }
}

/* Header section start */

.header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  transition: 0.7s;
  background-color: #01111A;
  opacity: 0.7;
  z-index: 999;
}
.header.scrolled{
  opacity: 0.8;
  transition: 0.5;
}
.header:hover{
  transition: 0.5;
  opacity: 0.9;
}

.header__wrapper{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 30px ;
  padding-bottom: 30px ;
  padding-inline: 10px ;
}
.home__link{
  font-size: 30px;
  line-height: 24px;
  color: white;
  text-decoration: none;
  padding-bottom: 10px;
  max-width: 50px;
}
.header__list{
  display: flex;
  flex-wrap: wrap;
}
.header__item{
  margin-right: 50px;
}
.header__item:last-child{
  margin-right: 0;
}
.header__link{
  font-size: 20px;
  color: white;
  text-decoration: none;
  opacity: 1;
}
.header__link-active{
  transition: 0,5s;
  text-shadow: rgba(255, 255, 255, 0.734) 0px 0 20px;
  font-weight: 300;
}

.header__langsw{
  font-weight:normal;
  cursor: pointer
}
.langswbtn{
  transition: 0.3s;
}
.langswbtn:hover{
  opacity: 0.75;
  border-bottom: 1px solid white;
}
.langswbtn.active {
  border-bottom: 2px solid #ffffff; /* подчеркивание */
  color: #000; /* цвет активного языка */
}
.cart-link{
  outline: 1px solid white;
  font-weight: 100;
  margin-left: 20px;
  padding-inline: 20px;
}
.header__langsw{
  background: none;
    border: none;
    color: white;
    font-size: 20px;
 
}
.header__link:hover, .header__link:focus, .header__link:active{
  opacity: .75;
}

/* header section end */
/* Intro section start */

.intro{
  height: 100vh;
  background: url(../pictures/background.jpg) no-repeat center;
  background-size: cover;
  padding-top: 30vh;
  text-align: center;
  animation-name: slidein;
  animation-duration: 1s;
}
.title{
  font-size: 60px;
  font-weight: 100;
  line-height: 70px;
  color: white;
  max-width: 250px;
  margin-left: auto;
  margin-right: auto; 

  text-align: center;
} 

.subtitle{
  font-size: 25px;
  font-weight: 200;
  line-height: 34px;
  margin-bottom: 68px;
}
.white-btn{
  text-decoration: none;
  outline: 1px solid white;
  background-color: white;
  color: black;
  font-weight: 300;
  font-size: 20px;
  padding-inline: 43px;
  padding-top: 25px;
  padding-bottom: 25px;
  transition: 200ms;
  cursor: pointer;
}
.white-btn:hover{
  opacity: 0.8;
  transition: 200ms;
  background-color: black;
  color: white;
}

/* Intro section end */
/* About section start */

.about{
  text-align: center;
  padding-bottom: 104px;
  padding-top: 50px;
}
.about-text{
  padding-bottom: 72px;
  color: white;
  font-size: 25px;
  font-weight: lighter;
  line-height: 34px;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 10px;
  padding-right: 10px;
}

/* About section end */
/* Biography section start */

.biography{
  padding-top: 50px;
  padding-bottom: 65px;
  background-color: #601F0D;
}
.biography-text{
  color: #FFF;
  text-align: justify;


  font-family: Inter;
  font-size: 25px;
  font-style: normal;
  font-weight: 200;
  line-height: 34px; /* 136% */
  margin: 0 auto;
  padding-left: 10px;
  padding-right: 10px;
}

/* Biography section end */
/* Gallery section start */
.gallery-section {
  padding: 50px;
  text-align: center;
}

.title {
  padding: 20px 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-bottom: 50px;
}

.col {
  display: grid;
  gap: 35px;
}

.small-column-element,
.big-column-element {
  position: relative; 
  background-color: #551102;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}

.small-column-element {
  aspect-ratio: 35 / 36; 
}

.big-column-element {
  aspect-ratio: 35 / 44; 
}

/* Gallery section end */
/* Gallery info section start */

.pic-info {
  position: absolute;
  text-align: left;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  z-index: 10;
  padding: 20px;
}

.info{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 10px;
}

.pic-info-name{
  font-size: 30px;
  font-weight: 300;
  line-height: 50px;
  color: white;
}

.pic-info-data{
  font-size: 20px;
  font-weight: 200;
  color: white;
}

.pic-info-text{
  color: white;
  font-size: 15px;
  font-weight: lighter;
  line-height: 20px;
  max-height: 60px;
  overflow: hidden;
}

.big-column-element:hover .pic-info,
.small-column-element:hover .pic-info {
  opacity: 1;
  visibility: visible;
}

/* Gallery info section start */
/* Footer section start */ 

.footer {
  background-color: #000D16;
  padding: 50px;
}
.footer-container {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  max-width: 1160px;
  margin: 0 auto;
}

.footer-column {
  flex: 1;
  padding: 0 20px;
  color: white;
  text-decoration: none;
  font-size: 20px;
}

.footer-title{
  font-size: 60px;
  font-weight: 100;
  line-height: 70px;
  color: white;
  max-width: 250px;
  margin-left: auto;
  margin-right: auto; 
  text-align: center;
}
.social {
  display: flex;
  align-items: center;
  color: #FFF;
  font-family: Inter;
  font-size: 15px;
  font-style: normal;
  font-weight: 200;
  line-height: 57px; 
}

.social-link{
  color: white;
  text-decoration: none;
  margin-left: 32px;
}

.social-link:hover{
  opacity: 0.7;
}

.social img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

.info-links{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.info-link{
  display: flex;
  align-items: end;
  line-height: 57px; 
  font-size: 15px;
  text-decoration: underline;
}

.info-link:hover{
  text-decoration: none;
}

/* Footer section end */

@media (max-width: 850px) {
  .small-screen-hide {
    display: none;
  }
  .small-screen-center {
    display: grid;
    place-items: center;
    margin-bottom: 50px;
  }
}