body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 15%;
    background-color: var(--background-color-tbody);/*#333;*/
    color: var(--text-color-tbody);/*white;*/
}

.logo {
    width: 200px;
    height: auto;
}

@media (max-width: 768px) {
    .logo {
        width: 200px;
        margin: 0 auto;
        margin-bottom: 10px;
    } 

    .header {
        display: block;
        align-items: center;
        background-color: var(--background-color-tbody);/*#333;*/
        color: var(--text-color-tbody);/*white;*/
        text-align: center;
    }
}

.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.menu ul li {
    margin-left: 20px;
    /*color: var(--text-color-title);*/
}

.menu ul li a {
    text-decoration: none;
    color: var(--icon-border-color);;
    font-size: 18px;
}

h1 {
    font-size: 36px;
    line-height: 36px;
    font-family: Ubuntu, Arial, Tahoma, sans-serif;
}

h2 {
    text-align: center; /* Centra el texto horizontalmente */
    margin-top: 20px;   /* Espaciado superior opcional */
    font-size: 2em;     /* Ajusta el tamaño del texto si es necesario */
    color: var(--text-color-title); /* Color desde tus variables CSS */
}

h3 {
    font-size: 36px;
    line-height: 38px;
    font-family: Ubuntu, Arial, Tahoma, sans-serif;
    font-weight: 300;    
}

h3, h3 a, h3 a:hover {
    color: var(--font-color-h);
}

h4 {
    margin: 0;
    margin-top: 15px;
    cursor: pointer;
    /*padding: 20px 20px 20px 50px;*/
    font-size: 24px;
    line-height: 20px;
    position: relative;
    font-family: Ubuntu, Arial, Tahoma, sans-serif;
    font-weight: 300;
    color: var(--font-color-list);    
}

h5 {
    margin: 0;
    cursor: pointer;
    /*padding: 20px 20px 20px 50px;*/
    font-size: 18px;
    line-height: 20px;
    position: relative;
    font-family: Ubuntu, Arial, Tahoma, sans-serif;
    font-weight: 300;
    color: var(--font-color-list);    
}

.container {
    max-width: 70%;
    margin: 30px auto;
    margin-bottom: 80px;
    padding: 20px;
    background-color: var(--container-b-c);
    box-shadow: 0 4px 8px var(--box-shadow);
    border-radius: 8px;
    box-sizing: border-box;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .container {
        max-width: 90%;
    } 
    h3 {   
        margin: 15px;
    }
}

.sub-container {
    /*border: 0px solid #ccc;*/
    text-align: center;
    font: inherit;
    /*border-bottom-width: 1px;
    border-style: solid;  */     
}

.fancy-border{
    /*background-color: yellow;*/
    padding: 0px 250px 0px 250px;
    display: flex;
    justify-content: space-evenly;
}

.fancy-border hr{
    width: 300px;
}

@media (max-width: 768px) {
    .fancy-border{
        padding: 0px 10px 0px 10px;
    }
    .fancy-border hr{
        width: 80px;
    } 
}

.sub-container-icons {
    margin-top: 20px;
    display: flex;
    align-items: center;  /* Alinea verticalmente los iconos con el título */
    gap: 1%;
    justify-content: space-evenly; /* Centrar todos los elementos en el contenedor */
    margin-bottom: 50px;
}

.sub-container-icons:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .sub-container-icons {
        flex-direction: column; 
    } 
}

.title-bar {
    background-color: var(--background-color);
    color: var(--text-color-title);
    text-align: center;
    padding: 15px 0;
    font-size: 24px;
}

.list-container {    
    border: 0px solid #ccc;
    border-bottom-width: 1px;
    border-style: solid;  
}

.list-container:last-child {
    /*border-bottom-width: 1px solid #ccc;*/
    border-bottom: none;
}

.list-item {
    border: 0px solid #ccc;
    margin: 10px 0;
    padding: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;  
}

.icon {
    width: 30px;
    height: 30px;
    border: 1px solid var(--icon-border-color);
    border-radius: 50%;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
}

.icon::after {
    content: "";
    position: absolute;
    /*margin-left: 5px;*/
    margin-right: 25px;
    width: 30px;
    height: 30px;
    border: 1px solid transparent;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.expanded .content {
    max-height: 100px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.expanded .icon {
    background-color: var(--icon-border-color);
    color: white;
    margin-top: 5px;
    margin-left: 5px;
    margin-right: 15px;
    width: 20px;
    height: 20px;
}

.expanded .icon::after {
    border-color: var(--icon-border-color-sub);    
}

.content {
    max-height: 0;
    overflow: hidden;
    margin-left: 40px;
    padding-left: 10px;
    padding-top: 0;
    padding-bottom: 0;
    transition: max-height 0.5s ease, padding 0.3s ease;
    color: var(--font-color-list-e);
    font: inherit;
}

.icon_wrapper {
    /*background-color: yellow;*/
    width: 30%;
    height: 170px;
    justify-content: space-between;
    align-items: center;
    display: flex;
    flex-direction: column;   
    text-align: center; 
}

hr {    
    display: block;
    border: none;
    outline: none;
    height: 1px;
    width: 100px;
    margin: 0 auto 20px;
    margin-top: 10px;
    clear: both;
    background-color: rgba(0, 0, 0, .2);
    color: rgba(0, 0, 0, .2);
  }

@media (max-width: 768px) {
    .icon_wrapper {
        width: 100%;
        margin-bottom: 15px;
    } 
    /*hr {
        width: 35%;
    }*/
}

.icon_wrapper:hover .icon-s {
    /*width: 70px;
    height: 70px;*/
    background-color: var(--icon-border-color); 
    /*clip-path: circle(0% at center);*/ 
    width: 65px;  /* Reducimos 10px (50px a 40px) */
    height: 65px;
    margin-top: 7px;
}

/*.icon_wrapper:hover .icon-s::before {
    background: radial-gradient(circle, var(--icon-border-color) 0%, white 100%);

}*/

.icon_wrapper:hover .icon-s::after {
    width: 80px; /* Expande el círculo exterior */
    height: 80px;
    opacity: 1; /* Hace visible el círculo exterior */    
}

.icon-s {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 80px;
    height: 80px;
    border: 2px solid var(--icon-border-color);
    border-radius: 50%;
    display: flex;
    font-size: 16px;
    font-weight: bold;
    position: relative;
    transition: all 0.2s ease-in-out;
}

.icon_wrapper .icon-s::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    /*background: radial-gradient(circle, white 50%, var(--icon-border-color) 100%);*/
    transition: all 0.5s ease-in-out;   
}

.icon_wrapper .icon-s::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(128, 128, 128, 0.5); /* Borde gris transparente */
    border-radius: 50%;
    opacity: 0;
    transition: all 0.5s ease-in-out;  
}

footer {    
    text-align: center;
    height: 45px;
    background-color: var(--footer-background-color);
    color: var(--text-color);
    position: fixed;
    width: 100%;
    bottom: 0;
    display: flex;
    justify-content: space-evenly;

    /*position: fixed;    Hace que el pie de página se quede fijo en la parte inferior */
    /*bottom: 0;          Asegura que esté pegado al fondo */
    /*left: 0; */          /* Asegura que se alinee a la izquierda */
    z-index: 1000;     
}

.social-icons {
    margin-top: 10px;
}

.social-icons a {
    margin: 0 10px;
    font-size: 24px;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    footer {
        height: 75px;
    } 
}