@media (max-width: 1420px) {
  .about-photos {
    grid-template-columns: 48% 48%;
  }

  .apps-text {
    width: 50%;
  }

  .apps-img {
    margin-left: 3%;
    width: 50%;
    background-repeat: no-repeat;
  }

  .menu-wrapper {
    width: fit-content;
    column-gap: 1%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 1360px) {
  ul {
    margin-left: clamp(30px, 15vw, 350px);
    margin-right: clamp(30px, 15vw, 350px);
  }

  .hero_wrapper {
    background-position: 50% 0px;
  }

  .hero-text {
    margin-left: 8%;
  }

  .prod-wrapper {
    max-width: 1152px;
    width: fit-content;
    margin-right: auto;
    margin-left: auto;
  }

  h2 {
    line-height: 125%;
  }

  .coffee-img {
    background-position: 0px -5px;
  }

  .coffee-name {
    margin-top: 15px;
  }

  .description {
    margin-top: 17px;
  }

  .img-3,
  .img-4 {
    left: -15%;
  }

  .apps-img {
    margin-left: 0%;
    background-repeat: no-repeat;
    background-size: contain;
  }

  .menu-wrapper {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, minmax(315px, 450px));
    grid-template-rows: repeat(auto, 506px);
    column-gap: 0px;
    row-gap: 40px;
  }

  .menu-item {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 1222px) {
  .video {
    left: -10%;
  }

  .about-photos {
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    grid-template-columns: minmax(348px, 660px);
    grid-template-rows: 590px 590px;
  }

  .about-1,
  .about-4 {
    grid-row-end: auto;
  }

  .about-3,
  .about-2 {
    display: none;
  }

  .img-4 {
    left: -32px;
  }
  .apps {
    flex-direction: column;
  }

  .apps-text {
    width: 100%;
  }

  .apps-title {
    margin-top: 0px;
  }

  .apps-img {
    margin-top: 100px;
    margin-left: 0px;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
  }

  footer {
    height: fit-content;
  }

  .footer-wrapper {
    margin-left: 8vw;
    justify-content: space-around;
  }

  .networks {
    margin-bottom: 100px;
  }

  .networks-wrapper {
    width: 50%;
  }

  .contact-wrapper {
    margin-left: 8vw;
    margin-right: 30px;
  }

  .menu-title {
    width: 100%;
  }
}

@media (max-width: 1061px) {
  .menu-wrapper {
    margin-top: 40px;
    margin-right: auto;
    margin-left: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(315px, 450px));
    grid-template-rows: 506px 506px;
    column-gap: 0px;
    row-gap: 40px;
  }

  .video {
    left: -20%;
  }
}

@media (max-width: 931px) {
  ul {
    margin-left: clamp(30px, 10vw, 200px);
    margin-right: clamp(30px, 10vw, 200px);
  }

  .hero-text {
    margin-left: 60px;
  }

  .icon-place {
    opacity: 1;
    top: 17px;
    left: 118px;
  }

  .btn-line {
    margin-left: 63px;
  }
  .btn {
    margin-top: 0px;
    margin-left: 0px;
  }

  .img-1,
  .img-4 {
    left: -20px;
  }

  .modal-btn {
    margin-top: 8px;
  }
}

@media (max-width: 822px) {
  .video {
    height: 110%;
    left: -50%;
  }

  .footer-wrapper {
    flex-direction: column;
  }

  .networks-wrapper {
    width: 100%;
  }

  .contact-wrapper {
    width: 100%;
    margin-left: 0px;
    margin-top: 0px;
    margin-bottom: 85px;
  }
}

@media (max-width: 770px) {
  .menu-wrapper {
    margin-top: 40px;
    margin-right: auto;
    margin-left: auto;
    padding-left: 14px;
    padding-right: 14px;
    display: grid;
    grid-template-columns: repeat(2, 310px);
    grid-template-rows: 506px 506px;
    column-gap: 40px;
    row-gap: 40px;
  }

  .about-photos {
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    grid-template-columns: minmax(348px, 688px);
    grid-template-rows: 590px 590px;
  }
}

@media (max-width: 768px) {
  ul {
    display: none;
  }

  .menu {
    display: none;
  }

  .menu-btn {
    position: absolute;
    right: 39px;
    top: 27px;
    display: block;
    width: 44px;
    height: 44px;
    border-radius: 100px;
    border: 1px solid #665f55;
    padding-top: 16px;
    box-sizing: border-box;
  }

  .menu-btn_line {
    margin: auto;
    display: block;
    width: 16px;
    border: 1px solid #665f55;
  }

  .line__crossed {
    margin-top: 5px;
  }

  .line-1 {
    transform: rotate(0deg);
    transition: transform 0.5s;
  }

  .line-1_crossed {
    transform: rotate(45deg);
    transition: transform 0.5s;
  }

  .line-2 {
    margin-top: 6px;
    transform: rotate(0deg);
    transition: transform 0.5s;
  }

  .line-2_crossed {
    margin-top: -2px;
    transform: rotate(-45deg);
    transition: transform 0.5s;
  }

  .menu-item_hidden {
    display: none;
  }

  .circle-btn {
    display: block;
    width: 60px;
    height: 58px;
    border: 1px solid #665f55;
    border-radius: 100px;
    margin-top: 39px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
  }

  .circle-svg {
    position: absolute;
    top: 17px;
    left: 17px;
  }
}

@media (max-width: 739px) {
  .menu-wrapper {
    margin-right: auto;
    margin-left: auto;
    padding-left: 0px;
    padding-right: 0px;
    grid-template-columns: repeat(2, minmax(315px, 340px));
    column-gap: 0px;
  }

  .menu-item {
    margin-left: auto;
    margin-right: auto;
  }

  .modal-img {
    display: none;
  }

  .modal-wrapper {
    min-width: 342px;
    width: 90%;
  }

  .modal-text {
    padding-left: 0px;
    margin-top: 18px;
  }
}

@media (max-width: 688px) {
  .hero_wrapper {
    height: 552px;
  }

  .hero-text {
    width: auto;
    margin-right: 16px;
    padding-top: 60px;
    margin-left: 5%;
  }

  h1 {
    font-size: 42px;
    line-height: 115%;
  }

  .btn {
    display: none;
  }

  .prod-wrapper {
    width: 91vw;
    max-width: 480px;
  }
  .prod-card {
    margin-top: -5px;
    max-width: 480px;
    width: 91vw;
  }

  .slider-window {
    width: 100%;
  }

  .coffee-img,
  .coffee-img-2,
  .coffee-img-3 {
    max-width: 480px;
    width: 100%;
    min-height: 348px;
    max-height: 480px;
    height: 50vw;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  h2 {
    font-size: 32px;
    line-height: 125%;
  }

  .about-title {
    line-height: 125%;
  }

  .coffee-name {
    margin-top: 20px;
  }

  .description {
    margin-top: 17px;
  }

  .img-1,
  .img-4 {
    left: -13%;
  }

  .apps-title {
    line-height: 125%;
  }

  .apps-img {
    height: 348px;
    margin-top: 40px;
  }

  .motto-1,
  .motto-2 {
    font-size: 32px;
  }

  .footer-wrapper,
  .networks {
    margin-left: auto;
    margin-right: auto;
  }

  .motto-1,
  .motto-2,
  .contact-title {
    text-align: center;
  }

  .contact-info {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }

  .menu-title {
    font-size: 32px;
  }

  .menu-wrapper {
    margin-top: 40px;
    margin-right: auto;
    margin-left: auto;
    grid-template-columns: minmax(310px, 100%);
    grid-template-rows: repeat(4, 506px);
    row-gap: 40px;
  }
}

@media (max-width: 560px) {
  body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .menu-btn {
    right: 16px;
  }

  .hero-text {
    margin-left: 16px;
  }

  .icon-place {
    top: 15px;
    left: 116px;
  }

  .btn-line {
    margin-top: 14px;
  }

  .img-1,
  .img-4 {
    left: -23%;
  }
}

@media (max-width: 495px) {
  .img-1 {
    left: -40%;
  }

  .img-4 {
    left: -40%;
  }

  .apps-btn {
    width: fit-content;
    flex-direction: column;
    margin-top: 20px;
  }

  .store-btn {
    margin-top: 20px;
  }
  .video {
    left: -100%;
  }
}

@media (max-width: 390px) {
  .img-1 {
    left: -55%;
  }

  .img-4 {
    left: -55%;
  }

  .footer-wrapper {
    margin-left: 16px;
    margin-right: 16px;
    margin-top: 60px;
  }
  .networks {
    margin-left: 0px;
    margin-bottom: 40px;
  }

  .motto-1,
  .motto-2,
  .contact-title {
    text-align: left;
  }

  .contact-info {
    width: fit-content;
    margin-left: 0px;
  }

  .new-para {
    display: none;
  }

  .contact-wrapper {
    margin-bottom: 45px;
  }

  .menu-options {
    width: 100%;
  }

  .menu-link {
    margin-top: clamp(10px, 11.5vh, 130px);
  }
}

@media (max-width: 370px) {
  .hero_wrapper {
    height: fit-content;
    padding-bottom: 20px;
  }
  .about-photos {
    width: 100%;
    grid-template-columns: auto;
  }
}

@media (max-height: 760px) {
  .burger-text {
    margin-top: 10vh;
  }
}

@media (max-height: 650px) {
  .burger-text {
    margin-top: 7vh;
    margin-bottom: 0vh;
  }
}

@media (max-height: 472px) {
  .burger-text {
    margin-top: 5vh;
    margin-bottom: 0vh;
  }
}

@media (max-height: 414px) {
  .burger-text {
    margin-top: 2vh;
    margin-bottom: 0vh;
  }
}
