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

body {
  background-color: #f2f2f2;
}

h2,
p {
  font-family: "Lexend Deca", sans-serif;
}

.flex {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 150px auto;
}

/* SEÇÕES */
section {
  height: 540px;
  width: 300px;
}

#sedans {
  background-color: #e38826;
  border-top-left-radius: 10px;
  border-end-start-radius: 10px;
}

#suvs {
  background-color: #006970;
}

#luxury {
  background-color: #004241;
  border-top-right-radius: 10px;
  border-end-end-radius: 10px;
}

/* IMG */
.img-container {
  /* background-color: #ff0000; */
  height: 40px;
  margin-top: 40px;
  margin-bottom: 35px;
  padding: 30px;
}

/* INFORMAÇÕES - H2 & P */
.info {
  padding: 30px;
}

h2 {
  font-weight: 400;
  font-size: 2.1rem;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}

p {
  color: #fff;
  margin-bottom: 100px;
  font-size: 1.1rem;
}

/* BOTÕES */
.action {
}

button {
  font-size: 15px;
  font-weight: bold;
  background-color: #fff;
  border: none;
  border-radius: 25px;
  padding: 12px 20px;
  cursor: pointer;
  transition: 0.3s;
}

button#sedans-btn {
  color: #e38826;
}

button#sedans-btn:hover {
  background-color: #ffffff00;
  border: 1px solid #fff;
  color: #fff;
}

button#suvs-btn {
  color: #006970;
}

button#suvs-btn:hover {
  background-color: #ffffff00;
  border: 1px solid #fff;
  color: #fff;
}

button#luxury-btn {
  color: #004241;
}

button#luxury-btn:hover {
  background-color: #ffffff00;
  border: 1px solid #fff;
  color: #fff;
}

/* FOOTER */
.attribution {
  font-size: 11px;
  text-align: center;
}

.attribution a {
  color: #3e52a3;
}

/* responsividade */
@media (max-width: 375px) {
  .flex {
    display: flex;
    flex-direction: column;
  }

  #sedans {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 0;
  }

  #luxury {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top-right-radius: 0;
  }

  footer {
    position: relative;
    bottom: 0;
    width: 100%;
    height: 50px;
    color: #000;
    padding: 10px 0;
  }

}
