/* - - - - - - - - - - - - - - - - - - - - - - - - 
GENERAL
- - - - - - - - - - - - - - - - - - - - - - - - */
* {
  font-family: "Source Sans Pro", sans-serif;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh; /* will cover the 100% of viewport */
  display: block;
  position: relative;
  padding-bottom: 100px; /* height of your footer */
}

.wrapper {
  padding: 0;
}

.primary-button {
  padding: 10px 30px;
  border-radius: 30px;
  background: #223843;
  color: white;
  border: 1px solid #223843;
  font-size: 14px;
  margin-right: 10px;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - 
HEADER NAVIGATION BAR
- - - - - - - - - - - - - - - - - - - - - - - - */
nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-height: 8vh;
  background-color: #223843;
  width: 100%;
}

.logo {
  color: #8ad5e8;
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 20px;
}

.logo-title {
  text-decoration: none;
  color: #8ad5e8;
}

.nav-links {
  display: flex;
  justify-content: space-around;
  width: 30vw;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  color: #8ad5e8;
  text-decoration: none;
  letter-spacing: 3px;
  font-weight: bold;
  font-size: 14px;
}

.nav-links a:hover {
  color: white;
}

.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: #8ad5e8;
  margin: 5px;
  transition: all 0.3s ease;
}

@media screen and (max-width: 1024px) {
  .nav-links {
    width: 60%;
  }
}

@media screen and (max-width: 600px) {
  body {
    overflow-x: hidden;
  }

  .nav-links {
    position: fixed;
    right: 0px;
    height: 100vh;
    top: 0%;
    background-color: #223843;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30%;
    transform: translateX(100%);
    transition: transform 0.5s ease-in;
    margin: 0 0 4rem 0;
    padding: 0;
  }

  .nav-links li {
    opacity: 0;
  }

  .burger {
    display: block;
  }
}

.nav-active {
  transform: translateX(0%);
}

@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0px);
  }
}

/* Animating the burger */
.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
  opacity: 0;
}

.toggle .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* - - - - - - - - - - - - - - - - - - - - - - - - 
HERO
- - - - - - - - - - - - - - - - - - - - - - - - */
.hero {
  background: linear-gradient(
      rgba(255, 255, 255, 0.5),
      rgba(255, 255, 255, 0.5)
    ),
    url("/assets/images/hero.jpeg");
  background-position: 50% 0%;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  height: 80vh;
  width: 100%;
  padding-top: 10vh;

  /* Make text and content centered */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero .wrapper {
  margin: 1rem;
}

.hero h1 {
  font-size: 80px;
  font-weight: 300;
  margin-bottom: 1px;
  color: #223843;
}
.hero h2 {
  margin-top: 0;
  color: #223843;
}

.primary-button {
  color: #8ad5e8;
  text-decoration: none;
  cursor: pointer;
}
/* - - - - - - - - - - - - - - - - - - - - - - - - 
ABOUT CONTENT
- - - - - - - - - - - - - - - - - - - - - - - - */

.about {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: left;
  /*Make easier to read*/
  margin: 1rem 3rem 1rem 3rem;
  line-height: 1.5rem;
}

#about-me {
  border-bottom: 4px solid #8ad5e8;
  padding-top: 1rem;
  text-align: center;
  margin: 0 auto;
  width: max-content;
}

#selfie {
  width: 12em;
  height: 12em;

  align-self: center;
  justify-self: center;

  object-fit: cover;

  border-radius: 50%;
}
/* - - - - - - - - - - - - - - - - - - - - - - - - 
FOOTER
- - - - - - - - - - - - - - - - - - - - - - - - */
footer {
  position: absolute;
  bottom: 0px;
  height: 3.5vh;
  width: 100%;
  background: #223843;
  display: flex;
  justify-content: end;
  align-items: center;
  padding: 1rem;
  color: #8ad5e8;
}

footer a {
  text-decoration: none;
  color: #8ad5e8;
  margin-right: 1rem;
}

footer a:hover {
  text-decoration: none;
  color: white;
}
