html {
  scroll-behavior: smooth;
  font-family: "Roboto";
}

button {
  cursor: pointer;
}

.bold {
  font-weight: 500;
}

.container,
.items__container {
  width: 1160px;
  margin: 0 auto;
}

.header__content {
  display: flex;
  align-items: center;
  flex-direction: column;
}

h1 {
  margin-top: 0;
  padding-top: 90px;
  font-size: 50px;
  color: #fcd600;
  text-align: center;
}

.header__contacts__info,
.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone__number,
.email {
  color: #ffffff;
  font-size: 26px;
  text-align: center;
  text-decoration: none;
}

.phone__number:hover,
.email:hover {
  color: #fcd600;
}

header {
  height: 350px;
  background-image: url("assets/bg.jpg");
  background-size: auto;
}

.items {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 24px;
}

.item {
  width: 270px;
  border: solid 1px lightgray;
  box-shadow: 1px 1px 1px #938989;
  border-radius: 5px;
  position: relative;
}

.item__img {
  /*margin: 10px auto;
  width: 200px;*/
  height: 200px;
  /*background-size: contain;*/
  background-size: 100%;
}

.item__title,
.item__price {
  font-size: 20px;
  text-align: center;
  margin-top:10px;
}

.item__price {
  position: absolute;
  bottom: 10px;
  width:100%;
  background: #fcd600;
  padding:5px 0;
  color:#9b1000;
}

.item__infos {
  margin-bottom: 40px;
  padding: 10px 20px;
}

.item__info {
  display: flex;
  flex-direction: row;
  gap: 5px;
}

.item__info__prop,
.item__info__def {
  margin: 1px 0;
  color: #3b3b3b;
  font-size: 14px;
}

.info__text {
  margin: 20px 0;
  font-size: 18px;
  text-align: justify;
}

.container.info ul{
    line-height:1.5;
    list-style: circle;
}

footer {
  background-color: #333333;
}

.footer__content {
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
}

.footer__credits {
  margin: 0;
  font-size: 14px;
}

.footer__phone__number,
.footer__email {
  margin: 0;
  font-size: 20px;
  color: #ffffff;
  text-decoration: none;
}

.footer__phone__number:hover,
.footer__email:hover {
  color: #fcd600;
}

@media screen and (max-width: 1200px) {
  .container,
  .items__container {
    width: 1100px;
  }
  .items {
    gap: 10px;
  }

  .item {
    width: 265px;
  }
}

@media screen and (max-width: 1150px) {
  .container,
  .items__container {
    width: 900px;
  }
  .items {
    gap: 30px;
  }

  .item {
    width: 278px;
  }
}

@media screen and (max-width: 950px) {
  .container,
  .items__container {
    width: 800px;
  }
  .items {
    gap: 11px;
  }

  .item {
    width: 257px;
  }
}

@media screen and (max-width: 850px) {
  .container {
    width: 700px;
  }
  .items__container {
    width: 600px;
  }
  .items {
    gap: 30px;
  }
  .item {
    width: 282px;
  }
}

@media screen and (max-width: 750px) {
  .container {
    width: 650px;
  }
  .items__container {
    width: 550px;
  }
  .items {
    gap: 15px;
  }
  .item {
    width: 265px;
  }
}

@media screen and (max-width: 750px) {
  .container {
    width: 650px;
  }
  .items__container {
    width: 550px;
  }
  .items {
    gap: 15px;
  }
  .item {
    width: 265px;
  }
}

@media screen and (max-width: 670px) {
  .container {
    width: 570px;
  }
  .items__container {
    width: 550px;
  }
  .items {
    gap: 15px;
  }
  .item {
    width: 265px;
  }
}

@media screen and (max-width: 600px) {
  .container,
  .items__container {
    width: 500px;
  }
  h1 {
    padding-top: 70px;
  }
  .items {
    gap: 10px;
  }
  .item {
    width: 242px;
  }
}

@media screen and (max-width: 530px) {
  .container {
    width: 90%;
  }

  .items__container {
    width: 90%;
  }
  .items {
    justify-content: center;
    gap: 15px;
  }
  .item {
    width: 280px;
  }
  .footer__content {
    flex-direction: column-reverse;
    justify-content: space-around;
    height: 130px;
  }

  .footer__phone__number,
  .footer__email {
    font-size: 20px;
    text-align: center;
  }
  .footer__credits {
    font-size: 12px;
    text-align: center;
  }
}
@media screen and (max-width: 420px) {
    h1 {
        font-size:40px;
    }
}
@media screen and (max-width: 320px) {
    h1 {
        font-size:34px;
    }
}