em {
    color: #1D263B;
}

.projects {
    padding-top: 100px;
    max-width: 1200px;
}

.project-cards-container {
    margin-top: 50px;
    height: fit-content;
    height: -moz-fit-content;
}

.card {
    display: inline-flex;
    flex-direction: column;
    color: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
}

.card:not(:last-child) {
    margin: 0 auto 2em auto;
}

.card-preview-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
    padding: 0;
    background-color: transparent;
}

.card-info {
    padding: 25px;
    background: linear-gradient(135deg, 
        rgba(29, 38, 59, 0.9) 0%, 
        rgba(126, 183, 127, 0.1) 30%, 
        rgba(240, 140, 174, 0.1) 70%, 
        rgba(29, 38, 59, 0.9) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 0 16px 16px;
    border-top: none;
}

.has-no-preview .card-info {
    border-radius: 10px;
}

.title-and-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.project-title {
    font-size: 1.2em;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #FFFFFF;
}

.project-links {
    display: flex;
    flex-wrap: nowrap;
}

.project-links a i {
    padding: 5px;
}

.project-links a i {
    color: #F08CAE;
    font-size: 1.2em;
    transition: all 0.2s ease;
}

.project-links a i:hover {
    color: #7EB77F;
    transform: scale(1.1);
}

.project-links a:last-child {
    margin-left: 5px;
}

.project-skills {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(126, 183, 127, 0.5);
}

.project-skills span {
    color: #7EB77F;
    font-weight: 700;
    font-size: 0.9em;
    letter-spacing: 0.05em;
}

.project-skills span:not(:last-child) {
    margin-right: 10px;
}

.project-description {
    color: #FFFFFF;
    line-height: 1.5;
}

@media only screen and (min-width: 768px) {
    .project-cards-container {
        column-count: 2;
        column-gap: 2em;
    }
}