* { margin: 0; padding: 0; box-sizing: border-box;
  
  /* Color scheme */
  
  --textcolor: #121212;
  --bgcolor: #fdfdee;
  --highlight: rgb(36, 0, 255);

}

@media (prefers-color-scheme: dark) {
  * {
    --textcolor: #dadada;
    --bgcolor: #1d1e1f;
    --highlight: #fcff67;
  }
}

body {
  font-size: 14px;
  font-family: 'Maison Neue', Arial, system-ui, sans-serif;
  line-height: 1.4;
  color: var(--textcolor);
  background: var(--bgcolor);
  position: relative;
  margin: 0 auto;  /* centers the layout */
}

.emoji {
  font-size: 24em;
  margin-top: -0.5em;
}

/* ------- Fonts ------- */

@font-face {
    font-family: 'ABC Arizona Flare';
    src: url('fonts/ABCArizonaFlareThin.woff2') format('woff2'),
        url('fonts/ABCArizonaFlareThin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Maison Neue';
    src: url('fonts/MaisonNeue-Light.woff2') format('woff2'),
        url('fonts/MaisonNeue-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Boogy Brut Poster WBL White';
    src: url('fonts/BoogyBrutPosterWEBL-White.woff2') format('woff2'),
        url('fonts/BoogyBrutPosterWEBL-White.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Maison Neue';
    src: url('fonts/MaisonNeue-Bold.woff2') format('woff2'),
        url('fonts/MaisonNeue-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}





/* ------- Custom ------- */



* {box-sizing: border-box}
.mySlides1, .mySlides2, .mySlides3 {display: none}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 80%;
  position: relative;
  margin: auto;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: var(--textcolor);
  background: var(--bgcolor);
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a grey background color */
.prev:hover, .next:hover {
  color: var(--bgcolor);
  background: var(--textcolor);
}

a.herolink {
  font-family: 'Maison Neue', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.5em;
  letter-spacing: -1px;
}

.wrapper {
  width: 50%;
   margin: 0 auto;
}


.some-page-wrapper {
  background-color: none;
}

.row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}

.column {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  flex: 1;
}

.double-column {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  flex: 2;
}

a.logo {
font-family: 'ABC Arizona Flare', times, serif;
color: var(--textcolor);
}

a.nav {
 font-family: 'ABC Arizona Flare', times, serif;
 color: var(--textcolor);
}

#quoteDisplay {
 display: block; 
}

button.quoteButton {
  float: right;
  color: var(--bgcolor);
  background: var(--highlight);
  padding: 5px;
  border-radius: 5px;
  border-color: var(--highlight);
  text-transform: uppercase;
  font-size: 0.8em;
  letter-spacing: 0.5px;
  font-weight: bold;
  
}

/* ------- Sections ------- */

#work, #home, #info, #freshly, #misc, #other, #SK, #type, #mediacom, #dell, #AA {padding: calc(6em + 5vw) 5vw 8vw 5vw;}
#warwick img, #iridium img {width:100%;}
#neo {overflow: hidden;}

section { 
  /* ! Everything below is needed ! */
  display: none;
  position: absolute;
  top: 0;
  min-height: 100vh;
  width: 100%;
  background: var(--bgcolor);
}

section:target { /* Show section */
  display: block;
}

section#home { /* Show #home by default */
  display: block;
}

/* ------- Header ------- */

header {
  padding: 2vw 5vw 0 5vw;
  display: flex;
  flex-wrap: wrap;
  position: fixed;
  width: 100%;
  z-index: 2;
}

header h1 {
  font-size: 2em;
  letter-spacing:-1px;
  flex: 1; /* pushes nav to the right */
  white-space: nowrap;
  padding: 0 5vw .5em 0;
  font-weight: 100;
}

nav a:not(:last-of-type) {
  margin-right: 1.5vw;
}

/* ------- General ------- */

a {
  text-decoration: none;
  color: var(--highlight);
}

a:hover {
  border-bottom: 1px solid;
}

section h1 {
  font-size: 1em;
  margin: 0 0 1em 0;
}

h2, h3, h4 {
  font-size: 1em;
  font-weight: 600;
  margin: 1.6em 0 .6em 0;
}

p, ul, ol, article {
  max-width: 60ch; /* Limit line-length to 60 characters */
  margin-bottom: .6em;
}

ul {
  list-style-type: none;
}

ul li::marker {
  content: "\2022   ";
}

li {
  margin-bottom: .2em;
}

ul, ol {
  padding-left: 2ch;
}

b, strong {
  font-weight: 600;
}

small {
  font-size: .85em;
}

hr {
  height: 1px;
  border: 0;
  background: currentColor;
  opacity: .1;
  margin: 0.5em 0;
}

abbr {
  text-decoration: none;
}

abbr[title]:hover {
  opacity: .7;
  cursor: help;
}

blockquote {
  padding-left: 2ch;
  opacity: .7;
  margin-bottom: .6em;
  position: relative;
}

blockquote:before {
  content: "";
  position:absolute;
  left: 0;
  top: .3em;
  bottom: .3em;
  background: currentColor;
  width: 1px;
  opacity: .2;
}

img, svg, video, audio {
  display: block;
  max-width: 100%;
  height: auto;
  fill: currentColor;
}
  
code, textarea {
  font-family: ui-monospace, SF Mono, Menlo, Monaco, Andale Mono, monospace;
  font-size: 1em;
  opacity: .7;
}

a code {
  opacity:1;
}

pre, textarea { /* for code samples */
  font-size: .9em;
  color: inherit;
  line-height:inherit;
  padding:.6em .9em;
  margin: .8em 0 1em 0;
  position: relative;
  display: block;
  width: 100%;
  white-space: pre;
  border:0;
  border-radius: 4px;
  background:rgba(255,255,100,.075);
  box-shadow: inset 1px 1px 0 rgba(0,0,0,.2), inset -1px -1px 0 rgba(0,0,0,.04) ;
}

/* Inline footnotes */

label {
  cursor: pointer;
  vertical-align: super;
  line-height: 1;
  font-size: .75em;
  padding-left: .1em;
}

label:hover {
  color: var(--highlight);
}

label:before {content:"[";}
label:after {content:"]";}

label + input,
label + input + small {
  display: none;
}

input:checked + small {
  display: block;
  padding: .8em 0 1em 2.5vw;;
}

/* Figures */

figure {
  margin: 2em 0 1.5em 0;
}

figure figcaption {
  margin: 0.8em 0 0 0;
  font-size: .85em;
  opacity: .7;
}

/* Responsive video embeds */

figure.video {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
}

figure.video iframe, figure.video object, figure.video embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  visibility: hidden; /* so loading="lazy" should work? */
}

section:target iframe {
  visibility: visible;
}

/* External links */


a[href*="//"]:hover:after {
  color: var(--highlight);
  opacity: 1;
}

/* File links */

a:before { 
  font-size: .7em;
  margin-right: .4em;
}

/* Add more filetypes here if you want */

a[href$=".txt"]:before { content: "TXT"; }
a[href$=".mp3"]:before { content: "MP3"; }
a[href$=".zip"]:before { content: "ZIP"; }
a[href$=".rar"]:before { content: "RAR"; }
a[href$=".jpeg"]:before,
a[href$=".jpg"]:before,
a[href$=".gif"]:before,

/* ------- News ------- */

article + article {
  margin-top: 4.5em;
}

article h2 {
  font-weight: 700;
  margin: 0 0 1em 0;
}

article time {
  margin-left: .6em;
  font-size: .8em;
  font-weight: 400;
  opacity: .7;
}

/* ------- Images Grid ------- */

.grid {
  display: grid;
  grid-gap: 3vmin;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); /* 150px = minimum image size */
  grid-auto-flow: dense;
  padding: 2em 0;
}

.grid a {
  position: relative;
  border: 0;
}

.grid a:hover {
  transform: scale(.975);
}

/* For a square ratio */
.grid a:before {
  content: "";
  display: block;
  padding-top: 100%;
}

.grid a img {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* ------- Slideshow ------- */

.slides {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
}

.slides figure {
  height: 100vh;
  padding: 0 5vw;
  margin: 0;
  display: grid;
  place-items: center;
  align-content: center;
  scroll-snap-align: center;
}

.slides figure img {
  max-height: 88vh; /* Adjust if needed */
}

.slides figure.cover {
  padding: 0;
}

.slides figure.cover img {
  max-height: none;
  position: absolute;
  z-index: -1;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
}

/* ------- Lightbox ------- */

.lightbox {
  display: none;
  color: var(--textcolor);
}

.lightbox:target {
  position: relative;
  top: -5px;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  place-items: center;
  align-content: center;
  background: var(--bgcolor);
  border: 0;
  z-index: 3;
  padding: 50px 0 50px 0px;
}

.lightbox img {
  max-width: 50em;
  z-index: 4;
}

.full img {
  max-width: 100%;
}

.lightbox:target:before { /* Loading spinner */
  content:"";
  height: 2em;
  width: 2em;
  animation: spin .8s infinite linear;
  border: 1px solid;
  border-right-color: transparent;
  border-radius: 50%;
  display: block;
  position: absolute;
  transform: translateX(-50%);
  opacity: .25;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.lightbox:target:after { /* × to close */
  content: "\00D7";
  position: fixed;
  font-size: 2em;
  font-weight: 200;
  line-height: 0;
  top: .75em;
  right: .5em;
  z-index: 4;
}

/* ------- Homepage ------- */


.hometext {font-size: 5em; line-height: 1.2em; font-family: 'ABC Arizona Flare'; letter-spacing: -0.03em;}
.hometext2 {font-size: 1em;}
.hometext2 a {text-decoration: underline;}
.hometext2 a:hover {text-decoration: none; border-bottom: 0;}

/* ------- Smaller screens ------- */

@media only screen and (max-width: 680px) {
  .emoji {font-size: 15em; margin-top: -0.5em;}
  .hometext {font-size: 2.35em;}
  .wrapper {width: 100%; }
  a.herolink {font-size: 1.25em; letter-spacing: -1px;}
  body { font-size: 16px; }
  header h1 {font-size: 1.75em;}
  .column-1a, .column-2a, .column-3a {height: auto;}
  .lightbox img {max-width: 100%;}
  .grid {    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));}
  .slideshow-container {max-width: 100%;}
  header {background:none;}
  .lightbox:target {padding-bottom: 600px!important;}
}

@media only screen and (max-width: 540px) {
  nav { margin-top: 10px; } /* Fix for older webkit versions */
}

/* ------- Print ------- */

@media print {
  
  nav, .lightbox:target:after { display: none; }
  
  article, figure, img {
    page-break-inside: avoid;
    break-inside: avoid;
  }
  
  /* Inline footnotes */
  
  label + input + small { display: inline; }
  label + input + small:before { content: "["; }
  label + input + small:after { content: "]"; }
  
  /* Slides */
  
  .slides, .slides figure {
    position: relative;
    height: auto;
    padding: 0;
  }

  .slides figure img, .slides figure.cover img {
    max-height: auto;
    position: relative;
    z-index: 1;
    width: auto;
    height: 100vh;
    object-fit: contain;
  }
    
}

 /* Misc */
 
.hiddenimg, .hiddenimg2, .hiddenimg3, .hiddenimg4, .hiddenimg5 {
  display: none;
}

.hiddentxt, .hiddentxt2, .hiddentxt3, .hiddenimg4, .hiddenimg5 {
  border-bottom: 1px;
  z-index:99;
}

.hiddentxt a, .hiddentxt2 a, .hiddentxt3 a, .hiddentxt4 a, .hiddentxt5 a  {
  color: var(--textcolor);
  text-decoration: none;
  z-index: 99;
  cursor: url("image/Eye.png"), auto;
}

.hiddentxt:hover ~ .hiddenimg {
  display: block;
  position: absolute;
  z-index: 2
}

.hiddentxt2:hover ~ .hiddenimg2 {
  display: block;
  position: absolute;
  left: 43%;
  z-index: 2;
}

.hiddentxt3:hover ~ .hiddenimg3 {
  display: block;
  position: absolute;
  left: 43%;
  z-index: 2;
}

.hiddentxt4:hover ~ .hiddenimg4 {
  display: block;
  position: absolute;
  left: 43%;
  z-index: 2;
}

.hiddentxt5:hover ~ .hiddenimg5 {
  display: block;
  position: absolute;
  left: 43%;
  z-index: 2;
}















