@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@200;400&display=swap");

:root {
  --primaryColor: #fff;
  --navColor1: #2b1831;
  --navColor2: #6c308c;
  --navColor3: #8c3f30;
  --navColor4: #8AA743;
  --navColor5: #307E8C;
}

html {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #000;
  font-family: "Nunito", sans-serif;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    text-transform: uppercase;
}



/* --- Navigation Menu ------------------------------ */

/*Overlay*/
.overlay {
  position: fixed;
  z-index: 9;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  transform: translateX(-100vw);
}

.overlay-slide-right {
  transition: all 0.4s ease-in-out;
  transform: translateX(0);
}

.overlay-slide-left {
  transition: all 0.8s ease-in-out;
  transform: translateX(-100vw);
}

/*nav items*/
nav,
nav ul {
  height: 100vh;
  margin: 0;
  padding: 0;
}

nav ul {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  list-style: none;
}

nav ul li {
  height: 20%;
  overflow: hidden;
}

nav li a {
    position: relative;
    top: 45%;
    color: #fff;
    padding: 10px;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-decoration: none;
    display: block;
    text-align: center;
    transition: 0.3s ease-out;
}

nav li a:hover {
  transform: scale(1.4);
  color:#fff;
  font-weight: 700;
}

nav li a::before {
  content: "";
  width: 25vw;
  height: 3px;
  background-color: #fff;
  position: absolute;
  top: 47.5%;
  left: 0;
  opacity: 0;
  transition: 0.8s ease-out;
}

nav li a:hover::before {
  opacity: 1;
}

nav li:nth-of-type(1) {
  background-color: var(--navColor1);
}
nav li:nth-of-type(2) {
  background-color: var(--navColor2);
}
nav li:nth-of-type(3) {
  background-color: var(--navColor3);
}
nav li:nth-of-type(4) {
  background-color: var(--navColor4);
}
nav li:nth-of-type(5) {
  background-color: var(--navColor5);
}

/*Slide in animation delay*/
.slide-in-1 {
  animation: slide-in 0.4s linear 0.2s both;
}
.slide-in-2 {
  animation: slide-in 0.4s linear 0.4s both;
}
.slide-in-3 {
  animation: slide-in 0.4s linear 0.6s both;
}
.slide-in-4 {
  animation: slide-in 0.4s linear 0.8s both;
}
.slide-in-5 {
  animation: slide-in 0.4s linear 1s both;
}

@keyframes slide-in {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

/*Slide out animation delay*/
.slide-out-1 {
  animation: slide-out 0.3s linear 0.5s both;
}
.slide-out-2 {
  animation: slide-out 0.3s linear 0.4s both;
}
.slide-out-3 {
  animation: slide-out 0.3s linear 0.3s both;
}
.slide-out-4 {
  animation: slide-out 0.3s linear 0.2s both;
}
.slide-out-5 {
  animation: slide-out 0.3s linear 0.1s both;
}

@keyframes slide-out {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* --- Menu Bars ------------------------------------ */
.menu-bars {
  position: fixed;
  top: 1rem;
  right: 2rem;
  z-index: 10;
  display: inline;
  cursor: pointer;
}

.bar1,
.bar2,
.bar3 {
  width: 35px;
  height: 2px;
  background-color: #fff;
  margin: 8px 0;
  transition: 0.4s;
}

/* Rotate first bar */
.change .bar1 {
  transform: rotate(-45deg) translate(-7px, 8px);
}

/* Fade out the second bar */
.change .bar2 {
  opacity: 0;
}

/* Rotate last bar */
.change .bar3 {
  transform: rotate(45deg) translate(-6px, -8px);
}

/* --- Sections ------------------------------------ */

section {
  width: 100%;
  height: 100vh;
  min-height: 700px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primaryColor);
}

section#home {
  background-image: url("images/futureStageLights.jpeg");
  background-size: cover;
  background-position: center center;
}

section#home h1 {
    font-weight: 300;
    text-shadow: 2px -2px 10px #000;
    font-size: 3rem;
}

section#home p {
  padding: 1rem 2rem;
  border-radius: 1rem;
  font-size: 1.3rem;
  text-transform: none;
  background-color:rgba(38, 87, 95, 0.8);
  max-width: 960px;
}

section#home a {
  position: absolute;
  z-index: 2;
  top: 1.5rem;
  left: 1.5rem;
  text-decoration: none;
  font-size: 0.8rem;
  padding-bottom: 5px;
  color: var(--primaryColor);
  border-bottom: 1px solid var(--primaryColor);
}

section#about {
  background-color: var(--navColor2);
  text-transform: none;
  font-size: 1.2rem;
}

section#skills {
  background-color: var(--navColor3);
}

section#projects {
  background-color: var(--navColor4);
}

section#contact {
  background-color: var(--navColor5);
}

.websiteEx {
  text-decoration: none;
  list-style-type: none;
}

.contactLinks a {
  text-decoration: none;
}

#projects a {
  color: #6C308C;
  font-weight: 700;
}

#contact a {
  color: #3DA0B2;
}

#contact a:hover {
  color: #6C308C;
}

/*Form Styles*/
form {
    /* Add your styling here */
    margin: 20px;
    padding: 20px;
    border: 1px solid #ddd;
}

input, textarea {
    width: 100%;
    margin: 10px 0;
    padding: 8px;
}

/* CSS ANIMATION - May have to use JS for better results  */
.socialAnimation {
  position: relative;
  animation-name: socialIcons;
  animation-duration: 1s;
  animation-delay: 1s;
  opacity: 0.0;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in-out;
}

@keyframes socialIcons {
  0%   {top:50px;opacity: 0.0;}
  75% {top:-10px; opacity: 1;}
  100% {top:0px; opacity: 1;}
}

/* Media Query: Large Smartphone (Vertical) */
@media (max-width: 600px) {
  section#home a {
    top: 1rem;
    left: 1rem;
  }

  .menu-bars {
    top: 0.5rem;
    right: 1rem;
  }
}

@media (max-width: 809px) {
  p {
    font-size: .7em;
  }
}
@media (min-width: 810px) and (max-width: 991px){
  p {
    font-size: 1em;
  }
}
