/* Sections for styling for project portion of my website*/
.portfolio-projects {
padding: 2em;
background-color: #cbcbcb;
}
.personal-info-text-design {
color: rgb(142 55 124);
font-family: Arial, Helvetica, sans-serif;
font-size: 1.2rem;
text-transform: uppercase;
}
.work-list {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
grid-gap: 40px;
margin-top: 50px;
}
.work {
border-radius: 10px;
overflow: hidden;
position: relative;
}
.work img {
border-radius: 10px;
overflow: hidden;
display: block;
width: 100%;
}
.layer {
width: 100%;
height: 100%;
background: linear-gradient(rgba(0, 0, 0, 0.6), #0f0f11);
border-radius: 10px;
position: absolute; /* Position relative to the parent .work */
left: 0;
bottom: 0;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
padding: 0 40px;
text-align: center;
gap: 1em;
}
.project-styling {
color: white;
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
}
/* Sections for styling for project portion of my website*/
.portfolio-projects {
padding: 2em;
background-color: #cbcbcb;
}
.personal-info-text-design {
color: rgb(142 55 124);
font-family: Arial, Helvetica, sans-serif;
font-size: 1.2rem;
text-transform: uppercase;
}
.work-list {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
grid-gap: 40px;
margin-top: 50px;
}
.work {
border-radius: 10px;
overflow: hidden;
position: relative;
}
.work img {
border-radius: 10px;
overflow: hidden;
display: block;
width: 100%;
}
.layer {
width: 100%;
height: 100%;
background: linear-gradient(rgba(0, 0, 0, 0.6), #0f0f11);
border-radius: 10px;
position: absolute; /* Position relative to the parent .work */
left: 0;
bottom: 0;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
padding: 0 40px;
text-align: center;
gap: 1em;
}
.project-styling {
color: white;
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
}