@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400&display=swap");

:root {
  --primary-color: #026666;
  --secondary-color: #d28072;
  --primary-color-opacity: #e4eded;
  --text-color: #2a2a2b;
  --aside-color: #3c4d4a;
  --yellow: #ccb28d;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

ul,
a {
  text-decoration: none;
  list-style: none;
  color: var(--primary-color);
}

h2 {
  font-size: 5rem;
}

h3 {
  font-size: 2.8rem;
}

p {
  color: var(--text-color);
  line-height: 2.6rem;
  font-size: 1.6rem;
}

body {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  color: #f3f3f3;
  max-width: 1260px;
  margin: 0 auto;
}

/* Cabeçalho */

.close-menu-input {
  display: none;
}

.menu-content {
  display: flex;
  height: 7rem;
  width: 100%;
  padding: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  background-color: var(--primary-color-opacity);
  position: fixed;
  max-width: 1260px;
  z-index: 9;
}

.logo img {
  height: 6rem;
  object-fit: contain;
}

.menu-responsible ul {
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

header a {
  font-weight: 300;
  font-size: 1.8rem;
  position: relative;
}

li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0.1rem;
  background: var(--secondary-color);
  -webkit-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
}

li a:hover::after {
  width: 80%;
  left: 10%;
}

li .active {
  color: var(--secondary-color);
}

.footer {
  background: var(--aside-color);
  display: flex;
  padding: 6rem 2rem;
  gap: 3rem;
  align-items: center;
  justify-content: space-around;
}

.footer p {
  color: var(--yellow);
  text-transform: uppercase;
  font-size: 1.4rem;
}

.footer span {
  color: #f2f2f2;
  font-size: 1.3rem;
  font-weight: 300;
}

.footer li {
  color: #f2f2f2;
  font-size: 1.3rem;
}

.first-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
  max-width: 25rem;
}

.first-column img {
  height: 8rem;
  object-fit: contain;
}

.first-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.second-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
}

.second-column ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.third-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
}

.adress {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info span:first-of-type {
  color: var(--yellow);
  font-weight: 400;
}

/* Iphone SE */
@media screen and (min-width: 375px) {
  .menu-content ul {
    gap: 1.5rem;
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  h2 {
    font-size: 4rem;
  }

  h3 {
    font-size: 2.3rem;
  }

  .footer {
    padding: 2rem;
    gap: 2rem;
  }

  .first-column img {
    height: 7rem;
  }

  .second-column ul {
    gap: 0.5rem;
  }
}

@media screen and (max-width: 767px) {
  h2 {
    font-size: 3.2rem;
  }

  h3 {
    font-size: 2.3rem;
  }

  .menu-responsible {
    display: none;
  }

  .menu-responsible {
    bottom: 0;
    text-align: center;
  }

  .menu-content {
    min-height: 80vh;
  }

  .menu-content,
  .menu-content ul {
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
  }

  .close-menu-label::after {
    position: fixed;
    top: 0.8rem;
    right: 0.8rem;
    z-index: 10;
    content: "☰";
    background: var(--yellow);
    color: #fff;
    font-size: 3rem;
    line-height: 3rem;
    width: 3rem;
    height: 3rem;
    text-align: center;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 0.3rem;
  }
  .close-menu-input:checked ~ .menu-responsible {
    display: block;
  }

  .close-menu-input:checked ~ .close-menu-label::after {
    content: "x";
  }

  .logo img {
    height: 10rem;
    object-fit: contain;
    flex-shrink: 0;
    margin-bottom: 2rem;
  }

  header a {
    font-size: 2rem;
  }

  main {
    padding: 0;
  }

  .footer {
    padding: 2rem;
    gap: 1rem;
  }

  .footer p {
    color: var(--yellow);
    text-transform: uppercase;
    font-size: 1.3rem;
  }

  .footer span {
    color: #f2f2f2;
    font-size: 1.2rem;
    font-weight: 300;
  }

  .first-column img {
    height: 6rem;
  }

  .second-column {
    display: none;
  }
}
