body {
    width: 100%;
    color: #fff;
    background: linear-gradient(45deg, #2e0f49, #411664, #3d0b51, #390f49);
    background-size: 400% 400%;
    position: relative;
    animation: gradient 10s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.fontopensans {
    font-family: 'Open Sans', sans-serif;
}

.fontfredoka {
    font-family: 'Fredoka', sans-serif;
}

.soydiv {
    max-width: 800px;
    height: auto;
    background-image: linear-gradient(to left, #FFD700, #7B68EE, #3498db, #2ecc71, #FFD700);
    background-clip: text;
    background-size: 50%;
    animation: color 7s linear infinite;
    font-weight: bold;
}

@keyframes gradient {
    0% { background-position: 0 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0 50%; }
}

@keyframes color {
    from { background-position: 0% 50%; }
    to { background-position: 100% 50%; }
}

.soyp1 {
    font-size: 20px;
    margin: 20px 0px 0px 20px;
}

.soyp2 {
    font-size: 60px;
    margin: 4px 0px 0px 20px;
}

.soyp3 {
    margin: 20px;
}

.texto-normal {
    margin: 20px;
}

.titulo {
    margin: 20px;
    font-size: 30px;
}

.texto-pequeno {
    margin-left: 20px;
    margin-top: 0;
    font-size: 15px;
}

.opacidad-baja {
    opacity: 0.5;
}

.rainbow-animation {
    border-radius: 3px;
    position: relative;
    background: #222;
    z-index: 0;
    overflow: hidden;
    padding: 20px;
    margin: 5px;
}

.rainbow-animation::before {
    box-sizing: border-box;
    content: '';
    position: absolute;
    z-index: -2;
    left: calc(-6000px + 50%);
    top: calc(-6000px + 50%);
    width: 12000px;
    height: 12000px;
    background-repeat: no-repeat;
    background-position: 0 0, 100% 0, 100% 100%, 0 100%;
    background-image: conic-gradient(#a65ff2, #f25f61, #f2cb5f, #5ff281, #5ff2f0, #a65ff2);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0turn); }
    to { transform: rotate(1turn); }
}

.rainbow-animation::after {
    box-sizing: border-box;
    content: '';
    position: absolute;
    z-index: -1;
    left: 3px;
    top: 3px;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    background: #222;
    border-radius: 2px;
}

.rainbow_text_animated {
    color: white;
    text-decoration: none;
    animation: rainbow_animation 10s linear infinite;
    animation-iteration-count: infinite;
}

@keyframes rainbow_animation {
    0% { filter: saturate(0%) invert(48%) sepia(13%) saturate(3207%) hue-rotate(0deg) brightness(125%); }
    25% { filter: saturate(0%) invert(48%) sepia(13%) saturate(3207%) hue-rotate(90deg) brightness(125%); }
    50% { filter: saturate(0%) invert(48%) sepia(13%) saturate(3207%) hue-rotate(180deg) brightness(125%); }
    75% { filter: saturate(0%) invert(48%) sepia(13%) saturate(3207%) hue-rotate(270deg) brightness(125%); }
    100% { filter: saturate(0%) invert(48%) sepia(13%) saturate(3207%) hue-rotate(360deg) brightness(125%); }
}

.proyectosdiv {
    max-width: 800px;
    width: 100%;
    height: auto;
}

.proyectos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 800px;
    margin: 0 auto;
    box-sizing: border-box;
}

.proyecto {
    width: calc(33.33% - 20px);
    max-width: calc(33.33% - 20px);
    background-color: #222;
    border-radius: 5px;
    padding: 15px;
    box-sizing: border-box;
    margin: 20px 0;
}

.proyecto-nombre {
    font-size: 24px;
    color: white;
    text-decoration: none;
}

.proyecto-descripcion {
    margin-top: 10px;
}

.proyecto-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.tag-container {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline; /* Alinea las tags a la misma altura */
}

.tag {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    margin-bottom: 5px; /* Agrega un espacio entre las tags */
    margin-right: 5px; /* Agrega un espacio entre las tags */
}

@media screen and (max-width: 600px) {
    .proyecto .soydiv .noticiasdiv .redesdiv {
        width: calc(100% - 20px);
        max-width: calc(100% - 20px);
    }
}

@media screen and (min-width: 800px) {
    .soydiv .proyecto .noticiasdiv .redesdiv {
        min-width: 800px;
    }
}

.socials-container {
    display: flex;
    justify-content: space-around;
    align-content: center;
    min-width: 800px;
}

.square {
    height: 50px;
    width: 50px;
    background-color: #535353;
    transition: opacity 0.5s ease;
    border-radius: 8px; /* Bordes redondeados */
    cursor: pointer;
}

.square:hover {
    background-color: #333232;
}

.square:hover img {
    filter: brightness(1.3);
}

.item {
    transition: .3s;
}

.container:hover > :not(:hover) {
    opacity: 0.4;
}

.center-text-with-image {
    display: block;
    margin: auto;
}

.noticiasdiv {
    min-width: 800px;
    height: auto;
}

.redesdiv {
    height: auto;
}

.footer {
    background-color: rgba(0, 0, 0, 0.6);
    font-size: .875rem;
    text-align: center;
    margin-top: 15px;
}
