/*!
 * Age verification CSS to go with the JS that can be found at (https://github.com/Herudea/age-verification)
 */

/* oswald-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 200;
  src: url('../fonts/font-google/oswald-v57-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* oswald-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/font-google/oswald-v57-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* oswald-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/font-google/oswald-v57-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* oswald-200 - cyrillic_cyrillic-ext_latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 200;
  src: url('../fonts/font-google/oswald-v57-cyrillic_cyrillic-ext_latin_latin-ext-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* oswald-300 - cyrillic_cyrillic-ext_latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/font-google/oswald-v57-cyrillic_cyrillic-ext_latin_latin-ext-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* oswald-regular - cyrillic_cyrillic-ext_latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/font-google/oswald-v57-cyrillic_cyrillic-ext_latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

* {
  font-family: "Oswald", serif;
  box-sizing: border-box;
}

#modal_screen {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 999999;
  background-color: rgba(0, 0, 0, 0.90);
}

#modal_screen.nope {
  /* background-color: rgba(40, 40, 40, 0.95); */
  background-color: rgba(0, 0, 0, 0.90);
}

#modal_content {
  top: 18rem !important;
  position: fixed;
  z-index: 999999;
  margin: 0 auto;
  border: 1px solid #c8b328 important;
  font-size: 12px;
  width: 360px;
  height: 290px;
  color: #ffffff;
  padding: 20px;
  background-color: rgba(40, 40, 40, 0.8);
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(255,255,255,0.8), 0 1px 90px rgba(255,255,255,0.8);
}

#modal_content .content_wrapper {
  margin: 0 auto 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#modal_content h2 {
  margin: 0 0 0 0;
  text-transform: none;
  letter-spacing: 0.1rem;
  color: #ffffff;
}

#modal_content p {
  max-width: 80%;
  margin: 2.2em auto 0;
}

#modal_content nav:after {
  content: "";
  display: block;
  clear: both;
}

.small {
  display: block;
  text-align: center;
  color: #888;
  margin: 1em 0 0;
}

a.av_btn {
  display: block;
  text-align: center;
  margin: 1em auto 0;
  text-decoration: none;
  color: #DEB887;
  font-weight: normal;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1em;
  padding: 10px 20px;
  border-radius: 5px;
  transition: all 0.5s;
}

.av_go {
  background-color: rgba(40, 40, 40, 0.8);
  border: 2px solid #c8b328 !important;
  width: 12rem !important;
  margin-top: 30px !important;
}

.av_go:hover {
  color: rgba(40, 40, 40, 0.8);
  background-color: #DEB887;
  border: 2px solid #ffffff !important;
}

.av_no {
  background-color: rgba(40, 40, 40, 0.8);
  border: 2px solid #c8b328 !important;
  width: 12rem !important;
  margin-top: 20px !important;
}
.av_no:hover {
  color: rgba(40, 40, 40, 0.8);
  background-color: #DEB887;
  border: 2px solid #ffffff !important;
}

a.av_btn {
  margin-top: 20px;
  font-size: 1.25em;
}

@media (min-width: 688px) {
  #modal_content {
    /* top: 10em; */
    top: 30vh;
    left: 30vw;
    width: 90%;
    max-width: 600px;
    height: 300px;
    padding: 40px;
    background-position: center 6em;
    font-size: 16px;
  }

  #modal_content .content_wrapper {
    text-align: center;
  }

  #modal_content h2 {
    margin: 0 0 0 0;
    font-size: 1.875em;
    font-style: italic;
    font-weight: 400;
  }

  #modal_content p {
    font-size: 1.5em;
    line-height: 1.875em;
  }

  #modal_content nav a.av_btn {
    margin: 1.6em auto 0;
    font-size: 1.25em;
  }
}

@media only screen and (max-width: 687px) {
 #modal_content {
    height: 230px;
    width: 350pX;
	  top: 60px !Important;
  }

  #modal_content h2 {
    margin: 0 0 0 0;
    font-size: 1.3em;
  }

  #modal_content p {
    font-size: 1.3em;
    line-height: 1.875em;
  }
}

@media only screen and (max-width: 1536px) {
 #modal_content {
    top: 5rem !important;
}
	
@media only screen and (max-width: 360px) {
 #modal_content {
    top: 5rem !important;
}