@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Port+Lligat+Slab&display=swap");
body {
  height: 100vh;
  margin: 0;
  font-family: "Poppins", arial;
  background-color: #ededed;
  overflow-x: hidden;
}

#loading {
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  position: fixed;
  display: block;
  z-index: 99;
  background-color: #3e6896;
}
#loading #logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: filling 5s ease forwards 2.5s;
}

#logo path:nth-child(1) {
  stroke-dasharray: 572;
  stroke-dashoffset: 572;
  animation: line-animation 2s ease forwards;
}

#logo path:nth-child(2) {
  stroke-dasharray: 464;
  stroke-dashoffset: 464;
  animation: line-animation 2s ease forwards 0.3s;
}

#logo path:nth-child(3) {
  stroke-dasharray: 443;
  stroke-dashoffset: 443;
  animation: line-animation 2s ease forwards 0.6s;
}

#logo path:nth-child(4) {
  stroke-dasharray: 464;
  stroke-dashoffset: 464;
  animation: line-animation 2s ease forwards 0.9s;
}

#logo path:nth-child(5) {
  stroke-dasharray: 298;
  stroke-dashoffset: 298;
  animation: line-animation 2s ease forwards 1.2s;
}

#logo path:nth-child(6) {
  stroke-dasharray: 566;
  stroke-dashoffset: 566;
  animation: line-animation 2s ease forwards 1.5s;
}

#logo path:nth-child(7) {
  stroke-dasharray: 450;
  stroke-dashoffset: 450;
  animation: line-animation 2s ease forwards 1.8s;
}

#logo path:nth-child(8) {
  stroke-dasharray: 464;
  stroke-dashoffset: 464;
  animation: line-animation 2s ease forwards 2.1s;
}

#logo path:nth-child(9) {
  stroke-dasharray: 550;
  stroke-dashoffset: 550;
  animation: line-animation 2s ease forwards 2.4s;
}

@keyframes line-animation {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes filling {
  from {
    fill: transparent;
  }
  to {
    fill: white;
  }
}
.tech {
  font-weight: bold;
  padding: 2px;
  margin: 0.1em;
  border-radius: 5px;
  background-color: #cdcbcb;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  opacity: 90%;
  transform: translate(-50%, -50%) scale(0);
  background: #afffe8;
  color: #7b7b7b;
  border-radius: 20px;
  z-index: 10;
  width: 500px;
  max-width: 80%;
}
.modal .modal-header {
  padding: 10px 15px;
  display: grid;
  grid-template-columns: 90% auto;
  align-items: center;
}
.modal .modal-header .modal-title {
  font-size: 2em;
  font-weight: bold;
  text-align: center;
}
.modal .modal-header .close-modal {
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  font-size: 1.5em;
  font-weight: bold;
}
.modal .modal-body {
  padding: 10px 15px;
  display: block;
  text-align: center;
}
.modal span {
  display: grid;
  grid-template-columns: 40% auto;
  margin: 1em auto;
  text-align: left;
}
.modal input,
.modal textarea {
  background-color: unset;
  border: none;
  border-bottom: 2px solid #7b7b7b;
  max-width: 120px;
}
.modal input:focus,
.modal textarea:focus {
  outline: none;
}
.modal #submit {
  border: none;
  border-radius: 8px;
  padding: 0.5em;
  font-family: unset;
  color: #7b7b7b;
  background-color: #d3d1d1;
  font-size: 1.25em;
  padding: 0.75em;
  margin-bottom: 1em;
}
.modal #submit:hover {
  background-color: #47fe81;
  cursor: pointer;
}

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

a {
  text-decoration: none;
}

img {
  width: 100%;
}

.nav-container {
  background: #7d7e7e;
}
.nav-container a {
  color: white;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em;
}
header .logo {
  color: #f1f1f1;
}
header ul {
  display: flex;
}
header ul a {
  display: block;
  margin: 0 1em;
}

.social-header,
.hero-design {
  display: none;
}

.hero {
  background: #3e6896;
  color: white;
  display: grid;
  text-align: center;
  padding: 4em;
}
.hero .name {
  font-family: "Port Lligat Slab", serif;
  font-size: 4em;
  color: #ffb950;
}
.hero .resume {
  display: flex;
  margin: 0 auto;
  width: 300px;
  font-weight: bold;
  color: #ffd494;
  align-items: center;
}
.hero .resume .download-icon {
  margin-top: 0.5em;
}
.hero .resume a {
  text-decoration: none;
  color: #ffd494;
  margin-left: 2em;
}

.scrollButton {
  width: 30px;
  margin-top: 2em;
}

section {
  padding: 4em 2em;
  text-align: center;
}

.featured {
  position: relative;
}
.featured img {
  border-radius: 1em;
}

.featured::before {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: #f9e1be;
  top: 0;
  left: 0;
  z-index: -1;
}

.small-title {
  text-transform: uppercase;
  font-weight: bold;
  color: #6a6a6a;
  letter-spacing: 0.2em;
}

.project-title {
  color: black;
  font-weight: bold;
  font-size: 1.5em;
  margin-top: -0.4em;
  display: block;
}

.project-desc {
  color: #2e2e2e;
  font-weight: 500;
  line-height: 1.8em;
  margin-bottom: 1em;
}

.skills {
  background: #95f0c4;
}

.skills-container ul li {
  background: white;
  padding: 2em;
  border-radius: 1em;
  margin-bottom: 1em;
}
.skills-container ul li .icon-container {
  height: 120px;
  display: grid;
  place-content: center;
  margin: 0 auto;
}
.skills-container ul li .skill-title {
  font-weight: bold;
  font-size: 1.2em;
  color: #5e5e5e;
}
.skills-container ul li .project-desc {
  margin-bottom: 2em;
}

.portfolio {
  background: #ededed;
}

.portfolio-container {
  margin-bottom: 2em;
}

.portfolio-container a img {
  border-radius: 1em;
  margin-bottom: 2em;
}

.portfolio-container span {
  font-weight: bold;
  padding: 0.2em;
}

.project-icon {
  font-size: 2.5em;
  margin-right: 1em;
  color: #6a6a6a;
}

footer {
  background: #7d7e7e;
  height: auto;
  width: 100%;
  padding-top: 40px;
  color: #f1f1f1;
  text-align: center;
  padding: 1em 0;
  font-family: unset;
}
footer .footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
footer .footer-content ul {
  display: flex;
  text-transform: uppercase;
  font-size: 1.5em;
  padding: 0;
}
footer .footer-content ul li {
  margin: 0 0.5em;
}
footer .footer-content ul a {
  display: block;
  color: #f1f1f1;
}
footer .footer-content ul a:hover {
  transition: color 0.4s ease;
  color: #49f9a4;
}
footer .footer-content .footer-right {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
footer .footer-bottom {
  background: #3c3c3c;
  width: 100vw;
  padding: 0.5em 0;
}
footer .footer-bottom p {
  text-transform: capitalize;
  font-size: 0.9em;
  word-spacing: 2px;
  font-style: italic;
}
footer .footer-bottom p span {
  font-style: normal;
  font-size: 1.2em;
  font-weight: 500;
  opacity: 0.4;
}

@media only screen and (max-width: 768px) {
  #logo {
    width: 300px;
  }
}
@media only screen and (min-width: 400px) {
  span {
    padding: 0.5em 1em;
  }
}
@media only screen and (min-width: 800px) {
  .featured,
.portfolio {
    text-align: left;
  }

  .featured,
.portfolio-container {
    display: grid;
    grid-template-columns: 40% auto;
  }

  .left,
.portfolio-left {
    display: grid;
    place-content: center;
  }

  .right {
    margin-left: 2em;
    margin-top: 1em;
  }

  .featured img {
    border-radius: 1em;
  }

  .skills {
    margin-top: -5em;
    margin-bottom: -7em;
    padding-top: 7em;
  }

  .skills-container ul {
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, auto);
    grid-gap: 1em;
  }

  .portfolio {
    padding-top: 7em;
  }

  .portfolio-container img {
    margin-left: 2em;
  }

  .modal .modal-body span {
    padding: 1em 2em;
  }
  .modal .modal-body input,
.modal .modal-body textarea {
    max-width: 200px;
  }

  footer {
    position: relative;
  }
  footer .footer-top {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 50px;
    background-color: #ededed;
    overflow: hidden;
  }
  footer .footer-top .footer-waving {
    background: url("../images/wave.svg") repeat-x;
    color: #7d7e7e;
    left: 0;
    top: 0;
    width: 6400px;
    height: 150%;
    animation: wave 7s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite;
    transform: translate3d(0, 0, 0);
  }
  footer .footer-content {
    padding-top: 50px;
  }
}
@keyframes wave {
  0% {
    margin-left: 0;
  }
  100% {
    margin-left: -1600px;
  }
}
@media only screen and (min-width: 1050px) {
  .hero {
    height: 90vh;
  }
  .hero .resume {
    margin: unset;
  }

  .nav-container {
    display: grid;
    grid-template-columns: 66% auto;
    background: unset;
    align-items: center;
  }
  .nav-container header {
    background: #7d7e7e;
  }

  header {
    padding: 0 2em 0 4em;
  }

  .social-header {
    padding: 2em 4em 2em 0;
  }

  section {
    padding: 10em;
  }

  .social-header {
    display: block;
    align-items: center;
  }
  .social-header ul {
    display: flex;
    justify-content: space-between;
    width: 7em;
    float: right;
  }
  .social-header ul img {
    width: 24px;
  }

  .hero {
    display: grid;
    grid-template-columns: 66% auto;
    background: unset;
    padding: 0;
  }
  .hero .content {
    background: #3e6896;
    padding: 6em 8em 6em 4em;
    text-align: left;
  }
  .hero .content .name {
    font-size: 4.5em;
  }
  .hero .content h1 {
    font-size: 3em;
    line-height: 1.5em;
  }
  .hero .resume a {
    margin-left: unset;
  }

  .hero-design {
    display: unset;
    margin-left: -51%;
    margin-top: 15%;
    width: 160%;
  }

  .portfolio img {
    float: right;
    max-width: 600px;
  }

  footer .footer-content {
    display: grid;
    grid-template-columns: 25% auto;
  }
}
@media only screen and (min-width: 1250px) {
  header {
    padding: 0 2em 0 10em;
  }

  .social-header {
    padding: 2em 10em 2em 0;
  }

  section {
    padding: 10em;
  }

  .hero .content {
    padding: 6em 8em 6em 10em;
  }

  .hero .content h1 {
    max-width: 600px;
  }
}

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