:root {
  --primary: #114B5F;
  --secondary: #88D498;
  --tertiary: #C6DABF;
  --gray: rgb(210, 210, 210);
  --transparent: rgba(0, 0, 0, 0.1);
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0px;
  font-family: 'Ubuntu', sans-serif;
  color: #222;
}
p {
  line-height: 2em;
}

/* Nav Section */
#navbar {
  position: fixed;
  top: 0px;
  background-color: var(--primary);
  padding: 5px;
  width: 100%;
  z-index: 10;
}
#navbar ul {
  float: left;
}
#navbar ul a {
  text-decoration: none;
  color: white;
  transition: all .2s;
}
#navbar ul a:hover {
  color: var(--secondary);
  border: 2px;
}
.nav-item {
  display: inline;
  padding: 20px;
  font-size: 17px;
}

/* Welcome Section */
#welcome-section {
  position: relative;
  height: 100vh;
  text-align: center;
  background-color: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  overflow: hidden;
}
#text-wrap {
  background-color: rgba(255, 255, 255, 0);
  margin: auto;
}
#welcome-section h1 {
  padding: 0px;
  font-family: 'Hammersmith One', sans-serif;
  font-size: 50px;
}
#welcome-section p {
  font-family: 'Ubuntu', sans-serif;
  font-size: 20px;
}
#cover {
  animation-name: unveil;
  animation-duration: 4s;
  animation-fill-mode: forwards;
  background-color: var(--secondary);
  height: 65vh;
  width: 100vw;
  position: absolute;
  top: 50vh;
  left: 60vw;
  transform: translate(-50%, -50%) skewX(-20deg);
}
@keyframes unveil {
  100% {
    left: 145vw;
  }
}
#arrow {
  background-color: #88A5AF;
  height: 5px;
  width: 30px;
  border-radius: 2em;
  position: absolute;
  top: 90vh;
  left: 50vw;
  transform:  translateX(-100%) rotate(45deg);
  animation-name: point-down;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  z-index: 2;
}
#arrow::after {
  background-color: #88A5AF;
  content: "";
  height: 5px;
  width: 30px;
  border-radius: 2em;
  position: absolute;
  top: 0px;
  left: 0px;
  transform:  translate(45%, -255%) rotate(90deg);
} 
@keyframes point-down {
  0% {
    top: 90vh;
    opacity: 30%;
  }
  50% {
    top: 94vh;
    opacity: 100%;
  }
  100% {
    top: 90vh;
    opacity: 30%;
  }
}
#welcome-slant {
  margin-top: -100px;
  background-color: var(--primary);
  height: 200px;
  transform: skewY(3deg);
}

/* Experience Section */
#experience-grid {
  ggbackground: var(--transparent);
  max-width: 1100px;
  margin: -100px auto 100px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  grid-gap: 40px;
  position: relative;
  z-index: 1;
}
.internship {
  background: white;
  padding: 30px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  transition: all .2s ease-in-out;
}
.internship:hover {
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.25);
  transform: translateY(-10px);
  ggposition: relative;
  ggtop: -10px;
  ggmargin: -5px -5px 0px -5px;
  ggpadding: 25px 25px 0px 25px;
}
@keyframes highlight-internship {
  100% {
    background-color: grey;
  }
}
.logo {
  width: 50%;
  margin: 20px 0px 15px 0px;
}
.rockwell-logo {
  width: 70%;
  margin: 25px 0px 20px 0px;
}
.internship h3 {
  font-family: 'Hammersmith One', sans-serif;
  font-size: 20px;
  color: var(--primary);
}
.internship p {
  line-height: 1.6em;
  font-size: 18px;
}
hr {
  border: 1px solid var(--gray);
  border-bottom: rgba(0, 0, 0, 0);
}

/* Projects Section */
#projects {
  max-width: 1101px;
  margin: auto;
  padding: 50px 0px 100px 0px;
}
#projects h2 {
  font-family: 'Hammersmith One', sans-serif;
  font-size: 35px;
  text-align: center;
}
#projects-intro {
  font-size: 20px;
  text-indent: 50px;
  margin: 0px 100px 0px 100px;
}
#projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(357px, 1fr));
  grid-template-rows: 400px 200px;
  grid-gap: 15px;
  margin-top: 50px;
}
.project-tile {
  background-color: var(--transparent);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
#skymonger {
  grid-column: 1 / 3;
}
.project-image {
  width: auto;
  max-width: 100%;
  height: auto;
  ggmax-height: 400px;
  border-radius: 8px;
  filter: brightness(.75);
  transition: all ease-in-out .3s;
}
#hololens-image {
  ggheight: 100%;
}
.project-image:hover {
  filter: brightness(.25);
}
.project-description {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 80%;
  color: white;
  line-height: 1.6em;
  z-index: 1;
}
.project-description h3 {
  font-family: 'Hammersmith One', sans-serif;
  font-size: 28px;
}
.project-description p {
  line-height: 1.6em;
}
/*.project-cover {
  background-color: rgba(0, 0, 0, 0);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0%;
  left: 0%;
  z-index: 2;
}
.project-cover:hover {

}*/
#skymonger-description {
  width: 60%;
}


/* Footer Section */
#footer-slant {
  margin-bottom: -50px;
  height: 100px;
  background-color: var(--tertiary);
  transform: skewY(-1.5deg);
}
footer {
  background-color: var(--tertiary);
  height: 160px;
}
footer ul {
  padding-top: 50px;
  text-align: center;
}
footer ul li {
  display: inline;
  font-size: 18px;
}
footer a {
  text-decoration: none;
  color: var(--primary);
  padding: 10px 20px 10px 20px;
  margin: 0px 10px 0px 10px;
  border: 2px solid var(--primary);
  border-radius: 2em;
  transition: all .2s ease-in-out;
}
footer a:hover {
  background-color: var(--primary);
  color: white;
}

/* Miscellaneous
/*@media (max-width: 700px) {
  #navbar ul {
    float: none;
  }
  #navbar ul a {
    display: block;
    text-align: center;
  }
}*/
@media (max-width: 1200px) {
  #experience-grid {
    width: 720px;
  }
  #projects-grid {
    padding: 0px 50px 0px 50px;
  }
}
@media (max-width: 1440px) and (min-height: 1700px) {
  .nav-item {
    font-size: 30px;
  }
  #welcome-section h1 {
    font-size: 60px;
  }
  #welcome-section p {
    font-size: 30px;
  }
  #experience-grid {
    width: 340px;
    grid-template-columns: 1fr;
    width: 90%;
  }
  .internship h3 {
    font-size: 30px;
  }
  .internship p {
    font-size: 25px;
  }
  #projects-grid {
    grid-template-rows: auto;
    grid-template-columns: 1fr;
    padding: 0px 30px 0px 30px;
  }
  .project-description h3 {
    font-size: 40px;
  }
  .project-description p {
    font-size: 25px;
  }
  #skymonger {
    grid-column: 1 / 2;
  }
}