/* from suplied style guide*/
h1{
    font-size: 20px;
    font-family: Tahoma, sans-serif;
}

h2{
    font-size: 18px;
    font-family: Verdana, Geneva, sans-serif;
}

h3{
    font-size: 16px;
    font-family:  Arial, Helvetica, sans-serif;
}

h4{
    font-size: 14px;
    font-family:  Arial, Helvetica, sans-serif;
}

p{
    font-size: 14px;
    font-family:  Arial, Helvetica, sans-serif;
}

figcaption {
    font-size: 10px;
    font-family:  Arial, Helvetica, sans-serif;
}

a {
    font-size: 14px;
    text-decoration: underline;
}

a:hover {
    font-size: 14px;
}

/*end style guide */

/* Base Font Family and Size */
html{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

/* padding and border in total width of element */
* {
    box-sizing: border-box;
}

/*Body have two columns image column(left), content column(right)*/
body {
    display: grid;
    grid-template-columns: 20% auto;
}

/*left Column*/
aside {
    width: 100%;
    height: auto;
    background-image: url("/images/glassesweb.png");
    background-size: cover;
}


/*right column */
/* nothing here
#rightcolumn {}
*/

/* header has two columns */
header {
    display: grid;
    grid-template-columns: 20% auto;
}

/*header 1 column*/
header img {
    width: 100%;
}

/*header 2 column*/
/*headercontent is 2 columns and 2 rows, 2nd row is full width*/
/*1st row, 2nd column has 2 columns*/
#headercontent {
    display: grid;
    grid-template-columns: auto auto;
}

/*headercontent column 2: headercontentlocationcontact*/
#headercontentlocationcontact {

    display: grid;
    grid-template-columns: 50% 50%;
}

/*headercontent row 2: nav*/
nav {
    display: grid;
    grid-template-columns: 10% 10% 10% 10% 10% auto;
    grid-column: 1 / span 2;
    overflow: hidden;
    gap:5px;
    grid-template-rows: 30px;
}

nav a,
span {
    text-align: center;
    border-style: solid;
    border-width: medium;
    border-color: black;
    border-radius: 10%;
    background-color: #fca311;
}

nav a:hover {
    background-color: #E5E5E5;
    color: black;
}

nav a.active {
    background-color: #14213D;
    color: white;
}

/* not displaying mobile location in normal view*/
#locationmobile {
    display: none;
}

/*end of header*/


/*main has number of rows.
  the first row is split in two
  */
#main-row1{
    display: grid;
    grid-template-columns: 60% 35%;
    gap: 5px;
}

#servicespicture img{
    padding-top: 15px;
    width:100%;
}

footer {
    background-color: #fca311;
    text-align: center;
}

/* mobile stuff*/
@media (max-width: 1024px) {

    body{
        display: grid;
        grid-template-columns: auto;
    }

    aside,
    #servicespicture {
        display: none;
    }


    nav {
        display: grid;
        grid-template-columns: auto auto auto auto;
        grid-column: 1 / span 2;
        overflow: hidden;
        gap:5px;
    }

    nav #phonenumber{
        grid-column: 2 / span 3;
    }

    #headercontentlocationcontact #contact {
        display: none;
    }

    #locationdesktop {
        display: none;
    }

    #headercontentblurb{
        grid-column: 1 / span 2;
    }

    
    #main-row1{
        display: grid;
        grid-template-columns: 100%;
    }
}