@charset "UTF-8";
/*
Theme name: Networks Of Necessity Theme
Text Domain: Networks Of Necessity Theme
Version: 1.0
Description: made with care, for Sara Ballout's project at STRP Festival 2026
Tags: lovely stuff
Author: Maisa Imamović
Author URI: https://maisaimamovic.eu/
*/
@import url("https://fonts.googleapis.com/css2?family=Inclusive+Sans:ital,wght@0,300..700;1,300..700&display=swap");
header {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
}

.site-title {
  font-size: 50px;
  margin-right: 5px;
  color: grey;
  text-shadow: 2px 0 4px #000000, -2px 0 4px #A9A9A9;
}

.site-title:hover {
  filter: none;
}

/* Header styling */
.site-header {
  display: flex;
  justify-content: end;
  align-items: center;
  padding: 10px 20px;
}

/* Menu toggle styling (giant +) */
.menu-toggle {
  position: relative;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  background-color: grey;
  box-shadow: 2px 0 4px #000000, -2px 0 4px #A9A9A9;
}

.menu-toggle .horizontal:hover {
  color: #a58888;
}

.menu-toggle .horizontal {
  width: 100%;
  height: 7px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.menu-toggle .vertical {
  width: 7px;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* Transform + into X when open */
.menu-toggle.open .horizontal {
  transform: rotate(45deg);
}

.menu-toggle.open .vertical {
  transform: rotate(-45deg);
}

/* Hide vertical bar when open */
.menu-toggle.open .vertical {
  opacity: 0;
}

/* Menu styling */
.menu {
  display: none;
  flex-direction: column;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.menu-items {
  list-style: none;
  padding: 0;
  margin: 0;
  background: #000000;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, grey 38%);
}
.menu-items ul {
  margin: 0;
  padding: 0;
}

.menu-items li {
  border-bottom: 1px solid #555;
}

.home-button a,
.next-archive-button {
  position: fixed;
  right: 0;
  bottom: 0;
}

.next-archive-button {
  position: fixed;
  text-align: end;
  right: 0;
  bottom: 0;
}

.menu-items li a,
.home-button a,
.next-archive-button a {
  display: block;
  padding: 10px;
  font-size: 40px;
  color: grey;
  text-shadow: 2px 0 4px #000000, -2px 0 4px #A9A9A9;
  text-decoration: none;
}

.menu-items li a:hover,
.home-button a:hover,
.next-archive-button a:hover {
  color: lightgrey;
}

/* Show menu when active */
.menu.active {
  display: flex;
}

@keyframes flicker {
  /* === FLICKER PHASE: 0s – 3s === */
  0% {
    opacity: 1;
    text-shadow: #FC0 1px 0 10px;
  }
  2% {
    opacity: 0.1;
    text-shadow: none;
  }
  4% {
    opacity: 1;
    text-shadow: #FC0 1px 0 10px;
  }
  6% {
    opacity: 0.4;
    text-shadow: #FC0 1px 0 4px;
  }
  8% {
    opacity: 1;
    text-shadow: #FC0 1px 0 10px;
  }
  12% {
    opacity: 0.2;
    text-shadow: none;
  }
  14% {
    opacity: 1;
    text-shadow: #FC0 1px 0 14px;
  }
  18% {
    opacity: 0.05;
    text-shadow: none;
  }
  20% {
    opacity: 1;
    text-shadow: #FC0 1px 0 10px;
  }
  24% {
    opacity: 0.6;
    text-shadow: #FC0 1px 0 6px;
  }
  26% {
    opacity: 0.1;
    text-shadow: none;
  }
  28% {
    opacity: 1;
    text-shadow: #FC0 1px 0 16px;
  }
  34% {
    opacity: 0.3;
    text-shadow: #FC0 1px 0 3px;
  }
  36% {
    opacity: 1;
    text-shadow: #FC0 1px 0 10px;
  }
  40% {
    opacity: 0.05;
    text-shadow: none;
  }
  42% {
    opacity: 1;
    text-shadow: #FC0 1px 0 10px;
  }
  46% {
    opacity: 0.7;
    text-shadow: #FC0 1px 0 5px;
  }
  48% {
    opacity: 1;
    text-shadow: #FC0 1px 0 10px;
  }
  /* === STABLE PHASE: 3s – 6s (50% – 100%) === */
  50% {
    opacity: 1;
    text-shadow: #FC0 1px 0 10px;
  }
  100% {
    opacity: 1;
    text-shadow: #FC0 1px 0 10px;
  }
}
@keyframes flicker {
  0%, 100% {
    opacity: 1;
  }
  92% {
    opacity: 1;
  }
  92.5% {
    opacity: 0.85;
  }
  93% {
    opacity: 1;
  }
  95% {
    opacity: 1;
  }
  95.4% {
    opacity: 0.7;
  }
  95.7% {
    opacity: 1;
  }
}
@keyframes surge {
  0%, 100% {
    text-shadow: 0 0 6px #e8e8ec, 0 0 18px rgba(180, 180, 200, 0.35), 0 0 40px rgba(160, 160, 180, 0.18);
  }
  50% {
    text-shadow: 0 0 4px #b0b0b8, 0 0 12px rgba(170, 170, 190, 0.25), 0 0 30px rgba(150, 150, 170, 0.12);
  }
}
@media (max-width: 768px) {
  .site-title,
  .menu-items li a,
  .home-button a,
  .next-archive-button a {
    font-size: 30px;
  }
  .menu-toggle {
    top: -1px;
    position: relative;
    width: 35px;
    height: 35px;
    cursor: pointer;
  }
}
.custom-button-wrapper {
  position: fixed;
  display: flex;
  width: 100%;
  justify-content: center;
}

.custom-button {
  display: inline-block;
  margin-top: 8px;
  padding: 0 50px;
  background-color: transparent;
  color: black;
  text-decoration: none;
  font-size: 15px;
  border-radius: 20px;
  border: solid;
  letter-spacing: 4px;
  transition: background-color 0.3s ease;
}

.custom-button:hover {
  color: yellow;
  border-color: yellow;
}

.home {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  width: 100%;
}

.page {
  padding: 10px;
}

.page-header {
  color: black;
  text-shadow: none;
  margin-bottom: 25px;
}
.page-header h1 {
  margin: 0;
}
.page-header .page-description {
  margin-top: 25px;
}

main {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.archive-thumbnails {
  display: flex; /* Use Flexbox to align items inline */
  flex-wrap: wrap; /* Allow items to wrap to the next line if needed */
  margin: 0;
  padding: 0;
  width: 100vw;
}

.archive-item {
  position: relative;
  width: 33.33%; /* Each item takes 1/3 of the full width */
  overflow: hidden;
  text-align: center;
}
.archive-item a {
  color: yellow;
}

.image-wrapper {
  position: relative;
  display: block;
  width: 100%;
  height: 100vh;
  border: solid;
  border-radius: 50%;
}

.image-wrapper:hover {
  box-shadow: 0px 0px 26px 18px rgba(0, 0, 0, 0.66) inset;
  -webkit-box-shadow: 0px 0px 26px 18px rgba(0, 0, 0, 0.66) inset;
  -moz-box-shadow: 0px 0px 26px 18px rgba(0, 0, 0, 0.66) inset;
}

.image-wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover; /* Ensures the image covers the wrapper without distortion */
  filter: grayscale(100%); /* Make the image grayscale */
  transition: filter 0.3s ease-in-out; /* Smooth transition to color */
}

.archive-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 28px;
  color: #6e6e6e;
  text-align: center;
  opacity: 1; /* Initially hidden */
  transition: opacity 0.3s ease-in-out; /* Smooth fade-in effect */
}

.archive-item:hover .image-wrapper img {
  filter: grayscale(0%); /* Remove grayscale on hover */
}

.archive-item:hover .archive-title {
  color: black;
}

.article-links p {
  border: solid;
  border-bottom: none;
  padding: 10px;
  font-size: 18px;
  margin: 0;
}
.article-links p a {
  color: black;
  text-decoration: none;
  font-style: italic;
}
.article-links p a:hover {
  color: yellow;
  font-style: normal;
}

.hover-link-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  padding: 2rem 0;
  margin-bottom: 5%;
}

.hover-box {
  position: relative;
  display: inline-block;
  height: 50px;
  background: #d1d1d1;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0px 0px 14px 11px rgb(112, 93, 93) inset;
  -webkit-box-shadow: 0px 0px 14px 11px rgb(112, 93, 93) inset;
  -moz-box-shadow: 0px 0px 14px 11px rgb(112, 93, 93) inset;
}

.hover-box:hover {
  box-shadow: none;
  background: hsla(60, 100%, 50%, 0.816) !important;
  box-shadow: 0px 0px 5px 5px rgba(255, 255, 0, 0.75);
  -webkit-box-shadow: 0px 0px 5px 5px rgba(255, 255, 0, 0.75);
  -moz-box-shadow: 0px 0px 5px 5px rgba(255, 255, 0, 0.75);
}

.hover-box:hover .hover-text {
  display: block;
}

.hover-text {
  display: none;
  left: 0;
  background: none;
  width: 100%;
  padding: 1% 10%;
  position: fixed;
  text-align: center;
  bottom: 0;
  font-size: 20px;
  color: yellow;
  z-index: 10;
  line-height: 1.4;
}

.custom-gallery {
  position: relative;
  width: 100%;
  min-height: 100vh;
  z-index: -1;
}

.gallery-item {
  position: absolute;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.gallery-description {
  margin-top: -8px;
  left: 100px;
  border: solid black;
  color: yellow;
  background: grey;
  font-size: 16px;
  z-index: 5678;
  position: absolute;
}
.gallery-description p {
  padding: 0 5px;
  margin: 0;
}

.hashtag-filter {
  margin-bottom: 20px;
  text-align: center;
  max-width: 200px;
  position: fixed;
  right: 0;
  height: 100vh;
  /* background: aliceblue; */
  top: 0;
  display: flex;
  align-items: center;
}

.hashtags {
  display: flex;
  flex-direction: column;
}

.hashtag {
  display: inline-block;
  text-align: right;
  margin: 3px;
  margin-right: 0;
  padding: 3px 8px;
  color: yellow;
  border-radius: 3px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.hashtag:hover {
  transform: scale(1.5); /* Scale the text to 1.2x its original size */
  transform-origin: right; /* Set the scaling origin to the left side */
  transition: transform 0.2s ease, border 0.2s ease;
}

@media (max-width: 768px) {
  .page-template-energyarchive-research,
  .page-template-energyarchive-photo,
  .page-template-energyarchive-web {
    display: flex;
    flex-direction: column;
  }
  .archive-thumbnails {
    flex-direction: column;
  }
  .archive-item {
    width: 100%;
  }
  .page-header {
    margin-bottom: 0;
  }
  .page-header h1 {
    order: 1; /* Top banner comes first */
  }
  .custom-button-wrapper {
    position: relative;
    margin-bottom: 25px;
    justify-content: left;
    order: 2; /* Site header comes second */
  }
  .article-links {
    order: 3;
  }
  .article-links p {
    font-size: 16px;
  }
  .custom-gallery {
    order: 3;
    height: auto;
    display: flex;
    flex-direction: column;
    min-height: 100%;
  }
  .custom-gallery .gallery-item {
    position: relative !important;
    width: 100% !important;
    height: auto;
    left: 0 !important;
    top: auto;
  }
  .hover-link-grid {
    order: 3;
  }
  .next-archive-button {
    order: 4;
  }
  h1 {
    font-size: 30px;
  }
  .hover-text {
    position: relative;
    display: block;
    font-size: 12px;
    padding: 0;
  }
}
.page-container {
  padding: 5% 1%;
}
.page-container .copyright {
  width: 100%;
  text-align: center;
  margin: 0;
  color: #CFCFCF;
  background: transparent;
  mix-blend-mode: difference;
  z-index: 0;
}

.author-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  padding: 2rem 0;
}

.author-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.author-item:hover .author-name a {
  color: yellow;
}

.author-canvas {
  width: 100%;
  aspect-ratio: 1;
  display: block;
}

.author-name {
  margin: 10px 0 4px;
  font-weight: 500;
  font-size: 15px;
}
.author-name a {
  text-decoration: none;
  color: black;
}

.author-role {
  margin: 0;
  font-size: 13px;
  color: #666;
}

@media (max-width: 1024px) {
  .author-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .author-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 380px) {
  .author-grid {
    grid-template-columns: 1fr;
  }
}
.page-template-templatestimeline-php {
  background: #f45d1a;
}

.timeline-page {
  background: #f45d1a;
  min-height: 100vh;
  font-family: sans-serif;
}

.timeline-page .page-header {
  margin-bottom: 4rem;
}

.timeline-page .page-description {
  font-size: 1rem;
  color: #1a0a00;
}

.timeline {
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
}

.timeline-entry {
  display: grid;
  grid-template-columns: 200px 40px 1fr;
  align-items: start;
  border-top: 2px solid #1a0a00;
  padding: 2rem 0;
  gap: 0;
}

.timeline-year {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  color: #1a0a00;
  line-height: 1;
  padding-right: 1rem;
}

.timeline-dot {
  width: 10px;
  height: 100%;
  background: #1a0a00;
  border-radius: 50%;
  justify-self: center;
}

.timeline-content {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #1a0a00;
  padding-left: 1rem;
}

@media (max-width: 768px) {
  .timeline-entry {
    grid-template-columns: 120px 30px 1fr;
  }
  .timeline-year {
    font-size: 2.5rem;
  }
}
@media (max-width: 480px) {
  .timeline-entry {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .timeline-dot {
    display: none;
  }
}
.page-template-manuals {
  background: #b8b8a0;
}

.manual-title-bar {
  border-bottom: 1px solid #222;
  margin-bottom: 3rem;
}

.manual-title-bar h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0;
  background: linear-gradient(0deg, #705d5d 29%, #c75757 36%, #f5ff00 46%, #c75757 52%, #705d5d 61%);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
}

.manual-body {
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.manual-instructions p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0 0 0.4rem;
  color: #222;
}

.manual-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1.5px solid #222;
}

.manual-tool-item {
  border: 1px solid #222;
  display: flex;
  flex-direction: column;
}

.tool-label {
  position: absolute;
  font-size: 0.7rem;
  color: #222;
  font-family: sans-serif;
  z-index: 100;
  padding: 0.5%;
}

.tool-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  filter: grayscale(100%);
}

.manual-final-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  filter: grayscale(100%);
}

@media (max-width: 900px) {
  .manual-body {
    grid-template-columns: 1fr 1fr;
  }
  .manual-final-image {
    grid-column: 1/-1;
  }
}
@media (max-width: 560px) {
  .manual-body {
    grid-template-columns: 1fr;
  }
}
.single {
  padding: 10px;
}

@media (max-width: 768px) {
  .single-post {
    margin-top: 7%;
  }
  iframe {
    width: 100%;
  }
}
footer {
  display: flex;
  justify-content: space-between;
  position: fixed; /* Keep the footer fixed at the bottom */
  bottom: 0;
  left: 0;
  width: 100%; /* Ensure it spans the full width */
  background-color: transparent; /* Optional: Add a background color */
  z-index: 10; /* Ensure it stays above other content */
}

.card .widget {
  display: flex;
  flex-direction: column;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card {
  width: 25%;
  height: 300px;
  transition: height 0.3s ease;
  background: orange;
}

.card.minimized {
  height: 25px;
  overflow: hidden;
}

/* Fixed navigation container */
/* Card styles */
.card {
  width: 25%; /* Each card takes 45% of the width */
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: scroll;
  overflow-x: hidden;
  transition: all 0.3s ease;
  position: relative;
  position: fixed;
  bottom: 1%;
  /* left: 33%; */
}

#card1 {
  right: 1%;
}

#card2 {
  right: 27%;
}

.card-content figure {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
}

.card-content figure img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.card-content p {
  position: absolute;
  z-index: 2;
  color: white;
  font-size: 1.4rem;
}

.card::-webkit-scrollbar {
  background-color: transparent !important;
  width: 1px; /* Super thin scrollbar width */
}

.card::-webkit-scrollbar-track {
  background: transparent; /* Transparent track */
}

.card::-webkit-scrollbar-thumb {
  background: black; /* Black scrollbar thumb */
  border-radius: 1px; /* Rounded edges for the thumb */
}

/* Firefox-specific scrollbar styling */
.card {
  scrollbar-width: thin; /* Thin scrollbar */
  scrollbar-color: black transparent; /* Black thumb, transparent track */
}

@font-face {
  font-family: "NeueHaas";
  src: url("./assets/fonts/Neue-Haas-Grotesk-Font/NeueHaasGrotDispRound-65Medium-Trial.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "NeueHaas Light";
  src: url("./assets/fonts/Neue-Haas-Grotesk-Font/NeueHaasGrotTextRound-55Roman-Trial.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
html {
  background-size: cover;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: grey;
  align-content: center;
}

::-webkit-scrollbar {
  width: 0px;
  background-color: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: transparent;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  font-family: "NeueHaas Light";
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */ /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */ /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently
   supported by Chrome, Edge, Opera and Firefox */
}

.no-outline {
  outline: none !important;
}

.mobile-off {
  display: none;
}/*# sourceMappingURL=style.css.map */

.article-item:last-child{
  border-bottom: solid;
}
