/* Estilos generales */
@font-face {
    font-family: Formal;
    src: url("sources/Fonts/La Formalita.otf");
}
@font-face {
    font-family: MyArial;
    src: url("sources/Fonts/arial_narrow_7.ttf");
}
body {
    font-family: MyArial;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: black; /* Cambiado a negro */
    color: white;
}

header img.glitch {
    animation: glitch 2s infinite, glitchMotion 2s infinite;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    opacity: 1;
    height: 150px;
    width: 150px;
}

@keyframes glitch {
    0% {
        background: url(sources/logo.png) no-repeat;
        background-size: contain;
    }

    1.5% {
        background: url(sources/logo.png) no-repeat;
        background-size: contain;
    }

    50% {
        background: url(sources/logo.png) no-repeat;
        background-size: contain;
    }

    100% {
        background: url(sources/logo.png) no-repeat;
        background-size: contain;
    }
}

@keyframes glitchMotion {
    0% {
        transform: translateX(0) translateY(0);
    }
    7% {
        transform: translateX(-5px) translateY(5px);
    }
    15% {
        transform: translateX(5px) translateY(-5px);
    }
    100% {
        transform: translateX(0) translateY(0);
    }
}

.Name {
    text-align: left;
}

.Name h1 {
    font-size: 24px;
    margin: 0;
}

.Name p {
    font-size: 14px;
    margin: 0;
}

.MenuButton {
    display: none;
    font-size: 30px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.OptionsHeader {
    display: flex;
    gap: 20px;
}

.Linkers {
    color: white;
    text-decoration: none;
}

.HrHome {
    border: 0;
    height: 1px;
    background-color: white;
}

.ContainerHome {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    gap: 20px;
}

.ImageHomeContent {
    text-align: center;
    flex: 1;
}

.ImageIsaac {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.Data,
.SecondInformation,
.SecondInformationImage {
    margin-top: 20px;
}

h2 {
    font-size: 22px;
    text-shadow: black 3px 0 10px;
}

p {
    font-size: 16px;
}

.knowledge img {
    width: 80%; /* Reducido el tamaño de las imágenes */
    height: auto;
    margin: 10px; /* Añadido espacio entre imágenes */
}

.FooterHome {
    background-color: black; /* Cambiado a negro */
    color: white;
    text-align: center;
    padding: 20px;
}

.Social {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.Social a {
    color: white;
    font-size: 24px;
}

/* Estilos responsivos */
@media (max-width: 1024px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    .OptionsHeader {
        display: none;
        flex-direction: column;
    }

    .MenuButton {
        display: block;
    }

    .ContainerHome {
        flex-direction: column;
    }

    .Data, .SecondInformation, .SecondInformationImage {
        margin-top: 15px;
    }

    .Knowledge img {
        max-width: 100%;
        height: auto;
    }
}

/* Mostrar el menú al hacer clic */
@media (max-width: 1024px) {
    .OptionsHeader.show {
        display: flex;
    }
}

/* Estilos para dispositivos móviles */
@media (max-width: 768px) {
    .Name h1 {
        font-size: 20px;
    }

    .Name p {
        font-size: 12px;
    }

    h2 {
        font-size: 18px;
        text-shadow: black 3px 0 10px;
    }

    p {
        font-size: 14px;
    }

    .ImageIsaac {
        width: 100%;
        max-width: 400px;
    }

    .FooterHome {
        font-size: 14px;
    }

    .Social {
        gap: 10px;
    }

    .Social a {
        font-size: 20px;
    }
}

/* Estilos para dispositivos pequeños */
@media (max-width: 480px) {
    .Name h1 {
        font-size: 18px;
    }

    .Name p {
        font-size: 10px;
    }

    h2 {
        font-size: 16px;
        text-shadow: black 3px 0 10px;
    }

    p {
        font-size: 12px;
    }

    .ImageIsaac {
        width: 100%;
        max-width: 300px;
    }

    .FooterHome {
        font-size: 12px;
    }

    .Social a {
        font-size: 18px;
    }
}

.AreasContainer{
    display: inline-flex;
    text-align: center;
    margin-left: 2.2rem;
}
.AreasContainer,img{
    height: 100px;
    width:100px;
    align-self: center;
}
