/* Style the ROOT html and body content, style are inherited by the children of HTML elements aka containers */

html,
body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 1rem;
  background: #ffffff;
  color: #232323;
  /* Nicer fonts */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  /* Enable kerning */
  font-feature-settings: "liga", "kern";
  text-align: justify;
}

/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Style common elements of all pages */

h1,
h2,
h3,
h4,
h5 {
  color: #232323;
  margin: 0;
  padding: 0;
  line-height: 1.5em;
}

p {
  line-height: 1.2em;
  text-indent: 1.5em;
}

hr {
  margin: 30px 0;
}

img {
  display: block !important;
}

/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Header */

#header {
  display: block;
  width: 100%;
  padding: 10px;
  text-align: center;
  position: relative;
}

#header h1 {
  margin: 0 0 5px 0;
  padding: 0;
}

#header h2 {
  margin: 0;
  padding: 0;
}

/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Top Nav */

#nav {
  display: block;
  width: 100%;
  padding: 10px;
  margin: 0 0 10px 0;
  border-bottom: 1px solid #cccccc;
}

#nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

#nav ul li {
  display: inline-block;
}

#nav ul li:not(:last-child) {
  margin-right: 15px;
}

#nav ul li a,
#nav ul li a:visited {
  color: #000000;
  font-size: 1.1rem;
  font-weight: bold;
}

.dropdown button {
  font-size: 1.1rem;
  font-weight: bold;
  background: #ffffff;
  color: #232323;
  border: none;
}

.dropdown a {
  display: block;
  color: #232323;
  text-decoration: none;
  padding: 10px;
  text-align: left;
}

.dropdown .navcontent {
  position: absolute;
  display: none;
  background: #ffffff;
}

.dropdown:hover .navcontent {
  display: block;
}

/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Content container - used on all pages to contain all content */
/* NOTE: It's not an ID, as it's used more than once per a page (main content area and footer, could be more) */

.content_container {
  display: flex;
  width: 100%;
  margin: 0 0 10px 0;
}

.content_container .content_container_inner {
  display: flex;
  justify-content: center;
  margin: auto;
  max-width: 1024px;
  width: 100%;
  padding: 10px;
}

/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Footer */

#footer {
  margin: 20px 0 0 0;
  font-size: 0.86rem;
  background: #eeeeee;
}

/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Landing-page */
/* Landing page styling only */

#landing_page {
  display: block;
  width: 100%;
  text-align: center;
}

/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Landing-page */
/* company-logo on landing-page */

#landing_page #company_logo {
  display: block;
  width: 100%;
  margin: 20px 0;
  text-align: center;
}

#landing_page #company_logo img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 35%;
  max-width: 350px;
  height: auto;
}

/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Responsive programming for the company-logo on landing-page */

@media (max-width: 780px) {
  #landing_page #company_logo img {
    width: 50%; /* Adjust width for smaller screens */
  }
}

@media (max-width: 480px) {
  #landing_page #company_logo img {
    width: 70%; /* Further adjust for very small screens */
  }
}

/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* small-indexes on landing-page */

#landing_page h1 {
  text-align: center;
  width: 100%;
  margin: 20px 0;
}

#landing_page .small_index {
  display: block;
  width: 100%;
  margin: 0 auto 20px;
  text-align: center;
}

#landing_page .small_index p {
  text-indent: 0;
  margin-left: 0;
  margin-right: 0;
  text-align: center;
}

#landing_page .small_index a:link {
  text-decoration: none;
  padding: 5px 5px;
  text-align: center;
  display: inline-block;
  line-height: 0.7em;
}

/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Overview of the PBR page */

#overview .quote {
  margin-left: 10%;
  margin-right: 10%;
  font-style: italic;
}

/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Overview of the pages PBR and TTOTT */

#overview {
  width: 100%;
}

#overview .section_container {
  width: 100%;
  padding: 5px;
  margin: 0 0 40px 0;
  border-bottom: 1px solid #999999;
}

#overview .section_container h2 {
  margin: 0 0 20px 0;
  padding: 0;
}

#overview .grid_container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}

#overview * {
  transition: all 0.75s ease;
}

#overview .grid_container .grid_item {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32%;
  height: 185px;
  overflow: hidden;
  margin: 0 0 25px 0;
  border-radius: 10px;
  cursor: pointer;
}

#overview .grid_container .grid_item:hover {
  text-decoration: none;
}

#overview .grid_item .grid_item_text {
  z-index: 20;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  font-weight: bold;
  font-size: 1.2rem;
  text-shadow: 2px 2px 2px #000000;
}

#overview .grid_item .grid_item_bg {
  z-index: 10;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center !important;
}

#overview .grid_item:hover .grid_item_bg {
  transform: scale(1.1);
}

/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Here is where you set the visiblity of the sections */
/* Set display to block to show that section */
/* Set display to none to hide that section */

#overview .sample_works {
  display: block;
}

#overview .twkt {
  display: block;
}

#overview .ttott {
  display: block;
}

#overview .poetronica {
  display: none;
}

/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Here is where you set the backgrounds for every box in all the sections */

#overview .sample_works_bg_1 {
  background: url("../images/sample-works/mingledmemories_cover.jpg");
}

#overview .sample_works_bg_2 {
  background: url("../images/sample-works/The_Harvest_Fable_Cover.png");
}

#overview .sample_works_bg_3 {
  background: url("../images/sample-works/heart.png");
}

#overview .sample_works_bg_4 {
  background: url("../images/sample-works/Tale_of_Tales_Cover.png");
}

#overview .sample_works_bg_5 {
  background: url("../images/sample-works/kybalion.png");
}

#overview .sample_works_bg_6 {
  background: url("../images/sample-works/magnetic_tape_reel.png");
}

#overview .sample_works_bg_7 {
  background: url("../images/sample-works/tarot_cards.jpg");
}

#overview .sample_works_bg_8 {
  background: url("../images/sample-works/as_we_may_think_tn.jpg");
}

/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

#overview .ttott_bg_1 {
  background: url("../images/TTOTT/TTOTT_1_Cover.png");
}

#overview .ttott_bg_2 {
  background: url("../images/TTOTT/TTOTT_2_Cover.png");
}

#overview .ttott_bg_3 {
  background: url("../images/TTOTT/TTOTT_3_Cover.png");
}

/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

#overview .poetronica_bg_1 {
  background: url("../images/poetronica/example.jpg");
}

#overview .poetronica_bg_2 {
  background: url("../images/poetronica/example.jpg");
}

#overview .poetronica_bg_3 {
  background: url("../images/poetronica/example.jpg");
}

#overview .poetronica_bg_4 {
  background: url("../images/poetronica/example.jpg");
}

/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Responsive programming - to handle scaling*/

@media (max-width: 780px) {
  #overview .grid_container {
    justify-content: space-around;
    width: 100%;
  }

  #overview .grid_container .grid_item {
    width: 43%;
    height: 185px;
  }
}

@media (max-width: 640px) {
  #overview .grid_container {
    justify-content: space-around;
    width: 100%;
  }

  #overview .grid_container .grid_item {
    width: 80%;
    height: 240px;
  }
}

/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* About-page */
/* About page styling only */

#about {
  width: 100%;
}

/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* images on about page */

.content_container .content_container_inner #about #company_logo {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Social Media buttons https://www.w3schools.com/howto/howto_css_social_media_buttons.asp */

.fa {
  padding: 20px;
  font-size: 30px;
  width: 50px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
}

.fa-facebook {
  background: #3b5998;
  color: white;
}

.fa-google {
  background: #dd4b39;
  color: white;
}

.fa-linkedin {
  background: #007bb5;
  color: white;
}

.fa-youtube {
  background: #bb0000;
  color: white;
}

.fa-instagram {
  background: #125688;
  color: white;
}

.fa-pinterest {
  background: #cb2027;
  color: white;
}

/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Articles page only */

#articles {
  width: 100%;
}

/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* quotes in articles */

#articles .quote {
  margin-left: 10%;
  margin-right: 10%;
}

/* images on articles pages */

.content_container .content_container_inner #article {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Linguistic features of code — figures (wrap h3 + img in .linguistics-figure) */

.linguistics-figure {
  margin: 1em auto;
  width: min(720px, 100%);
}

.linguistics-figure img {
  max-width: 100%;
  height: auto;
  display: block;
}

.linguistics-figure h3 {
  font-size: 0.9em;
  font-weight: normal;
  text-align: left;
  margin: 0 0 0.5em 0;
}

/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Lisp sample in Linguistic features of code */

.lisp-code {
  margin: 1em 0;
  text-align: left;
}

.lisp-code1 {
  margin: 0 0 0.25em 2em;
}

.lisp-code2 {
  margin: 0 0 0 10em;
}

/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* E-waste-page */

#ewaste .ewaste_video {
  margin-top: 50px;
  margin-bottom: 50px;
}

/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* styles for Medical Publications page */

#medical-publications {
  width: 100%;
}

/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* styles for Arts and Culture page */

#arts-and-culture {
  width: 100%;
}

/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* styles for purchases and legacy NFT access on the TTOTT page */

.button {
  /* Basic styling */
  background-color: #4caf50; /* Green background */
  color: white; /* White text */
  padding: 15px 32px; /* Padding for content */
  text-align: center; /* Center the text */
  text-decoration: none; /* Remove any underlines */
  display: inline-block; /* Ensure proper display */
  border: none; /* Remove default border */
  border-radius: 5px; /* Rounded corners */
  cursor: pointer; /* Indicate interactivity */

  /* Enhancements */

  font-family: sans-serif; /* Clean font */
  font-size: 16px; /* Legible text size */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */

  transition: background-color 0.3s ease;
}

.button:hover,
.button:focus-visible {
  background-color: #3e8e41;
  color: white;
}

.button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.ttott-purchase-options {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
  max-width: 48rem;
}

.ttott-purchase-card,
.ttott-nft-notice,
.ttott-legacy-access {
  border: 1px solid #d7d7d7;
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.ttott-purchase-card h2,
.ttott-nft-notice h2 {
  margin-top: 0;
}

.ttott-nft-notice {
  background: #f5f5f5;
}

.ttott-status-label {
  font-family: sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
}

.ttott-legacy-access summary {
  cursor: pointer;
  font-weight: 700;
}

.ttott-wallet-status {
  margin-bottom: 0;
}

.ttott-wallet-status[data-status="pending"] {
  color: #555;
}

.ttott-wallet-status[data-status="success"] {
  color: #27652a;
}

.ttott-wallet-status[data-status="error"] {
  color: #9e2433;
}

/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Poetronica page */

.list_of_essays {
  width: 100%;
  text-align: left;
  margin: 5% 0% 0% 0%;
}

.list_title {
  text-align: center;
  width: 76%;
}

.list_table {
  width: 76%;
}

.list_of_essays h1,
h2 {
  margin: 1% 1% 1% 0%;
}

.list_of_essays p {
  margin: 1%;
}

.list_of_essays h1 {
  background-color: #b7e1f3;
  line-height: 1.5em;
  margin: 1% 1% 1% 5%;
  padding: 1% 1% 1% 1%;
}

.list_of_essays h2 {
  background-color: #dbf0f9;
  line-height: 1.5em;
  margin: 1% 1% 1% 5%;
  padding: 1% 1% 1% 1%;
}

.list_of_essays li {
  background-color: #f3fafd;
  margin: 1% 1% 1% 5%;
  padding: 1% 1% 1% 1%;
  list-style-type: none;
}

.list_of_essays ul {
  background-color: white;
}
/* - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
