/* Starter */

*,
*::after,
*::before {
  box-sizing: inherit;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-drag: none;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

html {
  min-height: 100vh;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  color: #121212;
  background-color: #f8f5ef;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  background-color: transparent;
  display: block;
  padding: 0;
}

.site-content {
  flex: 1 0 auto;
}

.site-footer {
  flex-shrink: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
}

a {
  text-decoration: none;
  display: inline-block;
  color: inherit;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  margin: 0 auto;
  max-width: 1240px;
  padding: 0 16px;
  width: 100%;
}

/* @@MEDIA */

/* SITE-CONTENT */

.site-header {
  position: relative;
  padding-top: 24px;
  padding-bottom: 137px;
  background-image: url(../img/bg-header-desktop.jpg);
  background-size: cover;
}

.site-header__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 50px;
  width: 100%;
}

.logo__img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
}

.top-heading {
  color: #fff;
  text-align: center;
  font-size: 32px;
  font-weight: 900;
  line-height: 40px;
  text-transform: uppercase;
}

.btn-lang {
  position: absolute;
  display: flex;
  align-items: center;
  right: 32px;
  top: 16px;
  color: #fff;
}

.btn-lang::before {
  content: "";
  margin-right: 5px;
  width: 32px;
  height: 32px;
  background-image: url("../img/icon-lang.svg");
}

/* .btn-lang:hover .langlist {
  display: flex;
} */

.langlist {
  position: absolute;
  top: 40px;
  right: -20px;
  display: none;
  flex-direction: column;
  /* justify-content: center; */
  /* align-items: center; */
  row-gap: 5px;
  background-color: #fff;
}

.langlist__item {
  padding-inline: 10px;
  padding-block: 8px;
  display: flex;
  align-items: center;
  text-align: left;
  color: #121212;
  font-weight: 550;
  font-family: sans-serif;
  transition: .3s;
}

.langlist__item::before {
  content: "";
  margin-right: 5px;
  width: 16px;
  height: 16px;
}

.langlist__item:hover {
  background-color: #f8f5ef;
}

.langlist__item--uz::before {
  background-image: url("../img/flag-uz.svg");
}

.langlist__item--en::before {
  background-image: url("../img/flag-gb.svg");
}

.langlist__item--ru::before {
  background-image: url("../img/flag-ru.svg");
}

/* SITE-CONTENT */

.site-content {
  padding-top: 450px;
  padding-bottom: 25px;
  position: relative;
  background-color: #f8f5ef;
  z-index: 2;
}

.list {
  padding: 16px 8px;
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  row-gap: 24px;
  z-index: 2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0px 4px 30px 0px rgba(0, 0, 0, 0.05);
}

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

.item__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 5px;
}

.item__title {
  margin-bottom: 13px;
  display: flex;
  align-items: center;
  flex-direction: column;
  row-gap: 6px;
  text-align: center;
  font-size: 19.2px;
  font-weight: 800;
  letter-spacing: 0.96px;
  text-transform: uppercase;
  line-height: 23px;
}

.item__title::after {
  content: "";
  width: 66px;
  height: 4px;
  background-color: #dec7a6;
}

.item__info {
  text-align: center;
  font-size: 14.4px;
  letter-spacing: 0.72px;
  text-transform: uppercase;
}

.site-title {
  max-width: 240px;
  margin-bottom: 18px;
  font-size: 27.303px;
  font-weight: 800;
  line-height: normal;
  letter-spacing: 1.365px;
  text-transform: uppercase;
}

.site-info {
  margin-bottom: 10px;
  max-width: 280px;
  font-family: "Work Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
}

.number {
  margin-bottom: 16px;
  display: flex;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: 1.365px;
  text-transform: uppercase;
}

.number__green {
  color: #dec7a6;
}

.years {
  margin-bottom: 3px;
  max-width: 75px;
  font-size: 11.376px;
  font-weight: 800;
  letter-spacing: 0.569px;
  text-transform: uppercase;
}

.socials {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  row-gap: 8px;
}

.social {
  position: relative;
  display: flex;
  align-items: center;
}

.social__icon {
  width: 40px;
  height: 40px;
  margin-right: 8px;
}

.social__link {
  text-align: center;
  font-size: 15.868px;
  font-weight: 800;
  line-height: 19.835px;
  letter-spacing: 0.793px;
  text-transform: uppercase;
}

.social__link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.avatar {
  /* width: 100%; */
  max-height: 550px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  background-image: url("../img/avatar-desktop.jpg");
  background-size: cover;
  border-radius: 8.1px;
  border: 2.3px solid #b47b53;
  aspect-ratio: 1 / 1;
}

/* SITE-FOOTER */

.site-footer__inner {
  display: flex;
  flex-direction: column;
}

.embed {
  width: 100%;
  aspect-ratio: 2.37 / 1.3;
}

.footer-text {
  padding: 8px 16px;
  background-color: #121212;
}

.footer-text p {
  color: #fff;
  font-family: "Work Sans", sans-serif;
  font-size: 13px;
  font-weight: 400;
}

/* MEDIA */

@media screen and (min-width: 700px) {
  .container {
    padding: 0 50px;
  }

  .btn-lang {
    right: 50px;
    top: 32px;
    font-size: 24px;
  }

  .btn-lang::before {
    width: 40px;
    height: 40px;
  }

  .langlist {
    margin-top: 10px;
    /* padding: 15px; */
  }

  .langlist__item::before {
    width: 32px;
    height: 32px;
    margin-right: 10px;
  }

  .site-header {
    padding-top: 40px;
    padding-bottom: 291px;
  }

  .site-header__inner {
    row-gap: 112px;
  }

  .logo__img {
    width: 160px;
    height: 160px;
  }

  .top-heading {
    font-size: 72px;
    line-height: normal;
  }

  .site-content {
    padding-top: 192px;
    padding-bottom: 70px;
  }

  .list {
    padding: 36px 46px;
    top: 0;
    transform: translateX(-50%) translateY(-50%);
    flex-direction: row;
    column-gap: 50px;
    justify-content: space-between;
    border-radius: 16px;
    width: 85%;
  }

  .item {
    width: 33%;
    flex-grow: 1;
  }

  .item__icon {
    width: 65px;
    height: 48px;
    margin-bottom: 6px;
  }

  .item__title {
    margin-bottom: 16px;
    row-gap: 0;
    font-size: 24px;
    letter-spacing: 1.2px;
    line-height: normal;
  }

  .item__title::after {
    width: 110px;
    height: 5px;
  }

  .item__info {
    font-size: 18px;
    letter-spacing: 0.9px;
    line-height: normal;
  }

  .site-title {
    max-width: 420px;
    margin-bottom: 32px;
    font-size: 48px;
    line-height: normal;
    letter-spacing: 2.4px;
  }

  .site-info {
    margin-bottom: 15px;
    max-width: 495px;
    font-size: 16px;
    line-height: 24px;
  }

  /* .container {
    display: flex;
  }

  .site__start {
    width: 40%;
    flex-grow: 1;
  }

  .site__end {
    width: 40%;
    flex-grow: 1;
  } */

  .number {
    margin-bottom: 50px;
    font-size: 48px;
    letter-spacing: 2.4px;
    line-height: normal;
  }

  .years {
    margin-bottom: 0px;
    font-size: 20px;
    letter-spacing: 2.4px;
    line-height: normal;
  }

  .socials {
    margin-bottom: 20px;
    row-gap: 16px;
  }

  .social__icon {
    width: 80px;
    height: 80px;
    margin-right: 16px;
  }

  .social__link {
    font-size: 23px;
    line-height: 40px;
    letter-spacing: 1.6px;
  }

  .avatar {
    border-radius: 16px;
    border: 4px solid #b47b53;
  }

  .embed {
    aspect-ratio: 1 / 0.34;
    min-height: 500px;
  }

  .footer-text {
    padding: 30px 50px;
  }

  .footer-text p {
    font-size: 16px;
    line-height: normal;
  }
}

@media screen and (min-width: 1000px) {
  .container {
    padding: 0 100px;
    display: flex;
  }

  .site__start {
    width: 40%;
    flex-grow: 1;
  }

  .site__end {
    width: 40%;
    flex-grow: 1;
  }

  .avatar {
    height: 100%;
    aspect-ratio: initial;
  }

  .footer-text {
    padding: 30px 100px;
  }
}
