.hidden-box {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* .hidden {
  display: none;
} */

* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style-type: none;
  outline: none;
  box-sizing: border-box;
}

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

.black {
  color: #111111;
}
.darkgray {
  color: #1E1823;
}
.orange {
  color: #FD9222;
}
.beige {
  color: #FCF1E0;
}
.light{
  color: #FAFAFA;
}

.btn-orange {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  background-color: #fd9222;
  border: none;
  border-radius: 30px;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease,
    color 0.3s ease;

  &:hover,
  &:focus {
    color: #fd9222;
    background-color: #fcf1e0;
  }
}

.btn-transparent {
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  flex-shrink: 0;
  cursor: pointer;
  transition: border 0.3s ease,
    color 0.3s ease;
  &:hover,
  &:focus {
    color: #FD9222;
    border: 1px solid #FD9222;
  }
}

body {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 14px;
  background-color: #fafafa;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main {
  flex-grow: 1;
}

.container {
  width: 100%;
  max-width: 375px;
  margin: 0 auto;
}
.header-container {
  position: relative;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 90px;
  padding: 20px;
}
.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-grow: 1;
}

.logo {
  position: relative;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.29;
  letter-spacing: -0.03em;
  color: #111;
}

.logo-choco {
  position: absolute;
  width: 21px;
  height: 21px;
  top: -1px;
  right: -27px;
}

.logo-italy {
  font-style: italic;
}

.header-nav-list {
  display: none;
}

.header-nav-item {
  font-family: inherit;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.14;
  letter-spacing: -0.02em;
}
.header-nav-link {
  color: #111;
  transition: color 0.2s ease;
}
.header-nav-item:hover .header-nav-link,
.header-nav-item:focus .header-nav-link,
.header-nav-item:active .header-nav-link {
  color: #FD9222;
}

.header-contacts {
  display: none;
}

.header-contact-item {
}
.header-contact-link>.contact-insta, 
.header-contact-link>.contact-twitt {
  fill: transparent;
  stroke: #1E1823; 
  transition: srtoke 0.3s, ease 0.3s;
}

.header-contact-link:hover .contact-insta,
.header-contact-link:hover .contact-twitt,
.header-contact-link:focus .contact-insta, 
  .header-contact-link:focus .contact-twitt {
  stroke: #FD9222; 
}

.header-contacts-list {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-mob-btn-bar {
  display: flex;
  cursor: pointer;
  width: 28px;
  height: 28px;
  justify-content: center;
  align-items: center;
}
.header-mob-btn-icon {
  fill: transparent;
  stroke: #111; 
  transition: stroke 0.3s, ease 0.3s;
}

.header-mob-btn-bar:hover .header-mob-btn-icon,
.header-mob-btn-bar:focus .header-mob-btn-icon{
  stroke: #FD9222;
}

.header-mob-menu {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #1e1823;
  z-index: 100; 
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* transition: opacity 0.3s ease, visibility 0.3s ease; */
}

.header-mob-menu-container {
  max-width: 375px;
  width: 100%;
  position: relative;
  height: 100%;
  padding: 136px 20px 20px;
  margin: 0 auto;
}

.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.header-mob-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex ;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  stroke: #fff;
  cursor: pointer;
  transition: stroke 0.3s, ease 0.3s;
}

.header-mob-close-btn:hover,
.header-mob-close-btn:focus {
  stroke: #FD9222;
}

.header-mob-nav {
  display: flex;
  flex-direction: column;
  font-family: inherit;
  font-weight: 500;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  height: 100%;
}

.header-mob-menu-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  flex-grow: 1;  
}
.header-mob-menu-item{
  
}
.header-mob-menu-link {
  color: #fff;
  transition: color 0.2s ease;
}

.header-mob-menu-link:hover,
.header-mob-menu-link:focus,
.header-mob-menu-link:active {
  color:#FD9222
}


.header-mob-contacts {}
.header-mob-contacts-list {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-mob-contact-item {}
.header-mob-contact-link {}

.header-mob-contact-icon {
  fill: transparent;
  stroke: #fff; 
  transition: srtoke 0.3s, ease 0.3s;
}

.header-mob-contact-icon:hover,
.header-mob-contact-icon:focus {
  stroke: #FD9222; 
}

.banner {
  background-image: url('../images/chocolate-covered.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-color: rgba(30, 24, 35, 0.4);
  height: 600px;
  border-radius: 30px;
}

.banner .container {
  height: 100%;
}
.banner-container {
  display: flex;
  flex-direction: column;
  justify-content:flex-end;
  /* align-items: end; */
  height: 100%;
  padding: 0 72px 40px;
  gap: 32px;
}

.banner-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.21;
  letter-spacing: -0.03em;
  color: #fff;
  max-width: 484px;
}
.banner-box-btn {
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
  gap: 14px;
  width: 100%;
}

.banner-btn {
  background-color: #FD9222;
  border: none;
  border-radius: 100px;
  padding: 14px 40px;
  width: 144px;
  height: 45px;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  cursor: pointer;
}

.banner-link-how-made {
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid #fff;
  border-radius: 100px;
  display: flex;
  width: 183px;
  height: 45px;
  padding: 14px 39px;
  color: #fff;
}

.banner-link-scroll {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.29;
  letter-spacing: -0.03em;
  color: #fff;
}

.banner-link-how-made:focus, 
.banner-link-how-made:hover, 
.banner-link-how-made:active {color: #fff;}

.banner-link-how-made:focus, 
.banner-link-how-made:hover, 
.banner-link-how-made:active {color: #fff;}


.banner-link-scroll {
 
}


.ingredients {
  background-color: #1e1823;
}

.footer {
  background-color: #1e1823;
}
.footer-container {
  padding: 32px 20px;
}
.footer-top {
  position: relative;
  margin-bottom: 64px;
}
.footer-top::after {
  content: "";
  display: block;
  position: absolute;
  bottom: -32px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  /* border: 1px solid rgba(255, 255, 255, 0.1); */
    /* width: 335px; */
    /* height: 0px; */
    /* transform: rotate(-180deg); */
}
.footer-top-ad {
  font-family: inherit;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.17;
  letter-spacing: -0.02em;
  color: #fff;
  span {
    color: #FD9222;
  }
}

.footer-top-contact {
  margin-top: 32px;
  font-family: inherit;
  font-style: normal;
  font-size: 14px;
  line-height: 1.29;
  text-align: left;
  color: #fff;
}
.footer-top-title {
  font-weight: 500;
}
.footer-top-contact-list {
  margin-top: 14px;
  font-family: inherit;
  font-weight: 400;
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-top-contact-item {}
.footer-top-contact-link {
  color: #fff;
  transition: color 0.2s ease;
}

.footer-bottom {}
.footer-bottom-nav {
  font-family: inherit;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.14;
  letter-spacing: -0.02em;
}
.footer-bottom-nav-list {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-bottom-nav-item {
 
}
.footer-mob-link {
  display: block;
  @media screen and (min-width: 768px) {
    display: none;
  }
}

.footer-bottom-nav-link {  
  color: #fff;
  transition: color 0.2s ease;
}
.footer-bottom-nav-link:hover,
.footer-bottom-nav-link:focus {  
  color: #FD9222;
}

.footer-bottom-form {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  align-items: center;
  label {
    width: 207px;
    input {
      flex-grow: 1;
      width: 100%;
      height: 45px;
      border: none; 
      border: 1.50px solid rgba(255, 255, 255, 0.15);
      border-radius: 30px;
      padding: 14px 18px;
      background-color: transparent;
      color: #fff;
      transition: border 0.3s ease, color 0.3s ease;
      &::placeholder {
        font-family: inherit;
        font-weight: 400;
        font-size: 14px;
        line-height: 1.29;
        letter-spacing: -0.02em;
        font-family: "Montserrat", sans-serif;
        color: rgba(255, 255, 255, 0.3);
      }
      &:focus,
      &:hover {
        border: 1.50px solid rgba(253, 146, 34, 0.5);
      }
      &:focus::placeholder,
      &:hover::placeholder {
        color: rgba(253, 146, 34, 0.4);
      }
    }
  }
  .footer-form-btn {
    width: 120px;
    height: 45px;
  }

}

@media screen and (max-width: 374px) {
  .footer-bottom-form {
    flex-wrap: wrap;
    label {
        width: 100%;
      }
    .footer-form-btn {
        width: 100%;
      }
  }
}

@media screen and (min-width: 768px) {
  .container {
    max-width: 768px;
  }
  
  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 48px;
    padding: 32px;
  }
  
  .header-nav-list {
    display: flex;
    align-items: center;
    gap: 24px;
  }
  .header-contacts{
    display: block;
  }
  
  .header-mob-btn-bar {
    display: none;
  }

  .footer-container {
    padding: 50px 32px;
  }

  .footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 74px;
  }

  .footer-top::after {
    bottom: -50px;
  }

  .footer-top-ad {
    font-size: 28px;
    line-height: 1.21;
  }

  .footer-top-contact {
    margin-top: 0;
  }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
  }
  .footer-bottom-nav-list {
    margin-bottom: 0;
    display: flex;
    flex-direction: row;
    gap: 16px;
  }

  .footer-bottom-form {
    gap: 8px;
    label {
      width: 232px;
    }
    .footer-form-btn {
      width: 128px;
    }
  }  
  
}



@media screen and (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
  
  .header {
    gap: 90px;
  }
  .logo {
    font-size: 18px;
    line-height: 1.11;
  }
  .logo-choco {
    width: 24px;
    height: 24px;
    top: -1px;
    right: -30px;
  }
  
  .footer-bottom-nav-list {
    gap: 24px;
  }
  .footer-bottom-form {
    label {
      width: 313px;
      input {
        height: 52px;
        padding: 14px 24px;
      }
    }    
    .footer-form-btn {
      width: 137px;
      height: 52px;
    }
  }
}