header {
  width: 100%;
  height: 100vh;
  background-image: url(/img/texture3.jpg);
  border-bottom: 1px solid white;
}

nav {
  height: 10rem;
  justify-content: space-between;
}

nav,
.logo,
nav ul {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.logo p {
  font-size: 3rem;
  font-family: "Arvo";
  animation: show .2s forwards;
  opacity: 0;
}
.logo figure {
  width: 7rem;
  animation: show .2s forwards;
  opacity: 0;
}
.logo figure img {
  width: 100%;
}

.nav-ul {
  animation: show .2s forwards;
  opacity: 0;
}

nav ul {
  gap: 5rem;
}
nav ul li a{
  font-size: 2rem;
  font-weight: 500;
  color: white;
}
nav ul li hr {
  transform-origin: 0px 0px;
  transform: scaleX(0);
  transition: all .15s;
}
nav ul li:hover hr {
  transform: scaleX(1);
}
#check {
  visibility: hidden;
}
#toggle {
  width: 4rem;
  height: 5rem;
  display: none;
  flex-direction: column;
  gap: .5rem;
  justify-content: center;
  cursor: pointer;
  animation: show .2s;
}
.line {
  width: 100%;
  height: .5rem;
  border-radius: 1rem;
  background: white;
  display: block;
  transition: all .15s;
  z-index: inherit;
}

#toggle.active .top {
  transform: translateY(1rem) rotate(45deg);
}
#toggle.active .mid {
  transform: scale(0);
}
#toggle.active .bottom {
  transform: translateY(-1rem) rotate(-45deg);
}

#toggle.active {
  position: absolute;
  top: 2.5rem;
  right: 5%;
  z-index: 100;
}

#toggle.active .menu-hidden {
  position: fixed;
  height: 100vh;
  width: 100%;
  background-image: url(/img/texture3.jpg);
  background-position: left;
  z-index: 10;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

#toggle.active .menu-hidden ul {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  z-index: inherit;
}
#toggle.active .menu-hidden ul li a{
  font-size: 4rem;
  z-index: inherit;
}

/*----------------- PRINCIPAL SECTION --------------------*/
.welcome {
  animation: show .2s .2s forwards;
  opacity: 0;
}
.principal-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15rem;
  height: calc(100vh - 10rem);
  width: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.principal-section figure {
  width: 50%;
  max-height: calc(100vh - 10rem);
  position: absolute;
  display: block;
  bottom: 0;
  right: 0;
  border-bottom: 1px solid white;
  animation: show .2s .4s forwards;
  opacity: 0;
}
.principal-section figure img {
  width: 100%;
  display: block;
}

h1 {
  font-family: "Arvo";
  font-size: 6rem;
  text-transform: uppercase;
  margin: 1rem 0rem;
}

.principal-section p {
  font-size: 1.8rem;
  font-weight: 500;
}
.principal-section p span {
  font-size: 1.8rem;
  font-weight: bold;
  text-decoration: underline;
}

.principal-section a.cv,
.about-section a.cv {
  color: black;
  padding: 1rem 2rem;
  border-radius: 1rem;
  background: white;
  display: inline-block;
  margin-top: 2rem;
  font-size: 1.8rem;
  font-weight: 500;
  transition: all .15s;
}
.principal-section a.cv:hover,
.about-section a.cv:hover {
  background: rgb(165, 160, 160);
}

.social-network {
  display: flex;
  margin-top: 5rem;
  gap: 3rem;
  margin: 10rem auto 0rem;
  justify-content: center;
}
.social-network a img {
  width: 4rem;
  transition: all .15s;
}
.social-network a img:hover {
  filter: opacity(.6);
}

.principal-section figure img.icon {
  width: 7%;
  position: absolute;
  right: 10rem;
}
.html {
  top: 10%;
}
.css {
  top: 25%;
}
.js {
  top: 40%;
}