/* styles.css */
* {
    margin: 0;
    padding: 0;
}

body {
    width: 100%;
    height: 78vh;
    user-select: none; 
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
video {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1; 
}

header {
    width: 80%;
    height: 60vh;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10%;
}

.padre1 {
    width: 100%;
    height: 10vh;
    display: flex;
    justify-content: center;
}

h1 {
    font-size: clamp(22px, 5vw, 54px);
    font-family: 'CocoBiker', sans-serif;
    font-weight: 300;
    color: rgb(0, 0, 0);
    text-align: center;
    text-shadow: 0px 0px 12px rgb(255, 255, 255);
    transform: scaleX(0.9);
    padding: 10px;
    margin-top: 20px;
    opacity: 0;
    animation: fade-in-out 10s infinite ease-in-out;
}
@keyframes fade-in-out {
    0% { opacity: 0; }   /* Empieza invisible */
    25% { opacity: 1; }  /* Se vuelve visible en 5s */
    50% { opacity: 1; }  /* Permanece visible por 5s */
    75% { opacity: 0; }  /* Se desvanece en 5s */
    100% { opacity: 0; } /* Permanece oculto por 5s más */
}
@media screen and (max-width: 768px) {
    h1 {
        font-size: clamp(45px, 6vw, 0px); /* Ajusta el tamaño para móviles */
        padding: 5px;
    }
}

/* Biografia del texto*/
@font-face {
    font-family: 'CocoBiker';
    src: url(./Boigrafia/cocobiker/CocoBiker\ Regular\ Trial.ttf) format('truetype');
    font-weight: 300;
}
.padre2 {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

a {
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

img {
    width: 80px;
    height: 10vh;
    padding: 10px;
    background-color: #ffffff00;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0);
    transition: transform 0.1s ease; 
    cursor: pointer;
    animation: heartbeat 1.5s infinite ease-in-out;
}
@keyframes heartbeat {
    0% { transform: scale(1); }
    30% { transform: scale(1); }
    50% { transform: scale(0.85); }
    70% { transform: scale(1.2); }
    100% { transform: scale(1); }
}
img {
        box-shadow: -14px 0px 50px #fffffff3, -14px 0px 50px #000000;
}

