@import url('https://fonts.googleapis.com/css2?family=Rubik&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro&display=swap');
body{
    color: #190f73; /*"color: red;"teksti värv*/
    background-color: #F0FFFF; /*taust*/

}
html{
    background-color: #F0FFFF; /*taust*/
    width: 100%;
    height: 100%;
}
header, footer{
    text-align: center;
    font-family: 'Courier New', monospace;
}
header{
    border: 3pt inset #cc7a1a; 
    border-radius: 10px;
    display: flex;
    justify-content: center;
    width: 100%;
}

footer{
    position: fixed;
    bottom: 0;
    width: 99%;
    color: black;
}
.centerpic {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 30%;
}
#animation{
    background: #225;
    height: 50px;
    width: 50px;
    border-radius: 90px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.navbar-links ul
{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    list-style: none;
    list-style-position: inside;
    padding-left: 0;
    margin: 0.5rem 0;
    gap: 5px;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: bolder;
    font-size: 18px;
}

.navbar-links ul li
{
    text-align: center;
    border: 2px solid #225;
    border-radius: 5px;
}

.navbar-links ul li a 
{
    display: flex;
    padding: 2rem 1rem;
    justify-content: center;
    text-decoration: none;
    color: #190f73;
}

.navbar-links ul li a:hover
{
    background-color: rgba(0, 0, 0, 0.2);
    transition: 0.25s;
    text-shadow: 2px 0 red;
}

.navbar-links ul li a:active
{
    background-color: rgba(0, 0, 0, 0.4);
}

@media (max-width: 1000px)
{
    .navbar-links ul
    {
        grid-template-columns: repeat(2, 1fr);
    }
}
.legomanbutton > input{
    display: inline-block;
    background-color: #7b38d8;
    border-radius: 10px;
    border: 4px double #cccccc;
    color: #eeeeee;
    text-align: center;
    font-size: 16px;
    padding: 20px;
    width: 200px;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    cursor: pointer;
    margin: 5px;
}
.simple
{
    width: 300px;
    background-color: lightblue;
    border-radius: 50px;
    padding: 2%;
    border-bottom: 1px dashed gray;
}
