/* Hero Section */
.hero{
    position: relative;
    height: 50svh;
    width: 100%;
}
.hero img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.hero h1{
    position: absolute;
    bottom: 1em;
    left: 2em;
    line-height: 1em;
    color: var(--white);
    text-shadow: 1px 1px var(--black);
}

section{
    scroll-margin-top: 6em;
}

#quote{
    width: min(1100px, 85%);
    font-size: 1.2em;
    font-weight: 300;
    margin-block: 7em;
}

#quote>div{
    font-size: 5em;
    color: var(--grey);
    line-height: 0.2em;
    margin: 0;
}

#quote>p{
    margin-left: 3em;
    font-weight: 500;
}

.full-bar{
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    margin-bottom: 0;
}

#definition{
    background-color: var(--grey);
    padding: 3em 5%;
    margin-top: 0;
}

#definition>h2{
    margin-block: 0 5%;
}

#accreditation>h2{
    margin: 1em 2em;
}

#accreditation>div{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 5vw;
}

#accreditation>div img{
    flex-wrap: 1 1 50%;
    width: 30vw;
    aspect-ratio: 5/4;
    object-fit: contain;
    padding: 0 5vw;
}

#actions>article{
    padding: 1em 5%;
}

.bar{
    position: relative;
}

.bar>article{
    box-sizing: border-box;
    align-content: center;
    background-color: var(--grey);
    padding: 5em 10%;
}

.bar>picture{
    position: absolute;
    bottom: -15%;
    right: 5%;
    width: 40%;
    height: 60%;
    max-height: 170px;
    filter: drop-shadow(0.5em 0.5em 0.5em var(--shadow-2));
}

.bar>picture>img{
    height: 100%;
    width: 100%;
    border-radius: 1em;
    object-fit: cover;
}

@media (min-width: 761px){
    /* Hero Section */
    .hero{
        height: 70svh;
    }

    .full-bar{
        aspect-ratio: 5/2;
    }

    #definition{
        padding: 3em;
    }

    #accreditation>div img{
        width: 20vw;
    }

    #actions{
        display: flex;
    }

    #actions>article{
        flex: 1 1 50%;
        padding: 0 3vw;
    }

    .bar{
        display: flex;
        height: 60svh;
    }

    .bar>article{
        flex: 1 1 50%;
        padding: 3em;
    }

    .bar>picture{
        position: static;
        flex: 1 1 50%;
        height: 100%;
        width: 100%;
        max-height: 100%;
        filter: none;
    }

    .bar>picture>img{
        border-radius: 0;
    }
}

@media (min-width: 1166px){
    /* Hero Section */
    .hero{
        height: 80svh;
    }

    section{
        scroll-margin-top: 6em;
        font-size: 21px;
    }

    .full-bar{
        aspect-ratio: 16/5;
    }

    #definition{
        padding: 3em 0;
    }

    #definition>*{
        max-width: 1250px;
        padding-inline: 1rem;
        margin: 0 auto 0.5em auto;
    }

    #accreditation>h2{
        max-width: 1250px;
        padding-inline: 1rem;
        margin: 1em auto;
    }

    #accreditation>div img{
        width: 10em;
    }

    #actions{
        display: flex;
    }

    #actions>article{
        padding: 0 3em;
    }

    .bar{
        height: 70svh;
    }

    .bar>article{
        flex: 1 1 40%;
    }

    .bar>picture{
        flex: 1 1 60%;
    }
}