137 lines
2.3 KiB
CSS

.single-project {
display: flex;
flex-direction: column;
width: 29%;
margin: 2rem auto;
overflow: hidden;
transition: all 0.3s ease-in-out;
border-radius: 12px;
background-color: #1E1E1E;
}
.single-project:hover {
transform: translateY(-5px);
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.single-project-top {
position: relative;
flex-shrink: 0;
width: 100%;
display: flex;
justify-content: center;
align-items: start;
overflow: hidden;
height: 210px;
}
.single-project-top img {
width: 100%;
height: auto;
display: block;
transition: opacity 0.3s ease-in-out;
opacity: 1;
object-fit: cover;
}
.single-project-bottom {
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 2rem 2rem 2rem 0;
align-items: flex-start;
height: 100%;
}
.single-project-bottom-header {
margin-bottom : 1em;
}
.single-project-title-wrapper{
display: flex;
margin-left: 2rem;
width: 100%;
}
.single-project-bottom-container {
margin-left: 2rem;
display: flex;
flex-direction: column;
justify-content: space-between;
height: 100%;
}
.single-project-line {
border-radius: 38px;
min-width: 1.5rem;
height: 0.25rem;
margin-top: 1.25rem;
margin-right: 1rem;
}
.color-blue {
background-color: #2556ff;
}
.color-green {
background-color: #36a837;
}
.color-purple {
background-color: #a646d9;
}
.color-red {
background-color: #ff0000;
}
.color-yellow {
background-color: #ffd427;
}
.single-project-title {
font-size: 2rem;
color: var(--title-color);
margin-top: 0;
margin-bottom: 0;
display: flex;
align-items: center;
gap: 1rem;
}
.single-project-description {
color: var(--text-color);
margin-bottom: 1.5rem;
text-align: justify;
}
.single-project-skills-list {
display: flex;
flex-wrap: wrap;
list-style: none;
padding: 0;
margin: 0;
gap: 8px;
}
.single-project-link {
color: var(--text-color);
text-decoration: none;
font-weight: 600;
margin-bottom : 0;
}
.single-project-link:hover {
cursor: pointer;
color: var(--title-color);
}
.single-project-years{
color : var(--text-color);
margin : 0;
margin-left : 2em;
font-weight: bold;
font-style: italic;
}