/* common ----------------------------------------------*/
body{
    margin-left: 0px;
    margin-right: 0px;
    background-image: url(images/Background3.png);
    background-repeat: repeat;
    color: white;
    height: 100vh;
    font-family:'Courier New', Courier, monospace;    
}
nav{
    width: 100%;
    padding-top: 5px;
    padding-bottom: 5px;
    top: 0;
    display: flex;
    justify-content: center;
    position: fixed;
    padding: auto;
    background-image: url(images/Background1.png); 
    border-bottom: 2px white solid;
    height: 35px;
}
nav #site-logo{
    border: 0px;
}
nav #site-logo:hover{
    background-color: unset;
}
nav a{
    display: flex;
    border: 1px white solid;
    border-radius: 16px;
    margin-left: 2px;
    margin-right: 2px;
    padding-left: 4px;
    padding-right: 4px;
    align-items: center;
    color: white;
    text-decoration: none;
}
nav a:hover{
    background-color: #5b6ee1;
    scale: 1.1;
}
nav a:focus{
    background-color: purple;
    color: white;
}
header{
    display: flex;
    color: white;
    text-shadow: black 3px 3px 4px, black -3px -3px 4px, black 3px -3px 4px, black -3px 3px 4px;
    background-image: url(images/HeaderBackground3.png);
    border-top: 4px white groove;
    border-bottom: 4px white groove;
    justify-content: center;
    align-items: center;
    height: 14vh;
    margin-top: 45px;
    margin-left: 0px;
    box-shadow: 0px 4px 14px black;
    animation: headerAnimation 240s linear infinite normal;
}
@keyframes headerAnimation {
    0%{
        background-position: 0% 0%;
    }
    100%{
        background-position: 100% 0%;
    }
}
main{
    display: flex;
    flex-direction: column;
    align-items: center;
}
article{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    z-index: inherit;
}
h1{
    font-size: 40px;
}
h2,p{
    width: 650px;
    text-align: center;
    transition: 0.2s;
}
footer{
    display: flex;
    justify-content: center;
    position: relative;
    width: 100%;
    font-size: 14px;
}
footer a{
    display: flex;
    margin-left: 8px;
    margin-right: 8px;
    align-items: center;
    color: rgb(0, 221, 255);
    background-color: rgb(0, 0, 0);
    border: white 2px transparent;
    border-radius: 8px;
    box-shadow: 0px 0px 20px black;
}

a:hover{
    color: white;
}

a:focus{
    color: purple;
}

/* @media(max-width: 720px){ */
@media(max-width: 800px){
    h2,p{
        width: 400px;
    }
}

@media(max-width: 505px){
    h2,p{
        width: 200px;
    }
}
@media(max-width: 250px){
    h2,p{
        width: 100px;
    }
}

/* Homepage ----------------------------------------------*/
#homepage-main{
    display: flex;
    flex-direction: column;
    align-items: center;
}

#homepage-main #icon-for-website{
    width: 200px;
    transition: width 1s;
}

#about-seth-header{
    border-bottom: #5b6ee1 2px solid;
}

#homepage-footer{
    margin-top: 140px;
    padding-bottom: 40px;
}

@media(min-width: 720px){
    #homepage-main #icon-for-website{
        width: 300px;
    }
}

/* Homepage and Product ---------------------------------*/
#homepage-article, #product-article{ 
    box-shadow:
    -1em 2em 4em black,
    1em 2em 4em black,
    -2px 2px 1em 2px black inset,
    2px 2px 1em 2px black inset;
}

/* Product ----------------------------------------------*/

#robot-game-image-and-description{
    display: flex;
    align-items: center;
}
    #robot-game-writing{
        display: flex;
        flex-direction: column;
        padding-left: 10px;
    }

#walking-game-image-and-description{
    display: flex;
    align-items: center;
}
    #walking-game-writing{
        display: flex;
        flex-direction: column;
        padding-left: 10px;
    }
    #walking-game-list{
        display: flex;
        flex-direction: column;
    }

#robot-game-prototype-image img{
    width: 450px;
    border: 4px white solid;
    transition: width 1s;
}
#robot-game-prototype-image{
    transition: 0.5s;
}
#robot-game-prototype-image:hover{
    scale: 1.05;
}

#walking-game-prototype-image img{
    width: 450px;
    border: 4px white solid;
    transition: width 1s;
}

#walking-game-prototype-image{
    transition: 0.5s;
}
#walking-game-prototype-image:hover{
    scale: 1.05;
}

#list-title{
    align-self: center;
}

#movement-ability-list{
    list-style-type: square;
    align-self: center;
}

#list-title, #robot-game-title, #walking-game-title{
    border-bottom: 2px #5b6ee1 solid;
}

@media(max-width: 1450px){
    #robot-game-prototype-image img{
        width: 375px;
    }
    #walking-game-prototype-image img{
        width: 375px;
    }
}
@media(max-width: 1350px){ 
    #robot-game-image-and-description{
        display: flex;
        align-items: center;
        flex-direction: column;
    }
    #robot-game-writing{
        display: flex;
        flex-direction: column;
        border: none;
    }

    #walking-game-image-and-description{
        display: flex;
        align-items: center;
        flex-direction: column;
    }
    #walking-game-writing{
        display: flex;
        flex-direction: column;
        border: none;
    }
    #walking-game-list{
        display: flex;
        flex-direction: column;
    }
}
@media(max-width: 880px){
    #robot-game-prototype-image img{
        width: 350px;
    }
    #walking-game-prototype-image img{
        width: 350px;
    }
}

#product-footer{
    margin-top: 130px;
    padding-bottom: 40px;
}

/* Contact ----------------------------------------------*/

#contact-form{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#contact_fieldset{
    display: flex;
    flex-direction: column;
    width: 300px;
    background-image: url(images/Background1Grey.png);
}

#contact-me-title{
    border-bottom: 2px #5b6ee1 solid;
    width: 400px;
}

#contact-sub-title{
    width: 700px;
    transition: 0.2s;
}

#name_div, #phone_div, #email_div, #comments_div{
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    margin-bottom: 5px;
} 
#buttons_div{
    display: flex;
    justify-content: center;
}
#name,#phone_number,#email,#comments{
    background-image: url(images/Background1White2.png);
}
#name:focus,#phone_number:focus,#email:focus,#comments:focus{
    background-image: url(images/Background1.png);
    color: white;
}
#submit, #reset{
    margin-top: 30px;
    margin-left:5px;
}

#name_error, #phone_number_format_error, #email_format_error{
    color: rgb(255, 95, 95);
    width: auto;
}

#contact-footer{
    margin-top: 240px;
}


@media(max-width: 890px){
    #contact-sub-title{
        width: 300px;
        text-align: center;
    }
}