/*===== Background =====*/
#background {
    background: #c0c0c0;
    height: 85vh;
    width: 100%;
    position: absolute;
    top: 0;
    z-index: -1;
}

/*===== Projetos =====*/
.highlighted-projects {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 40px;
}

.highlighted-projects img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(100%);
}

.highlighted-projects img:hover {
    filter: none;
    transition: 1s;
}

.project {
    position: relative;
    height: 400px;
    cursor: pointer;
}

.project-data {
    position: absolute;
    bottom: 8px;
    left: 16px;
    color: #fff;
    font-weight: 500;
    font-size: 15px;
}

/*===== Base =====*/
.home-title {
    font-family: sans-serif;
}

.container-subtitle {
    display: flex;
    align-items: baseline;
}

.home-subtitle {
    font-family: 'Geometr231 BT';
    letter-spacing: 1.04rem;
    display: flex;
}

.container-subtitle .dot {
    margin-left: -13px;
}

.section-title {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/*===== Media queries =====*/
@media only screen and (max-width: 1050px) {
    .title {
        font-size: 4rem;
    }

    .home-subtitle {
        letter-spacing: 0.8rem;
        font-size: 25px;
    }

    .container-subtitle .dot {
        margin-left: -11px;
    }

    .page-title img {
        width: 400px;
    }
}

@media only screen and (max-width: 900px) {
    .page-title {
        display: grid;
        row-gap: 2rem;
        justify-content: center;
    }

    .page-title img {
        width: 500px;
    }
}

@media only screen and (max-width: 550px) {

    .page-title img {
        width: 100%;
    }
}

@media only screen and (max-width: 450px) {

    .title {
        font-size: 3.5rem;
    }

    .home-subtitle {
        letter-spacing: 0.78rem;
        font-size: 20px;
    }

    .container-subtitle .dot {
        margin-left: -10px;
    }

    .page-title img {
        width: 100%;
    }

    .highlighted-projects {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 40px;
    }
}