html {
    /* background: linear-gradient(135deg, rgba(251,255,254,1) 1%, rgba(255,198,0,1) 100%);  */
    font-family: sans-serif;
    min-height: 100vh;
}

header {
    padding: 0rem;
    height: fit-content;
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 2;
}

body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: min-content auto min-content;
    margin: 0rem;
    min-height: 100vh;
    background-image: url(./img/backgroud_img.png);
    background-attachment: fixed;
    background-size: auto;
    background-position: center;
    /* background: rgb(251,255,254);
    background: -moz-linear-gradient(180deg, rgba(251,255,254,1) 1%, rgba(255,198,0,1) 100%);
    background: -webkit-linear-gradient(180deg, rgba(251,255,254,1) 1%, rgba(255,198,0,1) 100%);
    background: linear-gradient(180deg, rgba(251,255,254,1) 1%, rgba(255,198,0,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#fbfffe",endColorstr="#ffc600",GradientType=1);  */
}

.logo {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 2;
}

.header ul {
    margin: 0;
    padding: 2rem 1rem;
    list-style: none;
    display: flex;
    justify-content: flex-end;
}

.header ul li {
    font-size: large;
}

.header a {
    text-decoration: none;
    padding: 1rem;
    border-radius: 0.5rem;
}
.header a:link {
    color: white;
}
.header a:visited {
    color: white;
}
.header a:active {
    color: white;
}
.header a:hover {
    background-color: #5552;
}

footer {
    background-color: #000036;
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 3;
    grid-row-end: 4;
    color: white;
    height: fit-content;
    align-self: flex-end;
    font-size: small;
    margin-top: 1rem;
}
.content {
    margin-top: 5rem;
    grid-column-start: 1;
    grid-column-end: 3;
    width: fit-content;
    height: fit-content;
    justify-self: center;
}
.content ul {
    display: grid;
    list-style: none;
    justify-items: center;
    padding: 0rem;
    margin: 0rem;
    border-style: solid;
    border-width: 1px;
    background-color: #eee;
    border-radius: 0.5rem;
    border-color: #eee1;
    padding: 2rem;
    box-shadow: 1px 2px 1px 1px rgba(0,0,0,0.2);
}

.content li {
    width: fit-content;
}
.content p {
    font-size: x-large;
    padding: 1rem;
    margin: 1rem;
}

.content .error {
    font-size: 5rem;
}

.footer ul{
    list-style: none;
    display: flex;
    justify-content: space-between;
    margin: 0rem 1rem;
    padding: 0rem;
}

.footer ul li {
    padding: 1rem;
}

@media screen and (min-width:320px) and (max-width:640px) {

    body {
        grid-template-columns: 100%;
    }
    header {
        padding: 0rem;
        height: fit-content;
        grid-column-start: 1;
        grid-column-end: 2;
        grid-row-start: 2;
        grid-row-end: 3;
    }
    .header ul {
        padding: 2rem 0rem;
        padding-top: 1rem;
    }
    .header a {
        font-size: medium;
    }

    .logo {
        grid-row-start: 1;
        grid-row-end: 2;
        width: fit-content;
        margin: 0rem auto;
    }
    .logo img {
        width: 300px;
    }

    .content {
        margin-top: 0rem;
        text-align: center;
    }
    
    .content ul{
        width: 250px;
        height: 200px;
        padding: 1rem;
    }
    .content p {
        font-size: larger;
    }

    .content img {
        width: 70px;
    }

    footer {
        grid-row-start: 6;
        grid-row-end: 7;
    }

} 