.project {
    /* background-color: brown; */
    display: flex; 
    flex-direction: column;
    padding: 0vw 2vh; 
    width: 100%;
    height: 100%;
    margin: auto auto 0 auto;
    justify-content: center; 
    align-items: center; 
}

.project-category {
    /* background-color: palevioletred; */
    padding: 1vw 1vh;
    display: flex;
    flex-direction: column;
    width: 90%;
    height: 100%;
    align-items: center;
}

.category {
    color: lightblue;
    /* background-color: red; */
    text-align: left;
    width: 90%;
    font-size: 1.2rem;
    font-weight: bold;
}

.project-row {
    /* background-color: greenyellow; */
    display: flex;
    flex-wrap: wrap;
    width: 90%;
    justify-content: flex-start;
}

.project-column {
    flex: 0 30%;
    flex-wrap: wrap;
    margin: 1vw 1vw 1vw 1vw;
    height: 24vh;
    /* border-bottom: 1px solid #eee; */
    background-color: #fdfcfb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 1vw;
    align-content: center;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid transparent; 
}

.project-name {
    /* padding: 0.52vw 2.60vh;  */
    /* background-color: red; */
    font-size: 1.25rem;
    color: #1a1a1a;
    padding: 2.5vw;
}

.project-description {
    /* background-color: aqua; */
    display: flex;
    flex-wrap: wrap;
    word-wrap: break-word;
    justify-items: center;
    align-items: center;
    font-size: .85vw;
    width: 100%;
    padding: .55vw;
    overflow: auto; 
    color: #1a1a1a;
}

.project-button {
    display: inline-block;
    padding: 1vw 1.5vw;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.project-button:hover {
    /* transform: translateY(-3px); */
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
    transition: opacity 0.4s ease;
    background: #1E90FF;
}

.project-column:hover {
    background-color: #f2f0eb;
}

.project-column:hover .project-name {
    color: black;
}

.project-column:hover .project-description {
    color: black;
}

.project-card {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
  }

.project-column.flipped .project-card {
    transform: rotateY(180deg);
  }

.front-card,
.back-card {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    top: 0;
    left: 0;
}

.front-card {
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
.back-card {
    background-color: #e0e0e0;
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
}
  

@media (max-width: 768px) {

.project {
    /* background-color: brown; */
    display: flex;
    padding: 1vw 2.60vw; 
    width: 100%;
    height: 100%;
    margin: auto auto 0 auto;
    justify-content: center; 
    align-items: center; 
}

.project-category {
    /* background-color: palevioletred; */
    padding: 1vw 1vh;
    display: flex;
    flex-direction: column;
    width: 90%;
    height: 100%;
    align-items: center;
}

.category {
    color: lightskyblue;;
    /* background-color: red; */
    text-align: left;
    width: 90%;
    font-size: 1.2rem;
    font-weight: bold;
}

.project-row {
    /* background-color: greenyellow; */
    display: flex;
    flex-wrap: wrap;
    width: 90%;
    justify-content: flex-start;
}

.project-column {
    flex: 80%;
    flex-wrap: wrap;
    margin: 1vw 1vw 1vw 1vw;
    height: 20vh;
    /* border-bottom: 1px solid #eee; */
    background-color: #fdfcfb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 4vw;
    align-content: center;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid transparent; 
}

.project-name {
    /* padding: 0.52vw 2.60vh;  */
    /* background-color: red; */
    font-size: 1.25rem;
    font-weight:bold ;
    color: #1a1a1a;
    padding: 3.5vw;
}

.project-description {
    /* background-color: aqua; */
    display: flex;
    flex-wrap: wrap;
    word-wrap: break-word;
    justify-items: center;
    align-items: center;
    height: 20vh;
    font-size: 2.8vw;
    width: 100%;
    padding: 1vw;
    overflow: auto; 
    color: #1a1a1a;
}


}