body {
    margin: 0;
    background-color: #1e1e1e;
}

.locksgate, .pleistopia, .doolkit { 
    display: grid;
    grid-template-columns: 1fr 4fr;
}

nav {
    background-color: #252523;
    grid-column-start: 1;
    grid-column-end: 2; 
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 1rem;
    box-sizing: border-box;
}

.right {
    overflow: scroll;
    grid-column-start: 2;
    grid-column-end:  3;
    animation: fade-in 2s forwards;
    opacity: 0;
    transform: translateY(50vh);
}

.container-flex, .container-flex-horizontal, .container-flex-vertical {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-content: center;
    gap: 3rem;
    padding: 1rem;
}

.container-flex, .container-flex-horizontal {
    flex-direction: row;
}

.container-flex-vertical {
    flex-direction: column;
    gap: 0;
}

.container-image, .container-other {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    max-width: 30em;
}

.container-image img:hover { 
    -ms-transform: scale(2); /* IE 9 */
    -webkit-transform: scale(2); /* Safari 3-8 */
    transform: scale(2);
    transition: all 250ms;
}

.container-text {
    max-width: 40em;
}

.container-flex-vertical .container-text {
    max-width: 20em;
}

.container-flex-vertical .button {
    width: 10em;
}

.container-text p {
    text-align: justify;
}

main {
    background: linear-gradient(0.25turn, #1e1e1e, #000000, #1e1e1e);
    padding: 0rem;
}

h1 {
    color: whitesmoke;
    text-shadow: 4px 4px 4px #2b183e;
    font-size: 3.2em;
    font-family: "Amatic SC";
    margin: 0;
    padding: 0;
}

h2 {
    color: whitesmoke;
    font-weight: bold;
    font-size: 1.8em;
    font-family: "Amatic SC";
    margin: 0;
    padding: 0;
}


.locksgate h1, .locksgate h2 {
    font-family: "Fredericka the Great";
}
.locksgate h1 {
    font-size: 4em;
}
.locksgate h2 {
    font-size: 2em;
}

.pleistopia h1, .pleistopia h2 {
    font-family: "Audiowide";
}

.doolkit h1, .doolkit h2 {
    font-family: "Courier New";
}

nav h1 {
    font-family: "Finlandica";
}


h3 {
    color: whitesmoke;
    font-family: "Finlandica";
    font-weight: bold;
    font-size: 1.4em;
}

a, p, li {
    color: whitesmoke;
    font-family: "Finlandica";
    font-size: 1em;
    padding: 0.1em;
}

.banner-index, .banner-pleistopia, .banner-locksgate, .banner-doolkit {
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    padding: 3rem;
    max-height: 6rem;
}

.banner-index {
    flex-direction: column;
    background-image: url('images/banners/hatman.jpg');
}

.banner-pleistopia {
    background-image: url('images/banners/pleistopia.jpg');
}

.banner-locksgate {
    background-image: url('images/banners/locksgate.jpg');
}

.banner-doolkit {
    background-image: url('images/banners/doolkit.jpg');
}

.button { 
    border: 2px solid #3e1832;
    border-radius: 10px;
    display:inline-block;
	text-align:center;
    box-shadow: 10px 10px 25px #3e1832;
    text-decoration: none;
    margin: 1.5em 1.5em 1.5em 1.5em;
    padding: 1em 1em 1em 1em;
}

.button:hover {
    transition: background-color ease 100ms;    
    background-color: #3e1832;
    padding: 1.2em 1.5em 1.2em 1.5em;
    margin: 1.3em 1em 1.3em 1em;
}

footer .button {
    background-color: #3e1832;
    border-radius: 50%;
    border: none;
    box-shadow: none;
    padding: 0.5rem;
    margin: 0rem;
}

footer .button:hover {
    background-color: #000000;
    padding: 0.5rem;
    margin: 0rem;
}

.sidebar-button {
    display: block;
    color: whitesmoke;
    position: relative;
    z-index: 1;
    padding: 1em;
    text-decoration: none;
}

.sidebar-button:hover {
    background-color: #464642;
}

.slider-wrapper {
    position: relative;
    max-width: 30rem;
    margin: auto;
}

.slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    border-radius: 0.5rem;
    aspect-ratio: 16/10;
    
}

.slider img {
    flex: 1 0 100%;
    scroll-snap-align: start;
    object-fit: cover;
}

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

.slider-nav a {
    width: 1.5rem;
    height: 1.5rem;
    border-style: none;
    border-radius: 50%;
    background-color: #733a61;
    opacity: 0.6;
    transition: opacity ease 250ms;    

}

.slider-nav a:hover {
    opacity: 1;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(10vh);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}