/* 
  style.css (index.html)
  Author: Maxx Okazaki
*/

.site-header {
  position: relative;   /* <-- key change: no sticky, no fixed */
  width: 100%;          /* not 100vw */
  transform: none;      /* kills any unexpected scaling */
  overflow: visible;    /* avoids clipping */
  z-index: auto;        /* let children manage stacking */
  display: block;       /* default block flow */
}


.slogan {
    color: gold;
    font-weight: bold;
    font-size: 1.8vw;
}

.logo-title {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.25rem;
    font-weight: bold;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: #000000;
    color: #f5f5f5;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

h1 {
    color: #ffffff;
    line-height: 1;
}

.size80 {
font-size: 80%
}

.size50 {
font-size: 50%}

.hright {
    display: block;
    text-align: right;
}

.hcenter {
    display: block;
    text-align: center
}

.hleft {
    text-align: left;
}

.project-layout {
    align-items: flex-start;
    text-align: center;
    width: (95%, 1200 px);
    padding: 1rem 0;
}

.coming-soon {
    font-size: clamp(28px, 3.2vw, 56px);
    font-weight: bold;
    margin: 0;
}

.page-layout {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0rem;
    width: 100%;
    padding: 1rem;
}

.project-arrow {
    margin-top: 0vh; /* Pushes it below the 10vh header */
    position: relative;
    z-index: 1000;     /* Make sure it's above content */
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-box-proj {
    transform-origin: top left;
    flex: 1 1 auto;
    margin-top: 5em;
    margin-left: 2em;
    width: 100%;
    height: auto;
    align-items: flex-start;
    z-index: 2;
    background-color: #111111;
    padding: 0rem;
    color: #00ffff;
}

.text-box {
    transform-origin: top left;
    flex: 1 1 auto;
    margin-top: 0em;
    margin-left: 2em;
    width: 40vw;
    height: auto;
    max-width: 30ch;
    align-items: flex-start;
    font-size: 1.8vw;
    z-index: 2;
    background-color: #222222;
    padding: 1rem;
    border: 1px solid #333;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    color: #00ffff;
}
.frameimage img {
  width: 10vw;     /* 10% of viewport width */
  height: auto;
}

.text-box-nb img {
  width: 10vw;     /* 10% of viewport width */
  height: auto;
}

.text-box-nb {
    background: url("images/book0cover_web.png") no-repeat;
    background-position: top left;
    background-size: 32vw;
    color: white;
    position: absolute;
    top: 30;
    left: 0;
    width: 40vw;              /* responsive width */
    max-width: 45vw;
    height: auto;             /* scales if parent has height */
    padding: 2rem;
    margin: 0;                /* remove margin that may cause overflow */
    border: 1px solid #0000;
    color: #00ffff;
    font-size: 1.8vw;
    z-index: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;   /* ensures padding doesn't overflow */
  }

.carousel-wrapper {
    transform-origin: top left;
    width: 100%;
    height: 55vw;
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: flex-start;

}

.carousel-outer {
    transform-origin: top left;
    overflow: hidden;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.carousel-track {
    overflow: hidden;
    transform-origin: top left;
    position: relative;
    width: 100%;
    height: 70vw;
    align-items: flex-start;
}

.carousel-track iframe {
    margin-top: 0em;
    transform-origin: top left;
    align-items: flex-start;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    transition: transform 0.5s ease;
    pointer-events: auto;
    z-index: 1;
    opacity: 1;
    clip-path: inset(0 0 25% 0);
}

.arrow-row {
    bottom: auto;
    z-index: 100;
    display: flex;
    gap: 2rem;
    z-index: 999;
    justify-content: center;
    padding: 0rem;
    transform: translateY(-5vh);
}

.arrow {
    background: none;
    border: none;
    color: #00ffff;
    font-size: 3em;
    cursor: pointer;
    user-select: none;
    z-index: 10;
    text-align: center;
}

.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #111;
    color: #00ffff;
    text-align: center;
    padding: 0rem;
    z-index: 499;
    font-size: 1.5vw;
  }