:root {
    /* variables definition */
    --page-background-color: #494949;
    --main-background-color: #080808;
    --action-color: #c8f245;
    --text-white: #eee;
    --selected-color:#51d7ac;
}

body {
    background-color: var(--page-background-color);
    color: var(--text-white);
    min-height: 100vh;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 24px;
    display: grid;
    grid-template-columns: 1fr; /* column width 100%*/
    grid-template-rows: auto 1fr; /* rows goes as tall as needed and then the rest for one*/
    margin: 0;
}

.hidden {
    visibility: hidden;
}

.gone {
    display: none;
}

/* #region TOP NAVIGATION BAR */
header {
    padding: 8px;
}

header ul {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
}

header ul li {
    padding: 16px;
}

header ul > li:first-child {
    margin-right: auto;
    font-style: italic;
    font-weight: bolder;
}

header ul > li:first-child > span {
    font-weight: 500;
}

/* #endregion */

/* #region MAIN BODY */

main {
    background-color: var(--main-background-color);
    border-top-right-radius: 1em;
    border-top-left-radius: 1em;
    display: flex;
    flex-direction: column;
}

main > section.container {
}

main > section > div.slider-wrapper {
    position: relative;
    max-width: 100vw;
    margin: 0 auto;

}

main > section > div > div.slider {
    display: flex;
    aspect-ratio: 9 / 16;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    box-shadow: 0 1.5rem 3rem -0.75rem hsla(0, 0%, 0%, 0.25);
}

main > section > div > div.slider::-webkit-scrollbar {
    display: none;
}

main > section > div > div > img {
    flex: 0 0 100%;
    scroll-snap-align: start;
    object-fit: cover;
}

main > section > div > div.slider-nav {
    display: flex;
    column-gap: 1rem;
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

main > section > div > div.slider-nav > a {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: var(--action-color);
    opacity: 0.75;
    transition: opacity ease 250ms;
}

main > section > div > div.slider-nav > a:hover {
    opacity: 1;
}

/* #endregion */

/* #region FOOTER */

footer {
    justify-items: center;
    background-color: var(--main-background-color);
    border-top: 2px solid var(--page-background-color);
    font-size: 28px;
    font-weight: bold;
    padding: 16px;
    font-style: italic;
}

footer > p:first-of-type {
    margin-top: 0;
    font-weight: 500;
}

footer > p:last-of-type {
    background-color: var(--action-color);
    color: var(--main-background-color);
    border-radius: 28px;
    padding: 12px 0;
    width: 100%;
    text-align: center;    
}

footer > p:last-of-type.disabled {
    background-color: color-mix(in srgb, var(--action-color) 50%, transparent);
}

/* #endregion */