/*
hi-fii.com
2024 waleed anbar
*/


body {
    margin:0;
}

/* Main Navigation */

nav {
    display:flex;
    flex-direction:row;
    justify-content: center;

    

}

div.navcontainer {
    width:960px;
    max-width:90vw;
    height:60px;
    display:flex;
    align-items:center;

    z-index:100;
}

#nav-home img {
    width:30px;
}

ul.navbar {

    list-style: none;
    position: relative;
    display: flex;
    flex-direction:row;

    align-items: center;

    padding:0;
    margin:0;
    
}

.navmobile {
    display:none;
}


.navitem {
    margin-left:50px;
    height:60px;
    align-content: center;
}

div#nav-contact {
    margin-left:auto;
}


input#check {
    display:none;
    
}

label.checkbtn {
    display:none;
}

/*-- style for all contact buttons */
.contactbutton {
    width:100px;
    border-radius:5px;
    justify-content: center;
    text-align:center;
    list-style: none;
    background-color: #990099;
    padding: 8px;
}

.contactbutton:hover {
    background-color: #e184cb;
}

.contactbutton a {
    color:white;

}

/* Layout and Breaks */

main {
    display:flex;
    flex-direction:column;
    align-items: center;
}

section {
    width:100%;
    display:flex;
    flex-direction:column;
    align-items:center;

}

section.shaded {
    background-color:#f9f8f7;    
}

/* 2-column stacking layout */
div.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-auto-columns: 1fr;
    
    grid-column-gap: 48px;   
    width:960px;
    max-width:90vw;

    padding:40px 0;

    /*border: 3px dotted green;*/
}

div.grid-2 > div {
    display:flex;
    flex-direction:column;
    position:relative;

    /*border:1px dotted yellow;*/
}

/* 1-column stacking layout */
div.grid-1 {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-auto-columns: 1fr;
     
    width:960px;
    max-width:90vw;
    padding: 40px 0;

    justify-items:center;
    /*border: 3px dotted orange;*/
}


/* SECTIONS---------------------------------------------------  */

/* HERO */

#hero-left {
    position:static;
    height:450px;
}

#hero-portrait {
    position:relative;
    height:375px;
    top:-100px;
    left:50px;
    z-index:-1;

    /*border:1px dotted blue;*/
}

#hero-portrait img {
    max-width: 100%;
    max-height: 100%;
    min-width: 335px;
    min-height: 335px;
}

#hero-greeting {
    position:relative;
    top:100px;
    left:-20px;

    /*border: 1px dotted red;*/
}

#hero-right {
    justify-content: center; /* vertically center the hero message on the right */
}

#hero-right ul {
    list-style: none;
    display:flex;
    align-items: center;
    gap:10px;
    padding:0;
}

/* METHODS  */

#method-diagram {
    position:relative;
    top:-40px;
}

/* JUMP  */

#readyprompt {
    text-align:right; 
    margin:0;
}

/* CASE STUDIES */

#clientlogos {
    list-style: none;
    display:flex;
    flex-direction:row;  
    flex-wrap:wrap;
    justify-content:center;
}

#clientlogos li {
    padding:20px 60px;]
}

#clientlogos img {
    max-height:40px;
}


/* FORM */

#formheader {
    width:50%;
    text-align:center;
}

#formwrapper {
    width:325px;
    max-width:90vw;

}

form {
    width:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
}

input {
    width:100%;
    display:block;
    margin:10px 0;
    height:2em;
    background-color:#e5e0db;
    border:none;
    border-radius: 4px;
    padding:8px;
}

div#optin {
    display:flex;
}

div#optin input {
    width:20px;
    max-width: 20px; 
    margin-right:20px;
    accent-color:#00523c;
}

button {
    padding:16px;
    margin:10px;
    border:none;
    border-radius: 5px;
    background-color: #990099;

    font-family:"Rubik", sans-serif;
    font-style:normal;
    font-weight:400;
    text-transform:uppercase;
    text-decoration: none;
    color:white;
    font-size:16px;
}



/* FOOTER */

footer {
    display:flex;
    flex-direction:row;
    justify-content: center;
}

ul.icons {
    list-style:none;
    display:flex;
    flex-direction:row;
    padding-left:0;
}

ul.icons li {
    padding-right:20px;
}


/* BREAKPOINTS -------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------------------- */
/* Small screen layout < 950px */


@media screen and (max-width:950px) {

    div.grid-2 {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    div.grid-2 > div {
        text-align: center;
    }    

    #hero-greeting {
        left:-100px;
    }

    #hero-right ul {
        justify-content:center;
    }

    #method-diagram {
        width:90vw;
        max-width:455px;
    }

    p#readyprompt {
        margin-bottom:20px;
    }

}

/* Mobile screen layout < 700px */

@media screen and (max-width:700px) {

    div#nav-contact {
        margin-right:0;
        z-index:101;
    }
    
   input#check {
        display:none;
    }

    label.checkbtn {
        display:block;
        font-size: 1.5rem;
        color: #00523c;
        cursor: pointer;
        padding-right:20px;

        z-index:101;
    }


    label.checkbtn > i.fa-bars {
        display:inline;
    }

    label.checkbtn > i.fa-x {
        display:none;
    }

    ul.navbar {
        display:none;

    }

    li.navitem {
        margin-left:0;
    }

    #check:checked ~  ul.navbar { 
        display:block;
        position:absolute;
        top:0;
        left:0;
        padding-top:60px;
        padding-left:30px;

        width:100vw;
        height:1200px;

        background-color:white;
    }

    #check:checked ~ i.fa-bars {
        display:none;
    }

    #check:checked ~ i.fa-x {
        display:inline;
    }


}



/* Type */
/* -------------------------------------------------------------------------------------------------------- */

body, p, input {
    font-family: "DM Sans", sans-serif;
    font-style:normal;
    font-weight: 400;
    font-size: 1em;
    color: #1d1d1f;    
}

h1 {
    font-family: "Inter Tight", sans-serif;
    font-style: italic;
    font-weight:800;
    color:#00523c;
    font-size: 110px;
    margin:0;
    vertical-align:middle;    
}

.h1pretext {
    font-family: "Inter Tight", sans-serif;
    font-style: italic;
    font-weight:600;
    font-optical-sizing: auto;
    color:#82c99d;
    font-size: 36px;     
    vertical-align:middle;
}

h2 {
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-style:italic;
    font-size: 1.25em; 
    color: #bd0090;   
}

h2:after {
    content:" >"
}

h3 {
    font-family: "Inter Tight", sans-serif;
    font-style:normal;
    font-weight:800;
    font-optical-sizing: auto;
    color:#6cb49b;
    font-size: 1.25em;  
}

p.hero-statement {
    font-family: "DM Sans", sans-serif;
    font-style:italic;
    font-weight: 400;
    font-size: 30px;
    color: #006a65;
    margin:0 0 20px 0;
}    

p.summary {
    font-family: "Inter Tight", sans-serif;
    font-style:italic;
    font-weight:900;
    color:#00523c;
    font-size: 30px;
    margin-top:0;
}

p.fineprint {
    font-size:12px;
    font-style:italic;
}

ul.fa-ul {
    margin-left:30px;
    text-align:left;
}

ul.fa-ul li {
    margin-bottom:10px;
}

.navitem a {
    font-family:"Rubik", sans-serif;
    font-style:normal;
    font-weight:400;
    font-size:20px;
    text-transform: uppercase;
    text-decoration: none;
    color:#005940;
}

.learnmore a {
    font-family: "DM Sans", sans-serif;
    font-style:italic;
    font-weight: 400;
    font-size: 14px;
    text-decoration: none;
    color: #006a65;
    margin:0 0 20px 0;    
}

.contactbutton a {
    font-family:"Rubik", sans-serif;
    font-style:normal;
    font-weight:400;
    text-transform:uppercase;
    text-decoration: none;
    color:white;
    font-size:16px;
}




}

