@font-face {
  font-family: Gready;
  src: url(../otf/gready-regular.otf);
}

:root {
  --color-blue: #172e45;
  --color-pink: #ce3758;
  --color-orange: #d78451;
  --color-white: #f7f2e9;
}

html {
  scroll-padding-top: 100px; /* positions screen in the right place for anchor links so text isn't hidden behind header */
}

body {
  background: var(--color-white);
  color: var(--color-blue);
  font-family: 'Avenir Next';
  letter-spacing: 0.4px;
  line-height: 23px;
}

main {
  min-height: calc(100vh - 230px);
  margin-top: 100px;
  margin-bottom: 100px;
}

@media only screen and (min-width: 768px) {
  main {
    margin-top: 130px;
  }
}

h1,
.h1 {
  font-family: Gready;
}

.link {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
}

.subheading,
label {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
}

.label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}

.text-small,
.helptext {
  font-size: 14px;
}

.text-xsmall {
  font-size: 12px;
}

input,
select {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-blue);
  min-width: 240px;
  width: 100%;
  color: var(--color-blue);
}

.input-wrapper {
  margin-bottom: 40px;
}

textarea {
  background: transparent;
  min-width: 240px;
  width: 100%;
  border-color: var(--color-blue);
  border-radius: 8px;
  padding: 10px;
  max-height: 100px;
}

textarea::placeholder {
  color: var(--color-blue);
}

textarea:focus,
input:focus,
select:focus {
  outline: none;
}

.link {
  text-decoration: none;
  color: var(--color-pink);
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease-in-out;
  position: relative;
  background-color: transparent;
  border: none;
  padding: 0;
}

.link-blue {
  color: var(--color-blue);
}

.link:after {
  content: '';
  width: 100%;
  height: 1px;
  background-color: var(--color-pink);
  position: absolute;
  display: block;
  bottom: 0;
  left: 0;
}

.link--uppercase {
  text-transform: uppercase;
  font-weight: 600;
}

.link--uppercase:after {
  display: none;
}

.link:hover {
  opacity: 0.8;
}

.internal-link {
  display: inline;
}

.link svg {
  width: 10px;
  margin-left: 10px;
  transition: transform 0.2s ease-in-out;
}

.link:hover svg {
  transform: translateX(5px);
}

.inbox__back-button.link svg {
  margin-left: 0;
  margin-right: 10px;
  transform: rotate(180deg);
}

.inbox__back-button.link:hover svg {
  transform: rotate(180deg) translateX(5px);
}

a {
  color: var(--color-pink);
  text-decoration: none;
}

.button {
  background: var(--color-pink);
  border: 1px solid var(--color-pink);
  color: var(--color-white);
  border-radius: 8px;
  padding: 8px 10px;
  min-width: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-right: 20px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  transition: all 0.3s ease-in-out;
}

.button--full {
  width: 100%;
}

.button--small {
  padding: 3px 5px;
  min-width: 80px;
  font-size: 12px;
  margin-right: 10px;
}

.button svg {
  width: 14px;
  height: 14px;
  margin-left: 5px;
}

.button svg path {
  fill: var(--color-white);
  transition: fill 0.3s ease-in-out;
}

.button.disabled {
  pointer-events: none;
  opacity: 0.7;
}

@media screen and (pointer: fine) {
  .button:hover {
    color: var(--color-pink);
    background: var(--color-white);
  }

  .button:hover svg path {
    fill: var(--color-pink);
  }
}

input.form-control {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-pink);
  color: var(--color-pink);
  border-radius: 0;
  padding-left: 0;
  min-width: 250px;
}

input.form-control:focus {
  background: transparent;
  color: var(--color-pink);
  outline: none;
  border-color: var(--color-pink);
  box-shadow: none;
}

input.form-control::placeholder {
  color: var(--color-pink);
}

/* Modal */
.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 40px);
  height: auto;
  background: var(--color-white);
  border: 1px solid var(--color-blue);
  padding: 40px 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

@media only screen and (min-width: 768px) {
  .modal-content {
    width: 500px;
    padding: 60px 40px;
  }
}

.modal-close {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 40px;
  cursor: pointer;
}

.modal-content th.label {
  display: table-cell;
  width: 25%;
}

.modal-content thead tr,
.modal-content tbody tr {
  border-bottom: 1px solid var(--color-blue);
}

.modal-content tbody td {
  padding-top: 10px;
}

/* Navigation */
.navbar {
  padding: 15px 20px;
  position: fixed;
  width: 100%;
  z-index: 11;
  top: 0;
  background: var(--color-white);
}

.navbar-brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin-right: 0;
}

.outer {
  margin-top: -40px;
}

.navbar-toggler {
  border: none;
  padding: 0;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler__icon {
  width: 30px;
}

.nav-link {
  color: var(--color-blue);
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
}

.nav-link:hover {
  color: var(--color-pink);
}

.logo {
  max-height: 40px;
  padding: 0;
}

@media only screen and (min-width: 768px) {
  .navbar .container-fluid {
    justify-content: flex-end;
  }

  .navbar {
    padding: 35px 20px;
  }
}

@media only screen and (min-width: 1200px) {
  .navbar {
    padding: 25px 20px;
  }
}

/* End of Navigation */

/* Homepage Hero */
.homepage-hero {
  height: calc(100vh - 70px);
  min-height: 600px;
  color: var(--color-white);
  position: relative;
  margin-top: 70px;
}

.homepage-hero__title {
  max-width: 500px;
  font-size: 3.4rem;
}

.homepage-hero__content {
  position: absolute;
  top: 80px;
  left: 80px;
}

.homepage-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
}

.homepage-hero__overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  background: rgba(23, 46, 69, 0.2);
  left: 0;
}

.homepage-hero__navigation {
  display: flex;
  margin-top: 20px;
}
/* End of Homepage Hero */

/* Brands */

.brand img {
  max-width: 100%;
  padding: 1.25rem;
  margin-top: 1rem;
}

/* End of Brands */

/* Rental Info */
.rental-info {
  margin: 60px 20px;
}

.rental-info__items {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-evenly;
  max-width: 80%;
  margin: 40px auto 60px;
}

.rental-info__icon {
  width: 60px;
  margin-bottom: 20px;
}

.rental-info__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.rental-info__copy {
  max-width: 250px;
}
/* End of Rental Info */

/* About */
.about, .the-edit-home {
  display: flex;
  align-items: center;
  padding: 60px 20px;
  max-width: 1440px;
  margin: 0 auto;
}

.the-edit-home {
  background-color: var(--color-pink);
  color: var(--color-blue);
}

.about__content {
  max-width: 600px;
  padding: 0 80px;
}

.about__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  max-height: 700px;
  /* border-radius: 8px; */
  /* border: 2px solid var(--color-blue); */
}
/* End of About */

/* Footer */
.footer {
  background-color: var(--color-blue);
  color: var(--color-pink);
  padding: 40px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 200px;
}

.footer .nav-link {
  color: var(--color-pink);
}

.mc-field-group {
  margin-right: 10px;
  width: 100%;
}

.footer__logo-wrapper {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: flex-start;
}

.footer__logo-wrapper img {
  max-height: 50px;
}

.footer__nav {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.footer__socials {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  color: transparent !important;
  margin-top: 5px;
  margin-bottom: 10px;
}

.footer__socials a {
  color: transparent !important;
}

.footer__socials img {
  max-height: 20px;
}

.footer__item form {
  margin-bottom: 0;
}

.footer__item a {
  color: var(--color-pink);
}

.signup .button {
  min-width: 60px;
}

.signup__container {
  display: flex;
  height: 40px;
}

.signup__container input.form-control {
  margin-bottom: 0;
}
/* End of Footer */

/* FAQs */
.faqs {
  padding: 60px 0;
}

.faqs__wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.faqs__content {
  width: 80%;
  padding: 0;
  margin: 0 auto;
}

.faqs__faq {
  position: relative;
  border: 1px solid var(--color-blue);
  border-radius: 8px;
  margin-bottom: 20px;
}

.faqs__question {
  position: relative;
  margin: 0;
  padding: 10px 10px 10px 50px;
  display: block;
  width: 100%;
  cursor: pointer;
}

.faqs__answers {
  padding: 0px 15px;
  width: 100% !important;
  height: 0;
  overflow: hidden;
  position: relative;
  transition: 0.3s ease;
}

.faqs__questions:checked ~ .faqs__answers {
  height: auto;
  padding: 15px;
}

.faqs__plus {
  position: absolute;
  z-index: 0;
  top: 3px;
  margin-left: 10px;
  font-size: 2.5em;
  line-height: 100%;
  user-select: none;
  transition: 0.3s ease;
}

.faqs__questions:checked ~ .faqs__plus {
  transform: rotate(45deg);
}

.faqs__questions {
  display: none;
}

.faq-view {
  max-width: 150px;
  margin: auto;
}
/* End of FAQs */

/* Mobile styling */
@media only screen and (max-width: 748px) {
  .footer {
    flex-direction: column;
    gap: 0px;
    text-align: center;
  }

  .footer__logo-wrapper {
    margin-bottom: 50px;
    width: 100%;
    align-items: center;
  }

  .footer__item {
    width: 100%;
  }

  .about {
    flex-direction: column-reverse;
    padding: 30px 20px;
  }

  .about__content {
    margin-top: 30px;
    padding: 0;
  }

  .about__subheading {
    max-width: 220px;
  }

  .about__image-wrapper img {
    aspect-ratio: 1 / 1;
  }

  .homepage-hero__content {
    left: 40px;
    top: 40px;
  }

  .homepage-hero__title {
    font-size: 2.2rem;
    max-width: 300px;
  }

  .homepage-hero__content p {
    max-width: 250px;
  }

  .rental-info__items {
    max-width: 100%;
    margin-bottom: 100px;
  }

  .rental-info__item {
    width: calc(50% - 10px);
  }

  .navbar-brand {
    position: relative;
    left: unset;
    transform: none;
  }

  .outer {
    margin-top: 0;
  }

  .logo {
    padding: 5px 0;
  }
}
/* End of Mobile styling */

.checkout__radio {
  display: block;
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  cursor: pointer;
  user-select: none;
}

.checkout__radio input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  display: none;
}

.checkout__checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  border: 1px solid var(--color-pink);
  background-color: transparent;
  transition: background-color 0.3s ease;
}

.checkout__radio input:checked ~ .checkout__checkmark {
  background-color: var(--color-pink);
}

/* Styles for tabs */
.tab-container {
  display: flex;
  justify-content: center;
  padding: 10px;
}

/* Styles for content sections */
.tab-content {
  display: none;
}

.tab-content__buttons {
  display: flex;
}

.tab-content__button,
.tablinks {
  border: none;
  background: none;
  padding: 5px 0;
  cursor: pointer;
  text-decoration: none;
  color: var(--color-blue);
  font-size: 16px;
  transition: color 0.3s ease-in-out;
  position: relative;
  margin: 0 20px;
}

.tab-content__button:after,
.tablinks:after {
  content: '';
  width: 0;
  height: 1px;
  background-color: var(--color-blue);
  position: absolute;
  bottom: 2px;
  left: 0;
  transition: width 0.3s ease-in-out;
}

.tab-content__button.active:after,
.tab-content__button:hover:after,
.tablinks.active:after,
.tablinks:hover:after {
  width: 100%;
}

.tab-content__order {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 30px;
  border: 1px solid;
  border-radius: 8px;
  padding: 20px;
}

.tab-content__details {
  display: flex;
}

.tab-content__details img {
  aspect-ratio: 9 / 11;
  object-fit: cover;
  width: 100%;
  max-width: 100px;
  margin-right: 30px;
  margin-bottom: 20px;
}

.tab-content__dates {
  margin-bottom: 10px;
}

@media only screen and (min-width: 768px) {
  .tab-content__order {
    flex-direction: row;
  }

  .tab-content__details img {
    margin-bottom: 0;
  }
}

.badge-primary {
  background-color: var(--color-pink);
  vertical-align: text-top;
}

.pink-text {
   color: var(--color-pink);
}