/* Reset some default styles */
* {
    box-sizing: border-box;
}

/*
::placeholder {
    color: #000;
}

::-webkit-input-placeholder {
    color: #000;
}

::-moz-placeholder {
    color:#000;
}

::-moz-placeholder {
    color:#000;
}

::-ms-input-placeholder {
    color:#000;
} */

body, h1, h2, p, ul {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    position: relative;
    min-height: 100vh;
}

nav, main {
    margin: 0 auto;
    padding: 10px;
}

header {
    padding-left: 10px;
    background-color: #004aad;
    background-image: linear-gradient(#005eda,#487dc4);/*3e76c1);*/
    color: #fff;
    text-align: left;
    height: 50px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0px 10px 20px #487ec486;/*lightblue;#dee8f4;*/
}

h1 {
    font-size: 2em;
    margin-bottom: 0.5em;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
    background-color: #004aad;
    padding: 10px;
}

#logo {
    height: 1.6em;
    margin-bottom: 0.5em;
    margin-top: 0.75em;
}

main {
    margin-top: 20px;
}


#top-title {
    font-size: 2em;
    margin-bottom: 0.5em;
    color: #f4f4f4;
    font-weight: bold;
    text-decoration: none;
}

form {
    text-align: center;
    align-items: center;
    align-content: center;
    height: 600px;
}

form h1 {
    font-size: 80px;
    margin-bottom: 125px;
    margin-top: 125px;
    display: none; /* Use block when making visible with Javascript. */
}

form h2 {
    color: #333;
    font-size: 3em;
    margin-bottom: 30px;
}

form h3 {
    color: #333333d8;
    font-size: 1.3em;
    font-weight: 100;
    text-align: center;
}

form button {
    /*width: 300px;
    height: 75px;*/
    border: 2px solid rgb(89, 136, 155);
    border-radius: 8px;
    background-color: rgb(89, 136, 155);
    color: white;
    font-size: 150%;
    box-shadow: 0px 5px 5px rgba(0, 41, 95, 0.205);
    z-index: 7;
}

#read-button {
    width: 250px;
    height: 75px;
}

#edit-button {
    width: 110px;
    height: 45px;
    vertical-align: bottom;
}

form input {
    width: 110px;
    height: 45px;
    vertical-align: bottom;
}

#speed-input-container {
    width: 110px;
    display: inline-block;
    vertical-align: bottom;
    flex-direction: column;
}

#speed-input {
    text-align: center;
    font-size: large;
}

form textarea {
    margin-bottom: 30px;
    height: 350px;
    width: 550px;
    font-size: medium;
    text-align: left;
    vertical-align: top;
    display: inline-block; /* When using Javascript to make this appear use inline-block. */
}

form {
    margin: 0 auto;
    width: 600px;
}

form label {
    margin: 2px;
    color: #333333d8;
    font-size: small;/*1.25em*/
    font-weight: 100;
}

#label-height {
    padding-left: 1px;
}

#height {
    margin-left: 14px;
    margin-bottom: 50px;
}

.form-inputs {
    display: inline-block;
    text-align: left;
}

.button-container {
    display: inline;
}


@media screen and (max-width: 600px) {
    form button {
        width: 20%;
    }
    .button-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    /*#read-button {
        display: block;
    }*/
    #edit-button {
        margin-top: 10px;
    }
    /*speed-input {
        display: inline;
    }*/
    form {
        width: 100%;
    }
    form h3 {
        font-size: medium;
    }
    form label {
        font-size: small;
    }
    form h2 {
        font-size: 2em;
    }
    /*form input {
        width: 20%;
    }*/

    form textarea {
        width: 95%;
    }

    #current-word {
        font-size: 10vw;
    }

    .settings:nth-child(2) {
        order: -1;
    }
}



/*.post-meta {
    color: #777;
}*/

footer {
    margin-top: 20px;
    background-color: #004aad;
    color: #fff;
    text-align: left;
    padding-left: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    position: absolute;
    bottom: 0;
    width: 100%;
    overflow: hidden;
    z-index: 1;
}


