﻿


/**/
/* Globals Styles */
/**/

body {
    background: var(--clr-background);
    color: white;
}

* {
    font-family: var(--ff-sans-serif);
}

h1, h2, h3, h4 {
    font-family: var(--ff-title);
    letter-spacing: .05em;
    font-weight: bold;
    line-height: 1em;
}

h1 {
    font-size: 3rem;
}



/**/
/* Hero Section */
/**/

#hero {
    background: url(../img/ai-roto-hero-2.png);
    background-position: center;
    background-size: cover;

    --clr-fade: rgba(0,0,0,0.75);
    --clr-fade-2: rgba(0,0,0,0.5);
}

#hero .flow {
    padding: 0;
    display: flex;
    align-items: flex-start;
}

.hero__left-docker {
    position: relative;
    background-image: linear-gradient(90deg, var(--clr-fade), var(--clr-fade-2) 70%, transparent);
    width: auto;
    display: flex;
    flex-direction: column;
    gap: 1em;
    padding-block: var(--min-padding);
    padding-inline: var(--min-padding);
}

.hero__left-docker .vertical-spacer {
    height: 15rem;
}

.hero__left-docker .left-fade {
    position: absolute;
    top: 0;
    left: calc(100rem * -1);
    height: 100%;
    width: 100rem;
    background-color: var(--clr-fade);
}
 
.hero__buttons {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1em;
}

#hero p.subtitle {
    max-width: 55ch;
}



/**/
/* Vision */
/**/

.vision__container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2em;
    margin-top: var(--min-padding);
}

.vision__container p {
    align-self: flex-start;
    margin-top: var(--min-padding);
}

.vision__container > * {
    flex: 1 1 100%;
}

.vision__image {
}

.vision__image .img-wrapper {
}

.vision__image .img-wrapper img {
    object-fit: cover;
}



/**/
/* Why Rent This Machine */
/**/

.why-rent__container {
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
    margin-block: var(--min-padding);
    gap: 2rem;
}

.why-rent__container > * {
    flex: 1 1 50%;
}

.selling-point__container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.selling-point {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: var(--min-padding);
    flex: 1 1 auto;
}

.selling-point__image {
    width: 5rem;
    height: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.selling-point__image .image {
    width: 100%;
    height: 100%;
}

.selling-point .top {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.selling-point .top h3 {
    font-weight: normal;
    font-size: 2.25rem;
/*    margin-bottom: .5em;*/
    flex: 1;
    align-self: center;
}

.selling-point .bottom {
    display: flex;
}

.jobsite-analysis {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: var(--min-padding);
    padding: var(--min-padding);
}

.jobsite-analysis__writeup {
    display: flex;
    flex-direction: column;
    gap: 1rem;
/*    margin-bottom: var(--min-padding);*/
}

.jobsite-analysis__writeup .top {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.jobsite-analysis__writeup .top h2 {
    font-weight: normal;
    font-size: 2.25rem;
    align-self: center;
    flex: 1;
}

.jobsite-analysis__buttons {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
/*    min-width: 20rem;*/
}



/**/
/* Roto at a glance */
/**/

#at-a-glance {
    background-color: var(--clr-primary);
    position: relative;
}

#at-a-glance .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-position: center 60%;
    background-size: cover;
    mix-blend-mode: overlay;
    filter: saturate(0%) contrast(33%);
}

#at-a-glance .flow {
    display: flex;
    flex-direction: column;
    gap: 1em;
    position: relative;
}

.at-a-glance__title {
    display: flex;
    flex-direction: column;
    min-width: 18rem;
}

.at-a-glance__title h3 {
    font-size: 2rem;
}

.at-a-glance__container {
    display: flex;
    gap: 1rem;
/*    flex-wrap: wrap;*/
}

.at-a-glance__specifications {
    display: flex;
    flex-direction: column;
    gap: 1em;
    align-self: center;
}

.at-a-glance__specifications .specifications {
    display: flex;
/*    flex-wrap: wrap;*/
    flex-direction: column;
    gap: .5rem;
/*    background-color: var(--clr-primary-border);*/
/*    flex: 1 1 50%;*/
}

.at-a-glance__specifications .specifications > * {
    flex: 1 1 100%;
/*    background-color: var(--clr-primary);*/
    padding: 1em;
/*    max-width: 10rem;*/
}

#at-a-glance .notice {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#at-a-glance .notice p {
    text-align: center;
    align-self: center;
}

.at-a-glance__roto img {
    object-fit: cover;
    object-position: center;
}

.at-a-glance__roto {
/*    flex: 1 1 50%;*/
}



/**/
/* Gallery */
/**/

#project-gallery .flow {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.project-gallery__title {
    display: flex;
    align-self: stretch;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.project-gallery__title .section-title {
    flex: 1;
}

.project-gallery__videos {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 1em;
    margin-block: 1em;
}

.project-gallery__videos > * {
    flex: 1 1 33%;
}



/**/
/* Insurance / Safety */
/**/

.safety-insurance__container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.safety-insurance__container > * {
    flex: 1 1 100%;
}

.safety-insurance__writeup {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.safety-insurance__grid {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.safety-insurance__item {
    flex: 1 1 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem;
}

.safety-insurance__writeup .button {
}



/**/
/* Industries Served */
/**/

.industries-served__cards {
    margin-top: 1em ;
    display: flex;
    flex-wrap: wrap; 
    flex-direction: row;
    justify-content: center;
    gap: 1em;
}

.industries-served__cards .card {
    flex: 1 1 33%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: .5em 1em;
}



/**/
/* Request Quote */
/**/

#request-quote {
    position: relative;
    background-color: var(--clr-primary);
}

#request-quote .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-position: center 60%;
    background-size: cover;
    mix-blend-mode: overlay;
    filter: saturate(0%) contrast(33%);
}

#request-quote .flow {
    display: flex;
    flex-direction: column;
    position: relative;
    gap: 1em;
}

#request-quote .flow > * {
    flex: 1;
}

.request-quote__left {
    display: flex;
    flex-direction: column;    
}

.request-quote__left h2 {
    font-size: 3.5rem;
}

.request-quote__left h3 {
    color: var(--clr-highlight);
    font-weight: normal;
    font-size: 2rem;
}

.request-quote__right {
    display: flex;
    flex-direction: column;
    gap: 1em;
    align-items: flex-start;
}

.request-quote__right .button {
    align-self: stretch;
    max-width: 20rem;
}



/**/
/* Large Screens */
/**/

@media only screen and (min-width: 750px) {

    /**/
    /* Out Vision */
    /**/

    .vision__image {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }

    .vision__image .img-wrapper {
        position: absolute;
    }



    /**/
    /* Why Rent the Roto 50.35S */
    /**/

    .jobsite-analysis__buttons {
        min-width: 20rem;
    }



    /**/
    /* Roto 50.35S at a glance */
    /**/


    .at-a-glance__specifications .section-title {
        align-items: flex-start;
        text-align: start;
    }

    .at-a-glance__specifications .section-title h2 {
        text-align: start;
    }

    .at-a-glance__specifications .specifications {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .at-a-glance__specifications .specifications > * {
        flex: 1 1 calc(40% - 1em);
    }

    .at-a-glance__specifications .notice {
        flex-direction: row;
    }

    .at-a-glance__specifications .notice p {
        text-align: start;
        max-width: 30ch;
    }



    /**/
    /* Gallery */
    /**/

    .project-gallery__title {
        display: flex;
        flex-direction: row;
    }

    .project-gallery__videos > * {
        flex: 1;
    }



    /**/
    /* Safety / Insurance */
    /**/

    .safety-insurance__writeup .button {
        align-self: flex-start;
    }



    /**/
    /* Industries Served */
    /**/

    .industries-served__cards {
        flex-wrap: wrap;
        justify-content: center;
    }
 
    .industries-served__cards .card {
        flex: 1;
        min-width: 10rem;
        max-width: calc((100% / 6) - 1em);
    }



    /**/
    /* Request Quote */
    /**/

    .request-quote__right .button {
        min-width: 15rem;
        align-self: flex-start;
    }
}