.category-title {
    display: flex;
    align-items: center;
    max-width: 1020px;
    margin-right: 18px;
    margin-top: 0px;
    margin-bottom: 2px;
}

.line1 {
    display: none;
    flex: 1;
    height: 2px;
    background-color: black;
    border: none;
    margin: 0;
    max-width: 1020px;
}

.line2 {
    flex: 1;
    height: 2px;
    background-color: black;
    border: none;
    margin: 0;
    max-width: 1020px;
}

.selected-projects {
    font-style: italic;
    font-size: 46px;
    margin-bottom: 25px;
    margin-top: 24px;
    margin-right: 30px;
    flex-shrink: 1;
}

.project-images {
    display: flex;
    flex-wrap: wrap;
    max-width: 1000px;
    gap: 10px;
    margin-bottom: 10px; /** to bring back category titles, make this 30px **/
    margin-right: 70px;
    justify-content: center;
}

.project-card {
    position: relative;
    flex-shrink: 0;
    max-width: 321px;
    height: 450px;
    border: 3px solid black;
    text-decoration: none;
    border-radius: 12px;
    transition: background-color 0.3s;
}

.project-card:hover {
    background-color: black;
}

.project-card:hover .project-title {
    color: white;
}

.project-card .project-image {
    width: 100%;
    height: 100%;
    max-height: 321px;
    border-radius: 10px 10px 0 0;
    object-fit: cover;
}

.project-overlay {
    display: flex;
    flex-direction: column;
    justify-content: start;
    text-align: left;
    width: 100%;
    color: white;
    text-decoration: none;
}

.project-title {
    margin-top: 10px;
    margin-left: 15px;
    margin-right: 15px;
    color: black;
    margin-bottom: 0px;
    font-size: clamp(20px, 2vw, 20px);
    transition: color 0.3s;
}

.project-skills {
    margin-left: 15px;
    display: flex;
    justify-content: start;
    gap: 15px;
}

.icon {
    max-width: 35px;
}

.project-description {
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 15px;
    color: rgb(127, 127, 127);
    font-size: 16px;
}

@media (max-width: 400px) {
    .samsung {
        display: none;
    }
    .project-card {
        max-width: 275px;
        height: 100%;
    }
    .project-skills {
        margin-bottom: 15px;
    }
}

@media (max-width: 535px) {
    .category-title {
        margin-top: 26px;
        margin-left: 18px;
        margin-right: 18px;
        justify-content: center;
        margin-bottom: 46px;
    }
    .line1 {
        display: flex;
    }
    .selected-projects {
        margin: 0;
        white-space: nowrap;
        font-size: clamp(36px, 10vw, 46px);
        margin-left: 30px;
        margin-right: 30px;
        text-align: center;
    }
    .project-images {
        margin-right: 0px;
    }
}

@media (min-width: 535px) and (max-width: 1030px) {
    .project-images {
        margin-right: 0px;
    }
}

@media (min-width: 535px) and (max-width: 1023px) {
    .category-title {
        margin-left: 18px;
        margin-right: 18px;
        justify-content: center;
    }
    .selected-projects {
        margin-left: 30px;
        text-align: center;
        white-space: nowrap;
    }
    .project-images {
        margin-right: 0px;
    }
    .line1 {
        display: flex;
    }
}

@media (max-width: 1030px) {
    .project-images {
        margin-right: 0;
    }
}

@media (min-width: 1200px) {
    .project-images {
        justify-content: left;
    }
}

@media (min-width: 1430px) {
    .line {
        margin-right: 110px;
    }
}

@media (max-width: 1430px) {
    .project-images {
        justify-content: center;
    }
}

@media (prefers-color-scheme: dark) {
    .line1 {
        background-color: white;
    }
    .line2 {
        background-color: white;
    }
    .selected-projects {
        color: white;
    }
    .project-title {
        color: white;
    }
    .project-card {
        border: 3px solid white;
    }
    .project-card:hover {
        background-color: white;
    }
    .project-card:hover .project-title {
        color: black;
    }
}