/* Hero Section */
.hero{
    position: relative;
    height: 50svh;
    width: 100%;
}

.hero h1{
    position: absolute;
    bottom: 1em;
    left: 0.5em;
    color: var(--white);
    text-shadow: 1px 1px var(--black);
}

.hero picture img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.safety{
    padding-inline: 5%;
}

.properties{
    position: relative;
    display: flex;
    background-color: var(--grey);
    padding: 3em 0;
    margin: 5em 0 6em 0;
}

.properties picture{
    position: absolute;
    bottom: -3em;
    right: calc(50% - 25vw);
    max-width: 90vw;
    height: 50vw;
}

.properties.wide picture{
    width: 70%;
    right: 15%;
}

.properties img{
    height: 100%;
    border-radius: 1em;
    object-fit: cover;
    background-color: var(--grey);
    filter: drop-shadow(0.5em 0.5em 0.5em var(--shadow-2));
}

.properties .contain>img{
    object-fit: contain;
}

.properties article{
    padding: 0 2em calc(50vw - 5em) 2em;
}

.properties article ul li{
    width: 100%;
}

@media (min-width: 761px){
    /* Hero Section */
    .hero{
        height: 70svh;
    }

    .hero h1{
        left: 1em;
    }

    .properties .contain{
        width: auto;
    }

    .properties article{
        padding: 2em;
    }

    .properties picture{
        right: 5%;
        height: 30vw;
    }

    .properties.wide picture{
        right: 5%;
        width: auto;
    }

    .properties.narrow article ul li:nth-of-type(2),
    .properties.narrow article ul li:nth-of-type(3){
        width: 60%;
    }

    .properties.wide ul li:nth-of-type(3){
        width: 45%;
    }
}

@media (min-width: 900px){
    .properties.wide ul li:nth-of-type(2){
        width: 45%;
    }
}

@media (min-width: 1000px) {
    .properties.narrow article ul li{
        width: 60%;
    }
}

@media (min-width: 1166px){
    /* Hero Section */
    .hero{
        height: 80svh;
    }

    .hero h1{
        left: 2em;
    }

    .safety{
        max-width: 1250px;
        padding-inline: 1em;
    }

    .properties{
        align-items: stretch;
        padding: 0;
    }

    .properties>picture{
        position: static;
        aspect-ratio: 4/3;
        flex: 1 1 40%;
        height: auto;
    }

    .properties>picture>img{
        width: 100%;
        border-radius: 0;
        filter: none;
    }

    .properties article{
        flex: 1 1 60%;
        align-content: center;
        box-sizing: border-box;
        padding: 5em;
    }

    .properties.narrow article ul li:nth-last-of-type(2),
    .properties.narrow article ul li:nth-last-of-type(3),
    .properties.wide article ul li:nth-last-of-type(2),
    .properties.wide article ul li:nth-last-of-type(3){
        width: 100%;
    }
}