@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


:root {
  --white: #fff;
  --gray: #f8fff8;
  --black: #191b1c;
  --custom-primary: #0f6300;
  --font-family: 'Montserrat', var(--bs-font-sans-serif);
}

.btn-custom-primary {
  background-color: var(--custom-primary);
  border-color: var(--custom-primary);
  color: var(--white);
}

.btn-custom-primary:hover,
.btn-custom-primary:focus,
.btn-custom-primary:active {
  background-color: var(--custom-primary) !important;
  border-color: var(--custom-primary) !important;
  color: var(--white) !important;
  filter: brightness(0.9) !important;
}

body {
  font-family: var(--font-family);
}

h1 {
  font-size: 42px;
  font-weight: 700;
  text-transform: uppercase;
}

h2 {
  font-size: 34px;
  font-weight: 600;
  text-transform: uppercase;
}

h3 {
  font-size: 22px;
}

section {
  padding: 130px 0px;
}

section:nth-of-type(odd) {
  background-color: var(--white);
}

section:nth-of-type(even) {
  background-color: var(--gray);
}

.bt {
  display: grid;
  place-items: center;

  a {
    display: block;
    text-decoration: none;
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    border-radius: 22px;
    background-color: var(--custom-primary);
    padding: 12px 72px;
    width: fit-content;
    transition: all 0.3s ease;
  }

  a:hover {
    background-color: var(--custom-primary);
    filter: brightness(0.9)
  }
}

/* nav */
.navbar {
  background-color: var(--custom-primary);
}

.nav-link {
  color: var(--white);
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--white);
  border-bottom: 2px solid var(--white);
}

/* end nav */

/* hero section */
.hero-section {
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6)), url('../images/banner-marvitubos-principal.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.home {
  padding: 170px 0px;
}

/* end hero section */

/* marvitubos */
.marvitubos {
  background-image: url('../images/banner-marvitubos-cta.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  .content {
    padding: 0px 120px;
    width: fit-content;
  }

  .bt {

    a {
      color: var(--custom-primary);
      border: 2px solid var(--white);
      background-color: var(--white);
    }
  }
}

/* end marvitubos */

/* beneficios */
.box-b {
  display: grid;
  place-items: center;
  text-align: center;
  gap: 12px;

  img {
    max-width: 200px;
    width: 140px;
  }
}

/* end beneficios */

/* produtos */
.produtos {
  background-image: url('../images/banner-marvitubos-claro.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.produtos .enhance {
  color: var(--custom-primary);
}

.box-p {
  display: grid;
  place-items: center;
  gap: 12px;
  text-align: center;
  border: none;
  border-radius: 22px;
  background-color: var(--gray);
  padding: 24px;
  /* min-height: 630px; */
  height: 720px;

  img {
    max-width: 100%;
    width: 400px;
  }
}

/* end produtos */

/* escolher */
.box-e {
  display: grid;
  place-items: center;
  gap: 12px;
  text-align: center;
  max-width: 620px;
  width: 100%;

  img {
    max-width: 100%;
    width: auto;
  }
}

/* end escolher */

/* footer */
footer {
  color: var(--white);
  background-color: var(--custom-primary);
  width: 100%;
}

footer ul li {
  padding-left: 0px !important;
}

footer span {
  color: var(--white);
  padding-left: 14px;
}

.footer-link {
  text-decoration: none;
}

#footer_content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 50px 20px 0px 50px;
}

.footer-logo img {
  max-width: 100%;
  width: 260px;
}

#footer_social_media {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
}

@media screen and (max-width: 768px) {
  #footer_social_media {
    align-items: left;
    justify-content: left;
  }
}

#footer_social_media .footer-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  width: 2.5rem;
  color: var(--custom-primary);
  background-color: var(--white);
  border: 2px solid var(--white);
  border-radius: 50%;
  transition: all 0.4s;
}

#footer_social_media .footer-link:hover {
  color: var(--white);
  background-color: var(--custom-primary);
  border: 2px solid var(--white);
}

#footer_social_media .footer-link i {
  font-size: 1.25rem;
}

#instagram,
#facebook,
#whatsapp-footer {
  background-color: transparent;
}

#contacts li i {
  color: var(--white);
  font-size: 16px;
  padding-right: 4px;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
}

.footer-list h3 {
  color: var(--white);
  border-left: 4px solid var(--white);
  padding-left: 4px;
  font-weight: 600;
  font-size: 24px;
  gap: 100px;
}

.footer-list .footer-link {
  color: var(--white);
  font-size: 16px;
  border-bottom: 2px solid transparent;
  transition: 0.3s;
}

.footer-list .footer-link:hover {
  color: var(--white);
  border-bottom: 2px solid var(--white);
}

#footer_copyright {
  display: flex;
  justify-content: center;
  font-size: 0.9rem;
  padding: 1.5rem;
  font-weight: 100;
}

@media screen and (max-width: 768px) {
  #footer_content {
    text-align: left;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
  }
}

@media screen and (max-width: 450px) {
  #footer_content {
    grid-template-columns: repeat(1, 1fr);
    padding: 32px 10px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 18px;
  }

  .marvitubos .content {
    padding: 0px 10px;
  }

  .box-e {
    padding: 20px 10px;
  }

  .box-p {
    padding: 20px 15px;
  }

  .bt a {
    padding: 12px 40px;
    font-size: 16px;
  }
}

/* end footer */

/* etilo botão flutuante */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background-color: #2cd46d;
  padding: 8px;
  border-radius: 12px;
  
  a {
    text-decoration: none;
    color: var(--white);
  }

  i {
    font-size: 38px;
  }
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 32px;
    text-align: center;
  }

  h2 {
    font-size: 28px;
  }

  section {
    padding: 62px 10px;
  }

  .bt {

    a {
      text-align: center;
    }
  }

  .home {
    padding: 72px 10px;

    .content {
      p {
        text-align: center;
      }
    }
  }

  .marvitubos .content {
    padding: 0px 20px;
    width: 100%;
  }

  .beneficios .col {
    flex: 0 0 100%;
    margin-bottom: 32px;
  }

  .produtos .col {
    flex: 0 0 100%;
    margin-bottom: 32px;
  }

  .box-p {
    height: auto;
  }

  .box-e {
    height: auto;
    max-width: 100%;
    width: 100%;

    img {
    max-width: 100%;
    width: auto;
  }

  }  

  .escolher .col {
    flex: 0 0 100%;
    margin-bottom: 32px;
  }
}