.projects-parralax-wrapper {
width: 90vw;
margin: 0 auto;
}
.projects-parralax-item {
position: sticky;
top: 0;
width: 100%;
height: 90vh;
overflow: hidden;
border-radius: 25px;
}
.projects-parralax-item img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
}
.projects-parralax-item-content {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
color: #fff;
padding: 5%;
z-index: 1;
}
.projects-parralax-item-title {
font-size: clamp(1.3821rem, 5.67vw, 6.3788rem);
font-weight: 500;
line-height: 1;
max-width:40%;
}
.projects-parralax-component .tag-item {
font-size: clamp(0.75rem, 1vw, 1.125rem);
font-weight: 400;
line-height: 1.11;
width: 100%;
border-bottom: 0.0625rem solid #ffffff4d;
display: inline-block;
padding-bottom: 9px;
padding-top: 28px; text-transform: uppercase;
letter-spacing: 3px;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}
.work {
width: 25%;
}
.view-project-circle {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
opacity: 0; background: rgba(255, 255, 255, 0.14);
-webkit-backdrop-filter: blur(20px) saturate(180%);
backdrop-filter: blur(20px) saturate(180%);
border: 1px solid rgba(255, 255, 255, 0.22);
box-shadow: 0 12px 34px -12px rgba(0, 0, 0, 0.6);
border-radius: 100%;
display: flex;
flex-direction: column;
justify-content: center;
transition: background 0.2s ease, opacity 0.2s ease;
align-items: center;
min-width: 8vw;
max-width: 8vw;
min-height: 8vw;
max-height: 8vw;
color: var(--white);
letter-spacing: 0.14vw;
text-transform: uppercase;
font-size: clamp(0.75rem, 1vw, 1.125rem);
font-weight: 400;
line-height: 1.11;
padding: 40px;
text-align: center;
}
@media (hover: hover) and (pointer: fine) {
.view-project-circle:hover {
background-color: var(--white);
color: var(--black);
transition: background 0.2s ease, opacity 0.2s ease;
}
.projects-parralax-item:hover .view-project-circle {
opacity: 1;
transition: opacity 0.2s ease, background 0.2s ease;
}
} @media (hover: none) {
.view-project-circle {
opacity: 1;
}
}
.projects-parralax-item-content .work {
margin-left: auto;
}
@media screen and (max-width: 992px) {
.view-project-circle {
display: none;
}
.projects-parralax-wrapper {
width: 90vw;
}
.projects-parralax-item {
height: 70vh;
}
.projects-parralax-item-title {
font-size: 4rem;
line-height: 1;
}
.projects-parralax-component .tag-item {
font-size: 0.9rem;
line-height: 1rem;
letter-spacing: 0.2vw;
padding-bottom: 0.5rem;
padding-top: 1rem;
}
.view-project-circle {
min-width: 20vw;
max-width: 20vw;
min-height: 20vw;
max-height: 20vw;
font-size: 3vw;
line-height: 3.33vw;
letter-spacing: 0.2vw;
padding: 20px;
}
}
@media (max-width: 576px) {
.projects-parralax-item {
background-color: white;
height: auto;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
margin-bottom: 4rem;
}
.projects-parralax-item-content {
position: relative;
background: white;
color: var(--black);
padding: 0;
}
.projects-parralax-component .tag-item {
border-color: var(--black);
color: var(--black);
}
.work {
width: 40%;
}
.projects-parralax-item-title {
font-size: 2rem;
}
.projects-parralax-item img {
border-radius: 25px;
height: 60vw!important;
}
}