/* Reset estilos por defecto */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
html {
  font-family: "Source Sans Pro", sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.2;
}

h1,
h2,
h3,
p {
  margin: 0;
  font-weight: 400;
}

a {
  text-decoration: none;
  color: white;
}

.coverPage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

#backgroundVideo {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  transform: translate(-50%, -50%);
  background-size: cover;
}

.coverPage::before {
  content: "";
  display: block;
  position: absolute;
  /* background: black; */
  /* background: rgba(10, 25, 46, 0.7); */
  background: linear-gradient(rgba(9, 30, 62, .7), rgba(9, 30, 62, .7));

  opacity: 0.9;
  width: 100%;
  height: 100%;
  top: 0;
}

.__coverPage-content {
  display: flex;
  justify-content: center;
  flex-direction: column;
  color: white;
  height: 100%;
  width: 50%;
  text-align: center;
  opacity: 0.9;
  padding: 1em;
}

.__coverPage-content h1 {
  font-size: 3.2rem;
  color: #f9a825;
  opacity: 0.8;
}

.__coverPage-content h2 {
  font-size: 2em;
  margin-bottom: 1.5em;
}

.__coverPage-content h3 {
  font-size: 1.1em;
  margin-bottom: 0.8em;
  text-transform: uppercase;
  opacity: 0.7;
}

.__coverPage-content p {
  font-size: 0.95em;
  line-height: 1.5;
  opacity: 0.7;
}

.socialMedia {
  margin-top: 1em;
}

.socialIcon {
  margin-right: 10px;
  opacity: 0.7;
}

.socialIcon i {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  border: 2px solid white;
  border-radius: 50%;
  padding: 15px;
  height: 25px;
  width: 25px;
  transition: all 0.3s;
}

.socialIcon i:hover {
  color: #f9a825;
  border-color: #f9a825;
}

.projectsListTitle {
  margin-top: 2em;
  margin-bottom: 0.5em;
  font-size: 1.3rem !important;
  text-transform: capitalize;
}

.projectsList {
  display: flex;
  justify-content: center;
  width: 100%;
  column-gap: 1em;
}

.btn-projects {
  background-color: white;
  color: #333333;
  font-weight: bold;
  padding: 1em;
  width: 250px !important;
  transition: all 0.3s;
  border: 2px solid transparent;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
}

.btn-projects:hover {
  background-color: #f9a825;
  color: white;
  border-color: #1b1b1b;
}

@media only screen and (max-width: 1023px) {
  .__coverPage-content {
    width: 100%;
  }

  .__coverPage-content h1 {
    font-size: 2.8rem;
  }

  .__coverPage-content h2 {
    font-size: 2rem;
  }

  .projectsList {
    flex-direction: column;
    row-gap: 1em;
  }

  .btn-projects {
    text-align: center;
    width: 100% !important;
  }
}
@media only screen and (max-width: 1023px) and (orientation: landscape) {
  .__coverPage-content h1 {
    font-size: 1.7rem;
  }

  .__coverPage-content p {
    font-size: 0.8rem;
  }

  .__coverPage-content h2 {
    font-size: 1.2rem;
    margin-bottom: 1em;
  }

  .__coverPage-content h3 {
    font-size: 0.9rem;
  }

  .__coverPage-content a {
    font-size: 0.8rem;
  }

  .socialIcon i {
    font-size: 15px;
  }

  .projectsList {
    flex-direction: row;
    column-gap: 1em;
  }

  .projectsListTitle {
    margin-top: 1.5em !important;
    margin-bottom: 0.1em;
    font-size: 1.2rem !important;
  }
}


/* ============= boton whastApps ============== */
.float{
	position:fixed;
	width:50px;
	height:50px;
	bottom:30px;
	right:20px;
	background-color:#25d366;
	color:#FFF;
	border-radius:50px;
	text-align:center;
  font-size:20px;
	box-shadow: 2px 2px 3px #999;
  z-index:9999;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    animation: breathe 2s ease-in-out infinite;
}
.float:hover {
   text-decoration: none;
   color: #25d366;
   background: linear-gradient(rgba(9, 30, 62, .7), rgba(9, 30, 62, .7));
   border: 1px solid #25d366; /* Añadir borde en el estado de hover */
}

.my-float{
  animation: beat 2s ease-in-out infinite;
	margin-top:16px;
}


/*Estilos con animation contorno respirando*/
@keyframes breathe {
    0% {
      box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
      box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
  }
  
  /*Estilos de animacion del icono latiendo*/
  @keyframes beat {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.2);
    }
    100% {
      transform: scale(1);
    }
  }