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

body {
  font-family: sans-serif;
  background: #000;
  height: 100vh;
  overflow: hidden;
}

h1 {
  text-align: center;
  color: #fff;
  margin: 1rem 0;
}

.marcas {
  display: flex;
  width: 100%;
  height: 100vh;
  flex-direction: row;
}

.marca {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.marca img {
  max-width: 60%;
  z-index: 2;
  transition: transform 0.3s ease;
  filter: drop-shadow(2px 2px 6px rgba(0,0,0,0.6));
}

.marca:hover img {
  transform: scale(1.1);
}

.marca::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0,0,0,0.3);
  z-index: 1;
}

.mistral {
  background-image: url("mistral-01.png");
}

.brooksfield {
  background-image: url("brooks-01.png");
}

@media (max-width: 768px) {
  .marcas {
    flex-direction: column;
  }

  .marca {
    height: 50%;
  }
}
