body {
    font-family: "Montserrat", sans-serif;
    background-color: rgb(22, 22, 22);
    color: rgb(255, 233, 191);
    display: flex;
    flex-direction: column;
    gap: 5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body::-webkit-scrollbar {
    display: none;
}

.cover {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(22, 22, 22);
    z-index: 999999;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    pointer-events: none;
}

.section {
    /* scroll-margin-top: 25px; */
    scroll-margin-top: 4svh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
    margin: 1.5rem;
    border: 1px solid rgb(255, 233, 191);
    min-height: 80svh;
    animation: fade-in linear;
    animation-timeline: view();
    animation-range: entry 0% exit 20%;

    box-shadow: inset 0 4px 6px rgba(255, 233, 191, 0.1), 0 3px 5px rgba(255, 233, 191, 0.08);
}

.section-container {
    display: grid;
    grid-template-columns: 1fr 6fr;
    justify-items: stretch;
    align-items: stretch;
}

.section.half {
    margin-left: 0;
}

.side-section {
    margin: 1.5rem;
    padding: 1rem;
    border: 1px solid rgb(255, 233, 191);
    min-width: 75px;
    max-width: 150px;
    overflow: hidden;
    margin-right: 0;
    animation: fade-in linear;
    animation-timeline: view();
    animation-range: entry 0% exit 20%;

    box-shadow: inset 0 4px 6px rgba(255, 233, 191, 0.1), 0 3px 5px rgba(255, 233, 191, 0.08);
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section h1 {
    font-size: 3.5rem;
    font-weight: 100;
    margin: 0;
    margin-left: -5px;

    text-shadow: 2px 2px 4px rgba(255, 233, 191, 0.3), 4px 4px 8px rgba(255, 233, 191, 0.2);
}

.section h4 {
    margin-top: 0;
    padding-top: 0;
    font-size: 1rem;
    font-weight: 200;   

    text-shadow: 2px 2px 4px rgba(255, 233, 191, 0.2), 4px 4px 8px rgba(255, 233, 191, 0.2);
}

.section-text {
    align-self: flex-end;
    width: 350px;
    display: flex;
    font-size: 1rem;
}

ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 50px;
    float: auto;
    list-style: none;
    padding: 0;
}

a:link {
    text-shadow: 2px 2px 4px rgba(255, 233, 191, 0.3), 4px 4px 8px rgba(255, 233, 191, 0.2);
    color: rgb(255, 226, 173);
    text-decoration: none;   
}

a:hover {
    color: rgb(255, 246, 229);
    text-shadow: 3px 3px 6px rgba(255, 233, 191, 0.3), 6px 6px 12px rgba(255, 233, 191, 0.2);
}

a:visited {
    color: rgb(222, 199, 158);
    text-decoration: none;
}
a:visited:hover {
    color: rgb(255, 246, 229);
    text-shadow: 3px 3px 6px rgba(255, 233, 191, 0.3), 6px 6px 12px rgba(255, 233, 191, 0.2);
}
a:active {
    color: rgb(209, 184, 137);
    text-decoration: none;
}

a.current {
    color: rgb(124, 114, 94);
    box-shadow: none;
}

.section-gallery {
    width: 100%;
}

.carousel {
    position: relative;
    width: 100%;
    justify-content: center;
}

.carousel-indicators {
    margin: 15px;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.carousel-indicators button {
    width: 0.8rem;
    height: 0.8rem;
    border: none;
    border-radius: 999px;
    background-color: rgba(255, 233, 191, 0.35);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.carousel-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;

    /* transform: translateY(-50%); */
}

.arrow {
    z-index: 99999;
    color: rgb(255, 233, 191);
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.5rem;
    background-color: rgba(255, 233, 191, 0.35);
    border: 1px solid rgb(255, 233, 191);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;

    text-shadow: 2px 2px 4px rgba(255, 233, 191, 0.3), 4px 4px 8px rgba(255, 233, 191, 0.2);
}

.arrow.left {
    left: 10px;
}
.arrow.right {
    right: 10px;
}

.carousel-indicators button:hover,
.carousel-indicators button.active {
    background-color: rgb(255, 233, 191);
    transform: scale(1.15);
}

.carousel-inner {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 233, 191, 0.65);
    /* border-radius: 1rem; */
    /* background: linear-gradient(135deg, rgba(255, 233, 191, 0.08), rgba(255, 233, 191, 0.02)); */
    min-height: 25rem;
}

.carousel-item {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 1rem;
    min-height: 24rem;
    padding: 0;
    margin: 0;
    opacity: 0;
    transform: translateX(100%);
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.carousel-item h2 {
    z-index: 999;
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    margin: 0;
    padding: 10px;
    font-size: 2rem;
    font-weight: 300;
    background-color: rgb(34, 33, 31);
    border-top-right-radius: 8px;
}

.carousel-item.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    position: relative;
}

.carousel-item.prev {
    transform: translateX(-100%);
}

.carousel-item p {
    max-width: 60ch;
    margin: 0;
    color: rgba(255, 233, 191, 0.85);
    line-height: 1.6;
}

.carousel-item img {
    max-height: 36rem;
    object-fit: cover;
    /* border-radius: 0.75rem; */
    border: 1px solid rgba(255, 233, 191, 0.35);
    transition: filter 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.carousel-item img:hover {
    cursor: zoom-in;
    transform: scale(0.98);
    filter: brightness(0.9);
    transition: filter 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.carousel-item video {
    max-height: 36rem;
    object-fit: cover;
    /* border-radius: 0.75rem; */
    border: 1px solid rgba(255, 233, 191, 0.35);
}

.line-spacer {
    width: 100%;
    border-top: 1px solid rgb(255, 233, 191);
}

.full-image {
    /* position: fixed; */
    /* top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); */
    max-width: 90vw;
    max-height: 90vh;
    /* border-radius: 1rem; */
    /* border: 2px solid rgb(255, 233, 191); */
    background-color: rgba(255, 233, 191, 0.08);
    z-index: 1000;
    object-fit: contain;
}

.full-image-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    /* display: flex; */
    justify-content: center;
    align-items: center;
    z-index: 999;
}

@media (max-width: 768px) {
    .carousel-item {
        min-height: 20rem;
        padding: 1.25rem;
    }

    .carousel-item h2 {
        font-size: 1.5rem;
    }

    .section.half {
        margin: 1.5rem;
    }

    .section-text {
        width: auto;
        font-size: 0.9rem;
    }

    .side-section {
        display: none;
    }
}