:root {
--card-header-height: 26rem;
}
.card-loading {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: var(--color-back);
display: flex;
justify-content: center;
align-items: center;
z-index: 99;
animation: hide-loading 0.5s linear forwards;
animation-delay: 2.5s;
& .svg-card-logo {
display: block;
width: 10rem;
height: 10rem;
}
}
path.path-logo {
stroke: var(--color-text);
stroke-width: 1px;
}
path.path-roof {
stroke-dashoffset: 336;
stroke-dasharray: 336;
animation: 2s stroke-fill ease-out forwards;
}
path.path-window {
stroke-dashoffset: 60;
stroke-dasharray: 60;
animation: 2s stroke-fill ease-out forwards;
}
@keyframes stroke-fill {
75% {
stroke-dashoffset: 0;
fill: transparent;
}
100% {
stroke-dashoffset: 0;
fill: var(--color-text);
}
}
@keyframes hide-loading {
0% {
transform: scale(1);
opacity: 1;
}
99% {
display: flex;
transform: scale(5);
opacity: 0;
}
100% {
transform: scale(5);
opacity: 0;
display: none;
z-index: -1;
pointer-events: none;
}
}
img.custom-logo {
display: block;
height: 2rem;
}
.person-card-header {
min-height: var(--card-header-height);
}
.site-header.header-card {
position: relative;
top: 0;
transform: translate(0);
opacity: 1;
animation: none;
border: 0.0625rem solid var(--color-gray-dark);
z-index: 1;
}
.container-card,
.container-card-header {
width: 100%;
max-width: 40rem;
padding: 0 1rem;
margin: 0 auto;
}
.container-borders {
border-right: 0.0625rem solid var(--color-gray-dark);
border-left: 0.0625rem solid var(--color-gray-dark);
}
.container-card-header {
padding: 0;
}
.grid-cards-two-columns {
grid-template-columns: 1fr 1fr;
}
h1.title-card {
font-size: clamp(2rem, calc(var(--index) * 2), 3rem);
font-weight: 600;
}
.card-content p {
margin-bottom: 0;
text-wrap: balance;
}
a.person-card-link {
padding: 0.75rem;
text-decoration: none;
display: flex;
gap: 1rem;
justify-content: space-between;
align-items: center;
font-size: 1.25rem;
font-weight: 500;
}
a.person-card-link.link-main {
background-color: var(--color-white-dirty);
color: var(--color-dark);
&:hover {
background-color: var(--color-white);
color: var(--color-black);
}
}
a.person-card-link.link-second {
background-color: var(--color-back);
color: var(--color-text-second);
&:visited {
background-color: var(--color-back);
color: var(--color-text-second);
}
&:hover {
background-color: var(--color-darky);
color: var(--color-text-main);
}
}
svg.contact-link-icon {
display: block;
width: 2.5rem;
height: 2.5rem;
}
ul.person-card-footer {
& > li:nth-of-type(odd) {
text-align: left;
}
& > li:nth-of-type(even) {
text-align: right;
}
}
.text-row-limit-5 {
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 5;
line-clamp: 5;
-webkit-box-orient: vertical;
}
.animated-white-link {
background: linear-gradient(
135deg,
var(--color-white-dirty) 45%,
var(--color-gray-light) 55%,
var(--color-white-dirty) 65%
);
background-size: 300%;
animation: back-animate 3s ease-out infinite;
}
.animated-white-link:hover {
background: var(--color-white);
animation: paused;
}
@keyframes back-animate {
from {
background-position-x: 100%;
}
to {
background-position-x: 0;
}
}
.animated-card-appear {
animation: card-appear 0.75s ease-out forwards;
animation-delay: 2.5s;
}
@keyframes card-appear {
from {
opacity: 0;
transform: scale(0.85);
}
to {
opacity: 1;
transform: scale(1);
}
}
@media screen and (max-width: 420px) {
:root {
--card-header-height: 22rem;
}
}