/*
https://www.joshwcomeau.com/css/custom-css-reset/
  1. Use a more-intuitive box-sizing model.
*/
*, *::before, *::after {
  box-sizing: border-box;
}
/*
  2. Remove default margin
*/
* {
  margin: 0;
}
/*
  Typographic tweaks!
  3. Add accessible line-height
  4. Improve text rendering
*/
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
/*
  5. Improve media defaults
*/
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
/*
  6. Remove built-in form typography styles
*/
input, button, textarea, select {
  font: inherit;
}
/*
  7. Avoid text overflows
*/
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}
/*
  8. Create a root stacking context
*/
#root, #__next {
  isolation: isolate;
}

/*Custom CSS starts here*/

a {
    color: rgb(2, 247, 242);
}

body {
    font-family: "Quicksand", sans-serif;
    background-color: #eef8ee;
    font-size: 1.25em;
    line-height: 2em;
    height: 100%;
}

p {
    margin-bottom: 1rem;
}

ul {
    margin: 2em;
}

li {
    margin: 1.25em;
}

.backgroundImg {
    z-index: 1;
    position: relative;
    max-width: 66%;
}

.blueLine {
    position: absolute;
    width: 10px;
    height: 100%;
    border: 5px rgb(2, 247, 242) solid;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.btn {
    max-height: 3em;
    min-width: 350px;
    font-size: 1.5em;
    background-color: #eef8ee;
    padding: 0.66em;
    margin: 0 auto;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    cursor: pointer;
}

.btnCallToAction {
    max-height: 3em;
    width: 375px;
    font-size: 2em;
    background-color: rgb(2, 247, 242);
    padding: 0.33em 0.66em 0.66em;
    margin: 0 auto;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.container {
    max-width: 50%;
    padding: 3em 2em;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    z-index: 1;
    position: relative;
}

.containerCTA {
    text-align: center;
    position: relative;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 500px;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3em
}

.container img {
    margin: 0 auto;
    outline: 3px black solid;
}

.containerIconMonolith {
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    right: 0;
    top: 0;
    z-index: 0
}

.containerInfo {
    min-height: 100%;
    padding-bottom: 50px;
}

.containerLinks {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.containerLinks a {
    text-decoration: none;
    background-color: rgb(2, 247, 242);
    color: black;
    padding: 1.66rem 2.33rem;
}

.containerVid {
    max-width: 66%;
    outline: 1px black solid;
    margin: 4em auto;
}

.footer {
    background-color: #CC443D;
    color: white;
    text-align: center;
    position: fixed;
    z-index: 3;
    bottom: -50px;
    width: 100%;
    height: 50px;
    animation: move-footer-up linear both;
    animation-timeline: scroll();
}

.footer a {
    color: white;
    text-decoration: none;
    font-family: "Roboto";
    letter-spacing: 3px;
}

.iconTop {
    position: absolute;
    left: 7px;
    right: 0;
    margin: 0 auto;
    max-width: 800px;
    animation: move-icon-top linear both;
    animation-timeline: scroll();
}

.iconLeft {
    position: absolute;
    top: 25vh;
    animation: move-icon-left linear both;
    animation-timeline: scroll();
    display: block;
    max-height: 700px;
    overflow: hidden;
}

.iconRight {
    position: absolute;
    top: 25vh;
    animation: move-icon-right linear both;
    animation-timeline: scroll();
    display: block;
    max-height: 700px;
    overflow: hidden;
}

/*for steam and itch.io logos*/
.imgIconSteam {
    max-width: 50px;
    display: inline;
    position: relative;
    top: 10px;
}

.imgIconItch {
    max-width: 75px;
    display: inline;
    position: relative;
    top: 0;
}

/*for this game logo*/
.imgLogo {
    max-width: 33%;
    max-height: 200px;
}

.linkHome {
    max-width: 90%;
}

.nameBanner {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4em;
}


.section0 {
    background-image: url("/img/chapter9_background_flip_h.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 0 1em 4em;
}

.section1 {
   
    color: #eef8ee;
    background-color: #232221;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    padding-bottom: 4em;
}

.section2 {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
}

.sectionFlex {
    color: #eef8ee;
    background-color: #232221;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

@keyframes move-icon-left {
    to {
        translate: var(--slide-x) -1vh;
    }
}

@keyframes move-icon-right {
    to {
        translate: calc(-1*var(--slide-x)) -1vh;
    }
}

@keyframes move-icon-top {
    to {
        translate: 0 16vh;
    }
}

@keyframes move-footer-up {
    to {
        translate: 0 -40px;
    }
}


@media(max-width: 800px) {
    :root {
        --slide-x: 50px;
    }
    
    .backgroundImg {
        max-width: 100%;
    }
    
    .btnCallToAction {
        font-size: 1.5em;
        padding: 0 0.5em 0.33em;
    }
    
    .container {
        max-width: 100%;
        padding: 2em 0.5em;
    }
    
    .containerVid {
        max-width: 100%;
    }
    
    .iconLeft {
        left: 5px;
    }
    
    .iconRight {
        right: 5px;
    }
    
    .imgLogo {
        max-width: 66%;
    }
    
    
    .nameBanner {
        flex-direction: column;
        gap: 2em
    }
    
    .section0 {
        padding: 0.5em;
    }
    
    .section1 {
        flex-direction: column;
        align-items: center;
    }
}

@media(min-width: 801px) {
    :root {
        --slide-x: 15vw;
    }
    
    .iconLeft {
        left: 5px;
    }
    
    .iconRight {
        right: 5px;
    }
    
    .linkHome {
        max-width: 35%;
        margin-left: 10%;
    }

@media(min-width: 1280px) {
    :root {
        --slide-x: 30vw;
    }
    
    .iconLeft {
        left: 50px;
    }
    
    .iconRight {
        right: 50px;
    }
}






