*{
    margin: 0;
    padding: 0;
}

a{
    text-decoration: none;
    color: inherit;
}

body{
    overflow-x: hidden;
}

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: 2vh 0 2vh 0;
    animation: appear ease-in-out 1s;
}

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);
    line-height: 140%;
    padding: 2vh 0 2vh 0;
    animation: appear ease-in-out 1s;
}

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);
    animation: appear ease-in-out 1s;
}

.navigation{
    width: 90vw;
    margin: auto;
    display: flex;
    justify-content: space-between;
    padding: 5vh 0 3vh 0;
}

.navbar{
    display: flex;
}

.tab{
    padding: 0 1vw 0px 1vw;
}

.image{
    width: 100vw;
    aspect-ratio: 4/3;
}

.container{
    width: 90vw;
    margin: auto;
    padding: 5vh 0 5vh 0;
}

.projects{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 90vw;
    margin: auto;
}

.img1{
    aspect-ratio: 4/3;
    width: 100%;
    margin: auto;
    margin-top: 2.5vh;
    margin-bottom: 2.5vh;
}

.img2{
    aspect-ratio: 4/3;
    width: 100%;
    margin: auto;
    margin-top: 2.5vh;
    margin-bottom: 2.5vh;
}

.proj{
    width: 100%;
}

img{
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 5px;
}

.footer{
    display: flex;
    justify-content: space-between;
    padding: 30px 5% 30px 5%;
    background-color: rgb(177, 205, 247);
}

@media only screen and (min-width: 1000px) {
    .proj{
        width: 42.5vw;
    }
    .image{
        aspect-ratio: 9/3;
    }

    .img1{
        aspect-ratio: 6/3;
        margin-top: 5vh;
        margin-bottom: 5vh;
    }
}

@keyframes appear {
    0% {opacity: 0%;}
    100% {opacity: 100%;}
    }