/* made with (half-asleep) love */
/* main structure */
header, main, footer{
    --horiz-padding: 100px;
    position: relative;
    width: 100%;
    
}

header{
    background-color: var(--theme-light);
    font-family: var(--font-impact);
    padding: 10px var(--horiz-padding);
    margin: 0;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    width: 100%;
    >.branding{
        display: flex;
        flex-direction: row;
        width: fit-content;
        img{
            margin-right: 1ch;
        }
    }
    >.tabs{
        /* float: right; */
        display: flex;
        flex-direction: row;
        align-items: center;
    }
}

main{
    background-color: var(--theme-primary);
    padding: 0;
    --min-w: 50%;
    >section{
        position: relative;
        background-color: var(--theme-light);
        width: calc(100% - 2 * var(--horiz-padding));
        margin: 0 auto;
        padding: .75em 2em;
        >p{
            text-indent: 4ch;
            &.min{
                max-width: var(--min-w);
                width: 60ch;
            }
        }
    }
    >section:first-of-type{
        padding-top: 1em;
    }
    .min-opp{
        max-width: 40%;
        width: 40%;
    }
    .oil-right{
        position: absolute;
        right: 2em;
        top: -1em;
        height: 150%;
        background-position: 50% 60%;
        background-size: cover;
    }
}
section.what-do-we-do{

}
div.services{
    ul.right>li{
        padding-right: 1ch;
    }
}
section.experience{
    padding-bottom: 2em;
}

section.portfolio{
    --prod-len: 30ch;
    margin-top: 0;
    >.products{
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(calc(-1.5em + var(--prod-len)), 2fr));
        >span{
            white-space: nowrap;
            padding: 5px;
            &::before{
                content: '◪';
                margin-left: 1.5em;
                margin-right: 1ch;
            }

        }
    }
}
#contact{
    position: relative;
    >div.interest{
        display: flex;
        flex-direction: row;
        align-items: center;
        text-indent: 0;
        hr{
            flex-grow: 1;
            height: var(--border-px);
            background-color: var(--theme-light);
        }
        >*{
            padding: 0 10px;
        }
        
    }
    .mail-add{

    }
    span.mail{
        &::before{
            content: '@gmail.com';
        }
    }
    

}

footer{
    padding-top: 2em;
    color: var(--theme-light);
    >.branding{
        float: left;
        display: flex;
        flex-direction: row;
        align-items: center;
        padding-bottom: 2em;
        img.logo{
            width: 250px;
            height: auto;
            border-right: 3px solid var(--theme-light);
        }
        >.title{
            margin-left: 1ch;
            height: 100%;
            >*{
                font-size: 1.5em;
            }
        }
    }
    >nav{
        text-align: right;
    }
}

/* specialty classes */
.wide{
    position: relative;
    display: flex;
    flex-direction: row;

    width: 100%;

    color: var(--theme-light);
    background-color: var(--theme-dark);

    padding: 15px 10px;
    z-index: 1;
    >.line-init{
        width: 60%;
        border-bottom: var(--border-px) solid var(--theme-light);
    }
    >div.line-cont{
        border: solid var(--theme-light);
        border-width: var(--border-px) 0 0 var(--border-px);
        flex-grow: 1;
    }
    >.off-right{
        position: absolute;
        width: 35%;
        min-width: min-content;
        text-align: right;
        right: 0;
        top: 40%;
        background-color: var(--theme-blue);
        padding: 0.5em;
    }
}
.form-container{
    display: flex;
    justify-content: flex-end;
    &:focus-within{
        outline: var(--theme-light) dashed;
        animation: var(--outline-flash);
    }
    form{
        display: flex;
        flex-direction: column;
        width: fit-content;
        width: 100%;
        label{
            p{
                margin-right: 1em;
                text-indent: 0;
            }
            display: flex;
            justify-content: space-between;
            width: 100%;
        }
    }
}   