@charset "UTF-8";

/*BASE --------------------------*/
* {
  font-size: 15px;
  font-family: "Roboto", sans-serif;
}

h1 {
  font-size: 1rem;
  text-align: center;
  color: #2b1569;
  text-transform: uppercase;
  display: inline-flex;
}

h2 {
  font-size: 0.3rem;
  text-align: center;
  color: #6163e4;
  text-transform: uppercase;
  display: inline-flex;
}


#contact-title,
#about-title,
#skills-title,
#portfolio-title {
  color: black;
  padding-top: 50px;
  padding-bottom: 20px;
}

/*HEADER AND NAV --------------------------*/
header {
  background: url("../images/hong-kong-g4e52ea28d_1920.jpg");
  padding-bottom: 2em;
  background-size: cover;
  z-index: 1;
  position: relative;
}

.name-div {
  background-color: white;
  display: table;
  margin: 15px auto;
  padding: 3px;
}

nav {
  background-color: #2b1569;
  font-size: 20px;
}

nav .nav-link {
  color: #e6eee1;
}

nav .nav-link:hover {
  color: white;
}

.profile-img {
  margin-top: 1rem;
  margin-bottom: 2rem;
  margin-left: auto;
  margin-right: auto;
  border-radius: 50%;
  border: 5px solid #e6eee1;
  display: block;
  width: 30%;
  filter: grayscale(100%);
}

/*ABOUT and SVG's --------------------------*/
main {
  background-color: white;
  z-index: 1;
  position: relative;
  text-align: center;
}


.about-text {
  background-color: #cfc4daa8;
  color: black;
  width: 80%;
  text-align: center;
  margin: 0 auto;
  padding: .5rem;
  font-size: 1rem;
  font-weight: 500;
}

.svg-div {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 80%;
  margin: 0 auto;
}

svg {
  height: 100px;
  width: 100px;
  padding-left: 5px;
  padding-right: 5px;
  padding-bottom: 5px;
  color: #6163e4;
}


path {
  fill: #2b1569;

}


​ #portfolio-title {
  margin: 0 auto;
}

.card-container {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "one" "two" "three" "four" "five" "six";
}

.project-title {
  font-size: 20px;
  padding-bottom: 10px;
}

.view-more {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: -webkit-translate(-50%, -50%);
  background-color: #555555;
  color: white;
  font-size: 14px;
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

.view-more:hover {
  padding: 15px 26px;
}

.buttons-back {
  position: absolute;
  bottom: 8%;
  left: 10%;
  right: 10%;
}

.buttons-back a:link,
.buttons-back a:visited {
  text-decoration: none;
  color: white;
}

.view-code,
.view-project {
  background-color: #555555;
  color: white;
  font-size: 8px;
  padding: 10px 14px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  text-align: center;
  margin-left: 5px;
}

.view-code:hover,
.view-project:hover {
  padding: 12px 16px;
}

.about-heading {
  text-align: center;
  color: black;
  padding-top: 15px;
}

.about-list {
  text-align: left;
}

.about-list li {
  font-size: 12px;
  padding-bottom: 1px;
}

.scene {
  align-items: center;
  margin: 0 auto;
  width: 250px;
  height: 250px;
  padding-bottom: 2rem;
  padding-top: 2rem;
  perspective: 1000px;
}

.card {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transform-origin: center right;
  -webkit-transform-origin: center right;
  transition: transform 1s;
  -webkit-transition: transform 1s;
}

.card__face {
  position: absolute;
  width: 100%;
  height: 100%;
  color: white;
  text-align: center;
  font-weight: bold;
  font-size: 1em;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.card__face--back {
  background: #9b8ea7a8;
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
  background-size: cover;
}

.card.is-flipped {
  transform: translateX(-100%) rotateY(-180deg);
  -webkit-transform: translateX(-100%) rotateY(-180deg);
}

.card1 {
  grid-area: one;
}

.card2 {
  grid-area: two;
}

.card3 {
  grid-area: three;
}

.card4 {
  grid-area: four;
}

.card5 {
  grid-area: five;
}

.card6 {
  grid-area: six;
}

#front-one,
#front-two,
#front-three,
#front-four,
#front-five,
#front-six {
  background-size: cover;
  background-repeat: no-repeat;
}

#front-one {
  background-image: url("../images/online-registration-form.png");
}

#front-two {
  background-image: url("../images/an-interactive-photo-gallery.png");
}

#front-three {
  background-image: url("../images/web-app-dashboard.png");
}

#front-four {
  background-image: url("../images/api-employee-directory.png");
}

#front-five {
  background-image: url("../images/game-show-app.png");
}

#front-six {
  background-image: url("../images/profile-project.png");
}

/*PARTICLE --------------------------*/
.particle {
  position: absolute;
  border-radius: 50%;
  z-index: -1;
}

@keyframes particle-animation-1 {
  100% {
    transform: translate3d(13vw, 90vh, 14px);
    -webkit-transform: translate3d(32vw, 11vh, 94px);
  }
}

.particle:nth-child(1) {
  animation: particle-animation-1 60s infinite;
  opacity: 0.58;
  height: 7px;
  width: 7px;
  animation-delay: -0.1s;
  transform: translate3d(4vw, 60vh, 50px);
  -webkit-transform: translate3d(70vw, 6vh, 58px);
  background: white;
}

@keyframes particle-animation-2 {
  100% {
    transform: translate3d(30vw, 71vh, 14px);
    -webkit-transform: translate3d(86vw, 58vh, 91px);
  }
}

.particle:nth-child(2) {
  animation: particle-animation-2 60s infinite;
  opacity: 0.75;
  height: 10px;
  width: 10px;
  animation-delay: -0.2s;
  transform: translate3d(59vw, 27vh, 88px);
  -webkit-transform: translate3d(27vw, 34vh, 95px);
  background: white;
}

@keyframes particle-animation-3 {
  100% {
    transform: translate3d(82vw, 75vh, 86px);
    -webkit-transform: translate3d(12vw, 74vh, 10px);
  }
}

.particle:nth-child(3) {
  animation: particle-animation-3 60s infinite;
  opacity: 0.12;
  height: 10px;
  width: 10px;
  animation-delay: -0.3s;
  transform: translate3d(77vw, 33vh, 90px);
  -webkit-transform: translate3d(58vw, 16vh, 1px);
  background: white;
}

@keyframes particle-animation-4 {
  100% {
    transform: translate3d(59vw, 8vh, 73px);
    -webkit-transform: translate3d(23vw, 34vh, 65px);
  }
}

.particle:nth-child(4) {
  animation: particle-animation-4 60s infinite;
  opacity: 0.91;
  height: 10px;
  width: 10px;
  animation-delay: -0.4s;
  transform: translate3d(24vw, 66vh, 90px);
  -webkit-transform: translate3d(99vw, 17vh, 93px);
  background: white;
}

@keyframes particle-animation-5 {
  100% {
    transform: translate3d(26vw, 89vh, 84px);
    -webkit-transform: translate3d(52vw, 46vh, 17px);
  }
}

.particle:nth-child(5) {
  animation: particle-animation-5 60s infinite;
  opacity: 0.21;
  height: 6px;
  width: 6px;
  animation-delay: -0.5s;
  transform: translate3d(32vw, 68vh, 98px);
  -webkit-transform: translate3d(50vw, 22vh, 11px);
  background: white;
}

@keyframes particle-animation-6 {
  100% {
    transform: translate3d(48vw, 50vh, 66px);
    -webkit-transform: translate3d(19vw, 23vh, 84px);
  }
}

.particle:nth-child(6) {
  animation: particle-animation-6 60s infinite;
  opacity: 0.16;
  height: 10px;
  width: 10px;
  animation-delay: -0.6s;
  transform: translate3d(8vw, 6vh, 24px);
  -webkit-transform: translate3d(49vw, 22vh, 28px);
  background: white;
}

@keyframes particle-animation-7 {
  100% {
    transform: translate3d(80vw, 63vh, 36px);
    -webkit-transform: translate3d(31vw, 17vh, 35px);
  }
}

.particle:nth-child(7) {
  animation: particle-animation-7 60s infinite;
  opacity: 0.58;
  height: 6px;
  width: 6px;
  animation-delay: -0.7s;
  transform: translate3d(90vw, 16vh, 46px);
  -webkit-transform: translate3d(2vw, 65vh, 41px);
  background: white;
}

@keyframes particle-animation-8 {
  100% {
    transform: translate3d(72vw, 54vh, 2px);
    -webkit-transform: translate3d(4vw, 16vh, 43px);
  }
}

.particle:nth-child(8) {
  animation: particle-animation-8 60s infinite;
  opacity: 1;
  height: 10px;
  width: 10px;
  animation-delay: -0.8s;
  transform: translate3d(2vw, 40vh, 6px);
  -webkit-transform: translate3d(52vw, 83vh, 61px);
  background: white;
}

@keyframes particle-animation-9 {
  100% {
    transform: translate3d(28vw, 25vh, 42px);
    -webkit-transform: translate3d(7vw, 20vh, 98px);
  }
}

.particle:nth-child(9) {
  animation: particle-animation-9 60s infinite;
  opacity: 0.05;
  height: 6px;
  width: 6px;
  animation-delay: -0.9s;
  transform: translate3d(6vw, 17vh, 31px);
  -webkit-transform: translate3d(61vw, 42vh, 12px);
  background: white;
}

@keyframes particle-animation-10 {
  100% {
    transform: translate3d(27vw, 77vh, 53px);
    -webkit-transform: translate3d(71vw, 28vh, 5px);
  }
}

.particle:nth-child(10) {
  animation: particle-animation-10 60s infinite;
  opacity: 0.83;
  height: 10px;
  width: 10px;
  animation-delay: -1s;
  transform: translate3d(4vw, 50vh, 96px);
  -webkit-transform: translate3d(72vw, 67vh, 14px);
  background: white;
}

@keyframes particle-animation-11 {
  100% {
    transform: translate3d(26vw, 86vh, 33px);
    -webkit-transform: translate3d(75vw, 43vh, 26px);
  }
}

.particle:nth-child(11) {
  animation: particle-animation-11 60s infinite;
  opacity: 0.21;
  height: 10px;
  width: 10px;
  animation-delay: -1.1s;
  transform: translate3d(92vw, 76vh, 18px);
  -webkit-transform: translate3d(20vw, 32vh, 28px);
  background: white;
}

@keyframes particle-animation-12 {
  100% {
    transform: translate3d(49vw, 63vh, 9px);
    -webkit-transform: translate3d(53vw, 43vh, 38px);
  }
}

.particle:nth-child(12) {
  animation: particle-animation-12 60s infinite;
  opacity: 0.3;
  height: 8px;
  width: 8px;
  animation-delay: -1.2s;
  transform: translate3d(31vw, 76vh, 31px);
  -webkit-transform: translate3d(84vw, 51vh, 24px);
  background: white;
}

@keyframes particle-animation-13 {
  100% {
    transform: translate3d(43vw, 51vh, 20px);
    -webkit-transform: translate3d(34vw, 86vh, 7px);
  }
}

.particle:nth-child(13) {
  animation: particle-animation-13 60s infinite;
  opacity: 0.77;
  height: 10px;
  width: 10px;
  animation-delay: -1.3s;
  transform: translate3d(81vw, 3vh, 23px);
  -webkit-transform: translate3d(51vw, 51vh, 89px);
  background: white;
}

@keyframes particle-animation-14 {
  100% {
    transform: translate3d(24vw, 68vh, 88px);
    -webkit-transform: translate3d(40vw, 49vh, 36px);
  }
}

.particle:nth-child(14) {
  animation: particle-animation-14 60s infinite;
  opacity: 0.72;
  height: 10px;
  width: 10px;
  animation-delay: -1.4s;
  transform: translate3d(96vw, 35vh, 34px);
  -webkit-transform: translate3d(97vw, 70vh, 17px);
  background: white;
}

@keyframes particle-animation-15 {
  100% {
    transform: translate3d(85vw, 40vh, 96px);
    -webkit-transform: translate3d(14vw, 45vh, 21px);
  }
}

.particle:nth-child(15) {
  animation: particle-animation-15 60s infinite;
  opacity: 0.6;
  height: 7px;
  width: 7px;
  animation-delay: -1.5s;
  transform: translate3d(85vw, 44vh, 8px);
  -webkit-transform: translate3d(28vw, 82vh, 18px);
  background: white;
}

@keyframes particle-animation-16 {
  100% {
    transform: translate3d(42vw, 33vh, 79px);
    -webkit-transform: translate3d(33vw, 42vh, 38px);
  }
}

.particle:nth-child(16) {
  animation: particle-animation-16 60s infinite;
  opacity: 0.18;
  height: 9px;
  width: 9px;
  animation-delay: -1.6s;
  transform: translate3d(22vw, 48vh, 31px);
  -webkit-transform: translate3d(31vw, 78vh, 7px);
  background: white;
}

@keyframes particle-animation-17 {
  100% {
    transform: translate3d(85vw, 79vh, 33px);
    -webkit-transform: translate3d(80vw, 63vh, 84px);
  }
}

.particle:nth-child(17) {
  animation: particle-animation-17 60s infinite;
  opacity: 0.45;
  height: 8px;
  width: 8px;
  animation-delay: -1.7s;
  transform: translate3d(69vw, 10vh, 40px);
  -webkit-transform: translate3d(60vw, 49vh, 67px);
  background: white;
}

@keyframes particle-animation-18 {
  100% {
    transform: translate3d(12vw, 38vh, 24px);
    -webkit-transform: translate3d(16vw, 13vh, 94px);
  }
}

.particle:nth-child(18) {
  animation: particle-animation-18 60s infinite;
  opacity: 0.02;
  height: 10px;
  width: 10px;
  animation-delay: -1.8s;
  transform: translate3d(22vw, 1vh, 85px);
  -webkit-transform: translate3d(92vw, 89vh, 74px);
  background: white;
}

@keyframes particle-animation-19 {
  100% {
    transform: translate3d(40vw, 14vh, 80px);
    -webkit-transform: translate3d(84vw, 79vh, 57px);
  }
}

.particle:nth-child(19) {
  animation: particle-animation-19 60s infinite;
  opacity: 0.06;
  height: 10px;
  width: 10px;
  animation-delay: -1.9s;
  transform: translate3d(78vw, 1vh, 24px);
  -webkit-transform: translate3d(29vw, 24vh, 84px);
  background: white;
}

@keyframes particle-animation-20 {
  100% {
    transform: translate3d(64vw, 21vh, 49px);
    -webkit-transform: translate3d(14vw, 38vh, 91px);
  }
}

.particle:nth-child(20) {
  animation: particle-animation-20 60s infinite;
  opacity: 0.08;
  height: 9px;
  width: 9px;
  animation-delay: -2s;
  transform: translate3d(47vw, 2vh, 13px);
  -webkit-transform: translate3d(5vw, 44vh, 91px);
  background: white;
}

@keyframes particle-animation-21 {
  100% {
    transform: translate3d(78vw, 37vh, 71px);
    -webkit-transform: translate3d(24vw, 41vh, 68px);
  }
}

.particle:nth-child(21) {
  animation: particle-animation-21 60s infinite;
  opacity: 0.77;
  height: 7px;
  width: 7px;
  animation-delay: -2.1s;
  transform: translate3d(41vw, 75vh, 23px);
  -webkit-transform: translate3d(11vw, 83vh, 59px);
  background: white;
}

@keyframes particle-animation-22 {
  100% {
    transform: translate3d(18vw, 64vh, 30px);
    -webkit-transform: translate3d(76vw, 73vh, 37px);
  }
}

.particle:nth-child(22) {
  animation: particle-animation-22 60s infinite;
  opacity: 0.48;
  height: 6px;
  width: 6px;
  animation-delay: -2.2s;
  transform: translate3d(13vw, 37vh, 1px);
  -webkit-transform: translate3d(99vw, 6vh, 59px);
  background: white;
}

@keyframes particle-animation-23 {
  100% {
    transform: translate3d(7vw, 25vh, 90px);
    -webkit-transform: translate3d(43vw, 36vh, 98px);
  }
}

.particle:nth-child(23) {
  animation: particle-animation-23 60s infinite;
  opacity: 0.68;
  height: 7px;
  width: 7px;
  animation-delay: -2.3s;
  transform: translate3d(68vw, 15vh, 89px);
  -webkit-transform: translate3d(93vw, 47vh, 34px);
  background: white;
}

@keyframes particle-animation-24 {
  100% {
    transform: translate3d(53vw, 14vh, 16px);
    -webkit-transform: translate3d(84vw, 87vh, 89px);
  }
}

.particle:nth-child(24) {
  animation: particle-animation-24 60s infinite;
  opacity: 0.77;
  height: 8px;
  width: 8px;
  animation-delay: -2.4s;
  transform: translate3d(84vw, 71vh, 10px);
  -webkit-transform: translate3d(39vw, 24vh, 63px);
  background: white;
}

@keyframes particle-animation-25 {
  100% {
    transform: translate3d(28vw, 61vh, 71px);
    -webkit-transform: translate3d(8vw, 78vh, 99px);
  }
}

.particle:nth-child(25) {
  animation: particle-animation-25 60s infinite;
  opacity: 0.85;
  height: 6px;
  width: 6px;
  animation-delay: -2.5s;
  transform: translate3d(85vw, 50vh, 77px);
  -webkit-transform: translate3d(11vw, 34vh, 71px);
  background: white;
}

@keyframes particle-animation-26 {
  100% {
    transform: translate3d(4vw, 76vh, 56px);
    -webkit-transform: translate3d(58vw, 38vh, 20px);
  }
}

.particle:nth-child(26) {
  animation: particle-animation-26 60s infinite;
  opacity: 0.59;
  height: 9px;
  width: 9px;
  animation-delay: -2.6s;
  transform: translate3d(15vw, 68vh, 70px);
  -webkit-transform: translate3d(71vw, 35vh, 85px);
  background: white;
}

@keyframes particle-animation-27 {
  100% {
    transform: translate3d(62vw, 2vh, 90px);
    -webkit-transform: translate3d(3vw, 44vh, 31px);
  }
}

.particle:nth-child(27) {
  animation: particle-animation-27 60s infinite;
  opacity: 0.14;
  height: 9px;
  width: 9px;
  animation-delay: -2.7s;
  transform: translate3d(33vw, 6vh, 94px);
  -webkit-transform: translate3d(98vw, 57vh, 14px);
  background: white;
}

@keyframes particle-animation-28 {
  100% {
    transform: translate3d(5vw, 15vh, 99px);
    -webkit-transform: translate3d(61vw, 34vh, 78px);
  }
}

.particle:nth-child(28) {
  animation: particle-animation-28 60s infinite;
  opacity: 0.34;
  height: 7px;
  width: 7px;
  animation-delay: -2.8s;
  transform: translate3d(90vw, 52vh, 98px);
  -webkit-transform: translate3d(29vw, 89vh, 86px);
  background: white;
}

@keyframes particle-animation-29 {
  100% {
    transform: translate3d(60vw, 24vh, 75px);
    -webkit-transform: translate3d(1vw, 60vh, 20px);
  }
}

.particle:nth-child(29) {
  animation: particle-animation-29 60s infinite;
  opacity: 0.98;
  height: 10px;
  width: 10px;
  animation-delay: -2.9s;
  transform: translate3d(54vw, 61vh, 58px);
  -webkit-transform: translate3d(68vw, 1vh, 70px);
  background: white;
}

@keyframes particle-animation-30 {
  100% {
    transform: translate3d(33vw, 13vh, 100px);
    -webkit-transform: translate3d(3vw, 3vh, 2px);
  }
}

.particle:nth-child(30) {
  animation: particle-animation-30 60s infinite;
  opacity: 0.79;
  height: 10px;
  width: 10px;
  animation-delay: -3s;
  transform: translate3d(32vw, 67vh, 11px);
  -webkit-transform: translate3d(39vw, 60vh, 3px);
  background: white;
}

/*CONTACT --------------------------*/
#contact-section {
  margin: 3rem;
}

/*FOOTER --------------------------*/
footer {
  width: 100%;
  min-height: 35px;
  padding-top: 20px;
  text-align: center;
  background: #2b1569;
}

footer .copyright {
  top: -8px;
  font-size: 0.75em;
  color: white;
  padding-top: 10px;
  padding-bottom: 10px;
}

footer ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

footer ul li {
  display: inline-block;
}

a.social {
  display: inline-block;
  text-indent: -9999px;
  width: 30px;
  height: 30px;
  background-size: 30px 30px;
  opacity: 0.4;
  transition: all 0.5s;
}

a.linkedin {
  background-image: url(../images/svg/linkedin.svg);
  background-size: cover;
  background-repeat: no-repeat;
  margin: 5px;
}

a.github {
  background-image: url(../images/svg/github.svg);
  background-size: cover;
  background-repeat: no-repeat;
  margin: 5px;
}

a.social:hover {
  opacity: 1;
}

.email {
  color: black;
  text-decoration: none;
}

/*MEDIA QUERIES TABLET --------------------------*/
@media (min-width: 768px) {
  .profile-img {
    width: 25%;
    margin-top: 30px;

  }

  .block-div {
    background-color: white;
    display: block;
    width: 50%;
    margin: 15px auto;
  }

  svg {
    height: 80px;
    width: 80px;
    color: #6163e4;
  }

  .scene {
    width: 300px;
    height: 300px;
    padding: 35px 5px;
  }

  .card-container {
    grid-template-columns: 50% 50%;
    grid-template-rows: 1fr 1fr 1fr;
    grid-template-areas: "one two" "three four" "five six";
  }

  .about-list li {
    font-size: 15px;
  }
}

.form-div {
  width: 70%;
  margin: 0 auto;
}

/*MEDIA QUERIES DESKTOP --------------------------*/
@media (min-width: 1024px) {
  .profile-img {
    width: 15%;
    margin-top: 30px;
  }

  .card-container {
    grid-template-columns: 33% 33% 33%;
    grid-template-rows: 1fr 1fr;
    grid-template-areas: "one two three" "four five six";
  }

  .scene {
    width: 310px;
    height: 310px;
  }

  .view-code,
  .view-project {
    padding: 18px 22px;
  }

  .view-code:hover,
  .view-project:hover {
    padding: 21px 23px;
  }
}

/*# sourceMappingURL=style.css.map */