/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #63d05a;
  color: #000000;
  text-shadow: none;
}

::selection {
  background: #63d05a;
  color: #000000;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
   
   #body {
	 background: #000000 url('../img/FramesBG.png') top center/615px no-repeat;
	 height: 100%;
   }
   
   p, h1, h2, h3, h4, h5, h6 {
	color: #f9f9f9;
	font-family: artifex-cf, Times New Roman, serif;
	letter-spacing: 2px;
    font-weight: 200;	   
   }
   
   h3 {
	   font-weight: 600;
   }
  
  nav.mobile-nav {
    width: 100%;
	height: auto;  
  }
  
  nav.mobile-nav a.burger-menu {	
	display: block;
	position: fixed;
	width: 44px;
	height: 44px;
    right: 20px;
	top: 20px;
	z-index: 6;
	padding: 4px;
  }
  
  nav.mobile-nav a.burger-menu img {
	  transition: all .2s ease-in-out;
	  display: block;
	  width: 44px;
	  height: 44px;
	  margin: 0 auto;
  }
  
  nav.mobile-nav a.burger-menu:active img {
	  width: 40px;
	  height: 40px;
  }
  
  nav.mobile-nav div {
	position: fixed;
	width: 100%;
	height: 100vh;
	background: rgb(0,0,0);
    z-index: 5;
    display: none;	
  }
  
  nav.mobile-nav div a {
	transition: all .2s ease-in-out;
	display: block;
	text-align: center;
	color: rgb(255,255,255);
	font-family: 'artifex-cf', serif;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 3px;
	font-size: 2em;
	font-weight: 200;
	margin-bottom: 20px;
  }
  
  nav.mobile-nav div a:first-child {
	  margin-top: 40%;
  }
  
  nav.mobile-nav div a:hover {
	  color: #63d05a;
  }
  
  nav.mobile-nav div a:active {
	  transform: scale(0.975);
  }
  
  nav.mobile-nav div img {
	  display: block;
	  width: 75px;
	  height: 75px;
	  margin: 60px auto 0;
  }
  
  nav.desktop-nav { 
	display: none;
  }
  
  nav.desktop-nav ul {
	  list-style: none;
	  margin: 50px auto 0;
	  padding: 0;
	  width: 100%;
	  text-align: center;	  
  }
  nav.desktop-nav ul li {
	  display: inline-block;
	  width: 150px;
	  padding: 0;
  }
  
  nav.desktop-nav ul li a {
	  color: #ffffff;
	  text-decoration: none;
	  font-family: open-sans, sans-serif;
	  text-transform: uppercase;
	  padding: 5px;
  }
  
  nav.desktop-nav ul li.desktop-DDG-logo { text-align: center }
  
  nav.desktop-nav ul li.desktop-DDG-logo a {
	  padding: 0;
  }
  
  nav.desktop-nav ul li.desktop-DDG-logo a img {
	width:  150px;
	margin: 0 !important;
  }
  
  .content-wrapper { padding: 0 11%; }
  
  #masthead {
	display: block;
	margin: 0 auto 90px;
	top: 0;
  }
  
  #masthead img.ddg_wordmark_mobile {
	  display: block;
	  width: 60%;
	  margin: 28px auto 0;
  }
  
  #masthead img.hand-and-sigil {
	  display: block;
	  margin: 60px auto 80px;
	  padding-left: 15px;
	  width: 85%;
  }
  
  #masthead img.headline-mobile { margin: 0 auto 30px; } 
  
  #masthead img.headline-desktop { 
	display: none;
	width: 100%;
	margin: 0 auto 60px;
  }	
  
  #masthead .desktop-statement {
	   display: none;
	   width: 100%;
	   margin: 0 auto;
   }
   
  #masthead p {
	 font-size: 1.2em;
	 text-align: justify;
  }
   
  #masthead .desktop-statement p { 
	font-size: 1.7em;
    line-height: 1.3;
  }

  #masthead a {
	display: block;
	text-align: center;
	background-color: rgba(99,208,90,1);
	padding: 20px;
	margin: 50px auto;
	width: fit-content;
	font-family: open-sans, sans-serif;
	font-size: 1.2em;
	text-decoration: none;
	font-weight: bold;
	color:#000000;
	border-radius: 1px;
  }

  #masthead a:hover {
	background-color: #f9f9f9;
  }
   
  #rift-section div.rift-info {
	  margin:0 auto 70px;
	  width: 70%;
  }
   
  #rift-section div.rift-info p {
   font-size: 1em;
   text-align: left;
  }
   
  #rift-section div.rift-info:nth-child(3){
	   margin-bottom: 0px;
   }
   
  #rift-section h3 {
	   text-transform: uppercase;
	   text-align: center;
	   font-size: 1.5em;
	   letter-spacing: 1px;
	   margin-bottom: 0;
   }
   
  #rift-section p {
	   text-align: left;
	   font-size: 1.1em;
	   font-family: open-sans, sans-serif;
   }
   
   div.tray {
	   position: relative;
	   width: 100%;
	   height: 470px;
	   background-image: url(../img/DiceAndRift.png);
	   background-size: cover;
	   background-position: top center;
	   background-repeat: no-repeat;
	   margin-bottom: 150px;
   }
   
   div.tray p {
	   position: absolute;
	   color: #ffffff;
	   line-height: 1.3;
	   font-size: .75em;
	   text-align: right;
	   bottom: -80px;
	   right: 25px;
	   font-family: open-sans, sans-serif;
	   font-style: italic;
	   letter-spacing: 1px;
   }
   
   footer {
	   margin-bottom: 200px;
   }
   
   footer h2, h4 {
	text-transform: capitalize;
	text-align: center;
	font-weight: 200;
	}

	footer h2 {
		font-weight: 200;
		text-transform: uppercase;
		line-height: 1.2;
		margin-bottom: 0;
		margin-top: 0;
	}

	footer h2.ks-headline-1 {
		font-size: 2em;	   
	}

	footer h4 {
		font-family: open-sans, sans-serif;
		margin-bottom: 45px;
		margin-top: 10px;
	}

	footer h2.ks-headline-3 {
		display: none;
		font-size: 2em;
		text-transform: capitalize;
	}
   
   footer form {
	   margin-bottom: 100px;
	   width: 100%;
	   display: block;
   }
   
   footer form input {
	   transition: all .1s ease-in-out;
	   width: 100%;
	   font-family: open-sans, sans-serif;
	   box-sizing: border-box;
   }
   
   footer form input[type=email] {
	   height: 44px;
	   margin-bottom: 10px;
	   padding: 2px 10px;
   }
   
   footer form input[type=submit] {
	   background: #000000;
	   border: 2px solid #63d05a;
	   color: #63d05a;
	   height: 44px;
	   font-weight: bold;
	   letter-spacing: 1px;
	   text-transform: uppercase;
   }
   
   footer form input[type=submit]:hover {
	   color: #ffffff;
   }
   
   footer form input[type=submit]:active {
	   border-color: #ffffff;
	   transform: scale(.975);
   }
   
   footer h5 {
	   text-align: center;
   }
   
   footer ul {
	   display: block;
	   list-style: none;
	   margin: 0 auto;
	   padding: 0;
	   text-align: center;
   }
   
    footer ul li {
		display: inline-block;
		width: 44px;
		height: 44px;
		margin: 0 5px;
	}
	
	footer ul li a {
		display: inline-block;
		margin-bottom: 5px;
		width: 44px;
		height: 44px;
		transition: all .2s ease-in-out;
		background-size: cover;
	}
	
	/* Social Button Interaction */
	
	footer ul li.facebook a {
		background: url(../img/Social_Facebook_Icon.png) no-repeat center;
	}
	footer ul li.facebook a:hover {
		background-image: url(../img/Social_Facebook_Hover.png);
	}
	
	footer ul li.instagram a {
		background: url(../img/Social_Instagram_Icon.png) no-repeat center;
	}
	footer ul li.instagram a:hover {
		background-image: url(../img/Social_Instagram_Hover.png);
	}
	
	footer ul li.threads a {
		background: url(../img/Social_Threads_Icon.png) no-repeat center;
	}
	footer ul li.threads a:hover {
		background-image: url(../img/Social_Threads_Hover.png);
	}
	
	footer ul li.tiktok a {
		background: url(../img/Social_Tiktok_Icon.png) no-repeat center;
	}
	footer ul li.tiktok a:hover {
		background-image: url(../img/Social_Tiktok_Hover.png);
	}
	
	footer ul li.bluesky a {
		background: url(../img/Social_Bluesky_Icon.png) no-repeat center;
	}
	footer ul li.bluesky a:hover {
		background-image: url(../img/Social_Bluesky_Hover.png);
	}
	
	footer ul li.long-live-twitter a {
		background: url(../img/Social_Twitter_Icon.png) no-repeat center;
	}
	footer ul li.long-live-twitter a:hover {
		background-image: url(../img/Social_Twitter_Hover.png);
	}
	
	footer ul li.youtube a {
		background: url(../img/Social_YouTube_Icon.png) no-repeat center;
	}
	footer ul li.youtube a:hover {
		background-image: url(../img/Social_YouTube_Hover.png);
	}
	
	footer ul li.linkedin a {
		background: url(../img/Social_LinkedIn_Icon.png) no-repeat center;
	}
	footer ul li.linkedin a:hover {
		background-image: url(../img/Social_LinkedIn_Hover.png);
	}
	
	footer ul li.discord a {
		background: url(../img/Social_Discord_Icon.png) no-repeat center;
	}
	footer ul li.discord a:hover {
		background-image: url(../img/Social_Discord_Hover.png);
	}
	
	footer ul li.reddit a {
		background: url(../img/Social_Reddit_Icon.png) no-repeat center;
	}
	footer ul li.reddit a:hover {
		background-image: url(../img/Social_Reddit_Hover.png);
	}
	
	footer ul li a:active {
		width: 40px;
		height: 40px;
	}
   

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

.clear {
	clear: both;
}

.clear-left{
	clear: left;
}

.clear-right {
	clear: right;
}

.no-space {
	letter-spacing: 0px !important;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media only screen and (max-width: 330px) {
	#masthead img.ddg_wordmark_mobile {
		display: none;
	}
	
	#masthead p {
		font-size: 1.1em;
	}
}

@media only screen and (min-width: 26em) {
	div.tray {
		height: 580px;
	}
}

@media only screen and (min-width: 35em) {	
  
  #body { background-size: 150%; }
  
  
  #masthead img.ddg_wordmark_mobile {
	  width: 40%;
  }
  
  #masthead img.hand-and-sigil {
    display: block;
	margin: 90px auto 100px;
	padding-left: 42px;
	width: 70%;
  }
  
  #masthead img.headline-mobile { display: none; }
  #masthead img.headline-desktop { display: block; }
  
  #rift-section { 
	width: 75%;
	margin: 0 auto;
	text-align: center;
	}
  
  div.tray {
    height: 785px;
    background-size: contain;
    margin: 0 auto;
  }
  
  div.tray p {
	  bottom: 90px;
  }
  
  footer h2 { font-size: 3em }
}

@media only screen and (min-width: 42em) {
	div.tray {
		margin-bottom: 200px;
	}
	
	div.tray p {
	  bottom: 0;
	  right: 10%;
	}
	
	footer h2.ks-headline-1, footer h2.ks-headline-2 {
		display: none	
	}
	
	footer h2.ks-headline-3 {
		display: block;
	}
	
	
}

@media only screen and (min-width: 50em) {	

  nav.desktop-nav { display: block !important; }	
  nav.mobile-nav { display: none; }
  
  #masthead img.ddg_wordmark_mobile { display: none }
  
  #masthead img.hand-and-sigil { 
	width: 50%;
	margin: 60px auto 100px;
  }
  
  #masthead img.headline-desktop {
	  width: 80%;
  }
  
  #masthead div.mobile-statement {
	  display: none;
  }
  
  #masthead div.desktop-statement {
	  display: block;
	  width: 80%;
  }
  
  #masthead div.desktop-statement p {
	  font-size: 1.5em;
  }
  
  #rift-section div.rift-info { width: 50% }
  
}

@media only screen and (min-width: 60em) {
	
	#body {
		background: url('../img/FramesBG.png') center top/contain no-repeat, #000000 url('../img/DoorsBG.png') center 34%/100% no-repeat;
	}
	
	#masthead img.hand-and-sigil { 
		width: 45%;
    }
	
	footer form.newsletter_signup {
		width: 600px;
		margin: 0 auto;
	}
	
	footer form input {
		display: inline-block;
	}
	
	footer form input[type=email] {
		width: 69%;
	}
	
	footer form input[type=submit] {
		width: 30%;
	}
	
}

@media only screen and (min-width: 70em) {
	
	#body {
		background: url('../img/FramesBG.png') center top/contain no-repeat, #000000 url('../img/DoorsBG.png') center 37%/100% no-repeat;
	}
	
	#masthead img.hand-and-sigil { 
		width: 40%;
    }
	
	#masthead img.headline-desktop {
	  width: 60%;
	}
  
	#masthead div.desktop-statement {
	  display: block;
	  width: 60%;
	}
	
	div.tray p {
	  bottom: 0;
	  right: 20%;
	}
}

@media only screen and (min-width: 80em) {
	
	#body {
		background: url('../img/FramesBG.png') center top/80% no-repeat, #000000 url('../img/DoorsBG.png') center 42%/100% no-repeat;
	}
	
	#masthead {
		margin-bottom: 200px;
	}
	
	#masthead img.hand-and-sigil { 
		width: 35%;
    }
	
	#rift-section {
		width: 100%;
		
	}
	
	#rift-section div.rift-info {
		display: inline-block;
		width: 20%;
		padding: 0 75px;
		vertical-align: top;
	}
	
	#rift-section div.rift-info:first-child {
		padding-left: 0 !important;
	}
	
	#rift-section div.rift-info:last-child {
		padding-right: 0 !important;
	}
	
	#rift-section div.rift-info p {
		font-size: 1.1em;
	}
	
}

@media only screen and (min-width: 90em) {
	#body {
		background: url('../img/FramesBG.png') center top/80% no-repeat, #000000 url('../img/DoorsBG.png') center 50%/100% no-repeat;
	}
	
	#masthead img.hand-and-sigil { 
		width: 32%;
    }
	
    #masthead img.headline-desktop {
	  width: 50%;
	}
	
    #masthead div.desktop-statement {
	  width: 50%;
	  font-size: 1em;
	}
	
	#rift-section div.rift-info {
		width: 15%;
		padding: 0 100px;
	}
}

@media only screen and (min-width: 100em) {
	div.tray p {
	  bottom: 0;
	  right: 30%;
	}

}

@media only screen and (min-width: 105em) {
	
	nav.desktop-nav ul li {
	  width: 175px;
	  padding: 0;
	}
	
	nav.desktop-nav ul li {
		font-size: 1.2em;
	}
	
	nav.desktop-nav ul li.desktop-DDG-logo {
		margin: 0 30px !important;
		
	}
	
	nav.desktop-nav ul li.desktop-DDG-logo a img {
		width:  175px;
    }
		#body {
		background: url('../img/FramesBG.png') center top/80% no-repeat, #000000 url('../img/DoorsLargeBG.png') center 50%/100% no-repeat;
	}
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

