:root {
  --color-medgray: #737373;
  --color-gray: #999999;
  --color-lightgray: #bfbfbf;
  --color-darkgray: #4d4d4d;
  --color-green23: #465e2c;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: box-border;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  text-align: center;
}

#navbar {
  background-color: var(--color-medgray);
  position: fixed;
  top: 0;
  width: 100%;
  height: 50px;
  z-index: 1;
}

#navbar ul {
  list-style: none;
  text-align: right;
}

#navbar li {
  display: inline-block;
  margin: 15px 25px;
}
@media screen and (max-width: 720px) {
  #navbar li {
    margin: 15px 10px;
  }
}

.nav-link {
  text-decoration: none;
  color: white;
  font-size: 1.1em;
  font-weight: bold;
  text-transform: uppercase;
  transition: color 400ms ease-out;
}
@media screen and (max-width: 720px) {
  .nav-link {
    font-size: 0.95em;
  }
}

.nav-link:hover {
  color: var(--color-green23);
}

nav a::after {
  content: '';
  display: block;
  height: 4px;
  background-color: black;
  position: relative;
  bottom: -7px;
  width: 0%;
  transition: all ease-in-out 200ms;
}

nav a:hover::after {
  width: 100%;
}

#border {
  height: 100px;
  width: 100%;
}

#welcome-section {
  animation: fadeIn 2s linear forwards;
}
@media screen and (min-width: 700px) {
  #welcome-section {
    min-height: 100vh;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
#welcome-section img {
  width: 100%;
  height: 100vh;
  opacity: 0.87;
  vertical-align: middle;
}
@media screen and (max-width: 700px) {
  #welcome-section img {
    margin: 100px 0px 0px 0px;
    height: 75vh;
  }
}

.name {
  position: absolute;
  top: 130px;
  left: 200px;
  font-size: 70px;
  color: white;
}
@media screen and (max-width: 820px) {
  .name {
    font-size: 50px;
    left: 100px;
  }
}
@media screen and (max-width: 645px) {
  .name {
    top: 120px;
    left: 50px;
    font-size: 35px;
  }
}
@media screen and (max-width: 550px) {
  .name {
    top: 130px;
    left: 50px;
    font-size: 25px;
  }
}

.info {
  position: absolute;
  top: 300px;
  left: 100px;
  font-size: 25px;
  color: white;
}
@media screen and (max-width: 820px) {
  .info {
    top: 260px;
    left: 68px;
    font-size: 15px;
  }
}
@media screen and (max-width: 645px) {
  .info {
    top: 200px;
    left: 25px;
    font-size: 10px;
  }
}

#about, #projects, #contact {
  display: inline-block;
  padding-top: 35px;
}

.title {
  background-image: url("https://res.cloudinary.com/dzsnl7ocm/image/upload/v1548206247/pexels-photo-1456301.jpg");
  color: white;
  font-size: 45px;
  margin-bottom: 15px;
  margin-top: 15px;
  padding-bottom: 7px;
  width: 100vw;
}
@media screen and (max-width: 550px) {
  .title {
    font-size: 35px;
  }
}

#description {
  color: var(--color-darkgray);
  margin-bottom: 15px;
}
@media screen and (max-width: 550px) {
  #description {
    font-size: 15px;
  }
}

#about div {
  display: inline-block;
  color: var(--color-darkgray);
  font-size: 20px;
  width: 75vw;
  margin-bottom: 20px;
}
@media screen and (max-width: 600px) {
  #about div {
    font-size: 15px;
    width: 90vw;
  }
}

#about ul {
  display: inline-block;
  background-color: var(--color-green23);
  width: 75vw;
  padding: 10px;
  text-align: left;
  box-shadow: 10px 6px 10px rgba(0, 0, 0, 0.2), 8px 6px 20px rgba(0, 0, 0, 0.19);
}
@media screen and (max-width: 550px) {
  #about ul {
    font-size: 14px;
    width: 90vw;
  }
}

#about li {
  line-height: 1.5em;
  float: left;
  display: inline;
  font-size: 20px;
  width: 33%;
  color: white;
}
@media screen and (max-width: 550px) {
  #about li {
    font-size: 14px;
  }
}

.bounce-up {
  opacity: 0;
  -moz-transition: all 0.6s ease-out;
  -webkit-transition: all 0.6s ease-out;
  -o-transition: all 0.6s ease-out;
  transition: all 0.6s ease-out;
  -moz-transform: translate3d(0px, 200px, 0px);
  -webkit-transform: translate3d(0px, 200px, 0px);
  -o-transform: translate(0px, 200px);
  -ms-transform: translate(0px, 200px);
  transform: translate3d(0px, 100, 0px);
}

.bounce-up.in-view {
  opacity: 1;
  -moz-transform: translate3d(0px, 0px, 0px);
  -webkit-transform: translate3d(0px, 0px, 0px);
  -o-transform: translate(0px, 0px);
  -ms-transform: translate(0px, 0px);
  transform: translate3d(0px, 0px, 0px);
}

.projSection {
  margin-bottom: 50px;
  position: relative;
}

.projSection:nth-child(odd) {
  background: var(--color-lightgray);
}

.projSection:nth-child(even) {
  background: white;
}

.greenHeading {
  color: var(--color-green23);
  margin: auto;
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 8px 0;
  font-size: 30px;
  width: 50vw;
  text-align: center;
  border-bottom: 4px solid var(--color-gray);
}
@media screen and (max-width: 550px) {
  .greenHeading {
    font-size: 25px;
    width: 95vw;
  }
}

.subHeading {
  color: white;
  margin-bottom: 10px;
}
@media screen and (max-width: 550px) {
  .subHeading {
    font-size: 15px;
  }
}

.animate-element {
  opacity: 0;
  position: relative;
}

.slide-left {
  opacity: 0;
  -moz-transition: all 0.6s linear;
  -webkit-transition: all 0.6s linear;
  -o-transition: all 0.6s linear;
  transition: all 0.6s linear;
  -moz-transform: translate3d(-300px, 0px, 0px);
  -webkit-transform: translate3d(-300px, 0px, 0px);
  -o-transform: translate(-300px, 0px);
  -ms-transform: translate(-300px, 0px);
  transform: translate3d(-300px, 0px, 0px);
}

.slide-right {
  opacity: 0;
  -moz-transition: all 0.6s linear;
  -webkit-transition: all 0.6s linear;
  -o-transition: all 0.6s linear;
  transition: all 0.6s linear;
  -moz-transform: translate3d(300px, 0px, 0px);
  -webkit-transform: translate3d(300px, 0px, 0px);
  -o-transform: translate(300px, 0px);
  -ms-transform: translate(300px, 0px);
  transform: translate3d(300px, 0px, 0px);
}

.project-tile.in-view {
  opacity: 1;
  -moz-transform: translate3d(0px, 0px, 0px);
  -webkit-transform: translate3d(0px, 0px, 0px);
  -o-transform: translate(0px, 0px);
  -ms-transform: translate(0px, 0px);
  transform: translate3d(0px, 0px, 0px);
}

.project-tile {
  display: inline-block;
  width: 300px;
  margin: 15px 50px;
  border-radius: 2px;
  text-decoration: none;
  position: relative;
  opacity: 1;
  transition: .8s ease;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2), 8px 6px 20px rgba(0, 0, 0, 0.19);
}
@media screen and (max-width: 565px) {
  .project-tile {
    margin: 25px 0px;
    width: 370px;
  }
}

.project-pic {
  display: block;
  width: 100%;
  height: 196px;
  transition: .4s ease;
}

.project-title {
  padding-top: 4px;
  padding-bottom: 6px;
  font-size: 18px;
  color: white;
  opacity: 1;
  transition: .4s ease;
  background-image: radial-gradient(#0d0d0d, var(--color-green23));
}

#projects a:hover .project-title {
  transform: scale(1.1);
}

#projects a:hover img {
  transform: scale(1.1);
}

.dropdown-content {
  opacity: 0;
  position: absolute;
  background-color: var(--color-darkgray);
  color: white;
  border-radius: 3px;
  min-width: 160px;
  top: 45%;
  left: 3px;
  transition: .7s ease;
  box-shadow: 3px 5px 8px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

#projects a:hover .dropdown-content {
  display: block;
  opacity: 1;
}

.desc {
  padding: 5px;
  text-align: center;
}

#contact ul {
  list-style: none;
  text-align: center;
}

#contact li {
  display: inline-block;
  margin: 15px 20px;
}
@media screen and (max-width: 565px) {
  #contact li {
    margin: 15px 15px;
    font-size: 10px;
  }
}

.icons {
  color: var(--color-gray);
}
.icons:hover {
  color: var(--color-green23);
  transform: scale(1.1);
}

footer {
  background-color: var(--color-medgray);
  width: 100%;
  height: 35px;
  margin-top: 40px;
}
footer p {
  text-align: right;
  color: white;
  padding-top: 5px;
  padding-right: 20px;
}