* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body{
    font-family: "Rubik", sans-serif;
    background-color: #FAC7B0;
    text-align: center;
}

img{
    width: 100%;
}

a{
    font-size: 1.56rem;
    font-family: "Zalando Sans", sans-serif;
}
nav{
    background-color: #FA3E54;
    padding-bottom: 0.85em;
    text-align: left;

}
nav a{
    font-size: clamp(0.9rem, 2vw, 2.44rem);
    text-decoration: none;
    color: white;
    outline:#FAC15C;
    outline-width: 1em;
    font-family: "Zalando Sans", sans-serif;
}
#top{
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    display: grid;
    justify-items: center;
}
h1{
    text-align: center;
    font-size: 3.5rem;
    margin-top: 0;
    background-color: #FA735C;
    color: white;
    font-family: "Gravitas One", serif;
}

#grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 2rem;
}
#grid a{
    padding-top: 50em;
    text-decoration: none;
    color: #FA735C;

}

.rectangle {
    width: 100%;
    height: 100px;
    place-content: center;
    background: rgb(250, 193, 92, 0.5);
    outline: #FA905D;
    outline-width: 1em;
    outline-style: auto;
    transition: transform 0.25s ease-in-out;
 }

 .rectangle:hover{
    transform: scale(1.25);
 }

figcaption {
    width: 100%;
    text-align: center;
    font-size: 0.833rem;
    color: rgb(16 16 16 /1);
}

#prev_work{
    display: grid;
    grid-template-rows: 1fr;
    gap: 2rem;
    padding: 2rem;
}

#prev_work a{
        text-decoration: none;
            color: white;
            outline: #FAC15C;
            outline-width: 1em;
            font-family: "Zalando Sans", sans-serif;
}

#prev_work img {
    max-width: 500px;
    max-height: 500px;
}
#about_me{
    background-color:rgb(250, 193, 92,0.5);
    outline: #FA905D;
    outline-style: auto;

}
#about_me a{
    text-decoration: none;
    color: white;
    outline:#FAC15C;
    outline-width: 1em;
    font-family: "Zalando Sans", sans-serif;
}


footer{
    width: 100vw;
    background-color: #FA3E54;
    color: rgb(240 240 240 / 1);
    text-align: center;
    /* position: absolute 0; */
}

.zalando-sans-uniquifier {
    font-family: "Zalando Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
} 
.rubik-uniquifier {
    font-family: "Rubik", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}
.gravitas-one-regular {
    font-family: "Gravitas One", serif;
    font-weight: 600;
    font-style: normal;
}
@media screen and (min-width: 400px) {
    #grid {
        grid-template-columns: 1fr 1fr;
    }

}

@media screen and (min-width: 800px) {
    #grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

}

@media screen and (min-width: 1200px) {
    #grid {
        grid-template-columns: repeat(4, 1fr);
    }

}
@media screen and (min-width: 400px) {
    #prev_work {
        grid-template-columns: 1fr 1fr;
    }

}

@media screen and (min-width: 800px) {
    #prev_work {
        grid-template-columns: 1fr 1fr 1fr;
    }

}

@media screen and (min-width: 1200px) {
    #prev_work {
        grid-template-columns: repeat(4, 1fr);
    }

}