
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.smooch-sans-joer {
  font-family: Arial, Helvetica, sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}


/* Variables */
:root {
  --space-black: #0A0A0F;
  --neon-blue: #00F0FF;
  --cyber-purple: #9B6DFF;
  --glass-white: rgba(255, 255, 255, 0.1);
  --card-height: 300px;
  --card-width: calc(var(--card-height) / 1.5);
}

/* Base styles */
body {
    background-image: url(/main/content/images/joer-bg.jpg);
    background-size: cover;
    background-position: fixed;
  background-color: var(--space-black);
  color: white;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  line-height: 1.5;
}

/* Navigation */

.main-nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  padding: 1rem 1.5rem;
  backdrop-filter: blur(8px);
  background: var(--glass-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.nav-container {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: bold;
}

.logo-accent {
  color: var(--cyber-purple);
}

.nav-links {
  display: flex;
  gap: 14px;;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}
.nav-links-n {
  display: flex;
  gap: 10px;
}

.nav-link-n {
  color: rgba(255, 255, 255, 0.2);
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--neon-blue);
  transition: width 0.3s;
}

.nav-link:hover {
  color: white;
}

.nav-link:hover::after {
  width: 100%;
}
.volumenav {
  display: flex;
  float:left;
  clear:both;
  list-style: none;
  background-color: #111;
  padding: 3px;
  margin-top: -25px;
  margin-bottom:20px;
  width: 100%;
  box-shadow: 3px 0px 0px 3px rgba(0, 240, 255, 0.3);
  z-index: 5;
}

.volumenav li {
  margin: 10px 0;
  float: left;
  clear: none
}

.volumenav li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  padding: 10px;
  margin-left: 20px;
  display: block;
  transition: background-color 0.3s;
}

.volumenav li a:hover {
  background-color: #222;
  padding:10px;
  border-radius:10px;
  box-shadow: 12px 0px 12px rgba(255, 255, 255, 0.3);
  color: white;
}

.dropdown-title {
  font-weight: bold;
  color: #fff;
  margin-bottom: 5px;
}
/* Hero Section */
.hero {

  min-height: 100vh;
  padding: 10px 5px 0;
}

.hero-container {
    clear: both;
  max-width: 80vw;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.hero-title {
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.2;
}

.neon-text {
  color: var(--neon-blue);
}

.cyber-text {
  color: var(--cyber-purple);
}

.hero-description {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-right:20px;
}

.hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Cards and Hologram Effects */
.card {
  background: var(--glass-white);
  backdrop-filter: blur(8px);
  padding: 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
  position: relative;
  max-width:280px;
}

.card:hover {
  border-color: rgba(0, 240, 255, 0.5);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.hologram::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, 
    rgba(0, 240, 255, 0.2),
    rgba(155, 109, 255, 0.2)
  );
  border-radius: 10px;
  opacity: 0;
  transition: opacity 0.3s;
}

.hologram:hover::before {
  opacity: 1;
}

/* Floating Animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.floating {
  animation: float 6s ease-in-out infinite;
}

.delay {
  animation-delay: 1s;
}

/* Featured Section */
.featured {
  padding: 10px 5px;
  background: rgba(10, 10, 15, 0.5);
}

.featured-container {
  max-width: 80vw;
  margin: 0 auto;
}

.section-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  text-align: center;
  margin-bottom: 20px;
}
.article {
    max-width: 85vw;
    margin:auto;
    margin-top:100px;
    background-color: rgba(0,0,0,0.3);
    border-radius:20px;
    height:auto;
    padding:20px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 10px;
}

.tag {
  font-size: 12px;
}

.article-title {
font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  margin: 10px 0 5px;
}

.article-abstract {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  height: auto;
  position: relative;
}

.article-abstract::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20px;
}
.examples {
  padding: 10px;
  background: rgba(10, 10, 15, 0.7);
}

.examples-container {
  max-width: 300px;
  margin: 0 auto;
  padding:10px;
}

.example-card {
  max-width:300px;
  margin-bottom: 30px;
  padding: 20px;
}

.example-title {
font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  margin-bottom: 20px;
}

.example-content {
  width: 100%;
  height: 400px;
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  background: rgba(0, 0, 0, 0.2);
}

.demo-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vr-frame {
  width: 100%;
  height: 100%;
  border: none;
}

#3d-container {
  width: 100%;
  height: 100%;
}

#3d-container canvas {
  width: 100% !important;
  height: 100% !important;
}
.wolfram-frame {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
}
#3d-chart-container {
  width: 100%;
  height: 100%;
}

#3d-chart-container canvas {
  width: 100% !important;
  height: 100% !important;
}

/* Video Player */
figure:#videoplayer{
width:650px;
}
.controls {
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 100%;
  height: 2rem;
  position: relative;
}
.controls button {
  width: 2rem;
  height: 2rem;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  border: none;
  cursor: pointer;
  color: transparent;
  background-color: transparent;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.controls[data-state="hidden"] {
  display: none;
}
.controls button:hover,
.controls button:focus {
  opacity: 0.5;
}

.controls button[data-state="play"] {
  background-image: url("data:image/png;base64,iVBORw0KGgoAAA…");
}

.controls button[data-state="pause"] {
  background-image: url("data:image/png;base64,iVBORw0KGgoAAA…");
}

.controls .progress {
  flex-grow: 1;
  cursor: pointer;
  height: 80%;
}

.controls progress {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
  color: #0095dd;
  border-radius: 2px;
  margin: 0 auto;
}
.controls progress::-moz-progress-bar {
  background-color: #0095dd;
}

.controls progress::-webkit-progress-value {
  background-color: #0095dd;
}

figure:fullscreen {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 100%;
  height: 100%;
  background-color: transparent;
}
figure:fullscreen video {
  margin-top: auto;
  margin-bottom: auto;
}
figure:fullscreen figcaption {
  display: none;
}
figure:fullscreen .controls {
  background-color: #666666;
}

@media screen and (width <= 42.5em) {
  .controls {
    height: auto;
  }

  .controls button {
    width: calc(100% / 6);
    margin-top: 2.5rem;
  }

  .controls .progress {
    position: absolute;
    top: 0;
    width: 100%;
    margin-top: 0;
    height: 2rem;
  }

  .controls .progress progress {
    width: 98%;
  }

  figcaption {
    text-align: center;
  }
}

/* Footer */
.main-footer {
  margin-top: 20px;
  padding: 5px 10px;
  background: var(--glass-white);
  backdrop-filter: blur(8px);
}

.footer-container {
  max-width: 80vw;
  margin: 0 auto;
  text-align: center;
}

.footer-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 8px;
  float: right;
}

  
   .hero-cards, .hero-title, .article-grid {
    font-size: 16px;
    grid-template-columns: 1fr, 1fr, 1fr;
   }



        .cube {
            width: 25px;
            height: 25px;
            background-color:rgba(0, 0, 0, 0.1);
            animation: spin 20s infinite linear;
            cursor: pointer;
            animation-delay:5s;
            margin-bottom:10px;
        }

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

        .cube:hover {
            animation: colorChange 0.5s forwards;
        }

        @keyframes colorChange {
            0% { background-color: rgba(0, 0, 0, 0.2) }
            100% { background-color:rgba(10, 10, 15, 0.7) }
        }

        .loop-footer {
  position: relative;
  width: 100%;
  color: var(--neon-blue);
  font-family: "Bruno Ace SC", Arial, sans-serif;
  padding: 20px 0;
  overflow: hidden;
  text-align: center;
  z-index: 999;
}
.portal-covers{
    width: 90vw;
    border-radius:20px;
    background-color: rgba(0,0,0,0.3);
    padding:20px;
    margin:auto;
}
.footer-message-container {
float: left;
}

.footer-message {

  width: 100%;
  opacity: 0;
  animation: fadeLoop 25s infinite;
  font-size: 14px;
  text-shadow: 0 0 4px var(--neon-blue);
}

.footer-message:nth-child(1) { animation-delay: 0s; }
.footer-message:nth-child(2) { animation-delay: 5s; }
.footer-message:nth-child(3) { animation-delay: 10s; }
.footer-message:nth-child(4) { animation-delay: 15s; }
.footer-message:nth-child(5) { animation-delay: 20s; }

@keyframes fadeLoop {
  0% { opacity: 0; }
  5% { opacity: 1; }
  20% { opacity: 1; }
  25% { opacity: 0; }
  100% { opacity: 0; }
}
a {
    color: #FFF;
    FONT-WEIGHT:BOLD;
}