.ariane + .hero {
order: -1;
}
.hero {
position: relative;
z-index: 2;
width: 100vw;
height: 80vh;
max-height: 800px;
}
.hero::after {
content: '';
position: absolute;
bottom: -10%;
right: 10%;
width: 300px;
height: 300px;
background-image: url(//patrimoine.lamayenne.fr/robert-tatin/wp-content/themes/musees/images/logo-robert-tatin-signe-rouge.svg);
background-position: bottom;
background-size: contain;
background-repeat: no-repeat;
max-width: 25vw;
}
.hero__have__embleme::after {
display: none;
}
.hero__image {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
margin: 0;
}
.hero__image::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: var(--bgContrastImage);
}
.hero__image img {
position: absolute;
z-index: -1;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
.hero__embleme {
position: absolute;
top: 10%;
right: 100px;
width: 600px;
height: 100%;
}
.hero__embleme img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: contain;
object-position: bottom;
}
.hero h1 {
position: absolute;
z-index: 3;
top: 54px;
left: calc(50% + 20px);
width: 100%;
max-width: var(--maxwidth);
font-family: 'TypeType';
font-size: 165px;
font-weight: bold;
color: #fff;
line-height: 100%;
transform: translateX(-50%);
text-shadow: 0 3px 6px rgba(0,0,0,0.25);
text-transform: none;
}
@media only screen and (max-width: 1600px) {
.hero__embleme {
top: 10%;
right: 0;
width: 500px;
}
}
@media only screen and (max-width: 1400px) {
.hero {
max-height: 550px;
}
.hero h1 {
font-size: 120px;
}
}
@media only screen and (max-width: 1200px) {
.hero__embleme {
width: 300px;
}
}
@media only screen and (max-width: 800px) {
.hero {
max-height: 400px;
}
.hero h1 {
font-size: 80px;
}
}
@media only screen and (max-width: 550px) {
.hero h1 {
font-size: 56px;
}
.hero__embleme {
top: 10%;
width: 50%;
}
}