/*-----Course homepage stylesheet-----*/


:root {
    --main-bg-color: #7e90c1;
    --main-container-color: #f2f1f1;
    --primary-type-color: #212427;
    --primary-header-color: #212b4e;
    --subheader-color: #363946;
    --subheader-color-inverse: #929abc;
    --primary-button-color: #25293d;
    --primary-link-color: #1c3a5a;
    --accent-color: #45bac4;
    --accent-color-rgb: rgba(69, 186, 196, 0.324);
    --footer-color: #3c486a;
}

html{
    box-sizing: border-box;
  }
  *,
  *:before,
  *:after {
    box-sizing: inherit;
  }

  /* #region utility ------ */

  .container {
    background-color: var(--main-container-color);
    width: 80vw;
    margin: 30px auto;
    padding: 10px 30px;
    max-width: 800px;
}

.container ol li {
    font-weight: bold;
}

  /* ---------responsive images--------- */

img {
    max-width:100%;
}

/* #endregion utility--------------- */

/* #region global--------- */
body {
    font-family: 'Merriweather', serif;
    font-weight: 300;
    font-size: 1em;
    color: #3D3D3D;
    background-color: var(--main-bg-color);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cg fill='%23eeeef7' fill-opacity='0.28'%3E%3Cpath d='M12 0h18v6h6v6h6v18h-6v6h-6v6H12v-6H6v-6H0V12h6V6h6V0zm12 6h-6v6h-6v6H6v6h6v6h6v6h6v-6h6v-6h6v-6h-6v-6h-6V6zm-6 12h6v6h-6v-6zm24 24h6v6h-6v-6z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
    margin: 0px;
    line-height: 1.7em;
}

h2 {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.7em;
    color: var(--subheader-color);
}

    h3 {
    font-weight: bold;
    font-size: 1.3em;
    }

    a:hover {
        text-decoration: none;
      }
      
/* #endregion global--------------- */

/* #region main css -------- */

main {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    margin: auto;
    gap: 20px;
    padding: 20px;
}

header.primary {
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0px;
    padding: 40px;
    color: #fff;
    top: 0px;
    right: 0px;
    left: 0px;
    bottom: 0px;
    position: relative;
    padding-top: 10px;
    background-color: #000;
    grid-column: 1 / 13;
    grid-row: 1 / 2;
}

header.primary::before {
    background-image: url(https://klmerritt44.github.io/mobile-web-3342/assets/img/bugs-eye-view.jpg);
    content: "";
    background-size: cover;
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    opacity: 0.4;
}

header.primary nav ul a{
    color: #fff;
}


header.primary h1 {
    font-family: 'Work Sans', sans-serif;
    font-size: 2.4em;
}

header.primary h2 {
    color: var(--subheader-color-inverse);
}

#header-content {
    width: 80vw;
    margin: 30px auto;
    padding: 10px 30px;
    position: relative;
}


footer.primary {
    background: var(--footer-color);
    color: var(--subheader-color-inverse);
    padding: 2em;
    text-align: center;
}

footer.primary a {
    text-decoration: none;
    color: var(--subheader-color-inverse);
}


/*---------------media queries-------------------*/

@media screen and (min-width:768px){
  
    header.primary{
      height: 90vh;
    }

    #content{
        display: grid;
        grid-column: 2 / 12;
        grid-row: 2 / 3;
        grid-template-columns: subgrid;
        grid-template-rows: subgrid;
        gap: 1em;
    }

    #project-reflection {
        grid-column: 7 / 13;
        grid-row: 2 / 3;
    }

    #course-reflection {
        grid-column: 1 / 6;
        grid-row: 2 / 3;
    }
}

@media screen and (min-width:1400px){
  
    header.primary{
      height: 80vh;
    }

   
}


/*---color codes-----

#E1E9F0 - light blue gray bg
#323954 - header font color
#3D3D3D - body font color

https://artisanthemes.io/best-google-fonts-color-combinations-feminine-website/

Ocean Color Theme Swatches in Hex
.Seychelle-Islands-1-hex { color: #FAEDDA; }
.Seychelle-Islands-2-hex { color: #AEE8CA; }
.Seychelle-Islands-3-hex { color: #6ACFC9; }
.Seychelle-Islands-4-hex { color: #26B6C6; }
.Seychelle-Islands-5-hex { color: #3C2F80; }

Color Theme Swatches in RGBA
.Seychelle-Islands-1-rgba { color: rgba(249, 237, 218, 1); }
.Seychelle-Islands-2-rgba { color: rgba(174, 232, 202, 1); }
.Seychelle-Islands-3-rgba { color: rgba(105, 207, 200, 1); }
.Seychelle-Islands-4-rgba { color: rgba(38, 182, 198, 1); }
.Seychelle-Islands-5-rgba { color: rgba(59, 47, 128, 1); }

Color Theme Swatches in HSLA
.Seychelle-Islands-1-hsla { color: hsla(35, 76, 91, 1); }
.Seychelle-Islands-2-hsla { color: hsla(148, 55, 79, 1); }
.Seychelle-Islands-3-hsla { color: hsla(176, 51, 61, 1); }
.Seychelle-Islands-4-hsla { color: hsla(185, 67, 46, 1); }
.Seychelle-Islands-5-hsla { color: hsla(249, 46, 34, 1); }

*/