/* 
 *
 * Custom classes
 *
 */

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrapper {
  flex: 1;
}

.bg-brown {
  background-color: #583015;
}

.text-brown {
  color: #e3935d;
}

.footer {
  background-color: #2c190b;
  border-top: 1px solid #583015;
  max-height: 250px;
  padding: 10px 0;
  margin-top: auto;
}

.banner-video,
.banner-video video {
  position: relative;
}
.banner-video video {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50%;
}

.banner-video-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  background-image: linear-gradient(127deg, black, transparent);
  z-index: 1;
}

.text-over-video {
  position: absolute;
  top: 40%;
  left: 50px;
  transform: translate(-16px, -16px);
  z-index: 2;
}

.car-details-img {
  object-fit: scale-down;
  max-height: 450px;
  aspect-ratio: 4/3;
}

.ratings-table {
  text-align: center;
}

.ratings-table > tbody > tr > td {
  padding: 0 5px;
  text-align: left;
}

.homepage-card-img {
  max-height: 300px;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.news-card-img {
  height: 100%;
  object-fit: cover;
}

/*
 *
 * Modifications to Bootstrap classes 
 *
 */

.accordion-button:not(.collapsed) {
  background-color: #583015;
  color: #eaaf86;
}

.btn-primary {
  background-color: #e3935d;
  border-color: #e3935d;
}

.accordion-button:focus {
  outline: none !important;
  box-shadow: 0 0 0 0.25rem rgba(230, 131, 57, 0.2) !important;
  border-color: #e3935d !important;
}

.btn-primary:hover,
.btn-primary:active {
  background-color: #b0602a !important;
  border-color: #e3935d;
}

.card {
  height: 100%;
}
