@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Regular-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Medium-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Bold-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Oswald";
  src: url("/fonts/Oswald-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Inter";
  background-color: #000;
}
.container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}
.hero {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 40px;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 50px;
}
header {
  padding: 14px 36px;
  position: relative;
  display: flex;
  gap: 94px;

  .logo {
    max-width: 306px;
    width: 100%;
  }

  ul {
    list-style: none;
    display: flex;
    gap: 50px;
    align-items: center;
  }
  ul a {
    color: #fff;
    font-family: Inter;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
  }
  ul a.active {
    color: #fff;
    text-decoration: underline;
    font-weight: 700;
  }
}

.title {
  display: flex;
  flex-direction: column;
}

h1 {
  color: #fff;
  text-align: left;
  font-family: "Oswald";
  font-size: 80px;
  font-weight: 700;
}

.black {
  color: #000;
}

.white {
  color: #fff;
}

.hero-text {
  color: #fff;
  font-size: 20px;
  font-weight: 400;
  text-align: left;
  line-height: 150%;
  max-width: 580px;
  margin-bottom: 66px;
}
.purple-button {
  background: linear-gradient(90deg, #ff0f4c 0%, #ee436e 100%);
  box-shadow: 0 4px 25.6px 0 #70001d;
  padding: 24px 50px;
  text-decoration: none;
  text-align: center;
  color: #000;
  font-family: Inter;
  font-size: 22px;
  font-weight: 700;
  line-height: 150%;
  display: block;
  max-width: fit-content;
  max-width: 300px;
  width: 100%;
}
footer {
  padding-block: 80px;
  background: #151515;
}
.footer-block {
  display: flex;
  gap: 130px;
  justify-content: space-between;
}
.footer-text {
  color: #7a7a7a;
  font-size: 16px;
  font-weight: 400;
  line-height: 140%;
  margin-top: 20px;
  margin-bottom: 30px;
}
.footer-text-bottom {
  color: #727272;
  font-size: 18px;
  font-weight: 400;
}
.links-title {
  color: #fc275d;
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 700;
  line-height: 150%;
}

.footer-links {
  display: flex;
  justify-content: space-between;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 202px;

  li a {
    color: #bcbcbc;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    transition: color 0.4s ease;
    text-decoration: none;

    &:hover {
      color: #fff;
    }
  }
}
.tablet {
  display: none;
}
.mobile {
  display: none !important;
}
.centered {
  text-align: center;
}
.collections-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 54px;
}
.collection-item {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 44px 28px;
  gap: 16px;
  grid-column: span 1;
  border: 1px solid #ea3366;
  background: #000;
}
.collection-item img {
  width: 100%;
  max-width: 62px;
}
.collection-item-title {
  color: #fc275d;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 150%;
  margin-bottom: 20px;
}
.collection-item-text {
  color: #bcbcbc;
  text-align: center;
  font-size: 18px;
  line-height: 150%;
}
h2 {
  color: #ea3366;
  text-align: center;
  font-family: "Oswald";
  font-size: 80px;
  font-weight: 700;
  text-transform: uppercase;
  span {
    color: #007c36;
  }
}
.info-block .text {
  display: flex;
  gap: 12px;
  flex-direction: column;
  margin-top: 24px;
  p {
    color: #7a7a7a;
    font-family: Montserrat;
    font-size: 18px;
    font-weight: 400;
  }
}
.pic-info-block {
  display: grid;
  gap: 24px;
  align-items: center;
  grid-template-columns: repeat(2, 1fr);
}
.info-block {
  grid-column: span 1;
}
.pic-info-block img {
  grid-column: span 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.why-choose-section {
  padding-block: 80px;
}
.why-choose-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 70px;
}
.why-choose-item {
  grid-column: span 1;
  border-radius: 10px;
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.25);
  padding: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;

  .top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .top img {
    max-width: 64px;
    width: 100%;
  }

  .top .choose-title {
    color: #fc275d;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    line-height: 150%;
  }

  .choose-content {
    color: #bcbcbc;
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    line-height: 150%;
  }
}
.fast-delivery {
  margin-block: 126px 110px;
  background-position: left bottom;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 80px 56px;
  border-radius: 10px;
  .text {
    max-width: 496px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
    margin-bottom: 30px;
  }
  .text p {
    color: #474747;
    font-family: Montserrat;
    font-size: 18px;
    font-weight: 400;
  }
  .purple-button {
    margin-inline: initial;
  }
}

.contact-block {
  background:
    url(/img/contact-img.png) no-repeat center center,
    linear-gradient(#d12f5a, #d12f5a);
  padding-block: 80px;
}

.contact-block h2 {
  text-align: left;
  color: #000;
  font-family: Oswald;
  font-size: 80px;
  font-weight: 700;
  text-transform: uppercase;
}
.form-block {
  display: flex;
  align-items: start;
  gap: 34px;
  margin-top: 60px;
  max-width: 600px;
}
.form-block .info {
  max-width: 518px;
  p {
    color: #2a2a35;
    font-family: Montserrat;
    font-size: 18px;
    font-weight: 400;
  }
  p.info-title {
    color: #226253;
    font-family: Montserrat;
    font-size: 18px;
    font-weight: 600;
  }
}
.contact-list-item {
  display: flex;
  align-items: start;
  gap: 4px;

  .inform {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 250px;
  }
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 26px;
}
.form {
  border-radius: 10px;
  min-width: 544px;
  border: 1px solid #aeaeae;
  background: #fff;
  box-shadow: 0 4px 26px 0 rgba(0, 0, 0, 0.11);
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  .purple-button {
    max-width: 100%;
    width: 100%;
  }
  .label {
    color: #226253;
    font-family: Montserrat;
    font-size: 19px;
    font-weight: 400;
    margin-bottom: 10px;
  }
  .label span {
    color: #c20017;
    font-family: Montserrat;
    font-size: 19px;
    font-weight: 400;
  }
  input,
  textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #aeaeae;
    padding: 14px;
    color: #2a2a35;
    font-family: Montserrat;
    font-size: 18px;
    font-weight: 400;
    display: block;
  }
  textarea {
    resize: none;
    max-height: 150px;
    min-height: 100px;
  }
  input::placeholder {
    color: #aeaeae;
  }
  .top-part {
    display: flex;
    align-items: start;
    gap: 26px;
    * {
      flex: 1;
    }
  }
}
.form-message {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 20px;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.form-message.show {
  opacity: 1;
  transform: translateY(0);
}

.form-message.success {
  background-color: #28a745;
}

.form-message.error {
  background-color: #dc3545;
}

@media (max-width: 1280px) {
  .container {
    padding: 0 30px;
    max-width: 100%;
  }
}
@media (max-width: 1000px) {
  header ul {
    gap: 24px;
    position: static;
    transform: none;
  }
  header {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
  }

  h1 {
    margin-top: 54px;
  }

  .title {
    max-width: 600px;
  }

  .collections-list {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .tablet {
    display: block;
  }
  .desktop {
    display: none;
  }
  .footer-block {
    flex-direction: column;
    gap: 30px;
  }
  .footer-text {
    margin-bottom: 0px;
  }
  .info-block,
  .pic-info-block img {
    grid-column: span 2;
  }
  .collection-item {
    grid-column: span 2;
  }
  .collections-list {
    row-gap: 24px;
    column-gap: 20px;
  }
  .why-choose-item {
    grid-column: span 3;
  }
  .fast-delivery {
    background-size: auto 134%;
    background-position: left bottom;
    margin-block: 80px;
    padding: 80px 30px;
  }
  .form-block {
    flex-direction: column;
  }
  .form {
    min-width: 100%;
    padding: 60px 20px;
  }

  .contact-block {
    background: #d12f5a;
  }
}

@media (max-width: 750px) {
  header {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 16px 20px;
    border-radius: 10px;

    ul {
      gap: 20px 50px;
      flex-wrap: wrap;
      justify-content: center;
    }

    .hero {
      min-height: unset;
      padding-top: unset;
    }
  }

  .purple-button {
    margin: 0 auto;
  }
}
@media (max-width: 500px) {
  h1 {
    font-size: 40px;
  }
  h2 {
    font-size: 40px;
  }
  footer {
    padding-block: 60px;
  }
  .logo {
    max-width: 100%;
  }
  .container {
    padding: 0 20px;
    max-width: 100%;
  }

  .collection-item {
    height: 100%;
  }

  .collections {
    overflow: hidden;
  }
  .why-choose-list {
    margin-top: 40px;
  }
  .why-choose-section {
    padding-block: 60px;
  }
  .fast-delivery {
    margin-block: 60px;
    padding: 60px 20px;
    .purple-button {
      max-width: 100%;
    }
  }
  .form {
    padding: 40px 20px;
  }
  .form .top-part {
    flex-direction: column;
    gap: 26px;
    * {
      width: 100%;
    }
  }
  .form-block {
    margin-top: 40px;
  }

  .footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .contact-block h2 {
    font-size: 40px;
  }
}
