@import url('https://fonts.googleapis.com/css2?family=Silkscreen:wght@400;700&display=swap');

@import url("https://fonts.googleapis.com/css2?family=Archivo+Black&family=Ballet:opsz@16..72&family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Karla:ital,wght@0,200..800;1,200..800&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Silkscreen:wght@400;700&display=swap");

.gloock-regular {
    font-family: "Gloock", serif;
    font-weight: 400;
    font-style: normal;
  }
  


.barrio-regular {
    font-family: "Barrio", system-ui;
    font-weight: 400;
    font-style: normal;
  }
  

* {
    box-sizing: border-box;
  }

body, html {
    height: auto;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    transition: background-color 0.3s linear, color 0.3s linear;
    font-family: Arial, Helvetica, sans-serif;
    background: none;
    --text-color: black; /* initial text color */
    color: var(--text-color);
}

.topnav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20vw;
    height: 100px;
    overflow: hidden;
    border-radius: 5px;
    width: calc(100% - 20px);
    margin: 10px; 
    box-sizing: border-box;
    left: 8px;
    right: 8px;
}
  

.row {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    width: 100%;
    /* height/min-height removed */
}

.left {
    width: 25%;
    padding: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;  
}
.right {
    width: 75%;
    padding: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  
}

.left-more {
    width: 75%;
    position: sticky;
    top: 100px;   /* offset by top bar height */
    height: calc(100vh - 100px); /* fit remaining viewport height */
    display: flex;
    justify-content: center;
    align-items: stretch;
}

#left_pdf {
    width: 100%;
    height: 100%;    /* fills sticky container */
    border: none;
    object-fit: contain;
}
  
  #pdf-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: stretch;
    transition: opacity 0.3s ease;
    top: 0;
  }
  
.right-more {
    width: 35%;
    padding: 1rem;
    overflow-y: auto;        /* allows vertical scrolling */
    max-height: calc(100vh - 100px);  /* same offset for top bar */
    height: 100vh;    /* only scrolls right column, not the left */
}

.left_image {
    display: block;
    width: 100%;
    height: auto; 
    object-fit: cover;
    max-height: 100vh;
    will-change: transform, filter;
    transition: transform 0.1s, filter 0.1s;
  }

.header {
    animation: infinite;
    font-size: 8vw;
    font-family: "Gloock", serif;
}

a:hover {
    color: rgb(13, 154, 112);
}

h1:hover {
    color: rgb(13, 154, 112);
}

h1 {
    font-family:  "Gloock", serif;
    font-size: x-large;
}

i {
    font-size: small;
}

title {
    font-family: "Corben", serif;;
}

#moving {
    width: 100%;
    height: 2.5rem;
    font-family: arial;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    background: #000;
    color: #fff;
}
#moving .scroll {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: fit-content;
    white-space: nowrap;
    animation: loop 30s linear infinite;
}
.fade {
    width: 100%;
    position: absolute;
    background: linear-gradient(
        90deg,
        #000,
        transparent 30%,
        transparent 90%,
        #000
    );
    inset: 0;
    pointer-event: none;
}
@keyframes loop {
    0% {transform: translateX(0%);}
    100% {transform: translateX(-50%);}
}
.item {
    display: flex;
    align-items: center;
    gap: 0 0.2rem;
    color: #e2e8f0;
    font-size: .9rem;
    background-color: #152c41;
    padding: 0.7rem 1rem;
    margin: 0rem 1rem;
    border-radius: 0.4rem;
    white-space: nowrap;
    box-shadow:
    0 0.1rem 0.2rem #ad252533,
    0 0.1rem 0.5rem #0000004d,
    0 0.2rem 01.5rem #00000066,
}

#scroll-depth {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-image: url('flower3.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 10000;
    cursor: pointer;
    user-select: none;
    border: none;
    box-shadow: none;       /* remove the drop shadow */
    text-indent: -9999px;   /* hide any stray text just in case */
    overflow: hidden;       /* ensure no text leaks out */
    transition: transform 0.1s linear, filter 0.3s ease;
    filter: invert(var(--invert-amount, 0));

}




#scroll-depth:hover {
    transform: scale(1.1);
}

.orbitron {
    font-family: "Orbitron", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
  }

  .corben-regular {
    font-family: "Corben", serif;
    font-weight: 400;
    font-style: normal;
  }
  
  .corben-bold {
    font-family: "Corben", serif;
    font-weight: 700;
    font-style: normal;
  }
  
  .titles {
    font-family: "Gloock", serif;
    text-decoration: none;
    font-size: x-large;
    color: inherit;
  }

  .section .content {
    max-height: 0;          /* collapsed */
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0;             /* optional: remove extra spacing */
}

.section.expanded .content {
    max-height: 700px;      /* adjust as needed for content */
    padding: 0.5rem 0;      /* adds spacing when expanded */
}

.section h1.title {
    cursor: pointer;        /* make it clear it's clickable */
    transition: color 0.3s ease;
}

.section.expanded h1.title {
    color: rgb(13, 154, 112);  /* green when expanded */
}