@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,700;0,900;1,900&display=swap");

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  margin: 0 auto;
  background: #f2f2f2;
}

a {
  text-decoration: none;
  color: inherit;
}
a:hover {
  opacity: 0.9;
}

li {
  list-style: none;
}

ul {
  margin: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
  padding: 50px;
  gap: 40px;
  font-size: 13pt;
  font-weight: 400;
}

h1 {
  font-size: 38pt;
}

p {
  font-size: 10pt;
  line-height: 22pt;
  font-weight: 100;
}

section {
  min-height: 100vh;
  height: fit-content;
  margin: 0 auto;
  padding: 40px;
  display: flex;
  flex-direction: column;
}

footer {
  color: #ffffff !important;
  background: #000033 !important;
  text-align: left;
  padding: 10px 20px;
}

.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99999;
}

.vibrate {
  animation: vibrate 1.8s linear both infinite;
}
@keyframes vibrate {
  0% {
    transform: translate(0);
  }
  20% {
    transform: translate(-2px, 2px);
  }
  40% {
    transform: translate(-2px, -2px);
  }
  60% {
    transform: translate(2px, 2px);
  }
  80% {
    transform: translate(2px, -2px);
  }
  100% {
    transform: translate(0);
  }
}

.menu-ppal{
  display: flex;
  align-items: center;
  gap: 40px;
}

.menu-ppal li{
  position: relative;
  display: inline-block;
  padding: 4px 0;
}

.menu-ppal li::before,
.menu-ppal li::after{
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: rgb(225, 225, 225);
  transform: scaleX(0);
  transition: transform 0.25s;
}

.menu-ppal li::before{
top: -3px;
transform-origin: left;
}

.menu-ppal li::after{
  bottom: -3px;
  transform-origin: right;
}

.menu-ppal li:hover::before,
.menu-ppal li:hover::after{
  transform: scaleX(1);
}


.first-section {
  color: #ffffff;
  background: url("images/bg-1.jpg") no-repeat;
  background-size: cover;
  background-position: center;
}

.principal-data {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
}

.principal-data h1 {
  border-bottom: 1px solid #ffffff;
  padding-bottom: 30px;
  margin-bottom: 30px;
}

.second-section {
  text-align: center;
  padding: 0 20px;
  justify-content: center;
}

.second-section h1,
.fourth-section h1 {
  font-weight: 100;
}

.second-section ul {
  justify-content: center;
  gap: 50px;
  align-items: center;
}

.second-section ul li:hover {
  animation: none;
}

.second-section li {
  animation-duration: 1s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.second-section li:nth-child(odd) {
  animation-name: slide-up;
}

.second-section li:nth-child(even) {
  animation-name: slide-down;
}

@keyframes slide-up {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes slide-down {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
  100% {
    transform: translateY(0);
  }
}

.third-section {
  display: flex;
  color: #d9d9d9;
  background: url(images/bg-2.jpg) no-repeat;
  background-size: cover;
  flex-wrap: nowrap;
}

.third-section h1 {
  font-weight: 100;
  text-align: right;
}

.third-section ul {
  text-align: center;
  justify-content: center;
  gap: 30px;
}

.third-section ul a  {
  background-color: #000033;
  padding: 4px;
  border-radius: 30px;
  transition: .3s;
}

.third-section ul a li{
  background: #e56b00;
  padding: 20px 40px;
  border-radius: 30px;
  transition: .3s;
}

.third-section ul a:hover li{
  background: none;
  transform: scale(0.9);
}
.third-section ul a:active{
  transform: scale(0.8);
}

.fourth-section {
  background: rgb(112, 112, 112);
  background: linear-gradient(
    180deg,
    rgba(112, 112, 112, 1) 0%,
    rgba(255, 255, 255, 1) 10%
  );
  padding: 20px 140px;
  text-align: center;
  align-items: center;
}

.fourth-section h1 {
  font-size: 30pt;
  font-weight: 100;
}

.contact-form form {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-wrap: wrap;
    align-items: stretch;

}

.contact-form form div{
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

.contact-form form input {
  font-family: "Roboto", sans-serif !important;
  color: #000033;
  font-size: 16pt;
  font-weight: 100;
  border-bottom: 1px solid #000033 !important;
  border: none;
  padding-bottom: 20px;
  margin: 10px 20px;
}

.contact-form form textarea {
  font-family: "Roboto", sans-serif !important;
  color: #000033;
  font-size: 16pt;
  font-weight: 100;
  border: none;
  background: #f2f2f2;
  padding: 20px;
  border-radius: 15px;
  resize: none;
  width: 100%;
  margin: 0 auto;
}

.contact-form form button {
  background: #000033;
  color: #ffffff;
  border: none;
  font-size: 21pt;
  font-weight: 100;
  padding: 10px;
  border-radius: 15px;
  cursor: pointer;
}

.contact-form form button:hover {
  transform: scale(0.98);
}


/* about me html */

.about-me{
  display: flex;
  align-items: start;
}

.about-me .left{
  background: #000033;
  color: #f2f2f2;
  width: 30%;
  position: relative;
}

.about-me .left h2{
  border-bottom: 1px solid #ffffff;
  padding-bottom: 20px;
  width: 80%;
}

.about-me .left .profile{
  max-width: 60%;
  border-radius: 30px;
  margin: 0 auto;
  box-shadow: 5px 5px 0px 0px #e56b00;
-webkit-box-shadow: 5px 5px 0px 0px #e56b00;
-moz-box-shadow: 5px 5px 0px 0px #e56b00;
margin-bottom: 30px;
}

.about-me .left .profile:hover{
  opacity: 0.9;
}

.about-me ul{
  display: flex;
  flex-direction: column;
  padding: 0;
  font-size: 10pt;
  line-height: 18pt;
  gap: 20px;
}

.about-me ul li{
  display: flex;
  flex-direction: row;
  align-items: center;
}

.about-me ul li img{
  width: 30px;
  margin-right: 10px;
}

.expertise{
  gap: 10px;
}

.expertise li{
  list-style: square inside !important;
}

.about-me .right{
  color: #000033;
  width: 70%; /* Ajusta el porcentaje según tus necesidades */
  position: relative; /* Cambiado a relativo para que el contenido fluya normalmente */
  height: 100%;
}

.right h1{
  font-weight: 100;
  margin: 0;
}

.right h2{
  margin: 0;
  padding-bottom: 15px;
  margin-bottom: 20px;
  border-bottom: #000033 1px solid;
}
.right h3, .right h4{
  margin: 0;
}

.right p{
  font-size: 11pt;
  margin-bottom: 30px;
  line-height: 24pt;
}

