.projcard-container {
margin: 50px 0;
} .projcard-container,
.projcard-container * {
box-sizing: border-box;
}
.projcard-container {
margin-left: auto;
margin-right: auto;
width: 1000px;
}
.projcard {
position: relative;
width: 100%;
height: 300px;
margin-bottom: 40px;
border-radius: 10px;
background-color: #fff;
border: 2px solid #ddd;
font-size: 18px;
overflow: hidden;
cursor: pointer;
box-shadow: 0 4px 21px -12px rgba(0, 0, 0, .66);
transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.projcard:hover {
box-shadow: 0 34px 32px -33px rgba(0, 0, 0, .18);
transform: translate(0px, -3px);
}
.projcard::before {
content: "";
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-image: linear-gradient(-70deg, #424242, transparent 50%);
opacity: 0.07;
}
.projcard:nth-child(2n)::before {
background-image: linear-gradient(-250deg, #424242, transparent 50%);
}
.projcard-innerbox {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
.projcard-img {
position: absolute;
height: 300px;
width: 400px;
top: 0;
left: 0;
transition: transform 0.2s ease;
}
.projcard:nth-child(2n) .projcard-img {
left: initial;
right: 0;
}
.projcard:hover .projcard-img {
transform: scale(1.05) rotate(1deg);
}
.projcard:hover .projcard-bar {
width: 70px;
}
.projcard-textbox {
position: absolute;
top: 7%;
bottom: 7%;
left: 430px;
width: calc(100% - 470px);
font-size: 17px;
}
.projcard:nth-child(2n) .projcard-textbox {
left: initial;
right: 430px;
}
.projcard-textbox::before,
.projcard-textbox::after {
content: "";
position: absolute;
display: block;
background: #ff0000bb;
background: #fff;
top: -20%;
left: -55px;
height: 140%;
width: 60px;
transform: rotate(8deg);
}
.projcard:nth-child(2n) .projcard-textbox::before {
display: none;
}
.projcard-textbox::after {
display: none;
left: initial;
right: -55px;
}
.projcard:nth-child(2n) .projcard-textbox::after {
display: block;
}
.projcard-textbox * {
position: relative;
}
.projcard-title {
font-family: 'Voces', 'Open Sans', arial, sans-serif;
font-size: 24px;
}
.projcard-subtitle {
font-family: 'Voces', 'Open Sans', arial, sans-serif;
color: #888;
}
.projcard-bar {
left: -2px;
width: 50px;
height: 5px;
margin: 10px 0;
border-radius: 5px;
background-color: #424242;
transition: width 0.2s ease;
}
.projcard-blue .projcard-bar { background-color: #0088FF; }
.projcard-blue::before { background-image: linear-gradient(-70deg, #0088FF, transparent 50%); }
.projcard-blue:nth-child(2n)::before { background-image: linear-gradient(-250deg, #0088FF, transparent 50%); }
.projcard-red .projcard-bar { background-color: #D62F1F; }
.projcard-red::before { background-image: linear-gradient(-70deg, #D62F1F, transparent 50%); }
.projcard-red:nth-child(2n)::before { background-image: linear-gradient(-250deg, #D62F1F, transparent 50%); }
.projcard-green .projcard-bar { background-color: #40BD00; }
.projcard-green::before { background-image: linear-gradient(-70deg, #40BD00, transparent 50%); }
.projcard-green:nth-child(2n)::before { background-image: linear-gradient(-250deg, #40BD00, transparent 50%); }
.projcard-yellow .projcard-bar { background-color: #F5AF41; }
.projcard-yellow::before { background-image: linear-gradient(-70deg, #F5AF41, transparent 50%); }
.projcard-yellow:nth-child(2n)::before { background-image: linear-gradient(-250deg, #F5AF41, transparent 50%); }
.projcard-orange .projcard-bar { background-color: #FF5722; }
.projcard-orange::before { background-image: linear-gradient(-70deg, #FF5722, transparent 50%); }
.projcard-orange:nth-child(2n)::before { background-image: linear-gradient(-250deg, #FF5722, transparent 50%); }
.projcard-brown .projcard-bar { background-color: #C49863; }
.projcard-brown::before { background-image: linear-gradient(-70deg, #C49863, transparent 50%); }
.projcard-brown:nth-child(2n)::before { background-image: linear-gradient(-250deg, #C49863, transparent 50%); }
.projcard-grey .projcard-bar { background-color: #424242; }
.projcard-grey::before { background-image: linear-gradient(-70deg, #424242, transparent 50%); }
.projcard-grey:nth-child(2n)::before { background-image: linear-gradient(-250deg, #424242, transparent 50%); }
.projcard-customcolor .projcard-bar { background-color: var(--projcard-color); }
.projcard-customcolor::before { background-image: linear-gradient(-70deg, var(--projcard-color), transparent 50%); }
.projcard-customcolor:nth-child(2n)::before { background-image: linear-gradient(-250deg, var(--projcard-color), transparent 50%); }
.projcard-description {
z-index: 10;
font-size: 15px;
color: #424242;
height: 125px;
overflow: hidden;
text-overflow: ellipsis;
}
.projcard-tagbox {
position: absolute;
bottom: 3%;
font-size: 14px;
cursor: default;
user-select: none;
pointer-events: none;
}
.projcard-tag {
display: inline-block;
background: #E0E0E0;
color: #777;
border-radius: 3px 0 0 3px;
line-height: 26px;
padding: 0 10px 0 23px;
position: relative;
margin-right: 20px;
cursor: default;
user-select: none;
transition: color 0.2s;
}
.projcard-tag::before {
content: '';
position: absolute;
background: #fff;
border-radius: 10px;
box-shadow: inset 0 1px rgba(0, 0, 0, 0.25);
height: 6px;
left: 10px;
width: 6px;
top: 10px;
}
.projcard-tag::after {
content: '';
position: absolute;
border-bottom: 13px solid transparent;
border-left: 10px solid #E0E0E0;
border-top: 13px solid transparent;
right: -10px;
top: 0;
}.breakdance .section-background-video {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
overflow: hidden;
pointer-events:none;
}
.breakdance .section-background-video .section-youtube-wrapper,
.breakdance .section-background-video .section-vimeo-wrapper {
aspect-ratio: 16/9;
pointer-events: none;
position: absolute;
min-width: 100%;
min-height: 100%;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
.breakdance
.section-background-video
.section-youtube-wrapper
.section-background-iframe,
.breakdance .section-background-video .section-vimeo-wrapper iframe {
max-width: none;
}
.breakdance .section-background-video .section-vimeo-wrapper iframe {
width: 100%;
min-height: 100%;
}
.breakdance .section-background-video video,
.breakdance .section-background-video iframe {
pointer-events:none;
width: 100%;
height: 100%;
left:0;
top:0;
position: relative;
border: 0;
}
.breakdance .section-background-video > video {
object-fit: cover;
object-position: center center;
width: 100%;
height: 100%;
}
.breakdance .section-background-overlay {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
}
.breakdance .section-background-slideshow {
overflow: hidden;
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
z-index: auto;
padding: 0;
}
.breakdance .section-background-slideshow .swiper {
height: 100%;
z-index: 0;
}
.breakdance .section-background-slideshow .swiper-slide-item {
background-size: cover;
background-position: center;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
.breakdance .section-background-slideshow .swiper-wrapper {
z-index: 0;
}
@keyframes breakdance-section-gradient-x {
0% {
background-position: 0 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0 50%;
}
}
@keyframes breakdance-section-gradient-y {
0% {
background-position: 60% 0;
}
50% {
background-position: 40% 100%;
}
100% {
background-position: 60% 0;
}
}