:root {
  --white: #fff;
  --grey: #fcfcfc;
  --blue-hover: hsl(211, 100%, 27%);
  --blue-hover2: #002a57;
}

* {
  transition: all 0.2s ease;
  font-family: Arial;
}

html {
  margin: 0;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  padding: 0;
}

main {
  margin: 0 auto;
}

li.click {
  text-align: center;
}

.section {
  max-width: 1100px;
  margin: auto;
  padding: 0 1rem;
}

#solucoes {
  max-width: 1100px;
  padding: 1rem 0;
}

#sobre {
  text-align: center;
}

#sobre img {
  border-radius: 20px;
  max-width: 7rem;
}

ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding-left: 0;
}

#section-solucoes {
  background: linear-gradient(to bottom, var(--blue-hover), var(--blue-hover2));
  color: var(--white);
}

#section-solucoes ul {
  list-style: none;
  padding: 0;
}

#section-solucoes li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
}

#section-solucoes li::before {
  content: "\2713";
  position: absolute;
  left: 0;
}

#contato.section {
  width: 90vw;
}

.video-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

input,
textarea {
  width: 100%;
  padding: 5px;
  font-size: 1rem;
  margin: 8px auto;
  border-radius: 5px;
  border: #bbb solid 1px;
}

input:hover,
textarea:hover {
  border-radius: 10px;
  border: var(--blue-hover2) solid 1px;
}

input:focus,
textarea:focus {
  background: var(--grey);
}

#submit-button {
  display: block;
  margin-left: auto;
}

#video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#img-background {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
}

#inicio .content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  color: white;
  text-align: center;
}

.content {
  text-align: center;
  color: white;
  z-index: 1;
}

h2 {
  font-size: 3rem;
}

#inicio p {
  font-size: 1.2rem;
}

.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  max-width: 1000px;
  padding-top: 0;
  margin: 0 auto;
  padding-right: 1rem;
  padding-left: 1rem;
}

.navbar {
  background-color: #fff;
  position: fixed;
  width: 100%;
  right: 0;
  overflow: hidden;
  top: 0;
  transition: top 0.3s;
  z-index: 1000;
  box-shadow: 2px 2px 20px 1px #999;
  }
  
  .nav-links {
  list-style: none;
  display: flex;
  align-items: center;
}

.nav-links li {
  margin-right: 20px;
}

.nav-links li a {
  text-decoration: none;
  color: inherit;
  position: relative;
}

.nav-links li a::before {
  content: "";
  position: absolute;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: linear-gradient(to bottom, var(--blue-hover), var(--blue-hover2));
  transition: width 0.3s ease;
}

.nav-links li a:hover::before {
  width: 100%;
}

.nav-links li a:hover {
  width: 100%;
  color: var(--blue-hover);
}

.content {
  margin-top: 70px;
}

.button-blue {
  background-color: var(--blue-hover);
  padding: 0.5rem;
  border-radius: 12px;
  color: var(--white);
  cursor: pointer;
  margin: 0;
  transition: ease 0.3s;
}

.button-blue:hover {
  color: var(--blue-hover);
  background-color: var(--white);
  padding: 0.5rem;
  border-radius: 5px;
}

#img-logo {
  opacity: 0.9;
  max-width: 9rem;
}

#img-logo:hover {
  max-width: 9.1rem;
  transition: 0.5s ease;
  opacity: 1;
}

#img-wpp {
  opacity: 0.9;
  max-width: 2rem;
}

#img-wpp:hover {
  transition: 0.5s ease;
  max-width: 2.1rem;
  opacity: 1;
}

#burger-button {
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
}

#burger-button:hover {
  font-weight: 500;
  color: var(--blue-hover);
}

#mask {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

#contato img.img-contact {
  max-width: 2rem;
}

#contato ul {
  margin: auto;
}

#contato ul li {
  display: flex;
  margin: auto;
  align-items: center;
  gap: 10px;
  color: var(--blue-hover);
}

#contato ul li:hover {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 5px;
  color: #000;
}

#contato ul li {
  cursor: pointer;
}

#contato ul li .grid-list {
  display: grid;
  color: var(--blue-hover2);
  filter: grayscale(100%);
  text-decoration: none;
}

#contato ul li .grid-list:hover {
  color: #000;
  filter: grayscale(0%);
}

.line {
  width: 100%;
  height: 3px;
  background-color: black;
}

.nav-links-burger {
  display: none;
}

@media screen and (max-width: 1100px) {
  .hamburger {
    position: relative;
    top: 30px;
    display: none;
    font-size: 1rem;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
  }

  .nav-links-burger {
    list-style: none;
    display: flex;
    box-shadow: 0px 0px 5px 0px #fff;
    background-color: var(--white);
    flex-direction: column;
    padding: 10px;
    position: fixed;
    margin: 0;
    align-items: center;
  }

  .nav-links-burger li {
    list-style: none;
    margin: 5px;
    text-align: left;
  }

  .nav-links-burger li a {
    text-decoration: none;
    color: inherit;
  }

  .nav-links-burger li a:hover {
    color: var(--blue-hover);
  }

  ul {
    grid-template-columns: 1fr 1fr;
    padding: 20px;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }

  #contact-list {
    display: flex;
    flex-direction: column;
    max-width: fit-content;
  }

  #solucoes {
    padding: 20px;
  }
}

@media screen and (max-width: 800px) {
  h2 {
    font-size: 1.3rem;
    text-align: center;
  }

  #img-wpp {
    max-width: 4rem;
  }

  #img-wpp:hover {
    max-width: 4.2rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  ul {
    grid-template-columns: 1fr;
  }

  #inicio p {
    font-size: 1rem;
  }

  .hamburger {
    left: 175px;
    z-index: 1000;
  }

  .video-container {
    height: 67vh;
  }

  #inicio .content {
    top: 27%;
  }

  .nav-links {
    display: none;
  }

  .whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
  }

  #burger-button {
    display: block;
  }
}

@media screen and (max-width: 500px) {
  .hamburger {
    left: 55px;
  }
}

/* footer */
.footer {
  background: linear-gradient(to bottom, var(--blue-hover), var(--blue-hover2));
  box-shadow: 2px 2px 20px 1px #999;
  color: #fff;
  padding: 10px 0;
  font-size: 0.8rem;
  width: 100%;
  height: 30vh;
  margin-top: 5rem;
  padding-top: 7rem;
}

#color-logo {
  filter: invert(100%);
}

@media screen and (max-width: 800px) {
  .footer {
    font-size: 0.7rem;
  }

  #color-logo {
    display: none;
  }
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
}

.links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.footer-logo img {
  display: block;
}

.footer-contact h3,
.footer-links h3 {
  font-size: 18px;
}

.footer-contact p {
  margin: 10px 0;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}
