*{
    margin: 0;
    padding: 0;
}

a{
    text-decoration: none;
    color: inherit;
}

body{
    overflow-x: hidden;
    animation: appear ease-in-out 1s;
}

h1{
    font-family: "Newsreader", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(2.25rem, 1.714rem + 1.429vw, 3rem);
    line-height: 140%;
    padding: 20px 0 20px 0;
}

h3{
    font-family: "Schibsted Grotesk", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(1.125rem, 0.857rem + 0.714vw, 1.5rem);
    padding: 20px 0 20px 0;
}

h4{
    font-family: "Schibsted Grotesk", sans-serif;
    font-optical-sizing: auto;
    font-weight: 450;
    font-style: normal;
    font-size: clamp(1rem, 0.911rem + 0.238vw, 1.125rem);
}

.background{
    background: rgb(255,255,255);
    background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(105,165,255,1) 100%);
    width:100vw;
    height: 100vh;
    position: absolute;
    z-index: -1;
}

.navigation{
    width: 90vw;
    margin: auto;
    display: flex;
    justify-content: space-between;
    padding: 5vh 0 0 0;
}

.navbar{
    display: flex;
}

.tab{
    padding: 0 1vw 0px 1vw;
}

.container{
    width: 90vw;
    margin: auto;
    padding: 30vh 0 30vh 0;
}

.projects{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 90vw;
    margin: auto;
    padding: 5vh 0 5vh 0;
}

.img{
    aspect-ratio: 4/3;
    background-color: grey;
    border-radius: 5px;
    margin: 20px 0 20px 0;
}

.proj{
    width: 100%;
}

@media only screen and (min-width: 1000px) {
    .proj{
        width: 42.5vw;
    }
}

@keyframes appear {
    0% {opacity: 0%;}
    100% {opacity: 100%;}
    }