/*
Theme Name: Stewart Roden Motors
Theme URI: https://seedable.studio
Author: Seedable Studio
Author URI: https://seedable.studio
*/

@font-face {
    font-family: Arimo;
    src: url('assets/Arimo-VariableFont_wght.woff2');
}

html
{
    font-size: 20px; /* 1.25x base REM */
}

hr
{
    color: #C70F04;
    width: 25%;
}

body.home h1
{
    font-size: 3rem !important;
}

body
{
    font-family: Arimo, sans-serif;

    background-image: url('assets/background.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;

    min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
}

body.home .wp-site-blocks
{
    display: flex;
    align-items: center;
    justify-content: center;    

    min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
}

body.home .wp-block-cover
{
    width: 90vw;
    margin: 0 auto;
    padding: 0;

    display: flex;
    align-items: stretch;

    background-color: white;

    border-radius: .5rem;

    box-shadow: 0px 43px 95px 0px #0000001A,
        0px 172px 172px 0px #00000017,
        0px 388px 233px 0px #0000000D,
        0px 690px 250px 0px #00000003,
        0px 1078px 250px 0px #00000000;
}

body.home .wp-block-cover > span.wp-block-cover__background
{
    display: none;
}

body.home .wp-block-cover > .wp-block-cover__inner-container
{
    display: flex;
}

body.home .wp-block-cover > .wp-block-cover__inner-container > .wp-block-columns
{
    flex: 1;
    align-items: center;
    margin-bottom: 0;
}

body.home .wp-block-cover > .wp-block-cover__inner-container > .wp-block-columns > .wp-block-column:first-of-type
{
    /* padding: 5rem 6vh; */
    padding: 2.5rem 4rem;
}

body.home .wp-block-group.logos
{
    display: flex;
    justify-content: space-around;
    margin-bottom: 3rem;
}

body.home .wp-block-group.logos img
{
    height: clamp(5vw, 10vh, 10vh);
    width: auto;
}

body.home .wp-block-group.contact
{
    margin-top: 3rem;
    margin-bottom: 0;
    display: flex;
}

body.home .wp-block-group.contact .wp-block-columns
{
    margin-bottom: 0;
    display: flex;
    gap: inherit;
    justify-content: space-around;
}

body.home .wp-block-group.contact .wp-block-columns > .wp-block-column
{
    flex-basis: auto;
    flex-grow: inherit;
}

@media screen and (min-aspect-ratio: 16 / 9) and (min-width: 1920px)
{
    body.home .wp-block-cover
    {
        max-width: 1728px;
    }
}

@media screen and (orientation: portrait)
{
    body.home .wp-block-group.logos img
    {
        width: 100%;
        height: auto;
    }

    body.home h1
    {
        font-size: 2rem !important;
    }

    body.home .strapline
    {
        font-size: 0.75rem;
    }
}
