html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    background-image: url("../images/greek-background.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;

    font-family: Georgia, "Times New Roman", serif;
    color: #2c2114;

    overflow: hidden;
}

/****************************************
 TEMPLE FRAME
****************************************/

.temple-wrap {
    position: fixed;
    left: 50%;
    bottom: 0;

    transform: translateX(-50%);

    height: 95vh;
    width: auto;

    aspect-ratio: 1600 / 1081;

    background-image: url("../images/alexander-temple.png");
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: contain;
}

/****************************************
 MENU BAR
****************************************/

.main-menu {
    position: absolute;

    top: 44.4%;
    left: 50%;

    transform: translateX(-50%);

    width: 76%;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 20px;

    z-index: 10;
}

.main-menu a {
    color: #f4c968;

    text-decoration: none;
    text-transform: uppercase;

    font-weight: bold;
    font-size: clamp(12px, 1.1vw, 20px);

    text-shadow:
        1px 1px 2px #000,
        0 0 2px rgba(0,0,0,.7);

    white-space: nowrap;

    position: relative;
}

.main-menu a.active {
    color: #ffd447;

    text-shadow:
        0 1px 0 #fff4b0,
        1px 1px 1px #000;
}

/****************************************
 DIAMONDS
****************************************/

.main-menu a:not(:last-child)::after {
    content: "";

    display: inline-block;

    width: 8px;
    height: 8px;

    margin-left: 18px;

    background: linear-gradient(
        135deg,
        #fff2a8 0%,
        #d7a43b 45%,
        #7d4c14 100%
    );

    border: 1px solid #3d2408;

    transform: rotate(45deg) translateY(-1px);

    vertical-align: middle;

    box-shadow:
        inset 1px 1px 1px rgba(255,255,255,.7),
        1px 1px 2px rgba(0,0,0,.8);
}

.main-menu a:hover {
    color: #fff2b6;
}

/****************************************
 CONTENT AREA
****************************************/

.content-panel {
    position: absolute;

    top: 49%;
    left: 50%;
    transform: translateX(-50%);

    width: 76%;
    height: 37%;

    padding: 28px 36px;

    box-sizing: border-box;

    overflow-y: auto;

    display: flex;
    flex-direction: column;

    z-index: 5;
}

.content-panel h1 {
    margin: 0 0 5px 0;

    color: #6d461c;

    font-size: 28px;
}

.content-panel a {
    color: #7d4d17;
    text-decoration: none;
}

.content-panel a:hover {
    color: #b57a22;
}

/****************************************
 SCROLLBAR
****************************************/

.content-panel::-webkit-scrollbar {
    width: 10px;
}

.content-panel::-webkit-scrollbar-track {
    background: rgba(0,0,0,.08);
}

.content-panel::-webkit-scrollbar-thumb {
    background: #a3782c;
}

.content-panel::-webkit-scrollbar-thumb:hover {
    background: #c18c34;
}

/****************************************
 MOBILE
****************************************/

@media (max-width: 1200px) {

    .main-menu {
        gap: 12px;
    }

    .main-menu a {
        font-size: 12px;
    }

    .main-menu a:not(:last-child)::after {
        width: 6px;
        height: 6px;
        margin-left: 12px;
    }
}

/****************************************
 FOOTER QUOTE
****************************************/

.alexander-quote {

    text-align: center;

    font-style: italic;
    margin-bottom: 8px;
    margin-bottom: 5px;

    font-size: 15px;
    color: #6a4a21;

    line-height: 1.5;

    opacity: 0.9;
	
    border-top: 1px solid rgba(120, 90, 40, .20);
}

/****************************************
 RETROELLIMIST FOOTER
****************************************/

.site-credit {

    text-align: center;

    font-style: normal;
    font-size: 14px;
    color: #6a4a21;

    line-height: 1.5;
}

.alexander-quote,
.site-credit {
    margin-top: auto;

    text-align: center;
    color: #6a4a21;
}

.footer-area {
    margin-top: auto;
    text-align: center;
}


/****************************************
 DOWNLOAD PAGE
****************************************/
.download-list {
    list-style: none;
    padding-left: 0;
    margin: 15px 0 0 0;
}

.download-list li {
    position: relative;

    padding-left: 22px;
    margin-bottom: 14px;
}

.download-list li::before {
    content: "";

    position: absolute;
    left: 0;
    top: 6px;

    width: 8px;
    height: 8px;

    background: linear-gradient(
        135deg,
        #fff2a8 0%,
        #d7a43b 45%,
        #7d4c14 100%
    );

    border: 1px solid #3d2408;

    transform: rotate(45deg);

    box-shadow:
        inset 1px 1px 1px rgba(255,255,255,.7),
        1px 1px 2px rgba(0,0,0,.8);
}

.download-list a {
    color: #214a87;

    font-size: 20px;
    font-weight: bold;

    text-decoration: none;
}

.download-list a:hover {
    color: #4f7ec7;
}

.media-carousel {
    display: flex;
    gap: 18px;

    overflow-x: hidden;

    padding: 12px 4px 18px 4px;
    width: 100%;
}

.media-carousel-track {
    display: flex;
    gap: 18px;

    animation: mediaPan 45s linear infinite;
}

.media-carousel:hover .media-carousel-track {
    animation-play-state: paused;
}

@keyframes mediaPan {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.media-thumb {
    flex: 0 0 auto;
    width: 220px;
    height: 130px;
    object-fit: cover;

    border: 2px solid #b9892e;
    box-shadow: 0 2px 8px rgba(0,0,0,.35);

    cursor: pointer;
}

.media-thumb:hover {
    border-color: #ffd84a;
}

.media-lightbox {
    display: none;

    position: fixed;
    inset: 0;

    background: rgba(0,0,0,.78);

    z-index: 99999;

    align-items: center;
    justify-content: center;
}

.media-lightbox.active {
    display: flex;
}

.media-lightbox img {
    max-width: 900px;
    max-height: 600px;

    width: auto;
    height: auto;

    border: 3px solid #d7a43b;
    background: #000;
    box-shadow: 0 0 24px rgba(0,0,0,.9);
}

.lightbox-close,
.lightbox-nav {
    position: fixed;

    border: none;
    background: rgba(0,0,0,.45);
    color: #ffd84a;

    cursor: pointer;

    font-family: Georgia, "Times New Roman", serif;
}

.lightbox-close {
    top: 24px;
    right: 34px;

    font-size: 42px;
}

.lightbox-nav {
    top: 50%;
    transform: translateY(-50%);

    font-size: 54px;
    padding: 12px 18px;
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

.lightbox-close:hover,
.lightbox-nav:hover {
    color: #fff2b6;
}