
@font-face {
    font-family: 'Anita  Semi-square';
    font-style: normal;
    font-weight: normal;
    src: local('Anita  Semi-square'), url('https://fonts.cdnfonts.com/s/27091/Anita semi square.woff') format('woff');
}
body {
    font-family: 'Arial';
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #072146; /* Azul General */
    margin: 0;
    overflow: hidden; /* To prevent scrollbars from appearing */
}

.binary-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        transparent,
        transparent 20px,
        rgba(0, 0, 0, 0.2) 21px,
        rgba(0, 0, 0, 0.2) 22px
    ),
    linear-gradient( 
        45deg,
        #1a1a1a 25%,
        #1a1a1a 25%,
        #000000 25%,
        #000000 50%,
        #1a1a1a 50%,
        #1a1a1a 75%,
        #000000 75%,
        #000000 100%
    );
    background-size: 3px 3px;
    z-index: -1;
    animation: moveBackground 10s linear infinite;
}

@keyframes moveBackground {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-100%);
    }
}


.card {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 1200px;
    height: 90vh; /* La tarjeta es más pequeña en altura que la página principal */
    border-radius: 15px;
    overflow: hidden;
    background-color: #EBE7E1;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}


.section {
    flex: 1;
    padding: 20px;
    border-right: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #072146;
}
.profile-section {
    background-color: #3A6877;
    color:#E1E1E1 ;
}
.profile-section h1 {
    font-family: 'Anita  Semi-square';
    background-color: #072146;
    color: #f1f1f1;
    font-weight: bold;
    font-size: 25px;    
}

.profile-pic {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-bottom: 10px;
    animation: logoMovement 2s ease-in-out infinite; /* Aplicar la animación */
}

@keyframes logoMovement {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(10px); /* Mueve el logo a la derecha */
    }
    100% {
        transform: translateX(0); /* Regresa a la posición original */
    }
}

.description {
    padding: 20px;
    flex-direction: column;
    align-items: normal;
    justify-content: center;
    text-align: justify;
    line-height: 1.75em;
    font-weight: normal;
    color: #072146;
}

.portfolio {
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 10px;
    margin-top: 10px;
    text-align: left;
}

.links a {
    display: inline-block;
    margin: 10px;
}

.links h2 {
    font-family: 'Arial';
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

.links img {
    width: 30px;
    height: 30x;
}

#qrcode {
  margin: 20px;

}

button {
    background-color:#072146;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin: 10px;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background-color: #3A6877;
}

@media (max-width: 768px) {
    .card {
        flex-direction: column;
        height: auto;
    }
    .section {
        border-right: none;
        border-bottom: 1px solid #ddd;
    }
}
.phone-link {
    color: #072146;;
    text-decoration: none;
}

.phone-link:hover {
    text-decoration: underline;
}
