
@font-face {
  font-family: "OpenSans"; /* Nombre que le asignas a tu fuente */
  src: url(OpenSans.ttf); /* Ruta a tu archivo .otf */
}
@font-face {
  font-family: "Ardena"; /* Nombre que le asignas a tu fuente */
  src: url(ardena.otf); /* Ruta a tu archivo .otf */
}
@font-face {
  font-family: "Faktum"; /* Nombre que le asignas a tu fuente */
  src: url(Faktum.ttf); /* Ruta a tu archivo .otf */
}
  body {
    background-color: #ffffff;
    color: black;
    padding: 0;
    overflow-y: scroll;
    overflow-x: hidden;
    margin: 0;
  }
  #video-background {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  
  #video-background video {
    position: absolute;
    z-index: -100;
    width: 100%;
    height: auto;
    clip-path: inset(0 0 200px 0);
  }
  .header{
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    position: absolute;
    justify-content: center;
  }
  .btn-menu{
    position: absolute;
    left: 0;
    margin-left: 30px;
  }
  .btn-menu label{
    color: #007bff;
    font-size: 25px;
    cursor: pointer;
  }
  .logo{
    display: flex;
    flex-direction: row;
  height: 100%;
  position: absolute;
  margin-right: 950px;
  }
  .logo img{
    height: 45px;
    width: 45px;
    margin-top: 3px;
  }
  .logo h1{
    color: #ffffff;
    font-weight: 400;
    font-size: 21px;
    font-family: "Georgia", sans-serif;
  }
  .micuenta{
    background-color: #007bff;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 7px;
    padding-bottom: 7px;
    text-decoration: none;
    color: white;
border-radius: 3px;
border-color: #007bff;
position: absolute;
top: 11px;
margin-left: 300px;
font-family: "Ardena", sans-serif;
letter-spacing: 0.7px;
}
.micuenta:hover {
  background-color: #0056b3;
}
  #btn-menu{
    display: none;
  }
  .directorio-menu{
    position: absolute;
    background: rgba(0,0,0,0.5);
    width: 100%;
    height: 100vh;
    top: 0;left: 0;
    transition: all 500ms ease;
    opacity: 0;
    visibility: hidden;
    z-index: 9999;
  }
  #btn-menu:checked ~ .directorio-menu{
    opacity: 1;
    visibility: visible;
  }
  .dire-menu{
    width: 100%;
    max-width: 300px;
    background: white;
    height: 100vh;
    position: relative;
    transition: all 500ms ease;
    margin-left: 12px;
    margin-top: 12px;
    border-radius: 7px;
  }
  #btn-menu:checked ~ .container-menu .dire-menu{
    transform: translateX(0%);
  }
  .dire-menu nav{
    transform: translateY(15%);
  }
  .dire-menu a{
    display: block;
    text-decoration: none;
    padding: 20px;
    color: rgb(0, 0, 27);
    border-left: 5px solid transparent;
    transition: all 400ms ease;
    font-family: "Ardena", sans-serif;
    font-weight: lighter;
    letter-spacing: 0.7px;
  }
  .dire-menu nav a:hover{
    background-color: #ffae00;
    border-left: 5px solid #007bff;
  }
  .dire-menu label{
    position: absolute;
    right: 5px;
    top: 10px;
    color: #007bff;
    cursor: pointer;
    font-size: 18px;
  }
  .apd{
    padding: 5px;
    margin-top: 410px;
  }
  .apd a{
    font-size: 9px;
  margin: 0;
  }
  .navweb {
  align-items: center;
  }
  .navweb a {
    margin: 0 20px;
    text-decoration: none;
    color: #ffffff;
    font-size: 15px;
    background-color: transparent;
  transition: 0.5s;
  font-family: "Ardena", sans-serif;
font-weight: lighter;
  letter-spacing: 0.7px;
  }
  .navweb a:hover {
    color: #ffae00;
    transition: 2s;
    border-bottom: 1px solid #ffae00;
  }

  
section{
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    margin: 12px;
    background-color: #f0f0f0;
}
#video-background {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#video-background video {
  position: absolute;
  z-index: -100;
  width: 100%;
  height: auto;
  clip-path: inset(0 0 200px 0);
}
#video-background-mobile{
  display: none;
}
.imgandtitle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.containerfirst {
    display: flex;
    flex-direction: column;
    margin-left: 40px;
    margin-right: 40px;
    font-weight: 600;
}
.first-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-top: 12px;
}
.first-title {
    font-size: 24px;
    font-family: "Faktum", sans-serif;
}
strong {
    cursor: pointer;
    position: relative; 
    text-align: center;
}
.first-description{
  font-family: "OpenSans", sans-serif;
  font-weight: 550;
}
.description {
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    font-family: "OpenSans", sans-serif;
}

.description.visible {
    visibility: visible;
}
.buttonwsp {
  background-color: #fff;
  border: 1px solid #007bff;
  padding: 5px;
  position: relative;
  width: 8em;
  height: 2em;
  transition: 0.5s;
  font-size: 17px;
  border-radius: 5px;
  margin-bottom: 20px;
margin-left: 1000px;
}

.buttonwsp p {
  position: absolute;
  top: 0.2em;
  left: 1.15em;
  margin: 0;
  padding: 0;
  transition: .5s;
  color: #007bff;
  font-family: "OpenSans", sans-serif;
  font-weight: 700;
}

.buttonwsp svg {
  position: absolute;
  top: 0.45em;
  right: 0.5em;
  margin: 0;
  padding: 0;
  opacity: 0;
  transition: 0.5s;
  height: 1em;
  fill: #fff
}

.buttonwsp:hover p {
  left: 0.5em;
  color: #fff
}

.buttonwsp:hover svg {
  opacity: 1;
}

.buttonwsp:hover {
  background-color: #007bff;
}

.second-section {
    display: flex;
    padding: 12px;
}

.second-section img {
    flex: 1;
    height: 450px;
    width: 470px;
    margin-left: auto;
    border-radius: 12px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.grupo-productos .content {
    flex: 1;
}
.title-second{
  margin-left: 12px;
  cursor: pointer;
  font-family: "Faktum", sans-serif;
  letter-spacing: 0.3;
}
.title-second:hover h1 {
  transform: translateX(7.5px); /* Cambia la cantidad de desplazamiento horizontal según tus necesidades */
}
.title-second:hover h1 {
  transition: transform 0.3s ease-in-out;
  color: #007bff; /* Ajusta la duración y el tipo de transición según tus necesidades */
}

.descripcion {
    visibility: hidden;
    position:absolute;
    white-space: pre-line;
    margin-top: 0;
    font-family: "OpenSans", sans-serif;
    font-weight: 550;
}

.descripcion.visible {
    visibility: visible;
    position: relative;
    width: 590px;
    font-family: "OpenSans", sans-serif;
font-weight: 550;
}
.grupo-productos{
    border-radius: 20px;
    width: 660px;
    margin: 0 auto;
}
.grupo-productos ul li {
    position: relative;
    transition: background-color 0.2s ease-in-out;
    cursor: pointer;
}
.boton{
  font-family: "Faktum", sans-serif;
  letter-spacing: 0.3;
    padding: 10px;
margin-bottom: 0;
visibility: hidden;
position: absolute;
}
.solicitar{
  background-color: #007bff;
  border-radius: 5px;
  border-color: #007bff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  color: white;
  text-decoration: none;
  margin-top: 8px;
  margin-right: 4px;
  margin-bottom: 12px;
  position: absolute;
  right: 0;
  padding-left: 7px;
  padding-right: 7px;
  padding-top: 4px;
  padding-bottom: 4px;
  font-size: 15px;
  font-family: "Ardena", sans-serif;
  letter-spacing: 0.7px;
}
.solicitar:hover{
  background-color: #0056b3; /* Cambiamos el color de fondo al hacer hover */
  transform: scale(1.05); 
  transition: 0.25s;
}
.title-second.active + ul li h3.boton {
  display: block; /* Se vuelven visibles al hacer clic en title-second */
  position: relative;
}
  .grupo-productos ul li:last-child {
    border-bottom: none; /* Establece el borde inferior a ninguno para el último <li> */
  }
  .grupo-productos ul li:hover h3 {
    transform: translateX(7.5px); /* Cambia la cantidad de desplazamiento horizontal según tus necesidades */
}
.grupo-productos ul li h3 {
    transition: transform 0.3s ease-in-out; /* Ajusta la duración y el tipo de transición según tus necesidades */
}
.grupo-productos ul{
    list-style-type: none;
}
li {
  margin: 0;
}
ul, ol {
  margin: 25px;
  padding: 0;
}
.slogan{
  display: flex;
  justify-content: center;
  margin-top: 60px;
}
.slogan img {
  height: 220px;
  width: 220px;
}
.slogan p{
  font-family: "OpenSans", sans-serif;
  color: #ffffff;
  font-size: 28px;
  font-weight: 700;
}
.pslogan p{
text-align: start;
margin-bottom: 0px;
}
.abogacia{
  text-align: start;
}
.abogacia p{
  color: #ffae00;
  font-size: 52px;
  font-family: "OpenSans", sans-serif;
  position: relative;
  margin-top: 5px;
  margin-bottom: 5px;
}
.textslogan{
  justify-content: center;
  display: flex;
  flex-direction: column;
}

.sloganbotones{
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  margin-top: 12px;
}
.slogan-button {
width: 305px;
height: 50px;
box-sizing: border-box;
  background-color: #007bff;
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  border-radius: 5px;
  border-color: #007bff;
  position: relative;
  transition: background-color 0.3s ease;
  text-align: center;
margin-left: auto;
margin-right: 100px;
margin-bottom: 12px;
font-family: "Ardena", sans-serif;
letter-spacing: 1px;
font-weight: 200;
}
.slogan-button:hover {
  background-color: #0056b3;
}

.slogan-button:active {
  background-color: #003e80;
}
.sloganbotones h2{
  font-size: 18px;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 0.6px;
  font-family: "Faktum", sans-serif;
}
.playvideo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
  cursor: pointer;
  margin-top: 7px;
}

.playvideo:hover {
  transform: scale(1.1);
}
.playvideo img{
  height: 64px;
  width: 64px;
}
.playvideo h2{
  font-family: "OpenSans", sans-serif;
  font-size: 16px;
  color: #ffffff;
}
.circulomicuenta{
  display: flex;
  height: 65px;
  width: 65px;
  border-radius: 50%;
  background-color: #0056b3;
  position: fixed;
  right: 35px;
  bottom: 130px;
  align-items: center;
  justify-content: center;
  align-items: center;
}
.circulomicuenta:hover{
    transform: scale(1.1);
    transition: 2s;
}
.circulomicuenta a{
  text-decoration: none;
}
.circulomicuenta p{
  text-align: center;
  margin: 0 auto;
  color: white;
  font-size: 13px;
  font-family: "OpenSans", sans-serif;
  font-weight: bold;
  margin-bottom: 5px;
}
.circulowhatsapp{
right: 35px;
bottom: 35px;
position: fixed;
display: flex;
border-radius: 50%;
color: #25D366;
z-index: 1;
}
.circulowhatsapp:hover{
  transform: scale(1.1);
  transition: 2s;
}
footer{
  background-color: white;
  text-align: start;
  font-family: "OpenSans", sans-serif;
  position: absolute;
  margin-top: 80px;
  margin-left: 100px;
  z-index: 0;
}
footer p{
  color: #444;
  font-size: 13px;
}
footer a{
  color: #222;
  text-decoration: none;
  font-family: "OpenSans", sans-serif;
  margin-right: 30px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
}
footer a:hover{
  color: black;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}
.footerline{
  height: 1px;
  width: 1100px;
  background-color: #999;
  margin-bottom: 16px;
}
.linksfooter{
  margin-bottom: 16px;
}

@media (max-width: 600px){
  .first-section{
    padding-bottom: 12px;
  }
    .navweb{
        display: none;
      }
      .presentacionh {
        position: relative;
        overflow: hidden;
      }
      #video-background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 900px;
        overflow: hidden;
      }
      
      #video-background video {
        width: 100%;
        height: 900px;
        object-fit: cover;
      }
      .micuenta{
        left: 0px;
      }
    .first-image {
        width: 140px;
        height: 140px;
        border-radius: 50%;
        border-radius: 50%;
        margin-top: 12px;
    }

    .buttonwsp {
      margin: 0 auto;
      margin-top: 12px;
    }
    
    .title-second{
        margin-left: 12px;
        margin-top: 12px;
    }
    .second-section{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .second-section img {
        flex: 1;
        height: 235px;
        width: 280px;
        border-radius: 12px;
        box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        margin: auto;
        margin-bottom: 20px;
    }
    .containerfirst {
      display: flex;
      flex-direction: column;
      margin-left: 12px;
      margin-right: 12px;
  }
    .descripcion {
        visibility: hidden;
        position:absolute;
        white-space: pre-line;
        width: 285px;
    }
    .descripcion.visible {
        visibility: visible;
        position: relative;
        width: 280px;
    }
    .boton {
        padding: 7px;
    }
    .buttonwsp{
      padding-bottom: 12px;
    }
    .slogan img {
      height: 135px;
      width: 135px;
    }
    .pslogan p{
      color: white;
      font-size: 22px;
    }
    .abogacia p{
      color: #ffae00;
      font-size: 32px;
      font-family: "OpenSans", sans-serif;
      position: relative;
      margin-top: 5px;
      margin-bottom: 5px;
    }
    .sloganbotones{
      display: flex;
      justify-content: center;
      margin-bottom: 12px;
      margin-top: 12px;
      flex-direction: column;
      align-items: center;
    }
  .playvideo h2{
    font-family: "OpenSans", sans-serif;
    font-size: 16px;
    color: white;
}
.slogan-button {
  margin-right: 0;
}
.micuenta{
  margin-right: 12px;
display: none;
}
.circulomicuenta{
  display: flex;
  padding: 7px;
  height: 50px;
  width: 50px;
  border-radius: 50%;
  background-color: #0056b3;
  position: fixed;
  right: 20px;
  bottom: 100px;
  align-items: center;
  justify-content: center;
  align-items: center;
}
.circulomicuenta a{
  text-decoration: none;
}
.circulomicuenta p{
  text-align: center;
  margin: 0 auto;
  color: white;
  font-size: 12px;
  font-family: "OpenSans", sans-serif;
  font-weight: bold;
  margin-bottom: 5px;
}
.circulowhatsapp{
right: 20px;
bottom: 20px;
position: fixed;
display: flex;
border-radius: 50%;
color: #25D366;
}
footer{
  margin: 0px auto;
  padding-left: 12px;
  padding-top: 32px;
  z-index: -100;
}
}