/* header */
.header-image {
  height: 65vh;
  min-height: 300px;
  max-height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  position: relative;
}

.header-title-container {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  left: 0;
  right: 0;
  width: -moz-fit-content;
  width: fit-content;
  height: -moz-fit-content;
  height: fit-content;
}

.header-title-container h1 {
  font-size: 3em;
  z-index: 1;
  color: white;
}

.header-title {
  text-align: center;

  @media (min-width: 1200px) {
    text-align: start;
  }
}

.header-subtitle {
  font-size: 1.55rem;
  color: white;
  margin-top: 1rem;
  text-align: center;

  @media (min-width: 1200px) {
    text-align: end;
  }
}

.header-subtitle a {
  color: #fff;
  text-decoration: none;
}


.header-image::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  background: linear-gradient(0deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,0.28) 50%, rgba(0,0,0,0) 75%, rgba(0,0,0,0) 100%);
}

.header-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.tick-content-sections {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.2em;
}

.tick-content-sections p {
  display: inline;
  margin: 0;
}

.tick-content-sections img {
  width: 20px;
  display: inline;
  margin-right: 15px;
}

.websites-container {
  padding: 1em;
}

.websites-container h4 {
  font-size: 1.7em;
  margin-bottom: 1em;
}

.websites-container div {
  border-radius: 0.15em;
}

.dark-help-container {
  background-color: #414141;
  padding: 1.5em 0;
}

.dark-help-container {
  color: white;
}

.dark-container {
  padding: 3em;
}

.dark-container h5 {
  margin-bottom: 1.5em;
}

.section-divider {
  border-left: none;
  border-top: solid white 1px;
}

/* Arrow animation */

.home-arrow-container {
  display: flex;
  justify-content: center;
  height: 60px;
  position: absolute;
  bottom: 10px;
  right: 0;
  left: 0;
}

.home-arrow-wrapper {
  display: inline-block;
  width: 20px;
  margin-bottom: 25px;
  border-color: rgba(0, 0, 0, 0);
  color: white;
}

.arrow-top {
  width: 10px;
  height: 10px;
  border-right: solid 2px;
  border-bottom: solid 2px;
  transform: rotate(45deg);
  animation: arrows 1.5s ease-in-out infinite;
}

.arrow-mid {
  width: 10px;
  height: 10px;
  border-right: solid 2px;
  border-bottom: solid 2px;
  transform: rotate(45deg);
  animation: arrows 1.5s ease-in-out infinite;
  animation-delay: 0.5s;
}

.arrow-bottom {
  width: 10px;
  height: 10px;
  border-right: solid 2px;
  border-bottom: solid 2px;
  transform: rotate(45deg);
  animation: arrows 1.5s ease-in-out infinite;
  animation-delay: 1s;
}

@keyframes arrows {
  0% {
    border-color: rgba(255, 255, 255, 1);
  }

  80% {
    border-color: rgba(255, 255, 255, 0);
  }

  100% {
    border-color: rgba(255, 255, 255, 0);
  }
}



/* advertising */

.page-header {
  color: #005e9c;
}

.advertising-link-container {
  display: grid;
  grid-template-columns: 50% 50%;
}

.advertising-link-container a {
  display: block;
  border: solid rgb(199, 199, 199) 1px;
  color: grey;
  font-size: 1em;
  padding: 0.5rem 1rem;
  text-align: center;
  text-decoration: none;
  background-color: rgb(241, 241, 241);
  margin: 0.25rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
}

.advertising-link-container a:hover {
  cursor: pointer;
  background-color: white;
  color: rgb(19, 19, 190);
}

.advertising-logo-container p {
  text-align: center;
  color: grey;
}

.advertising-logo-wrapper {
  padding: 0.5rem;
  margin: 0.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 120px;
}

.advertising-logo-wrapper img {
  max-height: 85%;
  max-width: 85%;
}

.advertising-info-container {
  border: solid #c4bfbf 1px;
  padding: 0.5em;
}

.advertising-info-container h4 {
  margin: 1rem 0;
}

.advertising-info-container p, li {
  color: grey;
}

.advertising-info-container ul {
  list-style: none;
  padding-left: 1rem;
}

.advertising-info-container ul li::before {
  color: #008000;
  content: '✓';
  margin-right: 0.5rem;
}

.advertising-benefits-container div {
  display: block;
  border: solid rgb(199, 199, 199) 1px;
  color: grey;
  padding: 0.5rem;
  text-decoration: none;
  background-color: rgb(241, 241, 241);
  margin: 0.25rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.advertising-benefits-container p {
  margin: 0;
}

.advertising-benefits-container div p:first-child {
  font-size: 0.75em;
  color: black;
}

.advertising-benefits-container div p:last-child {
  font-size: 1em;
  font-weight: bold;
  color: #005e9c;
}

.site-logos {
  width: 100%;
  height: 40vw;
  object-fit: contain;
  max-width: 218px;
  max-height: 61px;
}

/* bottom logo */

.bottom-logo {
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bottom-logo img {
  width: 65%;
}

@media only screen and (min-width: 767px) {
  .bottom-logo img {
    width: 15%;
  }
  .advertising-link-container {
    grid-template-columns: 100%;
  }
  .site-logos {
    height: 5vw;
  }
}

/* website containers */

.websites-section {
  padding: 1em;
  position: relative;
}

.website-wrapper {
  position: relative;
  padding: 3em 1.5em;
  border-radius: 0.25em;
  height: 220px;
  width: 100%;
  fill: white;
  background: image-url("/assets/ct-white-1d3e6ce9.svg");
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: 70%;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.05);
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: 0.1s;
}

.our-site-logos {
  display: block;
  margin: auto;
  margin-bottom: 1em;
}

.website-wrapper:hover {
  color: rgb(255, 255, 255);
  transform: scale(1.01);
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.3);
}

.website-wrapper::before {
  top: 0;
  left: 0;
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  background: linear-gradient(0deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0) 75%, rgba(0,0,0,0) 100%);
}

.website-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.3;
}

.website-wrapper h4 {
  font-size: 2em;
  margin-bottom: 1em;
  text-align: center;
  z-index: 2;
  position: relative;
}

.website-wrapper p {
  margin: 0;
  text-align: center;
  z-index: 2;
  position: relative;
  font-size: 1.3rem;
}


.website-wrapper-mcf {
  background: image-url("/assets/chalet_image-e5799bab.webp");
  background-size: cover;
  background-position: 50%;
}

.website-wrapper-mhp {
  background: image-url("myholidayparks-td-quantum.jpg");
  background-size: cover;
  background-position: 50%;
}

.website-wrapper-mcotf {
  background: image-url("/assets/wiltshire-cottage-3c9f09b7.jpg");
  background-size: cover;
  background-position: 50%;
}

.website-wrapper-mvf {
  background: image-url("myvillafinder-home-villa.jpg");
  background-size: cover;
  background-position: 50%;
}
