@import url('https://fonts.googleapis.com/css?family=Work+Sans:300,600');

:root {
  --background: rgba(114, 159, 205);
}

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

body {
    margin: 5px;
    background: var(--background);
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    color: white;
}

.fadeImage {
    -webkit-animation: fadein 4s; /* Safari, Chrome and Opera > 12.1 */
       -moz-animation: fadein 4s; /* Firefox < 16 */
        -ms-animation: fadein 4s; /* Internet Explorer */
         -o-animation: fadein 4s; /* Opera < 12.1 */
            animation: fadein 4s;
    display: block;
    margin: 25px auto;
    width: 100% \9; /* IE hack */
    max-width: 100%;
}
.form-control{
  display: block;
  width: 100%;
  height: 43px;
  padding: 10px 15px;
  font-size: 15px;
  line-height: 1.42857143;
  color: #2c3e50;
  background-color: #ffffff;
  background-image: none;
  border: 1px solid #dce4ec;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
.form-group {
  margin-bottom: 15px;
}
@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.content {
  background-color: var(--background);
}

/* navigation styles start here */

header {
    text-align: center;
    background: black;
    z-index: 999;
    width: 100%;
    position: sticky;
}
h1,h3 {
    margin: 0;
}

h2 {
    text-align: center;
}


hr.star-light,
hr.star-primary {
    margin: 30px auto 10px;
    padding: 0;
    max-width: 250px;
    border: 0;
    border-top: solid 5px;
    text-align: center;
}

hr.star-light:after,
hr.star-primary:after {
    content: "\f005";
    display: inline-block;
    position: relative;
    top: -.5em;
    overflow: visible;
    z-index:100;
    padding: 0 .25em;
    font-family: FontAwesome;
    font-size: 2em;
}

hr.star-light {
    border-color: #fff;
}

hr.star-light:after {
    color: #fff;
    background-color: var(--background);;
}

hr.star-primary {
    border-color: #2c3e50;
}

hr.star-primary:after {
    color: #2c3e50;
    background-color: #fff;
}

.logo {
    align: left;
    color: white;
}

 .main-ul{
     margin-top: 10px;
     margin-bottom: 5px;
     display: block;
 }
.main-ul > h3 {
    text-decoration: underline;
}
.text-center {
  text-align: center;
}
.list-inline {
  padding-left: 0;
  list-style: none;
  margin-left: -5px;
}
.list-inline > li {
  display: inline-block;
  padding-left: 5px;
  padding-right: 5px;
}
 .ul-toggle{
     display:none;
     list-style-type:none;
     margin:0;
 }
 .list-toggle{
     display:none;
 }

.list-toggle:checked + label{
    color: red;
}
.list-toggle:checked + label + ul{
  display:block;
}


/* changed this from the tutorial video to
   allow it to gain focus, making it tabbable */
.nav-toggle {
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
}

.nav-toggle:focus ~ .nav-toggle-label {
  outline: 3px solid rgba(lightblue, .75);
}

.nav-toggle-label {
  position: absolute;
  top: 0;
  left: 0;
  margin-left: 1em;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  background: white;
  height: 2px;
  width: 2em;
  border-radius: 2px;
  position: relative;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: '';
  position: absolute;
}

.nav-toggle-label span::before {
  bottom: 7px;
}

.nav-toggle-label span::after {
  top: 7px;
}

nav {
  position: absolute;
  text-align: left;
  top: 100%;
  left: 0;
  background: var(--background);
  /*width: 100%;*/
  transform: scale(1, 0);
  transform-origin: top;
  transition: transform 400ms ease-in-out;
}

nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

nav li {
  margin-bottom: 1em;
  margin-right: 1em;
  margin-left: 1em;
}

nav a {
  color: white;
  text-decoration: none;
  /*font-size: 1.2rem;*/
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: underline;
  opacity: 0;
  transition: opacity 150ms ease-in-out;
}

nav a:hover {
  color: #7f7f7f;
}

.nav-toggle:checked ~ nav {
  transform: scale(1,1);
}

.nav-toggle:checked ~ nav a {
  opacity: 1;
  transition: opacity 250ms ease-in-out 250ms;
}

label {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 5px;
  font-weight: bold;
}
@media screen and (min-width: 800px) {
  .nav-toggle-label {
    display: none;
  }
  .two-columns{
      display: grid;
      grid-template-columns: 1fr 1fr;
  }
  .left-item{
      grid-column: 1/2;
      margin-right: 5px;
      font-size: 1.25em;
  }
  .right-item{
      grid-column: 2/3;
      margin-left: 5px;
      font-size: 1.25em;
  }
  .intro-text{
    grid-column: 2 / 3;
  }
.skills {
    text-align: center;
    font-size: 1.25em;
    font-weight: 300;
}
  main {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }
 .main-items{
   grid-column: 2/3;
   margin: 5px;
 }
  aside {
      grid-column: 3/4;
      margin-top: 200px;
      margin-left: 50px;
      margin-right: 50px;
      padding: 10px;
  }
  header {
    display: grid;
    grid-template-columns: 1fr auto minmax(600px, 3fr) 1fr;
  }
  .logo {
    grid-column: 2 / 3;
    color: white;
  }
  
  nav {
    // all: unset; /* this causes issues with Edge, since it's unsupported */
    
    /* the following lines are not from my video, but add Edge support */
    position: relative;
    text-align: left;
    transition: none;
    transform: scale(1,1);
    background: none;
    top: initial;
    left: initial;
    /* end Edge support stuff */
    
    grid-column: 3 / 4;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
  
  nav ul {
    display: flex;
  }
  
  nav li {
    margin-left: 3em;
    margin-bottom: 0;
  }
main li{
    font-size: 20px;
}
  nav a {
    opacity: 1;
    position: relative;
  }
  
  nav a::before {
    content: '';
    display: block;
    height: 5px;
    background: black;
    position: absolute;
    top: -.75em;
    left: 0;
    right: 0;
    transform: scale(0, 1);
    transition: transform ease-in-out 250ms;
  }
  
  nav a:hover::before {
    transform: scale(1,1);
  }
}

