@import url("https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700&family=Lexend+Deca:wght@400;700&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-size: 15px;
}

.container {
  /* position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); */
  padding: 50px;
  display: flex;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
  width: 50%;
  margin: auto;
}

.card {
  min-width: 330px;
}

.text-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 0px 40px 0px 50px;
  align-self: flex-start;
}

.text-layout h1 {
  font-family: "Big Shoulders Display", cursive;
  font-size: 700;
  color: hsl(0, 0%, 95%);
  font-size: 38px;
}

.text-layout p {
  font-family: "Lexend Deca", sans-serif;
  font-weight: 400;
  color: hsla(0, 0%, 100%, 0.75);
  padding-bottom: 40px;
  letter-spacing: 1px;
  line-height: 22px;
}

.text-layout a {
  font-family: "Lexend Deca", sans-serif;
  text-align: center;
  background-color: hsl(0, 0%, 95%);
  padding: 15px 25px;
  border-radius: 45px;
  text-align: start;
  text-decoration: none;
  display: flex;
  align-self: flex-start;
  margin-bottom: 55px;
  cursor: pointer;
  border: 2px solid transparent;
}

.text-layout a:hover {
  border: 2px solid;
  color: hsl(0, 0%, 95%);
  background-color: transparent;
  /* margin: -2px; */
}

img {
  padding-left: 40px;
  padding-top: 40px;
  padding-bottom: 30px;
}

.sedan {
  background-color: hsl(31, 77%, 52%);
  border-radius: 10px 0px 0px 10px;
}
.sedan a {
  color: hsl(31, 77%, 52%);
}

.suv {
  background-color: hsl(184, 100%, 22%);
}
.suv a {
  color: hsl(184, 100%, 22%);
}

.luxury {
  background-color: hsl(179, 100%, 13%);
  border-radius: 0px 10px 10px 0px;
}
.luxury a {
  color: hsl(179, 100%, 13%);
}

@media screen and (max-width: 1000px) {
  .container {
    display: flex;
    flex-direction: column;
  }

  .sedan {
    border-radius: 10px 10px 0 0;
  }
  .luxury {
    border-radius: 0 0 10px 10px;
  }
}
