main{
    color: var(--color-white);
}

main .description{
    width: 70%;
}

main .description h1{
    font-size: 3.1rem;
}

main .description p{
    font-size: 2rem;
}

.search{
    height: 40px;
    padding: 2px 10px;
    background-color: rgba(0, 0, 0, 0.15);
    margin: 60px 0 40px 0;
    max-width: 100%;
    z-index: 1;
    position: relative;
}

.search input{
    height: 100%;
    width: 100%;
    background-color: transparent;
    border: none;
    outline: none;
    font-size: 1.4rem;
    color: var(--color-white);
}

.projects{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30%, 1fr));
    max-width: 100%;
    gap: 30px;
}

.project{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 3px;
    border-radius: 10px;
    padding: 20px 30px;
    background-color: rgba(0, 0, 0, 0.15);
    transition: background-color 0.5s;
    border: 1px solid rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.project:hover{
    background-color: rgba(255, 255, 255, 0.05);
}

.project-name{
    font-size: 1.3rem;
    font-weight: 500;
}

.project-description{
    font-size: 1.1rem;
    color: var(--color-gray);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -moz-box;
    -moz-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    box-orient: vertical;
}

.date-and-tags{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    margin-top: auto;
}

.tags{
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
}

.tag{
    padding: 4px 15px;
    background-color: var(--color-white);
    color: var(--color-dark-gray);
    border-radius: 30px;
    font-weight: 500;
}