:root{
    --bgColor: #a9383d;
    --textColor: white;
    --blur: 0px;
}

.contact{
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    height: 0px;
    background-color: black;
    font-family: 'body-font';
    color: white;
    margin: 0;
}
.contact-group{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin: 0;
}
.contact-element {
    display: flex; /* Asegura que su contenido se expanda */
    align-items: center; /* Centra verticalmente */
    justify-content: center; /* Centra horizontalmente */
    height: 100%; /* Igual altura que su contenedor */
    padding: 10px 20px;
}
.contact-element a {
    display: flex; /* Hace que el enlace tome el tamaño de su contenido */
    align-items: center; /* Centra la imagen dentro del enlace */
    justify-content: center;
    height: 100%;
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}
.contact-element a:hover {
    color: var(--bgColor);
    transform: scale(1.1);
}
.socialmedia-element:hover{
    background-color: rgba(255, 255, 255, 0.5); /* Efecto hover sin alterar tamaño */
    cursor: pointer;
}
.contact-logo {
    display: none;
}
header {
    position: sticky;
    top: 0px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--textColor);
    padding: 0px 50px;
    font-family: 'body-font';
    font-size: 14px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
header::after{
    content: "";
    position: absolute;
    inset: 0;  /* Reemplaza top, left, width y height (ocupa 100% del contenedor) */
    filter: blur(var(--blur));
    background-color: var(--bgColor);
    z-index: -1;
    opacity: 100%;
}
.branding {
    display: flex;
    align-items: center;
}
.logo {
    height: 70px;
    margin-right: 50px;
    max-width: 150px; /* Evita que se agrande demasiado */
    object-fit: contain; /* Mantiene las proporciones */
}
.hamburger {
    display: none;
}
.social-media {
    height: 70%;
    width: auto;
}
.title{
    font-size: 50px;
    margin: 0 50px 0 0;
    width: max-content;
    font-family: 'title-font';
    font-weight: lighter;
    color: black;
    visibility: hidden; /* Quitar para que se ea título en encabezado*/
}
.noeffect{
    color: inherit;
    text-decoration: none;
    display: inherit;
    align-items: center;
}
nav {
    display: flex;
    width: 100%;
    justify-content: space-evenly;
}
nav a {
    position: relative; /* Necesario para que ::after se posicione correctamente */
    display: block;
    padding: 10px 5px;
    align-content: center;
    color: inherit;
    text-decoration: none;
    font-size: 18px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px; /* Ajusta la posición del borde */
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transform: scaleX(0); /* Inicialmente invisible */
    transform-origin: left; /* Para que crezca desde la izquierda, por defecto creceria del centro hacia los lados */
    transition: transform 0.3s ease-in-out, bottom 0.3s ease;
}
nav a:hover {
    opacity: 0.7;
    transform: translateY(-5px);
}
nav a:hover::after {
    transform: scaleX(1); /* Expande el borde de izquierda a derecha */
    bottom: -3px;
}