@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");

@font-face {
  font-family: "Poppins Light";
  src: url("./../Poppins-Light.otf");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

#header {
  display: flex;
  align-items: center;
  position: relative;
  color: #fff;
  background-image: url("./../imgs/fundoRGB.jpg");
  background-size: cover;
  width: 100%;
}

#header img {
  filter: brightness(50%);
  z-index: -1;
  object-fit: cover;
  width: 100%;
  height: 10vh;
}

#header .header-text {
  display: flex;
  flex-direction: column;
  font-size: 3rem;
  font-weight: normal;
  padding: 4rem;
  width: 100%;
  padding-top: 3em;
}

.header-text h1{
  width: 100%;
}

.header-text p {
  width: 100%;
  font-size: 2rem;
}

video {
  width: 100%;
}

body {
  font-size: calc(11px + 0.390625vw);
}

.text-video {
  width: 50%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: absolute;
  font-size: 2rem;
  color: #fff;
  padding: 2em;
  font-weight: 400;
  font-family: "Poppins light", sans-serif;
}

.text-video p {
  font-size: 1rem;
}

.text-video p:nth-child(2){
  font-size: 3rem;
}

#dropdown {
  position: relative;
}

#dropdown li a {
  color: #000;
  text-decoration: none;
}

#dropdown-menu {
  display: none;
  width: max-content;
  position: absolute;
  flex-direction: column;
  background: #000;
  border: none;
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

#dropdown-menu li {
  list-style: none;
  padding: 1em;
}

#dropdown-menu li a {
  border: none;
  color: #fff;
  padding: 2em;
  transition: ease 0.25s;
  font-size: 0.75rem;
}

#dropdown-menu li a:hover {
  color: #eb6610;
}

#home {
  position: relative;
  display: flex;
  height: 100vh;
  width: 100%;
  z-index: -2;
  background: #000;
}

.home-bg {
  position: absolute;
  top: 0;
  max-width: auto;
  min-width: 90vw;
  filter: brightness(70%);
  min-height: 120vh;
  max-height: max-content;
  z-index: -1;
}

#sobre {
  background: #fff;
}

.black-btn {
  text-decoration: none;
  color: #000;
  text-transform: uppercase;
  border: 2px solid #000;
  padding: 0.5rem 2rem;
  font-weight: bold;
  width: fit-content;
  transition: ease 0.5s;
  font-size: 0.7rem;
  justify-self: end;
}

.black-btn:hover {
  background: #000;
  color: #fff;
}

.white-btn {
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
  border: 2px solid #fff;
  padding: 0.5rem 2rem;
  font-weight: bold;
  width: fit-content;
  transition: ease 0.5s;
  font-size: 0.7rem;
  justify-self: end;
}

.white-btn:hover {
  background: #fff;
  color: #000;
}

.sobre-content {
  padding: 0.5em;
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: center;
}

.sobre-img {
  position: relative;
}

.sobre-img .sobre-img-text {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 4em;
  height: 100%;
  width: 100%;
  z-index: 1;
  color: #fff;
}

.sobre-img img {
  top: 0;
}

.sobre-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
  justify-items: start;
}

.card {
  display: flex;
  flex-direction: column;
  background: #2d348f;
  padding: 1em;
  gap: 1em;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 30px 0px;
  height: fit-content;
  width: 80%;
}

.card:nth-child(2),
.card:nth-child(4) {
  margin-top: 8em;
}

.card:nth-child(3) {
  margin-top: -8em;
}

.card svg {
  width: 30%;
}

.card h3 {
  color: #889ce7;
}

.card .inner {
  align-self: center;
  width: 90%;
  height: 5px;
  border-radius: 7px;
  background: #3f4349;
  box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 0px 0px,
    rgba(0, 0, 0, 0.25) 0px 1px 0px 0px inset;
}

.card p {
  font-size: 0.9rem;
  color: #dbdbdb;
}

.renting-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 3rem;
  padding: 2em;
  text-align: center;
  background: #000;
  height: 100%;
  z-index: -1;
}

.renting-header h1 {
  z-index: 2;
  font-family: "Poppins Light", sans-serif;
  width: 60%;
}

.renting-header img {
  z-index: 1;
  object-fit: cover;
  position: absolute;
  filter: brightness(80%);
}

.renting-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2em;
  background: #fff;
  width: 100%;
  padding: 4em;
}

.renting-imgs {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-direction: column;
  width: 100%;
}

.renting-text {
  display: flex;
  flex-direction: column;
  gap: 2em;
  width: 70%;
  font-size: 1rem;
}

#end {
  position: relative;
  height: 90vh;
}

#end video {
  position: absolute;
  z-index: -1;
}

.end-text {
  height: 100%;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: space-evenly;
  flex-direction: column;
  color: #fff;
  z-index: 2;
}

.end-text ul {
  display: grid;
  list-style: none;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  justify-items: center;
  width: 80%;
  gap: 2em;
}

.end-text ul li {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  align-items: center;
  justify-items: center;
  text-align: center;
}

.end-text ul li hr {
  width: 80%;
  height: 3px;
  background: #fff;
  outline: none;
  border: none;
}

.end-text h2 {
  font-weight: normal;
  width: 80%;
}

footer {
  background: #fff;
  padding: 2em;
  font-size: 0.7rem;
  text-align: center;
  width: 100%;
  color: #000;
}

.flex-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.separator {
  border-left: 1px solid #000;
  height: 50px;
}

.contact-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2em;
  color: #000;
  width: 50%;
  text-align: center;
}

.contact-footer a {
  color: #000;
}

.contact-footer img {
  width: 40%;
  z-index: 2;
}

.logo-footer {
  width: 30%;
}

.nav-footer {
  display: flex;
  flex-direction: column;
  gap: 1em;
  align-items: center;
  color: #000;
  width: 50%;
}

.nav-footer h3 {
  text-transform: uppercase;
}

.nav-footer ul {
  display: flex;
  flex-direction: column;
  text-align: start;
}

.nav-footer ul li a {
  transition: ease 0.2s;
  color: #000;
}

.nav-footer ul li a:hover {
  color: #df3176;
}

.footer-img {
  filter: invert(100%);
  width: 50%;
  opacity: 50%;
}

footer ul {
  display: flex;
  list-style: none;
  gap: 1em;
}
footer a {
  color: #000;
  text-decoration: none;
}

#drop-footer {
  margin: 1em;
  margin-left: 2em;
}

footer a:hover {
  color: #df3176;
}

.logo-footer {
  margin: 0 4em;
}

.top-nav {
  background: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  color: #000;
  padding: 1em;
  position: fixed;
  max-width: 100vw;
  z-index: 4;
}

.menu {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.menu > li {
  margin: 0 1rem;
}

.menu > li > a {
  text-decoration: none;
  color: #000;
}

.menu-button-container {
  display: none;
  height: 100%;
  width: 30px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#menu-toggle {
  display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: #000;
  position: absolute;
  height: 4px;
  width: 30px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}

.menu-button::before {
  content: "";
  margin-top: -8px;
}

.menu-button::after {
  content: "";
  margin-top: 8px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
  background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
  margin-top: 0px;
  transform: rotate(-405deg);
}

.img-logo {
  width: 100%;
}

.link-logo {
  width: 30%;
}

@media (max-width: 425px) {
  #header{
    min-height: 40vh;
  }
  .header-text{
    padding-top: 8em;
  }
  .header-text p{
    font-size: 1rem;
  }
  .header-text h1{
    font-size: 2rem;
  }

  #header img{
    object-fit: cover;
    height: 100%;
  }

  .top-nav {
    justify-content: space-between;
    z-index: 4;
  }

  .link-logo {
    width: 70%;
  }
  .img-logo {
    width: 100%;
    filter: none;
  }

  .sobre-content video {
    display: none;
  }

  .sobre-text {
    grid-column: 2 span;
  }

  .home-bg {
    object-fit: cover;
    object-position: 25%;
  }

  .img-logo {
    position: relative;
    display: block;
  }

  .renting-header h1 {
    font-size: 1.5rem;
  }

  #home p:nth-child(2) {
    font-size: 1.5rem;
    font-weight: 600;
    font-family: "Poppins Light";
  }

  #home .text-video {
    gap: 2em;
    width: 100%;
  }

  .menu-button-container {
    display: flex;
  }
  .menu {
    position: absolute;
    top: 0;
    margin-top: 4em;
    left: 0;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
    display: none;
    transition: ease 0.5s;
  }

  #menu-toggle ~ .menu li {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
    color: #000;
  }
  #menu-toggle:checked ~ .menu {
    display: flex;
  }

  #menu-toggle:checked ~ .menu li {
    height: 2.5em;
    padding: 0.5em;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }

  #dropdown-menu {
    display: none;
  }

  .menu > li {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0.5em 0;
    width: 100%;
    color: #000;
    background-color: #fff;
  }
  .menu > li:not(:last-child) {
    border-bottom: 1px solid #444;
  }

  .nav-footer {
    display: none;
  }

  .sobre-content {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }

  .sobre-cards {
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: center;
    margin-top: 0;
    margin: 0;
    padding: 0;
    gap: 4em;
    padding: 2em;
  }

  .sobre-img{
    width: 100%;
  }

  .sobre-img img{
    object-fit: cover;
    width: 100%;
  }

  .sobre-content .sobre-img-text {
    color: #fff;
  }

  .card:nth-child(2),
  .card:nth-child(3),
  .card:nth-child(4) {
    margin-top: 0;
  }

  .end-text ul {
    display: flex;
    flex-direction: column;
    width: 80%;
  }

  .renting-header img{
    object-fit: cover;
    width: 100%;
    height: 100%;
    filter: brightness(50%);
  }

  .renting-content{
    grid-template-columns: 1fr;
  }

  .renting-text{
    width: 100%;
  }

  .renting-content img{
    object-fit: cover;
    width: 100%;
  }

  #end{
    height: 100%;
  }

  #end video{
    object-fit: cover;
    height: 100%;
  }

  .end-text{
    padding: 4em;
  }

  .end-text ul li{
    width: 100%;
  }

  .end-text ul li hr{
    width: 100%;
  }

  footer {
    padding: 2em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
  }

  .flex-wrapper {
    height: min-content;
    width: 100%;
  }

  .footer-text {
    margin: 0;
  }

  .logo-footer {
    display: none;
  }

  .separator {
    display: none;
  }
}
