

*,
*::before,
*::after {
  box-sizing: border-box;
}

.clearfix {
  clear: both;
}

.clearfix::before,
.clearfix::after {
  display: block;
  content: "";
  clear: both;
}

body {
  margin: 0;
  font-family: sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  font-family: 'Raleway', sans-serif;
  color: #323232;
}

.story {
  margin: 1rem;
}

h1 {
  font-family: 'Josefin Slab', serif;
  font-size: 3.5rem;
  padding-top: 5rem;
  margin-bottom: 0;
}

small {
  margin: 2rem;
  padding-top: 2rem;
}

.header-content {
  padding-top: .5rem;
  padding-left: 2.5rem;
  background-image: url("../images/header-new.png");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  color: white;
  width: 100%;
  height: 50vh;

}

.img-size {
  width: 100%;
}

/* navigation styles start here */

header {
  background:rgb(125, 171, 209);
  text-align: center;
  position: fixed;
  z-index: 999;
  width: 100%;
}

.nav-toggle {
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
}

.nav-toggle:focus~.nav-toggle-label {
  outline: 3px solid rgba(125, 171, 209, 0.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 {
  padding: 1rem;
  position: absolute;
  text-align: left;
  top: 100%;
  left: 0;
  background:rgb(125, 171, 209);
  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-left: 1em;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 150ms ease-in-out;
}

nav a:hover {
  color: white;
}

.nav-toggle:checked~nav {
  transform: scale(1, 1);
}

.nav-toggle:checked~nav a {
  opacity: 1;
  transition: opacity 250ms ease-in-out 250ms;
}

@media screen and (min-width: 800px) {
  .nav-toggle-label {
    display: none;
  }

  header {
    display: grid;
    grid-template-columns: 1fr auto minmax(600px, 3fr);
  }

  .logo {
    padding-top: 10px;
    grid-column: 2 / 3;
  }

  nav {
    /* all: unset; */
    position: relative;
    text-align: left;
    transition: none;
    transform: scale(1, 1);
    background: none;
    top: initial;
    left: initial;
    /* end Edge support */

    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;
  }

  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);
  }
}

link styles a:link,
a:visited,
a:focus,
a:hover,
a:active {
  color: #323232;
}

/* target nav bar links to force a padding */
:target {
  display: block;
  position: relative;
  top: -5rem;
  visibility: hidden;
}

.link-btn,
.footer-button {
  display: inline-block;
  margin: 0;
  padding: 2rem 1rem;
  padding-top: .5rem;
  background-color: #ccc;
  border-radius: 0.25rem;
  font-size: 1rem;
  font-family: sans-serif;
  line-height: 2rem;
  text-decoration: none;
  height: 3rem;
  align-self: center;
  text-align: center;
  color: black;
}

.music-btn{
 display: inline-block;
  margin: 0;
  padding: 2rem 1rem;
  padding-top: .5rem;
  background-color: #ccc;
  border-radius: 0.25rem;
  font-size: 1rem;
  font-family: sans-serif;
  line-height: 2rem;
  text-decoration: none;
  height: 3rem;
  align-self: center;
  text-align: center;
  color: black;
  width:15rem;
}

.music-btn:hover,
.link-btn:hover {
  background-color: #7DABD1;
}

.music-link-text {
  padding-right: 1rem;
}

.layer-fixed {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 32px;
}

.container-padding {
  padding: 32px 0;
}

.container-color {
  background-color: #535753;
}

.center-text {
  text-align: center;
}

.change-text-color {
  color: white;
}

.img-center {
  text-align: center;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

.img-padding {
  padding-right: 1rem;
}

.contact-form {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
}

.center-info {
  max-width: 1000px;
  margin: 0 auto;
}

.interests {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

.interests-title {
  flex-basis: 100%;
}

.interest {
  padding: 0 1rem;
  text-align: center;
}

.resume-content {
  max-width: 50%;
  margin-left: 10vw;
}

img {
  max-width: 100%;
  height: auto;
}

.form-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 700px;
}

.grid-container {
  display: flex;
  justify-content: space-between;
}

.grid-music {
  display: flex;
  justify-content:space-between;

}

.grid-writings {
  display: grid;
  grid-template-columns: 40% 60%;
  justify-content: center;
  grid-column-gap: 1rem;
  padding: 1.5rem;
}

.grid-webapps {
  display: flex;
	flex-flow: row wrap;
	justify-content: space-evenly;
}

.grid-webapps-btn {
  flex: 0 0 30%;
  padding: 1rem;
}

.grid-buttons {
  display: grid;
  grid-template-columns: 50% 50%;
  grid-column-gap: 1rem;
  justify-content: center;
}

.grid-contact {
  display: grid;
  grid-template-columns: 50% 50%;
  grid-column-gap: 3rem;

}

.grid-resume-btns {
  display: grid;
  grid-template-columns: 50% 50%;
  justify-content: space-between;
  padding-left: 20px;
}


.style-label {
  font-size: 1.5rem;
}

.style-input {
  width: 500px;
  padding-top: 10px;
}

.style-message {
  height: 200px;
  margin-bottom: 1rem;
}

.text-center{
	text-align: center;
	 /* to make images responsive */
	 max-width: 100%;
	 height: auto;
}

footer {
  background-image: url("../images/grey-footer.png");
  background-size: cover;
  height: 20vh;
  text-align: center;
  padding-top: 4rem;
  color: black;
}

@media screen and (max-width: 40rem) {

  .grid-writings,
  .grid-container,
  .grid-resume-btns,
  .grid-content,
  .grid-webapps,
  .grid-webapps-btn,
  .grid-contact,
  .grid-buttons,
  .grid-music {
    display: grid;
    grid-template-columns: 100%;
  }

  .link-btn {
    margin-bottom: 1rem;
  }

  input[type=text],
  textarea {
    width: 45%;
  }

  input[type=email],
  textarea {
    width: 45%;
  }

}

@media screen and (min-width: 40rem) and (max-width: 60rem) {

  .grid-writings,
  .grid-container,
  .grid-resume-btns,
  .grid-content,
  .grid-webapps,
  .grid-webapps-btn,
  .grid-contact,
  .grid-buttons,
  .grid-music {
    display: grid;
    grid-template-columns: 50% 50%;
  }

  .link-btn {
    margin-bottom: 1rem;
  }

  input[type=text],
  textarea {
    width: 45%;
  }

  input[type=email],
  textarea {
    width: 45%;
  }

}
  