body {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 1.2em;
  text-align: center;
  color: #7f7f7f;
}

.copy {
  max-width: 80%;
  text-align: left;
}

.copy,
.privacy-logo {
  margin-left: auto;
  margin-right: auto;
}

.privacy-logo {
  display: block;
  max-width: 100%;
  margin-top: 100px;
  width: 350px;
}

span.privacy-link {
  float: right;
}

img {
  max-width: 100%;
}

.house-icon {
  display: block;
}

.contact {
  width: 400px;
  background: #fff;
  position: absolute;
  text-align: left;
  margin-top: calc(50vh - 100px);
  margin-left: calc(50vw - 200px);
  -webkit-animation: slidedown 2s;
  animation: slidedown 2s;
  -webkit-animation-delay: 5s;
  animation-delay: 5s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

.background {
  background-size: cover;
  background-position: 50%;
  -webkit-animation: fadein 4s;
  animation: fadein 4s;
}

@-webkit-keyframes fadein {
  0% {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadein {
  0% {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-webkit-keyframes slidedown {
  0% {
    margin-top: calc(50vh - 100px);
  }
  to {
    margin-top: calc(50vh - 0px);
  }
}

@keyframes slidedown {
  0% {
    margin-top: calc(50vh - 100px);
  }
  to {
    margin-top: calc(50vh - 0px);
  }
}

@-webkit-keyframes slideup {
  0% {
    transform: translate(-50%, -50%);
  }
  to {
    transform: translate(-50%, -150%);
  }
}

@keyframes slideup {
  0% {
    transform: translate(-50%, -50%);
  }
  to {
    transform: translate(-50%, -150%);
  }
}

a {
  color: inherit;
  text-decoration: underline;
}

ul.cb-slideshow {
  list-style: none;
  padding: 0;
  margin: 0;
}

.v4-logo {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 500px;
  padding: 20px;
  position: relative;
  z-index: 100;
}

/* Logo positioning - centered on screen */
.logo {
  width: auto;
  max-width: 400px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-animation: fadein 1s, slideup 2s 5s forwards;
  animation: fadein 1s, slideup 2s 5s forwards;
  z-index: 100;
  background: transparent;
  text-align: center;
  pointer-events: none;
}

.logo img {
  width: 360px;
  max-width: 90vw;
  height: auto;
  display: block;
  margin: 0 auto;
}

.v4-contact {
  background: #fff;
  position: fixed;
  width: calc(100vw - 40px);
  bottom: 0;
  padding: 10px 20px;
  z-index: 100;
  text-align: left;
}

.v4-contact span {
  margin-left: 1.5%;
  margin-right: 1.5%;
}

.cb-slideshow,
.cb-slideshow:after {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

.cb-slideshow:after {
  content: "";
  background: rgba(0, 0, 0, 0.25) url(/images/pattern.webp) repeat 0 0;
}

.cb-slideshow li span {
  height: 100%;
  top: 0;
  color: transparent;
  background-size: cover;
  background-position: top;
  background-repeat: none;
  z-index: 0;
  -webkit-animation: imageAnimation 66s linear infinite 0s;
  animation: imageAnimation 66s linear infinite 0s;
}

.cb-slideshow li div,
.cb-slideshow li span {
  width: 100%;
  position: absolute;
  left: 0;
  opacity: 0;
}

.cb-slideshow li div {
  z-index: 1000;
  bottom: 30px;
  text-align: center;
  color: #fff;
  -webkit-animation: titleAnimation 66s linear infinite 0s;
  animation: titleAnimation 66s linear infinite 0s;
}

@-webkit-keyframes imageAnimation {
  0% {
    opacity: 0;
    -webkit-animation-timing-function: ease-in;
  }
  8% {
    opacity: 1;
    -webkit-animation-timing-function: ease-out;
  }
  17% {
    opacity: 1;
  }
  25% {
    opacity: 0;
  }
  to {
    opacity: 0;
  }
}

@keyframes imageAnimation {
  0% {
    opacity: 0;
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
  8% {
    opacity: 1;
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
  17% {
    opacity: 1;
  }
  25% {
    opacity: 0;
  }
  to {
    opacity: 0;
  }
}

.no-cssanimations .cb-slideshow li span {
  opacity: 1;
}

@media screen and (max-width: 1024px) {
  .v4-contact span {
    margin-left: 1.5%;
    margin-right: 1.5%;
    margin-bottom: 10px;
    display: inline-block;
  }
}

@media screen and (max-width: 768px) {
  .v4-contact span {
    text-align: center;
    display: block;
  }
  span.privacy-link {
    margin-top: 20px;
    float: none;
  }
}

.back-to-home {
  display: block;
  text-align: center;
  margin-top: 100px;
  margin-bottom: 50px;
}

@media screen and (max-width: 375px) {
  .cb-slideshow,
  .cb-slideshow:after {
    height: 75%;
  }
  body {
    font-size: 1em;
  }
}

@media screen and (max-height: 375px) {
  .v4-logo img {
    max-height: 50vh;
  }
  body {
    font-size: 8px;
  }
  .v4-contact span {
    display: inline-block;
    margin-bottom: 0;
  }
}
