/* Global Start */

*,
*::after,
*::before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  outline: none;
  -webkit-touch-callout: none;
  /* iOS Safari */
  -webkit-user-select: none;
  /* Safari */
  /* Konqueror HTML */
  -moz-user-select: none;
  /* Firefox */
  -ms-user-select: none;
  /* Internet Explorer/Edge */
  user-select: none;
  /* Non-prefixed version, currently supported by Chrome and Opera */
  scroll-behavior: smooth;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  font-family: "Montserrat", sans-serif !important;
  margin: 0;
  background: #222 !important;
  color: #909090 !important;
}

.header {
  width: 100%;
  height: 60px;
  background: #222;
  color: #909090;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: fixed;
  z-index: 999;
  top: 0;
}

.dark-header {
  -webkit-transition: all 0.5s ease-in;
  -o-transition: all 0.5s ease-in;
  transition: all 0.5s ease-in;
  background: #ececec;
  color: #444;
}

.header-items {
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-left: auto;
}

.header-item {
  margin: auto 10px;
}

.link a {
  text-decoration: none;
  -webkit-transition: color 0.5s ease;
  -o-transition: color 0.5s ease;
  transition: color 0.5s ease;
}

.header-item a {
  cursor: pointer;
  color: #909090;
}

.dark-header .header-item a {
  color: #444;
}

.link a:hover {
  color: #02aab0;
}

.content-wrapper {
  width: 100%;
  height: 100%;
  margin-top: 60px;
}

.hero-wrapper {
  width: 100%;
  height: 100%;
  /* fallback for old browsers */
  height: calc(100% - 60px);
  position: relative;
  background: #02aab0;
  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #00cdac, #02aab0, #2196f3);
  /* Chrome 10-25, Safari 5.1-6 */
  background: -webkit-gradient(linear, left top, right top, from(#00cdac), color-stop(#02aab0), to(#2196f3));
  background: -webkit-linear-gradient(left, #00cdac, #02aab0, #2196f3);
  background: -o-linear-gradient(left, #00cdac, #02aab0, #2196f3);
  background: linear-gradient(to right, #00cdac, #02aab0, #2196f3);
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  background-size: 600% 600%;
  -webkit-animation: Gradient 15s ease infinite;
  animation: Gradient 15s ease infinite;
  padding: 20px;
  text-align: center;
  background-image: url(../assets/profile-pic.jpg);
  background-size: contain;
  color: #000;
}

.hero-wrapper:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: -webkit-gradient(linear, right top, left bottom, from(#002f4b), to(#dc4225));
  background-image: -webkit-linear-gradient(top right, #002f4b, #dc4225);
  background-image: -o-linear-gradient(top right, #002f4b, #dc4225);
  background-image: linear-gradient(to bottom left, #002f4b, #dc4225);
  opacity: .6;
}

#hero-name {
  display: inline-block;
  top: 30%;
  /* left: 40%;
  left: calc(50% - 125px); */
  left: 10%;
  position: absolute;
}

#hero-desc {
  display: inline-block;
  top: 50%;
  /* left: 45%; */
  left: 10%;
  position: absolute;
}

#hero-scroll {
  position: absolute;
  top: 85%;
  left: 45%;
  left: calc(50% - 50px);
  width: 100px;
  text-align: center;
  -webkit-animation: bounce 8s ease 2s infinite;
  animation: bounce 8s ease 2s infinite;
  font-weight: 900;
}

.body-wrapper {
  width: 100%;
  height: 50%;
  padding: 10px;
}

.info {
  text-align: center;
  max-width: 70%;
  margin: 50px auto 50px auto;
}

.flex-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-align: center;
}

.flex {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.languages,
.frameworks {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: space-evenly;
  -ms-flex-pack: space-evenly;
  justify-content: space-evenly;
}

.skill {
  width: 180px;
  height: 180px;
  border-radius: 6px;
  margin: 10px;
  padding: 20px;
  border: 1px solid #2e2e2e;
  background: #2e2e2e;
}

.skill span {
  display: inline-block;
  margin-top: 20px;
}

.skill svg,
.contact svg {
  -webkit-filter: drop-shadow(0 10px 15px #000);
  filter: drop-shadow(0 10px 15px #000);
}

.work-wrapper {
  margin-bottom: 50px;
}

.work {
  margin: 10px;
  width: 250px;
  height: 400px;
  border-radius: 6px;
  overflow: hidden;
  padding: 5px;
  border: 1px solid #2e2e2e;
  background: #2e2e2e;
}

.skill,
.work {
  -webkit-transition: all 0.7s ease-in;
  -o-transition: all 0.7s ease-in;
  transition: all 0.7s ease-in;
  -webkit-box-shadow: 0px 5px 38px rgba(0, 0, 0, 0.3), 0px 10px 12px rgba(0, 0, 0, 0.22);
          box-shadow: 0px 5px 38px rgba(0, 0, 0, 0.3), 0px 10px 12px rgba(0, 0, 0, 0.22);
}

.work-thumb {
  width: 100%;
  height: 50%;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.work-thumb img {
  width: 100%;
}

.work-title {
  margin: 10px;
  font-weight: 900;
}

.work-summary {
  font-size: 14px;
  padding: 10px;
  height: 25%;
}

.work-links {
  padding: 5px;
}

.tags {
  -ms-flex-preferred-size: 70%;
  flex-basis: 70%;
  border-right: 1px solid #222;
}

.tag {
  margin: 2px;
  border-radius: 6px;
  padding: 2px 5px;
  font-size: 10px;
  border: 1px solid #222;
  background: #222;
}

.links {
  -ms-flex-preferred-size: 30%;
  flex-basis: 30%;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.work-link a {
  color: #fff;
}

.contact-wrapper {
  text-align: center;
  margin: 0 -10px;
  padding: 30px 0;
  background: #2e2e2e;
}

.contact {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  height: 200px;
  margin: 1%;
}

@-webkit-keyframes Gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes Gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@-webkit-keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  40% {
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }

  60% {
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  40% {
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }

  60% {
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}

::-webkit-scrollbar-track {
  float: left;
  background: transparent;
}

::-webkit-scrollbar {
  width: 4px;
  background: #222;
}

::-webkit-scrollbar-thumb {
  background: #02aab0;
}

@media screen and (max-width: 768px) {
  .hero-wrapper {
    background-size: cover;
    background-repeat: no-repeat;
  }
}