@font-face {
  font-family: "Caviar Dreams";
  src: url(fonts/CaviarDreams.ttf);
}
@font-face {
  font-family: "Caviar Dreams Bold";
  src: url(fonts/CaviarDreams_Bold.ttf);
}
@font-face {
  font-family: "Caviar Dreams Italic";
  src: url(fonts/CaviarDreams_Italic.ttf);
}
@font-face {
  font-family: "Caviar Dreams Bold Italic";
  src: url(fonts/CaviarDreams_BoldItalic.ttf);
}

/*
I did this mobile first, which looks like the opposite of the current design, so please note you'll need to adjust accordingly. Sorry for the inconvenience. I didn't notice until after I had finished.

current default.less
@mobile-screen: 500px
@tablet-screen: 768px
*/

html {
  font-family: "Caviar Dreams", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 20px;
}
body {
  width: 100%;
  min-width: 360px;
  max-width: 1200px;
  text-align: center;
  margin: auto;
  padding: 0;
  background-color: #000;
  background-image: url(images/homepage-post.jpg);
  background-repeat: no-repeat;
  background-size: 300% auto;
  background-position: top;
}

@media (min-width: 768px) {
  body {
    background-position: center;
    background-size: cover;
  }
}
a:link,
a:visited {
  color: #eabbaa;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
  font-family: "Caviar Dreams", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
h1 {
  margin-top: 0;
}
.loading-icon {
  background-color: #000;
  background-image: url("images/locktober-logo-header.png");
  background-repeat: no-repeat;
  background-size: 64px 64px;
  background-position: center;
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9;
}
.header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  color: #fcfbf9;
  background-color: #000;
  z-index: 10;
  text-align: center;
  font-size: 16px;
}
.site-header {
  position: relative;
  padding: 0 20px;
  text-align: right;
  max-width: 1200px;
  margin: auto;
  box-sizing: border-box;
}
nav a:any-link {
  color: inherit;
  text-decoration: none;
}
.icon-link {
  display: inline-block;
  position: relative;
  text-align: center;
  padding: 15px 0 15px 0;
  margin-right: 30px;
  font-size: 1.5em;
}
.icon-link:last-of-type {
  margin-right: 0;
}
.icon-subtext {
  position: absolute;
  bottom: 5px;
  left: 0;
  right: 0;
  font-size: 0.4em;
}
.site-header .logo {
  position: absolute;
  top: 0;
  left: 10px;
  height: 140%;
}
.container {
  margin-top: 55px;
  min-height: 100vh;
}
.hero {
  /* background: #000000 no-repeat center url(./images/homepage-image.jpg); */
  width: 100%;
  padding: 0;
  margin: auto;
  background-size: cover;
  aspect-ratio: 1.79;
}
.hero-content {
  text-align: center;
}
.hero-title {
  margin: 0;
  padding: 0;
}
.hero-title-img {
  margin-top: 75px;
  width: 80%;
}
@media (min-width: 768px) {
  .hero-title-img {
    margin-top: 200px;
  }
}
.hero-buttons {
  display: block;
  font-size: 1em;
  padding: 20px;
}
button {
  font-size: 1.5em;
  border-radius: 10px;
  border: 2px solid #333;
  background-color: #eabbaa;
  color: black;
  padding: 10px 5px;
  font-family: inherit;
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 5px auto;
  opacity: 0.9;
}
.hero-button-hr {
  border: 0;
  height: 1px;
  width: 100px;
  background-color: silver;
  margin: 1em auto;
}
button:hover {
  opacity: 0.8;
}
.page-content {
  background-color: #fcfbf9;
  text-align: left;
  position: relative;
  padding: 30px;
  text-align: left;
  font-family: "Bicyclette", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-weight: 300;
  font-size: 20px;
  max-width: 800px;
  line-height: 1.5;
  opacity: 0.95;
  margin-left: auto;
  margin-right: auto;
}
.blog {
  /* background-color: #fcfbf9; */
  text-align: left;
  position: relative;
  /* opacity: 0.95; */
}
.blog-header {
  position: relative;
  display: flex;
  flex-flow: column;
  flex-wrap: wrap;
}
.blog-image-div {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-repeat: none;
  background-size: cover;
  background-position: center;
}
/* .blog-image {
  width: 100%;
  margin: 0;
} */
.blog-title {
  font-size: 2em;
  padding: 30px 20px;
  margin: 0;
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fcfbf9;
}
.blog-subtitle {
  background-color: rgba(234, 187, 170, 0.95);
  font-size: 1.2em;
  padding: 1em 10%;
  margin: 0;
  line-height: 1.5;
  text-align: center;
}
.blog-info {
  color: #555;
  text-align: right;
  font-size: 0.75em;
}
@media (min-width: 768px) {
  .blog-subtitle {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2em 10%;
    opacity: 0.85;
  }
}
.blog-content {
  padding: 30px;
  text-align: left;
  margin: auto;
  font-family: "Bicyclette", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-weight: 300;
  font-size: 20px;
  max-width: 800px;
  line-height: 1.5;
  background-color: #fcfbf9;
  opacity: 0.95;
}

.blog-content p:first-child {
  margin-top: 0;
}
@media (min-width: 768px) {
  .blog-content {
    padding-left: calc((100% - 700px) / 2);
    padding-right: calc((100% - 700px) / 2);
  }
  .blog-sidebar {
    width: 300px;
  }
}

.subheader {
  color: #eabbaa;
  margin: 0;
}
.domme-collective {
  color: #fcfbf9;
  text-align: left;
  margin: 1rem;
}
h1 .subheader {
  display: block;
  font-size: 1rem;
  line-height: 2em;
}
.domme-feed {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-around;
  margin: 100px auto;
  row-gap: 30px;
}
.domme {
  position: relative;
  text-align: left;
  background-position: top;
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-size: cover;
  overflow: hidden;
  width: 80%; /* width: 100%; may do 100% on screens < 500. Keep at 50% for now. */
  aspect-ratio: 16 / 9;
  transition: all 0.2s ease-in-out;
}
.domme:hover {
  transform: scale(1.05);
}
.domme-feed-displayName {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 40px 20px;
  line-height: 1.5;
}
.domme-feed-subinfo {
  color: #eabbaa;
  font-size: 0.8em;
  display: block;
}
.domme-spotlight {
  background-color: #fcfbf9;
  padding: 50px 30px;
  text-align: center;
  color: #000;
}
.domme-spotlight-info {
  font-family: "bicyclette";
  font-weight: 300;
  margin: 2em;
  line-height: 1.3;
}
.more-info {
  font-size: 1.25em;
  text-transform: uppercase;
  color: inherit;
  text-decoration: none;
  margin: 0.83em auto;
  display: block;
  font-weight: bold;
}
/* Domme screen adjustments */
@media (min-width: 500px) {
  /* .domme {
    width: 40%;
  } */
}
@media (min-width: 768px) {
  .domme-feed {
    display: flex;
    flex-wrap: wrap;
  }
  .domme {
    width: 40%;
  }
}
footer {
  padding: 50px 20px;
  color: #fcfbf9;
  font-size: 16px;
}
footer a:any-link {
  color: inherit;
  text-decoration: none;
}
footer ul {
  margin: 0;
  padding: 0;
}
footer li {
  list-style: none;
  text-align: center;
  line-height: 1.5;
  margin: 5px 0;
}
.footer-social-links {
  text-align: center;
  margin: 30px auto;
  font-size: 2em;
}
.footer-social-links a:any-link {
  display: inline-block;
  margin: 0 15px;
}
.footer-copyright {
  margin-top: 40px;
  font-size: smaller;
}
/* footer size adjustments */
@media (min-width: 500px) {
  .footer-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .footer-links > * {
    width: 33.3%;
  }
}
.center {
  text-align: center;
}

/* inputs etc... */
input,
select,
textarea {
  box-sizing: border-box;
  border: 1px solid gray;
  padding: 1em;
  font-size: 1em;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  width: 100%;
  display: block;
}

/* Dots Loading Animation */
.dots-loading {
  margin: 0 auto;
  text-align: center;
}

.dots-loading::before,
.dots-loading::after {
  content: " ";
}

.dots-loading div,
.dots-loading::before,
.dots-loading::after {
  /*margin: 35px 5px;*/
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #c4c4c4;
  opacity: 0;
}

.dots-loading::before {
  -moz-animation: opacitychange 1s ease-in-out infinite;
  -webkit-animation: opacitychange 1s ease-in-out infinite;
  -o-animation: opacitychange 1s ease-in-out infinite;
  animation: opacitychange 1s ease-in-out infinite;
}

.dots-loading div {
  -moz-animation: opacitychange 1s ease-in-out 0.33s infinite;
  -webkit-animation: opacitychange 1s ease-in-out 0.33s infinite;
  -o-animation: opacitychange 1s ease-in-out 0.33s infinite;
  animation: opacitychange 1s ease-in-out 0.33s infinite;
  -webkit-animation-fill-mode: infinite;
  animation-fill-mode: infinite;
}

.dots-loading::after {
  -moz-animation: opacitychange 1s ease-in-out 0.66s infinite;
  -webkit-animation: opacitychange 1s ease-in-out 0.66s infinite;
  -o-animation: opacitychange 1s ease-in-out 0.66s infinite;
  animation: opacitychange 1s ease-in-out 0.66s infinite;
  -webkit-animation-fill-mode: infinite;
  animation-fill-mode: infinite;
}

.floating-alert {
  display: none;
  position: fixed;
  background-color: #fcfbf9;
  padding: 50px;
  z-index: 999;
  top: 150px;
  left: 50%;
  -moz-animation: floatingAlert ease-in 2s forwards;
  -webkit-animation: floatingAlert ease-in 2s forwards;
  -o-animation: floatingAlert ease-in 2s forwards;
  animation: floatingAlert ease-in 2s forwards;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

.floating-alerts .floating-alert:last-of-type {
  display: block;
}

@keyframes floatingAlert {
  0% {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-50%) scale(1.2);
  }

  9% {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-50%) scale(1);
  }

  91% {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-50%) scale(1);
  }

  100% {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-50%) scale(1.2);
  }
}

@-webkit-keyframes floatingAlert {
  0% {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-50%) scale(1.2);
  }

  9% {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-50%) scale(1);
  }

  91% {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-50%) scale(1);
  }

  100% {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-50%) scale(1.2);
  }
}
