.main-content {
  width: 90%;
  align-self: center;
  padding: 10px;
  border: var(--border);
  box-shadow: var(--box-shadow);
  margin: 20px;
  margin-top: 25px;
  background-color: white;
  height: auto;
  position: relative;
  top: var(--header-height);
  display: flex;
  flex-direction: column;
  margin-bottom: calc(var(--header-height) + 100px);
  padding-bottom: calc(var(--header-height) + 20px);
}

.main-content__title {
  font-size: 30px;
  text-align: center;
  align-self: center;
  margin-left: 20px;
}

.main-content__details {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.main-content__details img {
  width: auto;
  height: auto;
  padding: 0 10px;
}

.details__text {
  font-size: 18px;
  line-height: 1.8;
  text-wrap: wrap;
}

.get-a-quote {
  font-size: 18px;
  background: var(--dark-red);
  text-decoration: none;
  text-transform: lowercase;
  color: white;
  font-weight: 200;
  padding: 18px 15px;
  position: relative;
  top: 15px;
  cursor: pointer;
  align-self: center;
}

/* Media Queries */
@media (max-width: 768px) {
  .main-content__details {
    flex-direction: column;
  }

  .main-content__details img {
    width: 98%;
    align-self:center;
    height: 400px;
  }

  .details__text {
    text-align: center;
    width: 95%;
    text-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .main-content__details {
    flex-direction: column;
  }

  .main-content__details img {
    width: 98%;
    align-self:center;
    height: 400px;
  }

  .details__text {
    text-align: center;
    width: 95%;
    text-wrap: wrap;
  }
}
