* {
    box-sizing: border-box;
}

body {
    margin: 0px;
    background-color: skyblue;
    padding: 0;
    /* background-image: url("https://cdn.pixabay.com/photo/2020/01/12/17/31/middle-earth-4760561_960_720.jpg");
    background-size: cover;
    background-repeat: no-repeat; */  
    
}



.background_map {
    height: 100vh;
    width: 100%;
    position: absolute;
    z-index: -1;
}

.top {
    /* background-color: aqua; */
    width: 100vw;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    
    
    
}

.title_container {
    /* background-color: cadetblue; */
    width: 100vw;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;

}

.title {
    font-family: 'Courgette', cursive;
    color: rgb(252, 217, 103);
    text-shadow: 2px 2px 0 #2c2c2c, 4px 4px 0 #303030;
    font-size: 50px;
    text-decoration-line: underline;
    text-transform: capitalize;
    width: 850px;
    height: 45px;
    text-align: center;
    align-items: center;
    background-size: auto;
    margin-top: 10px;

}

#feed{
    text-transform: capitalize;
}

#train {
    text-transform: capitalize;
}

.display {
    background-color: black;
    max-height: 35%;
    max-width: 35%;
    height: auto;
    width: auto;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    border: 2px solid rgba(252, 217, 103, 1);
}

.buttons_container {
    padding:  20px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color: tan;   */
}

.button {
    margin: 0px 60px;
    padding: 10px 60px;
    font-size: 32px;
    text-shadow: 2px 2px 0 #2c2c2c, 4px 4px 0 #303030;
    color: rgba(252, 217, 103, 1);
    background-color: tan;
    font-family: 'Courgette', cursive;
    border: 3px solid rgba(252, 217, 103, 1);

}

.progress_bars {
   
    display: flex;
    justify-content: center;
    /* background-color: springgreen; */
  
    
    
}

.bar {
    height: 40px;
    width: 300px;
    margin-left: 30px;   
}


.attribute_bars {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.attribute_labels {
    font-family: 'Courgette', cursive;
    font-size: 24px;
    font-weight: bold;
    color: #000000;
    text-shadow: 2px 2px 0 #2c2c2c, 4px 4px 0 #303030;
    display: flex;
    flex-direction: column;
    color: rgba(252, 217, 103, 1);
    
    
}

.instructions {
    background-color: tan;
    width: 600px;
    height: 800px;
    display: flex;
    position: absolute;
    z-index: 5;
    margin: 0 auto;
    border: 4px solid rgba(252, 217, 103, 1);
    border-top: none;
    flex-direction: column;
    justify-content: flex-end;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    top: -140px;
}
.instructions_heading {
    display: flex;
    z-index: 7;
    justify-content: center;
    align-items: center;
    align-content: center;
    text-align: center;
    width: 100%;
    font-family: 'Courgette', cursive;
    font-size: 36px;
    color: rgba(252, 217, 103, 1);
    text-shadow: 2px 2px 0 #2c2c2c, 4px 4px 0 #303030;
    
}

.make_pet {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Courgette', cursive;
    color: rgb(247, 247, 247);
    text-shadow: 2px 2px 0 #2c2c2c, 4px 4px 0 #303030;
    font-size: 24px;
}

#start_button {
    padding: 10px;
    width: 200px;
    height: 75px;
    font-size: 20px;
    font-family: 'Courgette', cursive;
    align-self: center;
    margin-bottom: 10px;
    
}

.intro_image {
    height: 375px;
    
}

.how_to_play {
    background-color: tan;
    width: 600px;
    height: 800px;
    display: flex;
    position: absolute;
    z-index: 5;
    margin: 0 auto;
    border: 4px solid rgba(252, 217, 103, 1);
    border-top: none;
    flex-direction: column;
    justify-content: flex-end;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    top: -140px;
    padding: 20px;
    line-height: 1.5;
}
#begin_button {
    padding: 10px;
    width: 200px;
    height: 75px;
    font-size: 20px;
    font-family: 'Courgette', cursive;
    align-self: center;
    margin-bottom: 10px;
    margin-left: 150px;
    
    
}
.htp_heading {
    display: block;
    z-index: 7;
    justify-content: center;
    align-items: center;
    align-content: center;
    text-align: center;
    width: 100%;
    font-family: 'Courgette', cursive;
    font-size: 36px;
    color: rgba(252, 217, 103, 1);
    text-shadow: 2px 2px 0 #2c2c2c, 4px 4px 0 #303030;
    

}

.tip {
    list-style: square;
}


/* below code is from w3 schools shake an image article */

.animatedPic { 
   /* Start the shake animation and make the animation last for 0.5 seconds */
    animation: shake 0.5s; 
 
    /*When the animation is finished, start again */
    animation-iteration-count: 1;
 } 
 
  
 @keyframes shake {
   0% { transform: translate(1px, 1px) rotate(0deg); }
   10% { transform: translate(-1px, -2px) rotate(-1deg); }
   20% { transform: translate(-3px, 0px) rotate(2deg); }
   30% { transform: translate(4px, 2px) rotate(0deg); }
   40% { transform: translate(1px, -1px) rotate(2deg); }
   50% { transform: translate(-1px, 2px) rotate(-1deg); }
   60% { transform: translate(-3px, 1px) rotate(0deg); }
   70% { transform: translate(4px, 2px) rotate(-1deg); }
   80% { transform: translate(-1px, -1px) rotate(2deg); }
   90% { transform: translate(1px, 2px) rotate(0deg); }
   100% { transform: translate(1px, -2px) rotate(-1deg); }
 } 

/* @media (max-width: 1500px) {
    .button {
        margin: 0px 50px;
        padding: 15px 50px;
        font-size: 24px;
    } */

/* } */
@media (max-width: 1450px){
    button {
    margin: 0px 10px;
    padding: 0px 10px;
    font-size: 10px;
}
.instructions {
    width: 400px;
    height: 600px;
    
}
.instructions_heading {
    font-size: 22px;   
}
.make_pet {
    font-size: 18px;
}

#start_button {
    padding: 5px;
    width: 150px;
    height: 50px;
    font-size: 16px;
    margin-bottom: 4px;
    
}
.intro_image {
    height: 275px;
    
}

}


@media (max-width: 1200px) {
    .display {
        max-height: 20%;
        max-width: 20%;

    }
    
    .instructions, .how_to_play {
        height: 400px;
        width: 700px;
        line-height: 1;
    }

    #start_button {
        height: 50px;
    }

    .button {
        margin: 0px 30px;
        padding: 0px 30px;
        font-size: 20px;
    }

    .intro_image {
        height: 300px;
        
    }

    .title {
    width: 400px;
    height: 35px;
    font-size: 36px;

    }

    .bar {
        height: 30px;
        width: 200px;
        margin-left: 20px;   
    }

    .attribute_labels {
        font-size: 18px;
        margin-left: 50px;
    }

    @media (max-width: 675px) {
        .button {
            margin: 0px 20px;
            padding: 0px 20px;
            font-size: 16px;
        }
    }
}




