* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
a:link,
a:visited,
a:hover,
a:active,
a:focus {
  text-decoration: none;
}
body {
  font-family: "Source Code Pro", monospace;
  letter-spacing: -0.5px;
  color: rgba(0, 0, 0, 0.9);
  font-weight: 500;
  font-size: 1.2rem;
  overflow-x: hidden;
}
.container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 50px;
}
.button {
  display: inline-block;
  border: 1.5px solid #000;
  color: #000;
  padding: 15px 20px 16px 22px;
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 1;
  transition: all 0.2s ease-in-out;
}
.button:hover {
  background: #000;
  color: #fff;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}
.button-light {
  border-color: #fff;
  color: #fff;
}
.button-light:hover {
  background: #fff;
  color: #000;
}
.button-dark {
  border-color: transparent;
  color: #fff;
  background: #000;
}
header {
  min-height: 100vh;
  display: flex;
  flex-flow: column nowrap;
}
.navbar {
  background: #000;
  color: #fff;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar .logo {
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 700;
  text-transform: lowercase;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  color: #fff;
}
.navbar .logo {
  display: flex;
}
.navbar .logo img {
  width: 60px;
  margin-right: 10px;
}
.navbar .logo-text-top {
  display: block;
  text-transform: none;
}
.navbar .logo-text-bottom {
  display: block;
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: normal;
}
.navbar ul {
  list-style-type: none;
  display: flex;
}
.navbar nav a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  padding: 40px 30px;
  letter-spacing: 0.5px;
  transition: color 0.2s linear;
  font-weight: 400;
}
.navbar nav a:hover {
  color: rgba(255, 255, 255, 1);
  text-decoration: underline;
}
.hero {
  flex: 1 0 auto;
  display: flex;
  background: url("../img/hero.png") no-repeat bottom center;
  background-size: cover;
}
.hero .container {
  display: flex;
}
.hero-content {
  margin-right: 50px;
  flex: 1 0 60%;
}
.hero-content p {
  margin: 20px 0 60px;
  line-height: 2;
  font-size: 2.1rem;
  line-height: 1.5;
}
.hero-content,
.hero-image {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  padding: 50px 0;
}
.hero-image img {
  width: 100%;
}
h1 {
  color: #000;
  font-weight: 900;
  font-size: 6rem;
  letter-spacing: -3px;
}
h2 {
  color: #000;
  font-weight: 900;
  font-size: 2rem;
}
h3 {
  color: #000;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1.4rem;
  letter-spacing: 0px;
}
#about {
  background: #f8f8f8;
  padding: 75px 0;
}
#about p {
  margin: 20px 0;
  line-height: 2;
}
.about-intro {
  display: flex;
  gap: 30px;
}
.about-content {
  flex: 1;
  display: flex;
}
.about-content .content-wrapper {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0px 5px 30px rgba(0, 0, 0, 0.1);
  padding: 50px;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
}
.about-card {
  flex: 1;
  display: flex;
  flex-flow: column nowrap;
  gap: 30px;
}
.about-card .card-wrapper {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0px 5px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  flex: 0 1 auto;
}
.about-card .card-top {
  background: url("../img/profile-card.jpg") no-repeat top -100px center;
  background-size: cover;
  height: 170px;
  border-radius: 20px 20px 0 0;
  margin-bottom: -120px;
}
.about-card .card-bottom {
  padding: 40px;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
}
.about-card .profile-photo {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: url("../img/me.png") no-repeat top center;
  background-size: cover;
  border: 5px solid #fff;
  margin-bottom: 10px;
  position: relative;
}
.about-card .profile-photo::before {
  content: "";
  display: block;
  width: 350px;
  height: 350px;
  background: url("../img/geometric.png") no-repeat top center;
  background-size: cover;
  position: absolute;
  top: -70%;
  right: -50%;
}
.about-card .location {
  font-size: 1.1rem;
  margin: 5px 0 10px;
}
.social-links {
  display: flex;
}
.social-links a {
  color: #fff;
  background: #000;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin: 0 10px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s linear;
}
.social-links a:hover {
  background: #61d4e7;
}
.skills {
  background: #fff;
  border-radius: 20px;
  padding: 30px 50px 30px;
  flex: 1 1 50%;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 5px 30px rgba(0, 0, 0, 0.1);
}
.skills h3 {
  margin-bottom: 10px;
}
.skills-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 80%;
}
#about .skills-list {
  font-size: 1.1rem;
  text-align: center;
  margin: 5px 0;
}
.skill {
  margin: 10px;
  font-size: 50px;
  color: #000;
  flex: 0 0 20%;
  text-align: center;
}
.fa-react {
  color: #00d8ff;
}
.fa-js {
  color: #f5d33c;
}
.fa-css3-alt {
  color: #1b84c1;
}
.fa-html5 {
  color: #e96228;
}
.fa-node {
  color: #659a60;
}
.fa-npm {
  color: #c93132;
}
.fa-sass {
  color: #c76494;
}
.fa-git-alt {
  color: #e84d31;
}
#projects {
  padding: 75px 0;
  background: url("../img/hero.png") no-repeat bottom center;
  background-size: cover;
}
#projects h2 {
  text-align: center;
  margin-bottom: 30px;
}
.projects-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.project {
  background-color: #ffffff;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.05);
  flex: 0 1 31%;
  border-radius: 20px;
  color: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-flow: column nowrap;
  opacity: 1;
  transition: opacity 0.2s linear;
}
.projects-wrapper img {
  width: 100%;
  border-radius: 20px 20px 0 0;
}
.project-content {
  padding: 20px;
  font-size: 1rem;
  display: flex;
  flex-flow: column nowrap;
  flex: 1 0 auto;
}
.project-content h3 {
  margin-bottom: 10px;
}
.project-content p span {
  display: block;
  margin-top: 20px;
  font-size: 0.9rem;
}
.technologies {
  margin-bottom: 10px;
  flex: 1 0 auto;
}
.view-project {
  color: #000000;
  font-weight: 600;
  display: flex;
  align-items: flex-end;
}
.view-project span {
  transition: all 0.2s ease-in-out;
}
.view-project .fas {
  margin-left: 10px;
}
.view-project span:hover {
  transform-origin: center;
  transform: scale(1.1);
}
#contact {
  background: #f8f8f8;
  padding: 75px 0;
}
#contact {
  text-align: center;
}
#contact p {
  max-width: 700px;
  margin: 40px auto;
}
footer {
  background: #000;
  padding: 75px 0;
  color: #fff;
  font-size: 1rem;
}
footer .container {
  display: flex;
  justify-content: space-between;
}
.social-links a {
  background: #fff;
  color: #000;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
}
/*Responsive*/
@media screen and (min-width: 1501px) {
  .hero-image img {
    position: relative;
    left: 33px;
  }
}
@media screen and (max-width: 1500px) {
  h1 {
    font-size: 5rem;
  }
  .skills-wrapper {
    width: 100%;
  }
  .skill {
    flex: 0 0 20%;
  }
}
@media screen and (max-width: 1300px) {
  h1 {
    font-size: 4rem;
  }
  .skill {
    flex: 0 0 30%;
  }
}
@media screen and (min-width: 1025px) {
  .toggle-menu,
  .close-menu {
    display: none;
  }
  .navbar nav ul {
    display: flex;
  }
  .mobile {
    display: none;
  }
}
@media screen and (max-width: 1024px) {
  body {
    font-size: 1rem;
  }
  .close-menu,
  .desktop {
    display: none;
  }
  .navbar {
    padding: 20px 0;
    position: sticky;
    top: 0;
    width: 100%;
  }
  .navbar nav ul {
    position: absolute;
    top: 96px;
    left: 0;
    right: 0;
    background: #000;
    display: none;
    flex-flow: column nowrap;
    z-index: 9999;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
  }
  .navbar nav ul a {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    width: 100%;
    padding: 25px 30px;
  }
  .container {
    padding: 0 30px;
  }
  .buttons .button {
    min-width: 170px;
    text-align: center;
  }
  .buttons .button-dark {
    margin-top: 20px;
  }
  .hero .container {
    flex-flow: row wrap;
  }
  .hero-content,
  .about-content {
    margin-right: 0;
  }
  .hero-content {
    padding-bottom: 10px;
  }
  .about-intro {
    flex-flow: row wrap;
  }
  .about-content {
    flex: 1 1 100%;
  }
  .about-content .content-wrapper {
    padding: 20px;
  }
  .about-card .card-wrapper {
    margin: 0;
    flex: 1 1 100%;
  }
  #about .skills-list {
    font-size: 1rem;
  }
  .about-card .skills {
    margin-bottom: 30px;
    flex: 1 1 100%;
  }
  .skill {
    flex: 0 0 20%;
  }
  .project {
    flex: 1 1 100%;
  }
  .social-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  .social-links a {
    margin-bottom: 10px;
  }
  footer .container {
    flex-wrap: wrap;
    justify-content: center;
  }
  footer .social-links {
    flex: 1 1 100%;
    justify-content: center;
    margin-bottom: 50px;
  }
  .about-card .profile-photo {
    width: 250px;
    height: 250px;
  }
  .about-card .profile-photo::before {
    display: none;
  }
}
@media screen and (max-width: 700px) {
  h1 {
    font-size: 3rem;
  }
  .skill {
    flex: 0 0 40%;
  }
  .projects-wrapper {
    grid-template-columns: repeat(1, 1fr);
  }
}
