:root {
  --headline-color: #1f1f1f;
  --text-color: #333;
  --subtitle-color: #424242;
}

@font-face {
  font-family: player2;
  src: url(PressStart2P-Regular.ttf);
}

* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  /* border: 2px solid red; */
}

html {
  /* color: var(--text-color); */
  font-weight: 300;
  margin: 2rem;
  letter-spacing: 00.025rem;
  background-image: url("pics/background.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

body {
  font-family: player2;

  background-color: rgba(255, 255, 255, 0);
  margin-bottom: 2rem;
}

header {
  margin-bottom: 2rem;
}

/* #main {
  display: block;
} */

details > summary {
  outline: none;
  list-style-image: url(pics/listItem.png);
}

article {
  margin-bottom: 2rem;
}

section > .container {
  margin-bottom: 10rem;
}

h1,
h2,
h3,
h4 {
  font-weight: 400;
  color: var(--headline-color);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1.125rem;
}

* a {
  color: var(--text-color);
}

* a:visited {
  color: var(--text-color);
}

a:hover,
button:hover,
details:hover {
  cursor: url("/pics/cursor.png");
}

li {
  list-style-type: none;
}

button {
  background-color: rgba(0, 0, 0, 0);
  border: none;
}

.hero {
  display: flex;
  justify-content: center;
}

.hero > .nes-container {
  margin: 0 auto;
}

.hero > img {
  height: 12rem;
  width: 12rem;
}

.profile-image {
  margin: 0;
  padding: 0;
}

.hero-text {
  display: block;
  justify-content: center;
  margin: auto;
}

.page-title {
  margin: 0.5rem auto;
  display: flex;
  justify-content: center;
}

.page-subtitle {
  text-align: center;
}

.page-title h1 {
  letter-spacing: 0.125rem;
}

/**** NAVIGATION STYLES ****/

.top-nav {
  display: flex;
  flex: auto;
  width: auto;
  justify-content: center;
  margin-top: 2rem;
}

.top-nav .nav-item {
  border: none;
  display: inline;
  color: black;
  margin: 1rem;
  padding: 0.75rem 0;
}

.top-nav .nav-item a {
  display: inline-flex;
  padding: 0.75rem;
  color: black;
  text-decoration: none;
  justify-content: space-between;
}

.top-nav .nav-item:hover {
  border-top: 3px solid black;
  border-bottom: 3px solid black;
  color: black;
}

/* BODY STYLES */

.section-title {
  text-align: center;
  font-size: 1.75rem;
  color: white;
  text-shadow: 0px 0px 8px #000000;
}

.about-text {
  margin: 0.5rem 0;
  padding: 0rem 2rem 0 3rem;
  width: 50%;
  line-height: 1.25rem;
}

.content-section {
  display: flex;
  justify-content: space-around;
  width: 100%;
  margin-top: 1.5rem;
}

.verbage {
  display: inline-block;
  width: 40%;
  text-align: start;
  margin-left: -4rem;
}

.article-title {
  /* background-color: aqua; */
  display: flex;
  font-weight: 400;
  justify-content: center;
  width: auto;
  margin: 1rem 1rem 0 1rem;
}

.article-subtitle {
  display: flex;
  font-weight: 400;
  justify-content: center;
  width: auto;
  margin: 0.5rem 0;
}

.verbage .verbage-text {
  margin-bottom: 1.5rem;
  /* padding: 0 2rem 0 3rem; */
  line-height: 1.25rem;
}

.details-title {
  font-size: 1.125rem;
}

.feature-list {
  margin-top: 10rem;
}

.details-text {
  color: rgb(35, 37, 39);
  text-indent: 0.5rem;
  text-align: start;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.content-list > li {
  list-style-type: none;
  margin: 0.125rem 0;
}

.work-details li {
  list-style-type: square;
  list-style-position: inside;
  font-size: 0.9rem;
}

/* LINK BUTTONS */
.code-link {
  display: flex;
  text-decoration: none;
  margin: 1.5rem 0 1.5rem 3rem;
  padding: 0.25rem;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-color);
  box-shadow: none;
  width: fit-content;
  box-shadow: 0px 0px 12px #000000;
}

.code-link > a:hover {
  color: white;
}

/**** IMAGES ****/
.content-image {
  display: flex;
  justify-content: space-evenly;
  align-content: center;
  width: 40%;
}

.content-image > .nes-container {
  margin: 0 1rem;
  padding: 0;
  background-color: #000;
}

.app-image {
  display: flex;
  height: 24vw;
  padding: 0;
  margin: 0 1rem;
  max-width: fit-content;
  box-shadow: 0px 0px 12px #000000;
}

.divider {
  color: var(--accent-purple);
  margin: 0.5rem;
}

/**** CONTACT BUTTONS ****/

.footer {
  margin: 0 auto;
}

#contact {
  width: 50%;
  padding: 0 2rem 0 3rem;
}

.contact-links {
  justify-content: space-evenly;
  display: flex;
  margin: 1.5rem auto;
  padding: 0 2rem 0 3rem;
}

.icon-container {
  padding: 0;
}

.social-icon {
  display: flex;
  margin: 0;
  padding: 0;
}

/**** GENERAL ****/
.glass {
  background: rgba(255, 255, 255, 0.664);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(11px);
  -webkit-backdrop-filter: blur(11px);
  box-shadow: 0px 0px 12px #000000;
}

/**** CONTACT MODAL ****/
/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 10;
  margin: 0;
  padding: 0;
  margin-bottom: 2rem;
  padding: 2rem 0;
  left: 0;
  top: 0;
  overflow: auto;
  color: white;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(11px);
  -webkit-backdrop-filter: blur(11px);
}

.modalContent {
  background: none;
}

.modalHeader {
  margin: auto;
}

.modalBody {
  margin: auto;
  height: 100%;
  width: 60%;
  background-color: rgba(0, 0, 0, 0);
}

.inputSection {
  margin-top: 2rem;
}

.buttonContainer {
  display: flex;
  margin-bottom: 4rem;
  padding-bottom: 2rem;
  justify-content: space-between;
}
#cancel,
#send {
  transition: transform 0.25s ease-in;
  transition: box-shadow 0.25s ease-in;
}

#cancel:hover,
#send:hover {
  transform: scale(1.1);
}

#cancel:hover {
  box-shadow: 0px 0px 40px red;
}

#send:hover {
  box-shadow: 0px 0px 40px lightblue, 0px 0px 32px blue;
}

#cancel:active,
#send:active {
  transform: scale(0.9);
}

.appImgModal {
  display: none;
  position: fixed;
  width: 100vw;
  height: 100vw;
  z-index: 10;
  margin: 0;
  padding: 8rem 0;
  left: 0;
  top: 0;
  color: white;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(11px);
  -webkit-backdrop-filter: blur(11px);
}

.outerSideContainer {
  display: inline-flex;
  width: 50%;
  height: 50%;
  background-color: purple;
  margin: auto;
}

.closeBtn {
  position: absolute;
  z-index: 175;
  right: 1rem;
  top: 1rem;
  font-size: xx-large;
  font-weight: 900;
}

.arrow {
  position: absolute;
  top: 50%;
  z-index: 175;
  margin: auto 0;
  max-height: 4rem;
  max-width: 4rem;
  transition: transform 0.5s ease-in;
}

.arrow:hover {
  transform: scale(1.05);
}

.arrowLeft {
  left: 0;
}

.arrowright {
  right: 4rem;
}

.slideContainer {
  display: inline;
  overflow: hidden;
  height: 100%;
  width: 100%;
  margin: 0 auto;
  /* background-color: #000; */
}

.slideCell {
  object-fit: fill;
  object-fit: contain;
  /* object-fit: cover; */
  height: fit-content;
  width: fit-content;
  margin: 0;
}

.slideImage {
  margin: 2rem;
  height: 100%;
  width: 100%;
}

#image0 {
}

#image1 {
  /* background-color: blue; */
}

#image2 {
  /* background-color: red; */
}

@-webkit-keyframes zoom {
  from {
    -webkit-transform: scale(0);
  }

  to {
    -webkit-transform: scale(1);
  }
}

@keyframes zoom {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}

@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%;
  }
}

/**** MOBILE ****/

@media screen and (max-width: 500px) {
  * {
    margin: 0;
    padding: 0;
  }

  html {
    display: block;
    justify-content: center;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  .hero {
    display: block;
    justify-content: center;
    text-align: center;
    padding: 0;
    margin: 0;
    width: 100%;
  }

  .top-nav {
    display: none;
  }

  .section-title {
    display: block;
    margin-bottom: 1rem;
  }

  .content-section {
    display: block;
    width: 100%;
  }

  .verbage {
    display: block;
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  .verbage-text {
    margin-top: 1rem;
  }

  .article-subtitle {
    display: block;
    text-align: center;
    margin: 0;
    width: 100%;
  }

  .details-title {
    line-height: 2rem;
  }

  .code-link {
    margin: 0 auto;
  }

  .content-image {
    margin-top: 2rem;
    display: block;
    width: auto;
    text-align: center;
  }

  .content-image > .nes-container {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .app-image {
    display: inline-block;
    height: 20rem;
    width: 10rem;
    object-fit: contain;
    background-color: red;
    margin-top: 1rem;
  }

  .content-section > .verbage {
    margin-bottom: 2rem;
  }

  .footer {
    width: auto;
  }

  #contact {
    width: 100%;
    text-align: center;
  }

  .icon-list {
    width: 100%;
    margin: 0;
  }

  .social-icon {
    display: inline-block;
    margin: 0 1rem;
  }

  .contact-links {
    display: block;
    /* margin: 0 auto 2rem; */
    box-shadow: 0px 0px 12px #000000;
  }

  .contact-button {
    margin: 20rem auto 2rem auto;
  }

  #invasion-button {
    display: none;
  }
}

/* LEGAL VERBAGE */

.terms {
  width: 85vw;
  text-align: center;
  margin: 2rem 0 1rem 0;
}

.legal-verbage {
  width: fit-content;
  margin-bottom: 0;
}

.legal-verbage > .lists {
  list-style-position: inside;
  list-style-image: url(pics/listItem.png);
}

/* rant STUFF */

.rant-body {
  line-height: 1.25;
}

.rant-body > .glass {
  background: rgba(255, 255, 255, 0.85);
}

.rant-text {
  font-family: Arial, Helvetica, sans-serif;
  font-size: large;
  margin-bottom: 2rem;
  min-width: 40vw;
  display: flexbox;
}

.example-group {
  display: flex;
  max-width: 100%;
  overflow: auto;
  overflow-wrap: normal;
  margin-bottom: 2rem;
}

.example {
  margin: 0 2rem;
}

.article-subtitle {
  font-family: player2;
}

.rant-text > p {
  margin: 1rem auto;
  width: 100%;
}

.rant-code {
  font-family: "Courier New", Courier, monospace;
  font-weight: 600;
  padding: 0 0.25rem;
  background-color: whitesmoke;
  width: fit-content;
  text-align: center;
  margin: auto;
}

.rant-footnote {
  font-family: Arial, Helvetica, sans-serif;
  font-size: medium;
  text-align: justify;
  line-height: 1rem;
}

.rant-noImage {
  width: 70%;
}

.rant-images {
  display: flex;
  background-color: white;
}

.rant-image {
  /* display: block; */
  margin: 0 2rem;
  padding: 0;
  max-height: 24vw;
  max-width: fit-content;
  box-shadow: 0px 0px 12px #000000;
}

.rant-snippet {
  background-color: rgba(246, 246, 246, 1);
  margin-top: 50rem;
}

.label-image-stack {
  display: block;
  text-align: center;
}

p:has(> .rant-image) {
  text-align: center;
  justify-items: center;
  width: fit-content;
  margin: 0 auto 2rem auto;
}

.content-image > .single-image {
  margin: auto;
  margin-bottom: 2rem;
}

.rant-link {
  font-weight: 600;
  font-family: "Courier New", Courier, monospace;
  text-decoration: underline;
}

.rant-quote {
  font-family: "Times New Roman", Times, serif;
  margin: 0 1rem;
}

.rant-code-options {
  display: block;
  align-self: center;
}

.rant-code-options > .p {
}
