:root {
    --top: 100;
    --finalTop: 1000;
}

h1 {
    color:red
}
p {
    color:blue;
}
a:link {
    color:blue;
    background-color: transparent;
    text-decoration: none;
}
a:visited {
    color:purple;
    background-color: transparent;
    text-decoration: none;
}
 #trainImage{
    position: fixed;
    top: 0;
    left: 0;
    max-width: 100%; 
    max-height: 100%;
    min-width: 100%;
    min-height: 100%;
    z-index: 1;
}
#overlay {
    background-color: rgba(84, 27, 208, 0.3);
    top: 0;
    left: 0;
    max-width: 100%;
    max-height: 100%;
    min-width: 100%;
    min-height: 100%;
    position: absolute;
    z-index: 2;
    overflow: hidden;

}
#window {
    position:static;
    height: 85vh;
    overflow: hidden;
}
.rainClouds {
    background: url("images/rainClouds.png") repeat-x;
    background-size:contain;
    min-width: 50%;
    min-height:50%;
    max-width: 50%;
    max-height: 50%;
    top:10%;
    overflow: hidden;
    /* animation: slide 40s linear infinite;
    z-index: 1; */
}
.sliding-bg {
    background: url("images/trainBG.png") repeat-x;
    position: fixed;
    background-size:contain;
    min-width: 13000px;
    min-height:75%;
    animation: slide 40s linear infinite;
    z-index: -1;
}
@keyframes slide {
    0% {

        /*left: -10%;*/
        left: 0px;
    }
    100% {
        /*left: -336.2%;*/
        transform: translate(-86.5%,0);
    }
}
.side-buttons {
    position:absolute;
    top:5%;
    left:3%;
    z-index: 4;
    overflow:hidden;
    height:auto;
    width:30%;
    margin: 2%;

}


/* width: 50%; */
#cat {
    max-width:33%;
    display: list-item;
}
#cloud {
    max-width:33%;
    display:list-item;
}
#music {
    max-width:33%;
    display: list-item;
}
#sun {
    max-width:33%;
    display: list-item;
}

#sleepingCat {
    background-image: url("images/catSleep3.png");
    background-repeat: no-repeat;
    position: absolute;
    background-size: contain;
    max-width: 20%;
    min-width: 20%;
    max-height: 20%;
    min-height: 20%;
    z-index: 10;
    top:65%;
    left: 45%;
    z-index: 1;
}

#start {
    background-image: url("images/wood.png");
    position:fixed;
    background-size: 100% 100%;
    max-width: 100%;
    max-height: 100%;
    min-width: 100%;
    min-height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 11;
}

#startButton {
    position:absolute;
    top: 30%;
    max-width: 20%;
    min-width: 5%;
    min-height: 5%;
    left: 33%;
}

#rainG {
    background-image: url("gifs/rain6.gif");
    position: absolute;
    max-width: 90%;
    max-height: 90%;
    min-width: 90%;
    min-height: 90%;
    z-index:0;
}

#bird {
    background-image: url("images/redBird.png");
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    min-width: 10%;
    min-height: 10%;
    max-width: 10%;
    max-height: 10%;
    top:63%;
    left: 30%;
    z-index: 2;
}

.head_Next{
    background-color: rgba(255, 255, 255, 0.3);
position:fixed;
padding: 10px;
bottom:4%; 
margin: 0 30%;
z-index: 3;
display: flex;
flex-direction: column;
justify-content: center;
}
.head_Next > h4{
    font-family: 'Open Sans', "Helvetica Neue", Helvetica, Roboto, sans-serif;
    text-align: center;
    font-size:16px;
    
}
.button_style {
    background-color: #1a69dfcc; /* Green */
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
}
@media (max-width: 767px) {
    .head_Next{
        margin: 0 15px;
    }
    .side-buttons {
        width:50%;
    }
    #bird {
top:68%;
    }
    #sleepingCat{
        top:71%;
    }
 }