@charset "utf-8";

body{
    width: 100%;
    margin: 0;
    padding: 0;
    height: 100%;
    background-color:rgb(248, 247, 247);
    box-sizing: border-box;
}

header{
    width: 100%;
    height: 100px;
    background-color: rgb(0, 93, 170);
    text-align: center;
    line-height: 100px;
    position:fixed;
    top: 0;
}
header p{
    font-family: 'Staatliches', cursive;
    color: white;
    font-size: 68px;
    padding-left: 3px;
    padding-top: 1px;
}
header .subtitle{
    font-size: 14px;
    margin-left: 5px;
}
nav{
    /* background-color: white; */
    background-color:rgb(248, 247, 247);
    font-family: "Gill Sans Extrabold", sans-serif;
    font-weight: bold;
    font-size: clamp(20px,2vw,28px);
    margin-bottom: 20px;
    height: 100px;
    line-height: 100px;
    position: fixed;
    top: 100px;
    width: 100%;
    opacity: 0.9;
}
nav ul{
    display:flex;
    justify-content: center;
    font-family: "Gill Sans Extrabold", sans-serif;
    font-weight: bold;
    font-size: clamp(20px,2vw,28px);
    gap: 30px;
}
li a{
    display: block;
    height: 100%;
    width: 100%;
    color:  rgb(0, 31, 57);

}
.grays{
    color: gray;
}

main{
    height: auto;
    margin-bottom: 20px;
    margin-top: 200px;
}
main section{
    display:grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    grid-template-rows: 1fr;
    margin-left: 5%;
    margin-right: 5%;
}

.item{
    text-align: center;
    background-color: ghostwhite;
    font-size: clamp(12px,2vw,15px);
    font-family: "Gill Sans Extrabold", sans-serif;
    padding: 5px;
    /* border: 1px solid rgb(236, 236, 236); */
}
.item img{
    margin-bottom: 15px;
}
.item .worktitile{
    height: 2rem;
}
footer{
        /*grid-area: footer;*/
        height: 200px;
        background-color: rgb(0, 93, 170);
        text-align: center;
    }
    footer p{
        font-family: "Gill Sans Extrabold", sans-serif;
        font-size: 14px;
        color: white;
        line-height: 200px;
    }

@media(max-width:799px){
    header p{
        font-size: 45px;
    }
    nav{
        /* height: 150px; */
        /* position: fixed; */
        /* top: 100; */
        /* line-height: 25px; */
        overflow-x: auto;
        height: min-content;

    }
    nav ul{
        /* gap: 10px; */
        /* display:block; */
        /* margin: 0; */
        display: flex;
        width: max-content;
        margin: 0 auto;
    }
    nav ul li{
        margin-left: 5px;
    }
    main{
        margin-top: 250px;
    }
}
