/* global */
body{
    font-family: 'Open Sans', sans-serif;
}
h1, h2, h3, h4{
    font-family: 'Inter', sans-serif;
}

/* header */
header, nav ul{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
header a{
    text-decoration: none;
    font-size: 1.2rem;
}
ul{
    list-style: none;
}
ul li a{
    padding: 1em;
}

/* home - hero */
#hero{
    padding: 10rem;
}
#hero h1{
    font-size: 3rem;
}
#hero h2{
    font-size: 1.5rem;
}

/* home - projects */
#projects #projects-box{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
}
.project-cat{
    border: 2px solid green;
    flex-basis: 20rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-image: url(https://placecats.com/400/400);
    background-repeat: no-repeat;
    background-position: center;
    min-height: 18rem;
    min-width: 14rem;
}

/* home - about */
#about{
    display: flex;
    gap: 3rem;
}
#about-txt{
    display: flex;
    flex-direction: column;
    flex: 1;
}
#timeline{
    flex: 1;
}
.exp-line{
    display: flex;
    gap: 1rem;
    flex-wrap: nowrap;
}

/* home - skills */
#skills-grid{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
}
.skill-category{
    border: 1px solid blue;
    flex: 0 1 18rem;
    min-height: 15rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.skill-category:hover{
    background-color: red;
}
.tools{
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}
.tools span{
    padding: 0.2rem 0.6rem;
    border: 1px solid #ccc;
    border-radius: 999px;
    font-size: 0.9rem;
}
.tools span:hover{
    background-color: #ccc;
}