28 lines
435 B
CSS
28 lines
435 B
CSS
.wrapper {
|
|
z-index: 0;
|
|
}
|
|
|
|
.picture {
|
|
visibility: visible;
|
|
opacity: 1;
|
|
transition: opacity 400ms ease-in-out 0s;
|
|
transform: translate(-50%, -50%) !important;
|
|
}
|
|
|
|
.heroImage {
|
|
object-fit: contain;
|
|
width: 100%;
|
|
height: auto;
|
|
max-height: 600px;
|
|
min-height: 100px;
|
|
object-fit: cover;
|
|
object-position: center;
|
|
aspect-ratio: 1/1;
|
|
}
|
|
|
|
@media screen and (min-width: 740px) {
|
|
.heroImage {
|
|
aspect-ratio: auto;
|
|
}
|
|
}
|