/* CSS for the HTML document */
@font-face {
    font-family: "open";
    src: url(fonts/OpenSans.ttf);

}
@font-face {
    font-family: 'cool';
    src: url(fonts/Yarndings20Charted-Regular.ttf);
}
@font-face {
    font-family: "meri";
    src: url(fonts/kindergarten.ttf);
}
@font-face {
    font-family: "kido";
    src: url(fonts/KIdDOS-Regular.otf);
}
#grimes{
    position: absolute;
    top: 100px;
    right:150px;
    width: 200px;
}
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    font-family: Arial, sans-serif;
    background-image: url('fondo.gif');
    background-size: cover; /* Ajusta el tamaño de la imagen para cubrir toda la pantalla */
    background-repeat: no-repeat; 
    overflow-x: hidden;
}

.contenedor {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.heaader {
    background: white; /* Change this to your desired background color or image */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    width: 100%;
    position: relative;
}
#carpetita{
    position: absolute;
    left:15px;
    
    
}
#mundi{
    position: absolute;
    left: 100px;

    
}
#tyler{
    position: absolute;
    top: 100px;
    right:150px;
    width: 200px;
}
#musica{
    position: absolute;
    right:0px;
    margin-right: 20px;
    
    margin-top: 100px;
    
}
#compu{
    position: absolute;
    right:20px;
    top:10px

    
}
#saveButton{
    position: absolute;
    top:375px;
    right:215px
}
#closeButton{
    position: absolute;
    top:435px;
    right: 228px;
}
#heart{
    position: absolute;
    right: 20px;
    top:100px;
}
.heaader img {
    display: block;
    margin: 0 auto;
}

.navegacion {
    width: 100%;
    display: flex;
    justify-content: space-around;
    background: white; /* Change this to match or contrast with the header background */
    padding: 10px 10px;
    
}

.navegacion ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin: 0;
    padding: 0;
}

.navegacion li {
    margin: 0;
}

.navegacion a {
    color: black;
    text-decoration: none;
    padding: 0px 0px;
    display: block;
    font-family: "meri";
}

.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    width: 100%;
    
}
#canvasContainer{
   
    background: rgba(200, 35, 195, 0.5);
    position: fixed; /* Cambia a fixed para asegurar que esté fijado en la pantalla */
    top: 0;
    left: 0;
    height: 100vh; /* Asegúrate de que ocupe toda la altura de la pantalla */
    width: 100vw;

}
.contenedormain {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.titulomain {
    font-family: "meri";
    text-align: center;
    font-size: 35px;
 
    color: white;
    width: 100%;
}
a{

    color: #c20df4;
}
.row {
    
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin-bottom: 30px;
}
@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.rotating {
    animation: rotate 1s linear infinite;
}
.dibujo{
    background-image: url(FAIR.jpeg);
    background-size: cover;
    
    flex: 1;
    padding: 10px;
    
    color: white;
    margin: 0 10px;
}
button {
    margin: 10px 0;
    padding: 10px 40px;
    font-size: 26px;
    cursor: pointer;
    background-color: black;
    color: aliceblue;
    font-family: 'meri';
    
}

.center-section {
    flex: 1;
    padding: 10px;
    
    color: white;
    margin: 0 10px;
}

.center-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#video {
    position: absolute;
    top: 20px; /* Ajusta la distancia desde la parte superior según tus necesidades */
    right: 20px; /* Ajusta la distancia desde la derecha según tus necesidades */
}


.center-section button:hover {
    background: #c20df4; /* Adjust the hover color to fit your theme */
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

.bounce {
    animation: bounce 0.6s;
}






#canvas{
    position: absolute;
    top: 100px;
    right: 400px;
    z-index: 1;
}
/*********/
.star {
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: yellow;
    border-radius: 50%;
    box-shadow: 0 0 10px yellow, 0 0 20px yellow;
    pointer-events: none;
    animation: fadeOut 1s forwards;
    z-index: 9999; /* Ajusta el índice Z para asegurar que esté en la capa superior */
}

@keyframes fadeOut {
    to {
        transform: scale(0);
        opacity: 0;
    }
}




/**/
.text-section {
    margin-top: 35px;
    height: 30px; /* Altura de la fila de texto */
    background-color: #ccc; /* Color de fondo de la fila de texto */
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 0px;

}

.text-section p {
    width:max-content;
    font-family: 'cool';
    font-size: 30px;
    margin: 0;
   
    
    
     /* Ajusta el espaciado del texto dentro de la fila */
    
    animation: slideInOut 5s infinite;
    color:black/* Ajusta el color del texto */
}


@keyframes slideInOut {
    0% {
        transform: translateX(20%);
    }
    50% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-20%);
    }
}

.text-section p {
    width:max-content;
    font-family: 'cool';
    font-size: 30px;
    margin: 0;
    padding: 10px; /* Ajusta el espaciado del texto dentro de la fila */
    
    animation: slideInOut 10s linear infinite;
    color:black;/* Ajusta el color del texto */
    display: inline-block; /* Para que el párrafo tenga un ancho automático */
    white-space: nowrap; 

}
.text-section p::after {
    content: attr(data-content); /* Duplicar el contenido del párrafo */
    display: inline-block;
}



.contact-form {
    margin-top: 100px;
    margin-left: 27%;
    width: 100%;
    max-width: 600px;
   
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    color: white;
    font-family: 'meri';
}

.contact-form label {
    display: block;
    margin-bottom: 10px;
    font-size: 20px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    
    margin-right: 20px;
    padding: 10px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    width: 95%;
}

.contact-form button {
    display: block;
    width: 100%;
    padding: 10px;
    font-size: 26px;
    cursor: pointer;
    background-color: black;
    color: aliceblue;
    font-family: 'meri';
    border: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #c20df4; /* Color al pasar el ratón */
}
#colorPalette {
    display: flex;
    justify-content: space-around;
    margin-bottom: 10px;
    z-index: 2;

    position: absolute;
    top:120px;
    right: 410px;

}

.colorBox {
    width: 20px;
    height: 20px;
    border: 2px solid #000;
    cursor: pointer;
}