body{
    margin:0;
    font-size:18px;
    background-color: #ebebeb;
}
header{
    background-color:rgb(80, 40, 240);
    height:10vh;
    position:sticky;
    top:0;
    z-index: 11;
    background-size: 20px 20px;
    background-image:
    linear-gradient(to right,rgb(80, 40, 240) 2px, transparent 2px),
    linear-gradient(to bottom,rgb(80, 40, 240) 2px, transparent 2px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2vw;
}

.header-logo {
    height: auto;
    width: auto;
    max-height: 8vh;
    padding: 1vh 0;
    user-select: none;
    -webkit-user-drag: none;
}
footer{
    background-color: #ebebeb;
    height:90vh;
    position: relative;
    z-index: 1;
    background-size: 20px 20px;
    background-image:
    linear-gradient(to right,rgb(213, 202, 255)  2px, transparent 2px),
    linear-gradient(to bottom,rgb(213, 202, 255)  2px, transparent 2px);
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo{
    width: 50vw;
    user-select: none;
    -webkit-user-drag: none;
    transform: rotate(5deg);
    opacity: .9;

}
iframe{
    margin:auto;
}
.container_img img{
    max-width:100%;
    margin:auto;
}
.container_img{
    position: relative;
    max-width: 800px; /* Set a maximum size */
    width: 90%; /* Make it responsive on smaller screens */
    margin: auto;
    padding:10px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    justify-content: space-between; /* Pushes logo to the left and buttons to the right */
    align-items: center;
    box-sizing: border-box; /* Ensures padding is included in the width */
    z-index: 1;
    background-size: 20px 20px;
    background-image:
    linear-gradient(to right,rgb(213, 202, 255)  2px, transparent 2px),
    linear-gradient(to bottom,rgb(213, 202, 255)  2px, transparent 2px);
}
p{
    position: relative;
    width: 50vw; /* Match the width of the image container */
    padding:10px;
    margin:auto;
    border-radius: 5px;
    box-sizing: border-box; /* Ensures padding is included in the width */
    word-wrap: break-word; /* Ensures long words don't overflow */
    line-height: 1.6; /* Improves readability for text blocks */
    z-index: -1;
    font-family: myriad-pro, sans-serif;
    font-weight: 300;
    font-size:.9em;
}
.chapter{
    font-size: 1.25em;
    position: relative;
    width: 50vw; /* Match the width of the image container */
    padding-top:10px;
    padding-left:10px;
    border-radius: 5px;
    padding: 0 2vw;
    box-sizing: border-box;
    word-wrap: break-word;
}
.column{
    display: flex;
    flex-direction:column;
    align-items: center;
    justify-content: center;
}
.title{
    font-size:4vw;
    font-family: retros, sans-serif;
    font-weight: 300;
    font-style: normal;
}
.date{
    font-size:1em;
    font-family: myriad-pro, sans-serif;

}
.tagging{
    width:100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.tag{
    color:white;
    font-size:.75em;
    background-color: rgb(80, 40, 240);
    border-radius: 20px;
    width:fit-content;
    padding:4px;
    padding-left:10px;
    padding-right:10px;
    margin-right:10px;
    margin-bottom:7.5px;
    font-family: myriad-pro, sans-serif;
}
.divider{
    width: 50vw;
    height: 2px;
    background-color: rgb(80, 40, 240);
    margin-top:10px;
    margin-bottom:10px;
}
.gallery-container {
    position: relative;
    max-width: 800px; /* Match .container_img */
    width: 90%;       /* Match .container_img */
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 360px;
    background-size: 20px 20px;
    background-image:
    linear-gradient(to right,rgb(213, 202, 255)  2px, transparent 2px),
    linear-gradient(to bottom,rgb(213, 202, 255)  2px, transparent 2px);
}

.gallery-viewport {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 5px;
}
.header-logo {
    height: 100%; /* Makes the logo as tall as the header */
    width: auto;
    user-select: none; /* Makes the logo unselectable */
    -webkit-user-drag: none; /* Prevents dragging in browsers like Chrome/Safari */
}
.header-btn {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    padding-right: 2vw;
}

.header-btn .button {
    font-family: myriad-pro-condensed, sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 1.2em;
    margin: 0 10px;
    background-color: transparent;
    color: white;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease-in-out;
}

.header-btn .button:hover {
    color: #d5caff;
    text-decoration: underline;
}

.gallery-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.gallery-image {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    object-fit: contain;
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgb(80, 40, 240, 0.5);
    color: white;
    border: none;
    font-size: 1em;
    padding: 10px;
    cursor: pointer;
    border-radius: 50px;
    z-index: 10;
}
.prev-btn { left: 10px; }
.next-btn { right: 10px; }
.gallery-counter {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgb(80, 40, 240, 0.5);
    color: white;
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 0.8em;
    z-index: 10;
}

/* Responsive Video Container */
.video-container {
    position: relative;
    overflow: hidden;
    width: 90%;
    max-width: 800px; /* Match other containers */
    padding-top: 50.625%; /* 16:9 Aspect Ratio (9 / 16 * 90%) */
    margin: auto;
    background-size: 20px 20px;
    background-image:
    linear-gradient(to right,rgb(213, 202, 255)  2px, transparent 2px),
    linear-gradient(to bottom,rgb(213, 202, 255)  2px, transparent 2px);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none; /* Remove default iframe border */
}

/* === ABOUT PAGE SPECIFIC STYLES === */

/* Forces body to be exactly 100vh tall with flex layout */
.about-body {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden; /* Prevents scrolling */
}

/* Overrides standard paragraph width for About page to reduce empty space */
.about-bio {
    width: 40vw !important; /* Wider than the default 50vw */
    max-width: 1000px;
}

/* Overrides the default 90vh footer to just fill remaining space */
.fill-footer {
    height: auto !important;
    flex-grow: 1; /* Takes up all remaining empty space */
}

.social-container {
    max-width: 20vw;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 10px 0;
}

.social-tag {
    color: white;
    font-size: 1.3em;
    background-color: rgb(80, 40, 240);
    border-radius: 50px;
    padding: 12px 30px;
    font-family: myriad-pro, sans-serif;
    text-decoration: none;
    transition: transform 0.2s, background-color 0.2s;
}

.social-tag:hover {
    background-color: #4622d6;
    transform: scale(1.05);
}

.inline-logo {
    width: 35vw;
    min-width: 250px;
    user-select: none;
    -webkit-user-drag: none;
    transform: rotate(5deg);
    opacity: .9;
    margin-top: 10px;
}