/* Below method is used to make project responsive using 1110px to 980px as base */
@media only screen and (max-width: 1110px) {
  .center {
    width: 980px;
  }

  /* Below you will find the method responsible for resizing the main index video */
  video {
    max-width: 50%;
    height: auto;
  }

  /* Method responsible for keeping the menu aligned when the page is resized */
  .menu__li {
    margin: 0 5px;
  }

  /* Method responsible for resizing whatsapp button */
  .bt-sigin {
    margin-left: 15px;
    padding: 5px 20px;
    font-size: 14px;
  }

  /* Method responsible for resizing the presentation title */
  .title-apresentacao {
    font-size: 25px;
    line-height: 30px;
  }

  /* Method responsible for resizing the presentation description */
  .descricao-apresentacao {
    font-size: 16px;
    line-height: 20px;
  }

  /* Method responsible for resizing the icon title */
  .box-icone__titulo {
    font-size: 18px;
    line-height: 24px;
  }

  /* Method responsible for resizing the About Company caption */
  .about-box__subtitle {
    font-size: 30px;
  }

  /* Method responsible for resizing the width of the illustration*/
  .box-ilustracao {
    width: 45%;
  }

  /* Method responsible for resizing the name of witnesses */
  .testemunha-nome {
    font-size: 25px;
  }

  /* Method responsible for resizing the title referring to the company's history */
  .our-story__title {
    font-size: 20px;
  }

  /* Method responsible for resizing the title of new publications */
  .post__title {
    font-size: 18px;
  }

  /* Method responsible for resizing the footer description */
  .footer__descricao {
    font-size: 16px;
    line-height: 22px;
  }

  /* Method responsible for resizing the footer title */
  .footer__titulo {
    font-size: 18px;
  }

  /* Method responsible for resizing the footer title */
  .footer__titulo {
    font-size: 16px;
  }
}

/* The method below is used to make the project responsive using 980px by 768px as a base */
@media only screen and (max-width: 980px) {
  .center {
    width: 768px;
  }

  /* The method below is used to perform a line break in the footer description, text in boxes
     containing icon and presentation description. */
  .footer__descricao br,
  .box-icone__texto br,
  .descricao-apresentacao br {
    display: none;
  }

  /* Below you will find the method responsible for setting the top margin of the video */
  video {
    margin-top: 50px;
  }

  /* Method responsible for setting the left margin to 30px */
  .box-ilustracao {
    margin-left: 30px;
  }

  /* Method responsible for resizing the width of the box over */
  .about-box {
    width: 45%;
  }

  /* Method responsible for resizing footer links width */
  .footer__links {
    width: 20%;
  }

  /* Method responsible for setting the top margin to -120px */
  .testimonial {
    margin-top: -120px;
  }

  /* The method below is used to resize the text of the boxes that contain the icon */
  .box-icone__texto {
    padding-right: 20px;
    font-size: 14px;
    line-height: 18px;
  }

  /* The right padding below is used to adjust the position of the presentation description text */
  .descricao-apresentacao {
    padding-right: 30px;
  }

  /* The method below resizes the text size of the checklist found under About the company in the main index */
  .item-list-about span {
    font-size: 14px;

  }

  /* Right padding below is used to adjust footer description text position */
  .footer__descricao {
    padding-right: 20px;
  }

  /* The method below is used to adjust the position and number of columns of publications in the portfolio */
  .col--small-2 {
    width: 50%;
  }

}

/* The method below is used to make the project responsive using 768px by 640px as a base */
@media only screen and (max-width: 768px) {
  .center {
    width: 640px;
  }

  /* Top padding that makes the presentation pull away from the top */
  .apresentacao__box {
    padding-top: 50px;
  }

  /* Top padding that causes icons and box to move 100px away from the presentation */
  .icones {
    padding-top: 100px;
  }

  /* Method below centralizes and distances the part about the company */
  #about .center {
    padding-top: 70px;
  }

  /* The method for resizing the width and margin of boxes containing the icon */
  .box-wrapper {
    width: 50%;
    margin-bottom: 40px;
  }

  /* The below method is used to set the top margin of the video */
  video {
    margin-top: 60px;
  }

  /* The method below resizes the width of the illustration */
  .box-ilustracao {
    width: 80%;
  }

  /* The method below locks the art from resizing */
  .box-ilustracao .img-responsiva {
    max-width: 400px;
    margin: 0 auto;
    display: block;
  }

  /* The method below resizes the width and distance of the related party over the company */
  .about-box {
    width: 90%;
    padding-top: 50px;
  }

  /* Method responsible for setting the top margin to 100px */
  .testimonial {
    margin-top: 100px;
  }

  /* The method below resizes the width and distance of the description that talks about the company's history */
  .our-story__box {
    width: 100%;
    margin-bottom: 50px;
  }

  /* The method below centers the newsletter text */
  .newsletter__text {
    float: none;
    padding: 0;
  }

  /* The below method makes the line break in the newsletter description */
  .newsletter__text br {
    display: none;
  }

  /* Keeps newsletter text as aligned as possible */
  .newsletter__content {
    text-align: center;
  }

  /* The method below is responsible for aligning, resizing and setting margin in the newsletter form */
  .newsletter__form {
    float: none;
    width: 300px;
    margin: 50px auto 0 auto;
  }

  /* The filling below is responsible for the distance from the newsletter wrapper */
  .newsletter__wrapper {
    padding: 50px 0;
  }

  /* The method below is responsible for setting the height of the newsletter_box */
  .newsletter__box {
    height: auto;
  }

  /* The method below is responsible for distancing the footer_box from the description that contains the phrase */
  .footer__box {
    margin-bottom: 30px;
  }

  /* The method below is responsible for resizing the width of the footer_link */
  .footer__links {
    width: 100%;
  }

  /* The method below is responsible for resizing the width of footer_pages and footer_legal */
  .footer__pages,
  .footer__legal {
    width: 100%;
  }

  /* The method below is responsible for setting a distance margin of footer_links and footer_legal */
  .footer__pages {
    margin: 30px 0;
  }

  /* The method below is responsible for setting a distance margin with the titles */
  .footer__titulo {
    margin-bottom: 20px;
  }
}

/* The method below is used to make the project responsive using 640px per "auto" as a base */
@media only screen and (max-width: 640px) {
  .center {
    width: auto;
    /* padding: 0 20px; */
  }

  /* Below method is used to resize video */
  video {
    max-width: 100%;
    height: auto; 
    margin-top: 35px;
  }

  /* The method below is used to keep the menu links vertical and center aligned */
  .menu__li {
    float: none;
    text-align: center;
  }

  /* The method below is responsible for setting the font size, line height and text color of the menu links */
  .menu__link {
    font-size: 20px;
    line-height: 22px;
    color: #0ADB00;
  }

  /* The method below is responsible for resizing the width of the presentation description*/
  .apresentacao__descricao {
    width: 100%;
    margin-top: -40px;
  }

  /* Method responsible for resizing the width of the illustration*/
  .box-ilustracao {
    width: 95%;
  }

  /* Method responsible for resizing the width of the box over */
  .about-box {
    margin-left: 10px;
  }

  /* The method below is responsible for distancing new publications
  .post {
    padding-top: 70px;
  } */

  /* The method below is responsible for helping to center the footer
  .footer .center {
    padding: 50px 20px;
  } */

  /* The method below is responsible for performing the line break of the footer description sentence */
  .footer__descricao br {
    display: none;
  }

  /* The method below is responsible for resizing the width of the footer_box */
  .footer__box {
    width: 100%;
  }

  /* The method below is responsible for hiding the mobile menu when starting the index */
  .menu {
    display: none;
  }

  /* The method below is responsible for locking the display, in the fixed position to make the menu movable */
  #menu-mobile {
    display: block;
    position: fixed;
    right: 30px;
    top: 30px;
    z-index: 101;
  }

  /* The below method is responsible for setting a border on the mobile menu button and setting the border */
  #menu-mobile span {
    border: 2px solid #0A8F00;
    margin-bottom: 3px;
  }

  /* The method below is responsible for setting position, height, width, background color, aligning and centering the mobile menu */
  #menu {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, .95);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
  }

  /* The below method sets the distance margin for the li menu */
  #menu li {
    margin-bottom: 40px;
  }

  /* The below method sets the distance margin on the left of the whatsapp button */
  .bt-sigin {
    margin-left: 0;
  }

  /* Method resize width below */
  .col--mobile-1 {
    width: 100%;
  }

}