* {
  margin: 0;
  box-sizing: border-box;
  padding: 0;
}

:root {
  --color-principal: #21493f;
  --color-secundario: #2e6e5e;
  --color-details: #a2dfcf;
}



body {
  font-family: 'Josefin Sans', sans-serif;
  overflow: hidden;
}


#full-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
}

main {
  margin-top: -150px;
  margin-bottom: 54px;
  align-self: center;
  overflow: visible;
  width: 90%;
}

.bg-image {
  background-image: url(/img/Fondo\ web\ compositor\ 3.png );
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  position: fixed;
  background-size: cover;
  opacity: 60%;
  z-index: -1;
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 130px;
  margin: 20px 0 10px 0;
  width: 100vw;
}

.hamburguer-menu {
  display: none;
  justify-content: space-evenly;
  margin-top: 20px;
  margin-bottom: 20px;
  align-items: center;
}

.menu-options {
  display: none;
  /* background-color: #181818ef; */
  background-image: linear-gradient(#181818ef 75%, transparent 100%);
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 200;
  justify-content: center;
  align-items: flex-start;
  /* animation: menu-anim 1s ease-in-out 0s 1 normal forwards; */


}

.aparecer {
  animation: menu-anim 1s ease-in-out 0s 1 normal forwards;
}

.desaparecer {
  animation: menu-anim-close 1s ease-in-out 0s 1 normal forwards;
}

.menu-options i {
  position: absolute;
  top: 0;
  right: 0;
  margin: 30px;

}

#close-icon {
  font-size: 43px;
  color: var(--color-details);
  cursor: pointer;
}


.menu-options ul {

  position: relative;
  top: 19%;
  display: flex;
  flex-direction: column;

}

.menu-options ul li a {
  color: var(--color-details);
  font-size: 26px;
  margin: 17px;
}

.menu-options ul li a:hover {
  color: #e4e4e4;
}

.icon-menu {
  height: 34px;
  display: flex;
  align-items: center;

}

.icon-menu i {
  font-size: 37px;
  cursor: pointer;
  z-index: 200;
}

#logo-header {
  height: 55px;
  animation: animation-logo 1s ease-in-out 0.05s 1 normal forwards;
  transition: all .3s ease-in-out;
}


ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: #000;
  font-size: 17px;
  animation: animation-logo 1s ease-in-out 0.05s 1 normal forwards;
  display: inline-block;
  transition: all .3s ease-in-out;

}

a:hover {
  color: var(--color-principal);
  scale: 1.1;
}

.first-line,
.second-line,
.third-line {
  height: 144px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.first-line {
  margin-top: 68px;
  gap: 60px;

}

.second-line {
  justify-content: space-evenly;
  padding: 50px;
  text-align: center;
  margin-top: 32px;
}


.third-line {
  /* gap: 325px; */
  justify-content: center;
  padding: 80px;
  gap: 45px;
}

h2 {
  cursor: pointer;
  transition: all .5s ease-in-out;
  position: relative;
  padding: 10px 35px;
  font-size: 30px;
  font-weight: 400;
}

p {
  font-size: 14px;
  text-align: center;
  padding-top: 4px;
}

.important-description {
  font-size: 18px;
}

#portfolio {
  font-size: 45px;
  text-align: center;
  background: linear-gradient(to right, #000 45%, var(--color-secundario) 45%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

#portfolio-mobile {
  font-size: 32px;
  text-align: center;
  margin: 20px;
  padding-top: 29px;
  background: linear-gradient(to right, #000 48%, var(--color-secundario) 48%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  display: none;
}

.portfolio-body {
  height: 100%;
  justify-content: space-between;
}

.option {
  animation: animation-body 1s ease-in-out 0.05s 1 normal forwards;
}

.second-line h2 {
  position: relative;
  top: -38px;

}

#logo-header:hover {
  scale: 1.05;
  cursor: pointer;
}

#videoarte{
  text-align: center;
}

#mision-marte{
  text-align: center;
}

/* ==============
  VENTANA MODAL 
  ==============*/

.modal {
  display: none;
  /* La ventana modal está oculta por defecto */
  position: fixed;
  /* La ventana modal se fija en la pantalla */
  z-index: 100;
  /* La ventana modal se muestra por encima de todo */
  left: 0;
  top: -260px;
  width: 100%;
  /* La ventana modal ocupa todo el ancho */
  height: 200%;
  /* La ventana modal ocupa todo el alto */
  overflow: auto;
  /* La ventana modal se puede desplazar si es necesario */
  background-color: rgba(0, 0, 0, 0.4);
  /* La ventana modal tiene un fondo semitransparente */

}

.modal-content {
  background-color: white;
  /* El contenido de la ventana modal tiene un fondo blanco */
  margin: auto;
  /* El contenido de la ventana modal se centra vertical y horizontalmente */
  padding: 8px;
  border: 1px solid #888;
  width: 60%;
  /* El contenido de la ventana modal tiene un ancho del 80% */
  height: 450px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

}

#video {
  width: 100%;
  height: 100%;
}



/* ==================
    HOVER EFFECT SQUARE
======================== */

.option .border {
  position: absolute;
  left: 0;
  background: currentColor;

}

.option .border-top,
.option .border-bottom {
  width: 100%;
  height: 1px;
  transform: scaleX(0);
}

.option .border-left,
.option .border-right {
  width: 1px;
  height: 100%;
  transform: scaleY(0);
}

.option .border-top,
.option .border-left,
.option .border-right {
  top: 0;
}

.option .border-bottom {
  bottom: 0;
  transform-origin: bottom right;
}

.option .border-top {
  transform-origin: top left;
}

.option .border-left {
  transform-origin: bottom left;
}

.option .border-right {
  left: auto;
  right: 0;
  transform-origin: top right;
}

:root {
  --transition-duration: 0.15s;
  --transition-delay: 0.15s;
}

.option .border {
  transition: transform var(--transition-duration) ease-in-out;
}

.option h2:hover .border-top,
.option h2:hover .border-bottom {
  transform: scaleX(1);
}

.option h2:hover .border-left,
.option h2:hover .border-right {
  transform: scaleY(1);
}

.option h2:hover .border-right {
  transition-delay: var(--transition-delay);
}

.option h2:hover .border-bottom {
  transition-delay: calc(var(--transition-delay) * 2);
}

.option h2:hover .border-left {
  transition-delay: calc(var(--transition-delay) * 3);
}

.option[data-animation="diagonal"] .border-left {
  transform-origin: top left;
}

.option[data-animation="diagonal"] .border-right,
.option[data-animation="diagonal"] .border-bottom {
  transform-origin: bottom right;
}

.option[data-animation="diagonal"] h2:hover [class^=border] {
  transition-delay: 0s;
}


.option h2:hover {
  scale: 1.1;
}

/* ====================
    FOOTER
    ================ */

footer {
  position: fixed;
  /* position: relative; */
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 54px;
  margin-bottom: 12px;
}

.footer-content {

  display: flex;
  justify-content: space-evenly;
  align-items: flex-end;
  width: 80%;
  position: relative;
  right: 10px;
}

.footer-content div {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-end;
}

.footer-content div img {
  width: 25px;
  margin: 0 20px;
}

.instagram,
.email {
  display: flex;
  align-items: flex-end;
  transition: all .3s ease-in-out;
}



@keyframes animation-logo {
  0% {
    opacity: 0;
    transform: rotateX(70deg);
    transform-origin: top;
  }

  100% {
    opacity: 1;
    transform: rotateX(0deg);
    transform-origin: top;
  }
}

@keyframes animation-body {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


@keyframes menu-anim {
  0% {
    opacity: 0;
    transform: rotateX(-100deg);
    transform-origin: top;
  }

  100% {
    opacity: 1;
    transform: rotateX(0deg);
    transform-origin: top;
  }
}

@keyframes menu-anim-close {
  0% {
    opacity: 1;
    transform: rotateX(0deg);
    transform-origin: top;
  }

  100% {
    opacity: 0;
    transform: rotateX(-100deg);
    transform-origin: top;
  }
}