div,
span,
li,
a,
h1,
h2,
h3,
h4,
button {
  font-family: 'Work Sans', sans-serif;
}
.container {
  max-width: 910px;
  margin: auto;
}
@media screen and (max-width: 990px) {
  .container {
    margin: auto 6vw;
  }
}
html {
  background: #fff;
}
h2,
h3 {
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  font-weight: normal;
  font-size: 20px;
  color: #9fabf0;
}
h3 {
  color: #fff;
  font-size: 16px;
}
body {
  margin: 0;
  padding: 0;
  background: #000;
  font-size: 22px;
  font-family: 'Work Sans', sans-serif;
  overflow-x: hidden;
}
a {
  color: #490446;
  transition: 100ms;
}
a:hover {
  color: #9fabf0;
}
@keyframes icon-pulse {
  0% {
    font-size: 18px;
  }
  50% {
    font-size: 20px;
  }
  100% {
    font-size: 18px;
  }
}
.socials {
  float: right;
}
.socials a,
.socials .email-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0px 2px;
  height: 40px;
  width: 40px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.22);
  text-decoration: none;
}
.socials a > i,
.socials .email-btn > i {
  font-size: 18px;
  color: #fff;
  transition: 300ms;
  cursor: pointer;
}
.socials a:hover > i,
.socials .email-btn:hover > i {
  color: #9fabf0;
}
.socials .email-btn {
  position: relative;
}
.socials .email-btn .visible {
  opacity: 1;
  top: calc(100% + 12px);
  pointer-events: all;
}
.socials .email-btn .copy-email-wrap {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  display: inline-flex;
  align-items: center;
  background: #000;
  opacity: 0;
  color: #cbd2f7;
  border: 1px solid;
  border-radius: 2px;
  transition: 350ms;
  pointer-events: none;
}
@media screen and (max-width: 630px) {
  .socials .email-btn .copy-email-wrap {
    right: auto;
    left: 50%;
    transform: translateX(calc(-50% - 50px));
  }
}
.socials .email-btn .copy-email-wrap .email {
  position: relative;
  padding: 0 12px;
}
.socials .email-btn .copy-email-wrap .email .msg {
  position: absolute;
  top: calc(100% + 4px);
  left: 124px;
  color: #C2F8F1;
  font-size: 15px;
  opacity: 0;
  transition: 350ms;
}
.socials .email-btn .copy-email-wrap .email .msg.active {
  top: calc(100% + 24px);
  opacity: 1;
}
.socials .email-btn .copy-email-wrap i {
  padding: 12px;
  background: #222;
  border-left: 1px solid #777;
  font-size: 15px;
  cursor: pointer;
  transition: 200ms;
}
.socials .email-btn .copy-email-wrap i:hover {
  color: #9fabf0;
}
.socials .email-btn .copy-email-wrap.active {
  opacity: 1;
  top: calc(100% + 12px);
  pointer-events: all;
}
.socials .email-btn .copy-email-wrap.active .fa-thumbtack {
  background: #3f54d1;
}
.socials .email-btn:hover:after {
  content: '';
  width: 200px;
  height: 20px;
  position: absolute;
  top: 100%;
  right: 0;
}
.socials .email-btn:hover .copy-email-wrap {
  opacity: 1;
  top: calc(100% + 12px);
  pointer-events: all;
}
.texture {
  position: fixed;
  height: 100vh;
  width: 100vw;
  background-image: url('../images/texture3-prog.jpeg');
  background-attachment: fixed;
  background-size: cover;
  opacity: 1;
}
.texture-overlay {
  position: fixed;
  height: 100vh;
  width: 100vw;
  background: radial-gradient(rgba(46, 0, 52, 0.6), rgba(0, 0, 0, 0.84));
}
header {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-size: cover;
}
header nav {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  top: 0px;
  left: 0px;
  right: 0px;
  font-size: 16px;
  transition: 300ms;
  z-index: 1;
}
header nav#menu {
  transition: 600ms ease-in-out;
}
header nav#menu.sticky {
  background: #130415;
  box-shadow: 1px 1px 9px -4px #000;
  z-index: 10000;
}
@media screen and (max-width: 630px) {
  header nav#menu .site-nav {
    width: 100%;
    text-align: center;
  }
}
header nav#menu .site-nav a {
  display: inline-block;
  position: relative;
  margin: 14px 20px;
  padding-bottom: 3px;
  cursor: pointer;
  transition: 150ms;
  text-decoration: none;
  color: #fff;
}
header nav#menu .site-nav a:after {
  content: '';
  position: absolute;
  display: block;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  height: 4px;
  width: 0px;
  border-radius: 50px;
  background: linear-gradient(45deg, #9fabf0, #7384e9);
  transition: 300ms;
}
header nav#menu .site-nav a:hover,
header nav#menu .site-nav a.active {
  color: #9fabf0;
}
header nav#menu .site-nav a:hover:after,
header nav#menu .site-nav a.active:after {
  width: 100%;
  height: 3px;
}
@media screen and (max-width: 630px) {
  header nav .socials {
    display: none;
  }
}
header .hero-text {
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  transform: translateY(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-top: 45px;
  width: 80%;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  font-family: 'Work Sans', sans-serif;
  color: #fff;
  text-shadow: 1px 1px rgba(12, 50, 10, 0.92);
}
header .hero-text p {
  display: block;
  margin: 5px;
}
header .hero-text .name {
  color: #9fabf0;
}
header .hero-text button {
  padding: 11px 22px;
  margin: 20px 5px;
  color: #9fabf0;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 4px;
  border: 1px solid #9fabf0;
  font-family: 'Work Sans', sans-serif;
  font-size: 15px;
  outline: none;
  cursor: pointer;
  transition: 300ms;
}
header .hero-text button:hover {
  color: #cbd2f7;
  border-color: #cbd2f7;
  transform: translateY(-2px);
}
.skill {
  margin-top: 14px;
  background: linear-gradient(45deg, #1d265d, #5f668c);
  border-radius: 50px;
  z-index: 1;
}
.skill .innards {
  position: relative;
  display: inline-block;
  margin-top: 9px;
  margin: 1px;
  padding: 10px;
  width: 180px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 300;
  background: #240829;
  opacity: 0.9;
}
@media screen and (max-width: 990px) {
  .skill .innards {
    width: calc(100% - 22px);
    padding: 8px 10px;
  }
}
@media screen and (max-width: 630px) {
  .skill .innards {
    font-size: 14px;
  }
}
@media screen and (max-width: 415px) {
  .skill .innards {
    max-width: 90px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
[about] {
  position: relative;
  color: #fff;
}
.about {
  margin-top: -100px;
  padding: 180px 0px;
  text-align: center;
  line-height: 25px;
  font-size: 16px;
}
.about section.intro {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 10px;
}
@media screen and (max-width: 990px) {
  .about section.intro {
    flex-direction: column;
    padding-top: 0px;
  }
}
.about section.intro .me-pic {
  margin: 50px 0px;
  min-width: 300px;
  max-width: 300px;
  height: 300px;
  background-image: url('../images/me2.jpg');
  border-radius: 50%;
  background-size: 160%;
  background-position: -74px 330px;
  filter: hue-rotate(244deg);
}
@media screen and (max-width: 630px) {
  .about section.intro .me-pic {
    min-width: 250px;
    max-width: 250px;
    height: 250px;
    background-position: -60px 270px;
  }
}
.about section.intro p {
  margin-left: 80px;
  line-height: 30px;
  letter-spacing: 0.2px;
  font-weight: 300;
  text-align: left;
  font-size: 17px;
  opacity: 0.85;
}
@media screen and (max-width: 990px) {
  .about section.intro p {
    margin-left: 0px;
  }
}
.about section.intro p a {
  color: #9fabf0;
}
.about section.intro .socials {
  margin-top: 30px;
}
@media screen and (min-width: 630px) {
  .about section.intro .socials {
    display: none;
  }
}
.about section.intro .socials i {
  color: #9fabf0;
}
.about section.skills {
  padding-top: 80px;
}
@media screen and (max-width: 630px) {
  .about section.skills {
    padding-top: 110px;
  }
}
.about section.skills h3 {
  margin-bottom: 30px;
  letter-spacing: 0.5px;
}
.about section.skills .skill-container {
  display: grid;
  grid-template-columns: auto auto auto;
  grid-gap: 12px;
  justify-content: space-between;
  width: 100%;
}
@media screen and (max-width: 990px) {
  .about section.skills .skill-container {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.about section.skills .skill-container h2 {
  font-size: 16px;
  text-transform: uppercase;
  font-weight: normal;
}
.about section.skills .skill-container div {
  display: flex;
  flex-direction: column;
}
[portfolio] {
  position: relative;
  padding: 100px 0 0;
  z-index: 1;
}
[portfolio] h2 {
  margin-bottom: 70px;
}
[portfolio] .item-wrap {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
[portfolio] .item-wrap .item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 25px 0px;
  padding: 50px;
  min-width: calc(100% - 100px);
  width: calc(100% - 100px);
  font-family: 'Work Sans', sans-serif;
  font-size: 18px;
  border-radius: 4px;
  background: #240829;
  border: 1px solid #3a4bab;
  transition: 300ms;
}
@media screen and (max-width: 630px) {
  [portfolio] .item-wrap .item {
    padding: 30px 10px;
    margin: 15px 0px;
    min-width: calc(100% - 20px);
    width: calc(100% - 20px);
  }
}
[portfolio] .item-wrap .item .img-wrap {
  position: relative;
  grid-row: 1 / 6;
  grid-column: 1 / 2;
  align-self: center;
  margin-right: 50px;
  margin-bottom: 10px;
  width: calc(100% - 50px);
  max-width: 500px;
  overflow: hidden;
  border-radius: 4px;
}
@media screen and (max-width: 990px) {
  [portfolio] .item-wrap .item .img-wrap {
    grid-row: 5 / 7;
    grid-column: 1 / 3;
    width: 100%;
    text-align: center;
    margin: 0 auto 10px;
  }
}
[portfolio] .item-wrap .item .img-wrap .overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0px;
  right: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  transition: 300ms;
  color: #ff8679;
  text-decoration: none;
}
[portfolio] .item-wrap .item .img-wrap .overlay i {
  font-size: 0px;
  transition: 500ms;
  color: #9fabf0;
}
[portfolio] .item-wrap .item .img-wrap:hover .overlay {
  opacity: 1;
}
[portfolio] .item-wrap .item .img-wrap:hover .overlay i {
  font-size: 30px;
}
[portfolio] .item-wrap .item .img-wrap img {
  transition: 300ms;
  width: 100%;
  max-width: 500px;
  border-radius: 4px;
}
[portfolio] .item-wrap .item a.link {
  grid-row: 6 / 7;
  grid-column: 1 / 2;
  margin-right: 50px;
  text-decoration: none;
  margin-top: 10px;
  display: inline-block;
  font-size: 15px;
  text-align: center;
  color: #9fabf0;
}
@media screen and (max-width: 990px) {
  [portfolio] .item-wrap .item a.link {
    grid-row:  10 / 12;
    grid-column: 1 / 3;
    width: 100%;
  }
}
[portfolio] .item-wrap .item p {
  grid-row: 2 / 5;
  grid-column: 2 / 3;
  padding: 15px 0px;
  font-size: 0.85em;
  line-height: 1.7;
  color: #fff;
  opacity: 0.85;
  font-weight: 300;
}
@media screen and (max-width: 990px) {
  [portfolio] .item-wrap .item p {
    grid-row: 2 / 5;
    grid-column: 1 / 3;
    text-align: center;
  }
}
[portfolio] .item-wrap .item p i {
  margin: 0px 10px;
  font-size: 22px;
}
[portfolio] .item-wrap .item h4 {
  grid-row: 1 / 2;
  grid-column: 2 / 3;
  width: 100%;
  text-align: center;
  margin: 0;
  padding: 0px 0px 25px;
  font-size: 1em;
  font-weight: normal;
  letter-spacing: 1px;
  font-family: 'Work Sans', sans-serif;
  color: #fff;
  border-bottom: 1px solid #9fabf0;
}
@media screen and (max-width: 990px) {
  [portfolio] .item-wrap .item h4 {
    grid-row: 1 / 2;
    grid-column: 1 / 3;
  }
}
[portfolio] .item-wrap .item .tech {
  grid-row: 5 / 7;
  grid-column: 2 / 3;
  margin: 10px;
  font-size: 13px;
  text-align: center;
  line-height: 20px;
  color: #9fabf0;
}
@media screen and (max-width: 990px) {
  [portfolio] .item-wrap .item .tech {
    grid-row: 8 / 10;
    grid-column: 1 / 3;
  }
}
[portfolio] .item-wrap .item .tech i {
  margin-right: 5px;
  font-size: 14px;
  color: #555;
  font-weight: bold;
}
[portfolio] .item-wrap .item .tech span {
  display: inline-block;
  font-size: 13px;
  color: #fff;
}
[portfolio] .item-wrap .item .tech span.skill {
  margin: 5px;
}
[portfolio] .item-wrap .item .tech span.innards {
  padding: 6px 12px;
  width: auto;
  font-size: 14px;
}
[portfolio] .item-wrap .item .image {
  height: 300px;
  background-size: contain;
  margin: 20px;
  border: 1px solid #ccc;
  background-repeat: no-repeat;
  position: relative;
}
[contact] {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 90vh;
  width: 100%;
  font-size: 17px;
  color: #9fabf0;
}
[contact] .contact-email {
  position: relative;
  display: block;
  font-size: 24px;
  cursor: pointer;
  touch-action: unset;
}
[contact] .contact-email:after {
  content: '';
  position: absolute;
  left: 0;
  top: -28px;
  width: 100%;
  height: 30px;
}
[contact] .contact-email .msg {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  color: #cbd2f7;
  font-size: 16px;
  opacity: 0;
  transition: 250ms;
}
[contact] .contact-email .msg.clicked {
  color: #C2F8F1;
}
[contact] .contact-email:hover .msg {
  top: -30px;
  opacity: 1;
}
#back-to-top {
  position: fixed;
  bottom: -60px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 15px;
  text-align: center;
  color: #9fabf0;
  background: #000;
  border: 1px solid;
  border-radius: 4px;
  text-decoration: none;
  opacity: 0;
  transition: 600ms;
  z-index: 1000;
}
#back-to-top:hover {
  color: #5d71e6;
}
#back-to-top.active {
  opacity: 1;
  bottom: 10px;
}
