@media (width <= 1100px) {
  body {
    font-size: 1.3rem;
    line-height: normal;
    letter-spacing: normal;
  }
  /* HADER - MENU DE NAVEGAÇÃO */
  #navigation .wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  #navigation {
    background: var(--color-primary);
  }

  #navigation.scroll {
    background: var(--color-primary);
  }

  #navigation button {
    background: none;
    border: none;
    cursor: pointer;
  }

  #navigation .menu {
    display: none;
  }

  #navigation .buttons {
    display: initial;
    opacity: 1;
    visibility: visible;
  }

  #navigation .open-menu {
    display: initial;
    opacity: 1;
    visibility: visible;
  }

  #navigation .close-menu {
    display: none;
    opacity: 0;
    visibility: hidden;
  }

  body.menu-expanded #navigation .open-menu {
    display: none;
    opacity: 0;
    visibility: hidden;
  }

  body.menu-expanded #navigation .close-menu {
    display: initial;
    opacity: 1;
    visibility: visible;
  }

  body.menu-expanded {
    overflow: hidden;
    background-color: var(--color-gray-light);
  }

  body.menu-expanded > :not(nav) {
    visibility: hidden;
  }

  #navigation body.menu-expanded #navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
  }

  body.menu-expanded #navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    padding: 0;
  }

  body.menu-expanded #navigation .wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
  }

  body.menu-expanded #navigation .buttons {
    position: fixed;
    top: 2.5rem;
    right: 2.5rem;
  }

  body.menu-expanded #navigation .logo {
    position: fixed;
    top: 4rem;
    left: 50%;
    height: fit-content;
    max-height: 5rem;
    width: 50%;
    transform: translateX(-50%);
  }

  body.menu-expanded #navigation .menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  body.menu-expanded #navigation .navigation_list {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
  }

  body.menu-expanded #navigation .navigation_list li {
    margin: 0;
    padding: 0;
  }

  body.menu-expanded #navigation .navigation_list li a {
    border: none;
  }

  body.menu-expanded #navigation .social-links a::after {
    background-color: var(--icons-color);
  }

  #home {
    height: 48rem;
    background-position: center;
    background-size: 55rem;
  }

  /* PRODUTOS */

  /* #produtos {
    min-height: 100vh;
  } */

  #produtos .wrapper {
    justify-content: center;
    min-height: 40rem;
  }

  #produtos .wrapper .title {
    margin-top: 24rem;
  }

  #produtos .wrapper p {
    text-align: center;
  }

  #produtos .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 80%;
    transform: translateY(-3rem);
    margin: 0 auto;
    /* min-height: 80rem; */
    height: 80rem;
  }

  #produtos .container .content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-gap: 2rem;
    place-items: center;
    position: initial;
    width: 100%;
    height: 100%;
    /* transform: translateY(-5rem); */
  }

  #produtos .content .card {
    width: 100%;
  }

  #produtos .logos {
    /* margin: 0; */
    padding: 0;
    width: 100%;
  }


  #Sais {
    margin-top: 0;
  }

  #Sais .imageTranlated {
    transform: translate(0, -50%);
  }

  #Sais .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    width: 100%;
  }

  #Sais .content .col-a {
    width: 80%;
    margin: 0;
    max-width: initial;
  }

  #Sais .content .title {
    background-color: transparent;
    color: var(--color-text-secondary);
    position: relative;
    padding: 0;
  }

  #Sais .content .title::after {
    /* create line */
    content: "";
    display: block;
    width: 70%;
    max-width: 21rem;
    height: 0.8rem;
    background-color: var(--line-color);
    position: absolute;
    bottom: 0.7rem;
    z-index: 0;
    border-radius: 0.5rem;
  }

  #Sais .content .title h1 {
    position: relative;
    z-index: 1;
    padding: 0.5rem;
  }

  #Sais .content .text {
    margin: 0;
    min-height: fit-content;
  }

  /* inicio imagens */
  #Sais .content .col-b {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    height: 40rem;
    margin-left: auto;
  }

  #Sais .content .col-b img {
    object-position: right;
  }

  /* #Sais .content .col-b img:nth-child(n) {
    width: 100%;
    height: 100%;
    max-height: 25rem;

    --translate-y: calc(var(--i) * 2rem);
    --translate-x: calc(var(--i) * 6rem);

    transform: translateX(var(--translate-x)) translateY(var(--translate-y));
  }

  #Sais .content .col-b img:nth-child(n + 5) {
    --to-pos-x: calc(var(--i) * 5rem);

    --translate-x: calc(var(--to-pos-x) * (var(--i) * 0.1));
    --translate-y: calc(var(--i) * 3rem);

    transform: translateX(var(--translate-x)) translateY(var(--translate-y));
  }

  #Sais .content .col-b img:nth-child(n).active {
    z-index: var(--total);
    height: 100%;
    max-height: 33rem;
  } */

  #Sais .wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0;
    /* min-height: 100vh; */
  }

  #Sais .controllers .prev,
  #Sais .controllers .next {
    margin: 0;
  }

  #empresa {
    overflow: visible;
  }

  #empresa .rantagle_image {
    display: none;
  }

  #empresa .salt_image {
    right: 0;
    opacity: 0.7;
  }

  #empresa .content .image {
    /* display: none; */
    width: 100%;
    right: 0;
    bottom: -5rem;
  }

  #empresa .alim-float {
    width: 50%;
  }

  
  #video-container {
    padding-top: 6rem;
  }


  #contato {
    min-height: 42rem;
  }

  #contato .salt_image {
    left: -10rem;
    width: 40%;
  }

  #contato .translate_image {
    width: 50%;
    height: 50%;
    max-height: 20rem;
  }
  #contato .wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    height: 40rem;
  }

  #contato .wrapper .contato_card {
    height: 15rem;
  }

  #footer .translate_image {
    top: 0rem;
    left: 1rem;
    width: fit-content;
    height: 10rem;
    transform: translate(-20%, -50%);
  }
}

@media (width <= 700px) {
  body {
    font-size: 1rem;
  }

  #home {
    height: 48rem;
    background-position: center;
    background-size: 55rem;
  }
  #produtos .container {
    /* width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; */
    /* max-height: calc(4 * 29rem + 5rem); */
    /* max-height: 200rem; */
    /* height: 200rem; */
    height: 155.4rem;
    transform: translateY(-3rem);
  }

  #produtos .container .content {
    /* grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(4, 1fr);
    transform: translateY(-2rem); */
    /* display: flex;
    flex-direction: column; */

    /* reset */
    display: initial;
    grid-template-columns: initial;
    grid-template-rows: initial;
    transform: initial;
    position: initial;
    font-size: 1.5rem;

    /* outline: 1px solid red; */
    /* init style */
    width: 100%;
    display: flex;
    height: 100%;
    flex-wrap: wrap;
  }

  #produtos .container .content .card {
    width: 100%;
    max-width: 30rem;
    min-width: 25rem;
  }

  #produtos .logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    width: 100%;
    min-height: 15rem;
    place-content: center;
    place-items: center;
  }

  #produtos .logos img {
    width: 100%;
    height: 100%;
    max-width: 6rem;
    max-height: 6rem;
  }

  #Sais .content .col-b {
    width: 100%;
    min-width: auto;
    min-height: auto;
    max-width: 72rem;
    max-height: 72rem;
  }

  #Sais .imageTranlated {
    min-height: auto;
    transform: translate(0, -17rem);
  }

  #Sais .wrapper {
    min-height: fit-content;
  }

  #empresa {
    height: 100%;
    min-height: 35rem;
  }
  #empresa .content .image {
    display: none;
  }
  #empresa .image {
    /* display: none; */
    width: fit-content;
    height: auto;
    max-height: 100px;
    max-width: 30rem;
    position: absolute;
    width: 10rem;
    top: -5rem;
    left: 0;
  }

  #empresa .rantagle_image {
    display: initial;
    position: absolute;
    width: 15rem;
    height: 11rem;
    left: -5rem;
    top: -6rem;
  }

  /* #empresa .text {
    width: 90%;
  } */

  #empresa .wrapper,
  #empresa .content {
    overflow: visible;
  }

  #empresa .content .image {
    display: flex;
    justify-content: center;
    align-items: start;
    overflow: hidden;
    transform: translate(-3rem, 0);

  }

  #empresa .content .image img {
    display: none;
  }

  #empresa .wrapper {
    height: 100%;
  }

  #empresa .container {
    width: 80%;
    margin: 0 auto;
    margin-top: 5rem;
    background-color: #e9eeee;
    padding: 2rem;
    border-radius: 1rem;
  }

  #empresa .alim-float {
    width: 100%;
    max-width: 30rem;
    transform: rotate(-40deg) translate(0, 0);

  }
  #empresa .alim-float img.animation {
    animation: none;
  }
  
  #video-container {
    padding-top: 6rem;
    padding-bottom: 2rem;
  }


  #contato .salt_image {
    left: -10rem;
    width: 50%;
    transform: rotate(-40deg);
  }

  #footer {
    width: 100%;
    height: 100%;
  }
  #footer .selos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    place-items: center;
  }
  #footer .wrapper .links_page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
  }

  #footer .translate_image {
    top: 0rem;
    left: 1rem;
    width: fit-content;
    max-width: 113px;
    height: 8rem;
    transform: translate(-20%, -50%);
  }
}

@media (width <= 512px) {
  #contato {
    font-size: 1.2rem;
    padding: 1rem;
    min-height: 33rem;
  }
  #contato .wrapper .contato_card {
    height: auto;
    padding: 1rem;
  }
  #contato .contato_card header {
    margin: 0;
  }
  #contato .translate_image {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    max-width: auto;
    max-width: 20rem
  }
  #contato .translate_image img {
    object-fit: contain;
    width: 200px;
    height: 100px;
    object-position: right;
  }

  #video-container .video {
    width: 90%;
  }

  #video-container {
    padding-top: 6rem;
    padding-bottom: 2rem;
  }
}
