body {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  width: 100%;
  height: auto;
  font-size: 14px;
  background-color: #F5EEE6;
}

.main-content {
  width: 100%;
  overflow: auto;
}

.main {
  width: 100%;
}

*::-webkit-scrollbar {
  display: block;
  height: 7px;
  width: 7px;
}

*::-webkit-scrollbar-thumb {
  background-color: #000;
}

*::-webkit-scrollbar-track {
  background-color: transparent;
}

img {
  width: 100%;
  height: auto;
}

h2 {
  margin: 0;
  font-weight: 700;
  font-size: 34px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: 1px;
}

section {
  padding: 30px 20px;
}

p {
  margin: 0;
}

a {
  text-decoration: none;
  border: none;
}

a:link {
  text-decoration: none;
  border: none;
}

a:hover {
  text-decoration: none;
  border: none;
}

a:active {
  text-decoration: none;
  border: none;
}

/* hero */

.hero {
  width: 100%;
  height: 760px;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  background-image: linear-gradient( rgba(0, 0, 0, 0.5),   rgba(0, 0, 0, 0.5)  ), url(../img/hero.webp);
  background-size: cover;
  background-position: center;
}

.hero-text {
  margin: 0;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  color: #ffffff;
  margin-top: 150px;
}

.hero-text p {
  text-shadow: -2px 2px 4px #000;
  font-size: 44px;
  text-align: left;
  letter-spacing: 1px;
  font-weight: 500;
}

h1 {
  text-shadow: -2px 2px 4px #000;
  font-size: 92px;
  line-height: 92px;
  text-align: left;
  margin: 0;
  padding: 0;
  font-weight: 600;
  letter-spacing: 10px;
  text-transform: uppercase;
}

.hero-button {
  width: 420px;
  border-radius: 30px;
  background-color: #1d1f11;
  color: #fff;
  text-align: center;
  padding: 12px;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 3px;
  margin: 60px 0 0 0;
  text-transform: uppercase;
  transition: 0.5s ease;
}

.hero-button:hover {
  color: #1d1f11;
  background-color: #fff;
}

/* hero */

/* goods */

.goods {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin: 30px 0;
}

.goods h2 {
  text-align: center;
}

.goods-title {
  font-size: 24px;
  text-align: center;
}

.goods-items {
  width: 100%;
  height: max-content;
  max-width: 1100px;
  display: grid;
  align-items: center;
  justify-items: center;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin: 60px 0;
}

.goods-item {
  padding: 30px 20px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 15px;
  box-shadow: 0px 3px 8px 0px rgb(0, 0, 0, 0.75);
  grid-template-columns: repeat(1, 1fr);
  border-radius: 10px;
  transition: 0.3s ease;
  background-color: #fff;
}

.goods-item:hover {
  box-shadow: 0px 3px 8px 5px rgb(0, 0, 0, 0.75);
}

.goods-img {
  width: 200px;
  height: 200px;
}

.goods-content {
  width: 100%;
  height: auto;
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  justify-content: center;
}

.goods-content h3 {
  text-align: left;
  font-size: 22px;
  letter-spacing: 0;
}

.goodstitle {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: flex-start;
}

.goodsface {
  width: 100px;
  height: 100px;
  background-position: center;
  background-size: cover;
  border-radius: 100%;
}

.goodsface-1 {
  background-image: url("../img/goodsface-1.webp");
}

.goodsface-2 {
  background-image: url("../img/goodsface-2.webp");
}

.goodsface-3 {
  background-image: url("../img/goodsface-3.webp");
}

.goodsface-4 {
  background-image: url("../img/goodsface-4.webp");
}

.goods-content p {
  text-align: left;
  font-size: 16px;
}

.goods-button {
  width: 220px;
  border-radius: 30px;
  background-color: #1d1f11;
  color: #fff;
  text-align: center;
  padding: 12px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 1px;
  margin: 15px 0;
  transition: 0.5s ease;
}

.goods-button:hover {
  color: #1d1f11;
  background-color: #fff;
}

.goods-img-2-1 {
  background-image: url("../img/2.1.webp");
  background-size: cover;
}

.goods-img-2-2 {
  background-image: url("../img/2.2.webp");
  background-size: cover;
}

.goods-img-2-3 {
  background-image: url("../img/2.3.webp");
  background-size: cover;
}

.goods-img-2-4 {
  background-image: url("../img/2.4.webp");
  background-size: cover;
}

/* goods */

/* footer */

.footer {
  background-color: #643843;
  display: flex;
  flex-direction: column;
  gap: 30px;
  color: white;
  padding: 40px 16px;
  font-size: 16px;
  margin-top: 80px;
}

.footer a {
  color: white;
}

/* contacts */

.contacts-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.contacts-item {
  display: flex;
  align-items: flex-start;
  gap: 5px;
}

.contacts-icon {
  width: 20px;
  height: 20px;
}

/* contacts */

.politic-conf {
  border-top: 2px solid #ffffff;
  padding: 20px 0 0 0;
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 3px;
  color: #ffffff;
}

/* footer */

/* start: media queries */

@media (max-width: 570px) {
  h2 {
    font-size: 24px;
    letter-spacing: 1px;
  }

  h3 {
    font-size: 22px;
    letter-spacing: 0px;
  }

  section {
    padding: 30px 16px;
  }
}

@media screen and (min-width: 570px) and (max-width: 900px) {
  h2 {
    font-size: 28px;
    letter-spacing: 1px;
  }

  h3 {
    font-size: 24px;
  }
}

@media (max-width: 440px) {
  h2 {
    font-size: 26px;
  }

  h3 {
    font-size: 22px;
  }
}

@media (max-width: 599px) {
  /* hero */

  .hero {
    height: 720px;
    align-items: center;
  }

  .hero-text {
    width: 100%;
    padding: 20px;
    margin-top: 0;
  }

  .hero-text p {
    text-shadow: -2px 2px 2px #000;
    font-size: 34px;
    font-weight: 400;
  }

  h1 {
    text-shadow: -2px 2px 4px #000;
    font-size: 80px;
    font-weight: 500;
    letter-spacing: 2px;
  }

  .hero-button {
    width: 330px;
    margin: 50px 0 0 0;
  }

  /* hero */

  .footer {
    margin-top: 40px;
  }
}

@media screen and (min-width: 600px) and (max-width: 960px) {
  /* hero */

  .hero {
    height: 720px;
    background-position: left top;
  }

  .hero-text {
    padding: 20px;
    margin-top: 160px;
  }

  .hero-text p {
    text-shadow: -2px 2px 2px #000;
    font-size: 35px;
    letter-spacing: 1px;
  }

  h1 {
    text-shadow: -2px 2px 2px #000;
    font-size: 82px;
    line-height: 82px;
    letter-spacing: 3px;
  }

  .hero-button {
    width: 340px;
    margin: 50px 0 0 0;
  }

  /* hero */
}

@media (max-width: 759px) {
  /* goods */

  .goods {
    margin: 10px 0;
  }

  .goods-title {
    font-size: 20px;
  }

  .goods-items {
    grid-template-columns: repeat(1, 1fr);
    gap: 25px;
    margin: 20px 0 50px 0;
  }

  /* goods */
}

@media screen and (min-width: 760px) and (max-width: 1000px) {
  /* goods */

  .goods {
    margin: 30px 0;
  }

  .goods-title {
    font-size: 24px;
  }

  .goods-items {
    grid-template-columns: 1fr;
    gap: 25px;
    margin: 60px 0;
  }

  /* goods */
}