@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Sans+Mono:ital,wght@0,400..700;1,400..700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
   
   
    font-family: 'Roboto', sans-serif;
    font-weight: 100;
    overflow-x: hidden;
    perspective: 1000px; /* Aplica la perspectiva */
    background: radial-gradient(circle, #1a2a6c, #b21f1f, #fdbb2d);
    background-blend-mode: overlay, normal;
    background-color: #0f0c29;


}



.contenedor{

    width: 100%;
    display: flex;
    flex-direction: column; /* Organiza contenido en columna */
    height: 100vh; /* Ocupa al menos el alto de la pantalla */
    transition: transform 1s ease-in-out; 
    background: #202124;
    box-shadow:  0px 0px  33px black;
    
    
}



  /* Pantalla circular */
  .pantalla-circular {
    position: fixed;
    width: 800px;
    height:800px;
    border-radius: 50%;
    background: radial-gradient(circle,coral, #202124);
    display: none;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    color: white;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s,tranform .5s;
    z-index: 10000000;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    transform-style: flat; /* Evita que los hijos hereden la perspectiva */
    perspective: none; /* Asegúrate de que no se aplique perspectiva aquí */
    box-shadow:  1px 1px  3px black;
   
  }

  .pantalla-circular p{

    font-size: 30px;
    padding: 60px;
    letter-spacing: 1px;
  }

  .pantalla-circular a{

    text-decoration: none;
    color:yellow;
    font-weight: bold;
    display: none;
    font-size: 20px;
    transition: color .5s;
  }

  .pantalla-circular a:hover{

    color: rgba(0, 0, 0,1);
  }

  .pantalla-circular a.activa{

    display: block;
  }

  /* Estado activo del contenedor */
  .contenedor.activo {
    transform: rotateY(10deg) translateZ(-200px);
  }

  /* Estado activo de la pantalla circular */
  .pantalla-circular.activo {
    opacity: 1;
    pointer-events: auto;
    display: flex;
    animation: pantallaCirculo 1s linear;
  }

  @keyframes pantallaCirculo {

    0%{
        transform: translateX(3000px);
        width: 0px;
        height: 0px;
    }
    100%{

        
    }
    
  }

  .nieve{

    overflow: hidden;
  }

header{

    position: relative;
    width: 100%;
    display: flex;
    justify-content:space-between;
    align-items: center;
    margin-top: 10px;
}



.titulos{
    
    display: flex;
    color: #e8e8e8;
    justify-content: start;  
    align-items: flex-end;
    width: 100%;

}
.titulos h2{

    margin-left: 20px;
    font-size: 15px;
}

.titulos h2:hover{

    text-decoration: underline;
    cursor: pointer;
}

.barraPrincipal{

    position: relative;
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.barraPrincipal nav ul{

    display: flex;
    list-style: none;
    justify-content: center;
    align-items:center;
    color: white;
}

/* Estilo para cada elemento del menú */
nav ul li {
    margin-right: 10px;
    
}

/* Estilo para los enlaces del menú */
nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 15px;
    
}

/* Estilo al pasar el ratón (hover) sobre los enlaces */
nav ul li:hover {
    text-decoration: underline;
    cursor: pointer;
}

.iconos{

    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    gap: 10px;
}

.iconos div{

    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    
    
}

.iconos div:nth-child(1) a{

    color: #e8e8e8;
 }
 

.iconos div:nth-child(2) a{

   text-decoration: none;
   color: #e8e8e8;
   
}


.iconos div:nth-child(1) a img{

    width: 30px;
    height: 30px;
    
 }
 

.iconos div:nth-child(1){

    transition: box-shadow .5s;
 }
 

.iconos div:nth-child(2){

    background-color: coral;
 }

.iconos div:nth-child(1):hover{

    box-shadow: inset 0px 0px 18px gray;
   
 }


/*main*/

main{

    position: relative;
    width: 100%;
    margin-top: 150px;
    flex: 1;
}

.seo-h1{
    position:absolute;
    left:-9999px;
    opacity: 0;
}

.seo-texto{
    top: 0;
    left:-9999px ;
    opacity:0;
    font-size:14px;
    position: absolute;
    overflow: hidden;
}

.contenido{

    display: flex;
    flex-direction: column;
    align-items: center; /* Centrar horizontalmente */
    justify-content: center; /* Centrar verticalmente */
    gap: 20px; /* Espacio entre el logo y el input */
    width: 100%;
    height: auto;
    margin-top: 0px;
   
}

.nombre{

    font-size: 66px;
    display: flex;
    justify-content: center;
    align-items:center;
    font-family: "Poppins", serif;
    width: 100%;
    text-align: center;
    cursor: default;
}



.nombre h1 span:nth-child(1):hover{

    color:#202124;
    text-shadow: 10px 0px 5px black;
}
.nombre h1 span:nth-child(2):hover{

    color:#202124;
    text-shadow: 10px 0px 5px black;
}
.nombre h1 span:nth-child(3):hover{

    color:#202124;
    text-shadow: 10px 0px 5px black;
}
.nombre h1 span:nth-child(4):hover{

    color:#202124;
    text-shadow: 10px 0px 5px black;
}
.nombre h1 span:nth-child(5):hover{

    color:#202124;
    text-shadow: 10px 0px 5px black;
}
.nombre h1 span:nth-child(6):hover{

    color:#202124;
    text-shadow: 10px 0px 5px black;
}



.compartir{

   border-radius: 50%;
   padding: 5px;
   font-size: 14px;
   background-color: rgba(65, 66, 71 ,0.2);
   width: 30px;
   height: 30px;
   display: flex;
   justify-content: center;
   align-items: center;
   color: #e8e8e8;
   transition: background .5s;
   align-self: flex-end;
   cursor: pointer;
}

.compartir:hover{

    background: rgba( 244, 244, 244 ,0.3);
}

.nombre h1 span:nth-child(1){

    color: #4285F4;
}
.nombre h1 span:nth-child(2){

    color: #EA4335;
}
.nombre h1 span:nth-child(3){

    color: #FBBC05;
}
.nombre h1 span:nth-child(4){

    color: #359E81FF;
    font-family: "Ubuntu Sans Mono", monospace;
    font-weight: bold;
  
}
.nombre h1 span:nth-child(5){

    color: #359E81FF;
    font-family: "Ubuntu Sans Mono", monospace;
    font-weight: bold;
}
.nombre h1 span:nth-child(6){

    color: #359E81FF;
    font-family: "Ubuntu Sans Mono", monospace;
    font-weight: bold;
}
.buscar{

    position: relative;
    width: 100%;
    margin-top: 30px;
   
}

.formulario{

    display: flex;
    align-items: center;
    flex-flow: column wrap;
    justify-content: center;

    
}

.formulario input {
    width: 500px;
    height: 50px;
    border-radius: 25px;
    padding: 0 15px;
    font-size: 16px;
    outline: none;
    background: rgba(108, 108, 108,0.5);
    color: #e8e8e8;
    transition: background .5s;
    border: none;
}

.formulario input:hover {
    
    background: rgba(108, 108, 108,1);
}

.botones{

    gap: 20px;
    display: flex;
    flex-direction: row;
    
}


.botones button {
    margin-top: 20px;
    padding: 10px 20px;
    border-radius: 3px;
    background-color: #3c4043;
    color: #f8f9fa;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: box-shadow .3s;
   
}

.botones button:hover{

    box-shadow: inset 0px 0px 2px #fff;
}

.textoIdioma{

   
    width: 100%;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    font-size: 12px;
}

.texto h3{

    color: #FBBC05;
}

.texto h3 a{

    text-decoration: none;
    color: #34A853;
    transition:  text-decoration .5s;
}

.texto h3 a:hover{

   text-decoration: underline white;
}


.idioma{

    color: #f8f9fa;
    font-weight: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.idioma  model-viewer{

    width: 80px;
    height: 80px;
}


footer{

    width: 100%;
    background-color: rgba(3, 3, 3,.5);
    position:fixed;
    bottom: 0;
}

.contenidoPie{

    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px;
}

.publicidad  ul{

    display: flex;
}

.publicidad ul li{

   list-style: none;
}

.yo ul li{

    list-style: none;
  
}

.yo ul li i{

    font-size: 20px;
    color: greenyellow;
    margin-right: 5px;
}


.politicas ul{

    display: flex;
}
.politicas ul li{

    list-style: none;
 }
 



.pais{

    width: 100%;
    height: 50px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-bottom: 1px solid rgba(108, 108, 108,1);
    
}

.pais h4{

    margin-left: 30px;
    color: #f8f9fa;
}



/* Cajón flotante */

.app-drawer {
    position: absolute; 
    right: 20px;
    top: 60px;
    width: 400px;
    height: 350px;
    border-radius: 25px;
    overflow: hidden;
    z-index: 10000;
    background: #3c4043;
    box-shadow: 0px -1px 10px rgba(0, 0, 0,1);
    display: none;
    
}
  
  .scroll-container {
    height: 100%;
    overflow-y: auto;
    scrollbar-width: thin; /* Muestra una barra de scroll más pequeña (Firefox) */
    scrollbar-color: #888 #e0e0e0; /* Color personalizado (Firefox) */
    
    
  }
  
  .scroll-container::-webkit-scrollbar {
    width: 8px; /* Ancho de la barra de desplazamiento */
  }
  
  .scroll-container::-webkit-scrollbar-thumb {
    background-color: #888; /* Color del "pulgar" */
    border-radius: 4px;
  }
  
  .scroll-container::-webkit-scrollbar-track {
    background: #e0e0e0; /* Color del fondo del track */
  }
  
  .app-grid {
    display: grid;
    justify-items: center;
    align-items: center;
    grid-template-columns: repeat(3, 1fr); /* Cuadrícula de 4 columnas */
    gap: 40px 10px;
    padding: 15px;
    background: rgba(3, 3, 3,.8);
    margin-top: 15px;
    margin-left: 15px;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
  }
  
  .app-item {
    width: 80px;
    height: 80px;
    background: rgba(3, 3, 3,0);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
    color:#e0e0e0;
    padding: 10px;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
  }
  
  .app-item:hover {
    transform: scale(1.1);
    background: #88888828;
  }


  .app-drawer.cajaVista{

    display: block;
    opacity: 1;
    
  }

  /*modal redes sociales*/

  .modalRedes{

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color:rgba(32, 33, 36,.9);/* Fondo oscuro semitransparente */
    justify-content: center;
    align-items: center;
    z-index: 1000;
    display: none;

  }

  .contenidoModal{

    padding: 20px;
    border-radius: 10px;
    box-shadow: 1px 1px 1px 1px gray;
    max-width: 400px;
    width: 80%;
    position: relative;
    

  }

  .textoModal{

    display: flex;
    justify-content: start;
    align-items:start;
    gap: 30px;
    color: #e8e8e8;
  }

  .textoModal i{

    font-size: 30px;
    cursor: pointer;
  }

  .iconoModal{

    color: #e8e8e8;
    font-size: 40px;
    margin-top: 10px;
    display: flex;
    gap: 20px;
    padding: 10px;
    border-bottom: 1px solid gray;
  }

  .fa-facebook{

    color: #1877F2;
    cursor: pointer;
  }

  .fa-at{

    color:#EA4335;
    cursor: pointer;
  }

  .iconoModal svg{

    width: 40px;
    color: #4285F4;
    cursor: pointer;
  }

  .fa-facebook:hover{

    opacity: .5;
  }

  .fa-at:hover{

    opacity: .5;
  }

  .iconoModal svg:hover{

    opacity: .5;
  }


  .enlaceModal{

    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px;
    cursor: pointer;
  }

  .enlaceModal p{

    border: 1px solid gray;
    padding: 10px;
    color: #888;
    border-radius: 3px;
    font-size: 13px;
    
  }

  .enlaceModal div{

    display: flex;
    gap: 10px;
    align-items: center;
    color: #333;
    padding: 10px;
    background: #9bb8dd;
    border-radius: 8px;
  }

  .enlaceModal div:hover{

    opacity: .5;
  }

  .fa-copy{

    font-size: 20px;
    color: #e8e8e8;
  }


  /*bocadillo*/

  .bocadillo {
    position: absolute;
    display:none;
    max-width: 200px;
    padding: 10px 15px;
    background-color: #f0f0f0;
    background: linear-gradient(to bottom left, #4285F4, #DB4437, #FBBC05, #34A853);
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.4; 
    text-align: left;
    right: 200px;
    top: 50px;
    box-shadow: 0px -10px 20px  black;
    animation: animBocata .5s linear;
}

/* Triángulo del bocadillo */
.bocadillo::after {
    content: "";
    position: absolute;
    top: -10px; /* Posiciona el triángulo encima del bocadillo */
    right: 20px; /* Ajusta la posición horizontal del triángulo */
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 10px 10px 10px; /* Triángulo apuntando hacia abajo */
    border-color: transparent transparent #4285F4 transparent;
    
}

.bocadillo p{

    font-weight: bold;
    
}

.bocadillo  a{

    color: #e0e4e1;
    font-size: 20px;
    font-weight: bold;
}

.bocadillo a:hover{

   color: black;
  
}


@keyframes animBocata{

    0%{
        opacity: 0;
        transform: scale(0) rotatex(200deg);
        
        
    }
    50%{

        opacity: .5;
        transform: scale(.5) rotatex(100deg);
        
       
    }
    100%{

        opacity: 1;
        transform: scale(1) rotatex(0deg);
      
        
    }
}


 /*nieve*/
 #snowflakes-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.snowflake {
    position: absolute;
    top: -10px;
    color: white;
    font-size: 1em;
    opacity: 0.8;
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        transform: translateY(-10px);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0.3;
    }
}



/*modal publicidad y empresa*/


.publiEmpresaModal{

    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: transparent;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    
}

.publiEmpresaModal h2{

    color: black;
}



.publicidadModal{

    display: none;
    flex-flow: column wrap;
    width: 800px;
    gap: 20px;
    background-color: #34A853;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 1px 1px 12px black;
    font-weight: bold;
    color: #e0e4e1;
}

.empresa{

    display: none;
    flex-flow: column wrap;
    width: 800px;
    gap: 20px;
    background-color: #4285F4;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 1px 1px 12px black;
    font-weight: bold;
    color: #e0e4e1;
}

.publicidadModal a {
    width: 100px;
    color: #e0e4e1;
    font-weight: bold;
    padding: 5px;
    text-decoration: none;
    border: 1px solid gray;
    text-align: center;
    background-color: #EA4335;
    border-radius: 5px;
    transition: box-shadow .3s ease,transform 0.2s ease; /* Agregado para suavizar el cambio */
}

.publicidadModal a:hover {
   
    transform: scale(1.1); /* Un pequeño efecto de aumento */
    box-shadow: 0px 0px 9px black;
}



.empresa a{

    width: 100px;
    color: #e0e4e1;
    font-weight: bold;
    padding: 5px;
    text-decoration: none;
    border: 1px solid gray;
    text-align: center;
    background-color: #EA4335;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease; /* Agregado para suavizar el cambio */
}


.empresa a:hover {
   
    transform: scale(1.1); /* Un pequeño efecto de aumento */
    box-shadow: 0px 0px 9px black;
}

.controles{

    display: flex;
    flex-flow: column wrap;
    margin-top: 10px;
    gap: 10px;
}

.controles div{

    display: flex;
    gap: 10px;
}


.modalConfi{

    position: absolute;
    top: 0;
    left: 0;
    z-index: 100000;
    background: #333;
    padding: 10px;
    margin: 5px;
    color: #e0e4e1;
    border-radius: 12px;
    display: none;
}


.modalConfi.activadoModalConfi{

    display: block;
}

.modalConfi h3{

    background: #3c4043;
    padding: 5px;
    width: 40px;
    border-radius: 50%;
    cursor: default;
}



.slider{

    transform: scale(.8);
    width: 50px;
}


.lineaControles{

    width: 100%;
    height: 1px;
    background-color: #202124;
}


  /*medias*/
  

@media (max-width: 1120px) {

    .publicidad ul li a{

        font-size: 12px;
     }

     .yo ul li a{

        font-size: 12px;
      
    }
    
   
    .politicas ul li a{
    
        font-size: 12px;
     }
}

@media (max-width: 820px) {

    .pantalla-circular{

        width: 600px;
        height:600px;
        
    }

    .pantalla-circular p{

        font-size: 25px;
        
      }
}



@media (max-width: 768px) {
    .nombre h1 {
        font-size: 56px;
    }

    .formulario input {
        width: 380px;
    }

    .botones button {
        font-size: 12px;
        padding: 8px 16px;
    }

    .formulario input {

        height: 40px;
    }

    .contenidoPie{

        flex-direction: column;
        
       }
    
}
@media (max-width: 590px) {

    .pantalla-circular{

        width: 500px;
        height:500px;
        
    }

    .pantalla-circular p{

        font-size: 18px;
       
    }

    .pantalla-circular a{

        
        font-size: 16px;
        
     }
    
}

@media (max-width: 492px) {

    .pantalla-circular{

        width: 400px;
        height:400px;
        
    }

    .pantalla-circular p{

       font-size: 18px;
       
        
    }

    .pantalla-circular a{

        
        font-size: 16px;
        
     }
}

@media (max-width: 420px) {

    .nombre h1 {
        font-size: 48px;
    }

    .titulos h2{

        margin-left: 10px;
        font-size: 11px;
    }

    .formulario input {
        width: 90%;
       
    }

   
    iconos{

        margin-right: 0px;
        
    }

    nav ul li{

        font-size: 11px;
    }
    nav ul li a {
        
        font-size: 11px;
       
    }
    .barraPrincipal{

        margin-right: 0px;
        
    }
    
    .textoIdioma{

        font-size: 10px;
    }

    

    .app-drawer {

        width: 90%;
        margin-bottom: 10px;
        margin: 0;
        
    }

    .app-item {

        padding: 5px;
        gap: 5px;
        width: 60px;
        height: 60px;
    } 

    .app-grid{

        padding: 10px;
    }

    .bocadillo {

        padding: 5px 10px;
        right: 160px;
    }

    .nombre h1{

        text-shadow: 10px 0px 5px black;
        pointer-events: none;
    }

    

    .pantalla-circular p{

        font-size: 16px;
        
         
     }
 
     .pantalla-circular a{
 
         
        font-size: 14px;
        padding: 0;
        margin-top:-20px;
      }

    

}
   