website/components/Heros.css

48 lines
993 B
CSS

.components__heros {
height: calc(100dvh - 6rem);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: calc(2 * var(--_gap));
}
.components__heros__title {
font-size: 400%;
max-width: 800px;
text-wrap: balance;
text-align: center;
margin: 0;
}
.components__heros__subtitle {
font-size: large;
text-align: center;
text-wrap: balance;
max-width: 800px;
margin: 0;
}
.components__heros__cta {
text-decoration: none;
background-color: var(--_accent-color);
color: var(--sand-0);
width: fit-content;
height: fit-content;
padding: 1rem 2rem;
font-size: 150%;
font-family: var(--_font-family-accent);
border: var(--_border-size) solid var(--_accent-color);
transition: all var(--_transition-delay) ease;
}
.components__heros__cta:hover {
background-color: var(--lime-1);
color: var(--_accent-color);
box-shadow: 0 0 0 0 var(--_accent-color);
}
.components__heros__cta:active {
box-shadow: 0 0 180px 20px var(--_accent-color);
}