
/* =========================================================
   MYTHORIA2 PRESENTATION PAGE V1
   Completely independent from Theme Engine
   ========================================================= */

html {
    scroll-behavior: smooth;
}

body.presentation-page {
    margin: 0;
    padding: 0;

    min-height: 100vh;

    background:
        radial-gradient(
            circle at top,
            #24120d 0,
            #0d0908 470px,
            #050505 1000px
        );

    color: #ead8b5;

    font-family:
        Arial,
        Helvetica,
        sans-serif;
}


/* =========================================================
   MAIN PRESENTATION
   ========================================================= */

.presentation-page
.m2-presentation {
    position: relative;

    width: 100%;
    min-height: 100vh;

    padding:
        30px
        225px
        70px;
}

.presentation-page
.m2-presentation-content {
    width: min(
        100%,
        var(--presentation-max-width,1170px)
    );

    margin: 0 auto;

    display: grid;
    gap: 0;

    box-shadow:
        0 0 60px rgba(0,0,0,.55);
}

.presentation-page
.m2-presentation-section {
    width: 100%;

    margin: 0;
    padding: 0;

    scroll-margin-top: 25px;
}

.presentation-page
.m2-presentation-section img {
    display: block;

    width: 100%;
    height: auto;

    margin: 0;
    padding: 0;
}


/* =========================================================
   LEFT ACTION MENU
   ========================================================= */

.presentation-page
.m2-presentation-actions {
    position: fixed;

    left: 28px;
    top: 150px;

    z-index: 50;

    width: 165px;

    display: grid;
    gap: 8px;
}

.presentation-page
.m2-presentation-actions a {
    min-height: 48px;

    display: grid;

    grid-template-columns:
        30px
        minmax(0,1fr);

    align-items: center;

    gap: 8px;

    padding: 8px 11px;

    border:
        1px solid rgba(215,164,80,.34);

    background:
        linear-gradient(
            180deg,
            rgba(49,22,14,.97),
            rgba(20,12,9,.97)
        );

    color: #e7c98d;

    text-decoration: none;

    box-shadow:
        0 6px 20px rgba(0,0,0,.35);

    transition:
        transform .15s ease,
        filter .15s ease;
}

.presentation-page
.m2-presentation-actions a:hover {
    transform: translateX(3px);
    filter: brightness(1.18);
}

.presentation-page
.m2-presentation-actions span {
    text-align: center;

    font-size: 18px;
}

.presentation-page
.m2-presentation-actions strong {
    font-size: 11px;
}


/* =========================================================
   RIGHT QUICK MENU
   ========================================================= */

.presentation-page
.m2-presentation-quick-menu {
    position: fixed;

    right: 28px;
    top: 90px;

    z-index: 50;

    width: 195px;

    overflow: hidden;

    border:
        1px solid rgba(215,164,80,.35);

    background:
        rgba(23,13,10,.96);

    box-shadow:
        0 8px 30px rgba(0,0,0,.42);
}

.presentation-page
.m2-presentation-quick-menu > strong {
    display: block;

    padding: 13px 14px;

    border-bottom:
        1px solid rgba(215,164,80,.25);

    color: #efd092;

    font-size: 11px;
    font-weight: 900;

    letter-spacing: .10em;
}

.presentation-page
.m2-presentation-quick-menu > div {
    max-height:
        calc(100vh - 160px);

    overflow-y: auto;

    padding: 7px;
}

.presentation-page
.m2-presentation-quick-menu a {
    display: flex;
    align-items: center;

    gap: 6px;

    padding: 9px 8px;

    border-radius: 3px;

    color: #d9c4a4;

    font-size: 11px;

    text-decoration: none;

    transition:
        background .15s ease,
        color .15s ease;
}

.presentation-page
.m2-presentation-quick-menu a:hover {
    background:
        rgba(185,126,43,.16);

    color: #ffd994;
}

.presentation-page
.m2-presentation-quick-menu a span {
    color: #aa7540;
}


/* =========================================================
   DISCORD
   ========================================================= */

.presentation-page
.m2-presentation-discord {
    position: fixed;

    left: 28px;
    bottom: 28px;

    z-index: 50;

    display: flex;
    align-items: center;

    gap: 9px;

    min-height: 45px;

    padding: 9px 14px;

    border:
        1px solid rgba(111,125,255,.35);

    background:
        rgba(25,29,52,.96);

    color: #ced4ff;

    text-decoration: none;

    box-shadow:
        0 7px 24px rgba(0,0,0,.38);
}

.presentation-page
.m2-presentation-discord span,
.presentation-page
.m2-presentation-discord strong {
    font-size: 11px;
}


/* =========================================================
   FALLBACK
   ========================================================= */

.presentation-page
.hero-panel,
.presentation-page
.content-panel {
    width: min(100% - 30px,1170px);

    margin: 25px auto;

    padding: 30px;

    background: #f0dbad;

    color: #32190e;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1500px) {

    .presentation-page
    .m2-presentation {
        padding-left: 30px;
        padding-right: 30px;
    }

    .presentation-page
    .m2-presentation-actions,

    .presentation-page
    .m2-presentation-quick-menu {
        display: none;
    }

}

@media (max-width: 768px) {

    .presentation-page
    .m2-presentation {
        padding:
            0
            0
            55px;
    }

    .presentation-page
    .m2-presentation-content {
        width: 100%;
    }

    .presentation-page
    .m2-presentation-discord {
        left: 10px;
        bottom: 10px;
    }

}

