/* Estilos para el encabezado y la barra de navegación */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,500;0,700;1,100;1,300;1,500;1,700&amp;display=swap');

* {
    border: 0;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: #201f1f;
    color: #fff;
    -webkit-font-smoothing: antialiased;
}

header {
    background-color: #242323;
    color: #fff;
    padding: 20px;
    text-align: center;
    height: 110px;
    margin: 0;
    padding: 0;
}


/* Estilos generales para la clase 'main' */
.main {
    display: flex;
    justify-content: space-between;
    -webkit-font-smoothing: antialiased;
}

/* Estilos para las columnas en dispositivos de escritorio */
.column {
    flex-basis: 30%;
    /* Ancho de las columnas en dispositivos de escritorio */
    background-color: #131212;
    border-radius: 14px;
    padding: 20px;
    margin: 10px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    -webkit-font-smoothing: antialiased;
}

/* Media query para dispositivos móviles (ancho máximo de 768px) */
@media screen and (max-width: 768px) {
    .main {
        margin-top: 30px;
        flex-direction: column;
        /* Cambia a modo bloque en dispositivos móviles */
    }

    /* Ajusta el ancho de las columnas para dispositivos móviles */
    .column {
        flex-basis: 100%;
        margin: 10px 0;
        /* Espaciado entre las columnas en dispositivos móviles */
    }
}

h1 {
    margin: 20px 0;
}

p {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

#logo {

    width: 330px;
    height: auto;
}

.logodiv {
    display: flex;
    justify-content: center;
    /* Alinea horizontalmente en el centro */
    align-items: center;
    /* Alinea verticalmente en el centro */
    width: 330px;
    height: auto;
}

.nav {
    display: flex;
    gap: 10px;
}

.barra {
    display: flex;
    justify-content: center;
    /* Alinea horizontalmente en el centro */
    align-items: center;
    /* Alinea verticalmente en el centro */
}

footer {
    flex: 1;
    -webkit-font-smoothing: antialiased;
    left: 0;
    width: 100%;
    height: 60px;
    /* adjust the height as needed */
    background-color: #2c2c2c;
    color: #fff;
    text-align: center;
}


header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: right;
    -webkit-font-smoothing: antialiased;
}

header nav ul li {
    margin-right: 20px;
    background-color: crimson;
    gap: 4px;
    padding: 7px;
    border-radius: 14px;
}

.app a{
    padding: 7px;
    background-color: crimson ;
    color: #f1eaea;
    font-style: normal;
    text-decoration: none;
    border-radius: 14px;
    -webkit-font-smoothing: antialiased;
}

.app a:hover {
    background-color: darkred;
}

header nav ul li:hover {

    background-color: darkred;

}

.fa{
    font-size: 22px;
    padding: 10px;
    -webkit-font-smoothing: antialiased;
}

.fa:hover{
    color: rgb(241, 235, 235);
    -webkit-font-smoothing: antialiased;
}

.fa:active{
    color: #d31717;
  }

header nav a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
    -webkit-font-smoothing: antialiased;
}

header nav a:hover {
    color: #ccc;
}

header nav a.active {
    color: #fff;
}

/* Estilos para la lista desordenada y elementos de la lista */
ul {
    list-style-type: none;
    padding: 0;
}

li {
    -webkit-font-smoothing: antialiased;
    margin: 10px 0;
    /* From https://css.glass */
    background: rgba(67, 66, 66, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(67, 66, 66, 0.3);
    padding: 10px;
    border-radius: 5px;
}

#history-list{
    border-bottom: #f1eaea;

    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: rgb(77, 24, 24);
}
#title_history{
    background-color: crimson;
    font-size: 17px;
    color: rgb(255, 255, 255);
    padding: 3px;
    padding-left: 17px;
    margin-bottom: 4px;
    border-radius: 7px; /* Radio de borde superior izquierdo */
    font-weight: 800;
    width: 318px;
    
}
#history{
    color: antiquewhite;
    font-style: italic;
    font-size: 16px;
    font-weight: 500;
    text-align: centlefter;
    width: 318px;

    
}  

  #history li:nth-child(odd) {
    background-color: #131313;
  }
  
  #history  li:nth-child(even) {
    background-color: rgb(192, 13, 13);
  }
  
  
.scroll {

    height: 250px;
    overflow-y: scroll;
    

  }
  
  

  .scroll::-webkit-scrollbar {
    width: 12px;
  }
  
  .scroll::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
  }
  
  .scroll::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
  }

.links{
    width: 100%;
    height: 50px;

    font-size: large;
}

.links ul li{
    padding: 15px;
    background-color: #131313;
}
.redes{
    gap: 3px;
    padding: 10px;
    border-radius: 14px;
    background-color: #2c2c2c;
}

.redes:hover{
    padding: 10px;
    border-radius: 14px;
    background-color: #d31717;
}

@media screen and (max-width: 325px) {
    .main{
        width: 325px;
    }
    #history{
        gap: 3px;
        width: 332px;
        font-size: 15px;
    }
    .scroll {
        width: 322px;
       
        
    
      }
    #logo{
        display: flex;
        justify-content: center;
        /* Alinea horizontalmente en el centro */
        align-items: center;
        width: 300px;
        height: auto;
    }
   
}


/* Estilos responsive */
@media screen and (max-width: 600px) {
    .lista-dark {
        width: 100%;
    }
    
}

/* Estilos para la media query de responsividad */
@media (max-width: 768px) {
    header {
        display: flex;
        width: 100%;
        flex-basis: 100%;
        margin: 20px 0;
        height: 100px;
    }

    .nav {
        display: block;

        margin-left: 20px;
    }

    .logodiv {
        display: flex;
        justify-content: center;
        /* Alinea horizontalmente en el centro */
        align-items: center;
        /* Alinea verticalmente en el centro */
    }

}
.footer{
    width: 100vh;    
    height: 40px;
}
