@font-face{
    font-family: 'RobotoMono';
    src:url(./fonts/RobotoMono-VariableFont_wght.ttf)
}

/* Font Awesome Integration */
/* You need to add this link in your HTML head section:
   <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
*/

/* Icon styling for social media and navigation */
.icon {
    margin-right: 5px;
    font-size: 1.2em;
    vertical-align: middle;
}

.social-icon {
    font-size: 1.5em;
    margin-right: 8px;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #BEAD92;
}

/* Example of styling specific icons */
.fa-instagram {
    background: -webkit-linear-gradient(#833AB4, #FD1D1D, #F77737);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fa-youtube {
    color: #FF0000;
}

.fa-spotify {
    color: #1DB954;
}

.fa-whatsapp {
    color: #25D366;
}

.fa-envelope {
    color: #668AA6;
}

.fa-facebook {
    color: #3b5998;
}

/* Fix for oversized logo */
.logo {
    display: inline-block;
    vertical-align: middle;
    margin-right: 20px;
}

.logo img{
    width: 80px; /* Strictly control the logo size */
    height: 80px; /* Add height constraint to maintain aspect ratio */
    border-radius: 60%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 10px;
    transition: transform 0.3s ease;
    max-width: 80px; /* Add maximum width constraint */
    object-fit: cover; /* Ensure the image fits properly */
}

nav{
    background: linear-gradient(to right, #668AA6, #668AA6), linear-gradient(to left, #273540, #3B5060);
    text-align: center;
    padding: 10px;
    /* display: flex; */
    justify-content: right;
    align-items: right;
    gap: 20px;
    
}
nav a {
    color: white;
    text-decoration: none;
    font-family: 'RobotoMono', monospace;
    font-size: 12px;
    padding: 10px 20px;
    margin-top: auto;
    transform: scale(1);
    transition: transform 0.3s ease;

    
}
.contacto{
    background-color: #BEAD92; /* Updated to match the theme */
    color: white; /* Text color for better contrast */
    border-radius: 20px; /* Softer rounded corners */
    padding: 10px 20px; /* Adds spacing inside the button */
    font-family: 'RobotoMono', monospace; /* Matches the font style */
    font-size: 10px; /* Slightly larger font for better readability */
    text-align: center; /* Centers the text */
    text-decoration: none; /* Removes underline if it's a link */
    display: inline-block; /* Ensures proper button behavior */
    margin-top: 20px; /* Adds spacing above the button */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow */
    transition: all 0.3s ease; /* Smooth transition for hover effects */

    
}
.desarollo{
    text-align: left;
    font-size: 10px;
    margin-top: 5px;
}

.contacto:hover {
    background-color: #597891; /* Darkens the button on hover */
    transform: scale(1.05); /* Slightly enlarges the button */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2); /* Enhances the shadow */
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden; /* Prevent horizontal scrolling on mobile */
}
/* footer design - restructured layout */
footer {
    padding: 20px 0 60px; /* Add bottom padding for copyright space */
    display: flex;
    flex-wrap: wrap;
    min-height: 20vh;
    color: white;
    margin-top: auto;
    width: 100%;
    background: linear-gradient(to right, #668AA6, #668AA6), linear-gradient(to left, #273540, #3B5060);
    position: relative;
    justify-content: center;
}

/* Left align social media links */
footer .insta, 
footer .youtube, 
footer .spotify, 
footer .whatsapp, 
footer .correo, 
footer .facebook {
    display: inline-block;
    margin: 10px;
    text-align: center;
}

/* Center the social media group */
footer div:not(.logofooter):not(.rights):not(.desarollo):not(.contactofooter) {
    display: inline-block;
    margin: 5px;
}

/* Put logo on the left side */
.logofooter {
    position: absolute;
    left: 20px;
    top: 20px;
}

.logofooter img {
    width: 80px;
    height: 80px;
    max-width: 80px;
    border-radius: 60%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    transition: transform 0.3s ease;
    object-fit: cover;
}

/* Put contact button below the logo */
.contactofooter {
    position: absolute;
    left: 20px;
    top: 110px; /* Position below the logo */
    background-color: #BEAD92;
    color: white;
    border-radius: 20px;
    padding: 10px 20px;
    font-family: 'RobotoMono', monospace;
    font-size: 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.contactofooter a {
    color: white;
    text-decoration: none;
}

.contactofooter:hover {
    background-color: #597891;
    transform: scale(1.05);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

/* Bottom left for copyright */
.rights {
    position: absolute;
    bottom: 5px;
    left: 20px;
    font-size: 10px;
    width: 60%;
    text-align: left;
}

.desarollo {
    position: absolute;
    bottom: 25px;
    left: 20px;
    font-size: 10px;
    width: 60%;
    text-align: left;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    footer {
        padding-bottom: 100px; /* More space for stacked copyright */
        padding-top: 150px; /* Space for logo and contact button */
    }
    
    .logofooter {
        position: absolute;
        left: 50%;
        top: 20px;
        transform: translateX(-50%);
        text-align: center;
    }
    
    .contactofooter {
        position: absolute;
        left: 50%;
        top: 110px;
        transform: translateX(-50%);
        text-align: center;
    }
    
    .rights, .desarollo {
        width: 100%;
        text-align: center;
    }
}

/* Footer mobile responsiveness fixes */

@media screen and (max-width: 768px) {
  /* More comprehensive footer fixes */
  footer {
    padding-top: 180px; /* Increased from 150px to give more space for logo and contact button */
    padding-bottom: 120px; /* More space for stacked links and copyright */
    flex-direction: column;
    align-items: center;
  }
  
  /* Make footer links stack vertically with proper spacing */
  footer .insta, 
  footer .youtube, 
  footer .spotify, 
  footer .whatsapp, 
  footer .correo, 
  footer .facebook {
    display: block;
    width: 100%;
    text-align: center;
    margin: 8px 0;
  }
  
  /* Center-align all footer links */
  footer div:not(.logofooter):not(.rights):not(.desarollo):not(.contactofooter) {
    margin: 5px 0;
  }
  
  /* Position logo at the top center */
  .logofooter {
    position: absolute;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    width: 80px;
    text-align: center;
  }
  
  /* Position contact button below the logo with more space */
  .contactofooter {
    position: absolute;
    left: 50%;
    top: 120px; /* Increased from 110px to create more separation */
    transform: translateX(-50%);
    width: 80%;
    max-width: 200px;
    text-align: center;
  }
  
  /* Make sure copyright and developer info are properly positioned */
  .rights, .desarollo {
    position: relative;
    bottom: auto;
    left: auto;
    width: 100%;
    text-align: center;
    padding: 5px 10px;
    margin-top: 15px;
  }
  
  .desarollo {
    margin-top: 5px;
  }
}

/* Additional fixes for very small screens */
@media screen and (max-width: 480px) {
  footer {
    padding-top: 200px; /* Even more space on very small screens */
  }
  
  /* Make links more touchable on small screens */
  footer .insta a, 
  footer .youtube a, 
  footer .spotify a, 
  footer .whatsapp a, 
  footer .correo a, 
  footer .facebook a {
    padding: 10px;
    margin: 5px auto;
    font-size: 14px;
    display: inline-block;
  }
  
  /* Ensure icons are visible and properly sized */
  footer .insta a i, 
  footer .youtube a i, 
  footer .spotify a i, 
  footer .whatsapp a i, 
  footer .correo a i, 
  footer .facebook a i {
    font-size: 16px;
    margin-right: 6px;
  }
}

/* Fix for social media links center alignment */

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

.social-links > div {
    display: inline-block;
    margin: 5px;
}

footer .insta a,
footer .youtube a,
footer .spotify a {
    color: white;
    text-decoration: none;
    font-family: 'RobotoMono', monospace;
    font-size: 12px;
    padding: 7px 10px 7px 5px;
    margin-top: auto;
    transform: scale(1);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
}

footer .insta a i.fa-instagram,
footer .youtube a i.fa-youtube,
footer .spotify a i.fa-spotify {
    font-size: 18px;
    margin-right: 8px;
}

/* Instagram icon specific gradient */
footer .insta a i.fa-instagram {
    background: -webkit-linear-gradient(#833AB4, #FD1D1D, #F77737);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* YouTube icon color */
footer .youtube a i.fa-youtube {
    color: #FF0000;
}

/* Spotify icon color */
footer .spotify a i.fa-spotify {
    color: #1DB954;
}

/* Social media icon hover effects */
footer .insta a:hover i.fa-instagram,
footer .youtube a:hover i.fa-youtube,
footer .spotify a:hover i.fa-spotify {
    transform: scale(1.2);
}

footer .insta a:hover,
footer .youtube a:hover,
footer .spotify a:hover {
    transform: scale(1.05);
}

footer .insta a,
footer .youtube a,
footer .spotify a,
footer .whatsapp a,
footer .correo a,
footer .facebook a {
    color: white;
    text-decoration: none;
    font-family: 'RobotoMono', monospace;
    font-size: 12px;
    padding: 8px 12px;
    margin: 0;
    transition: transform 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    transform: scale(1.1);
}

/* Ensure the footer layout is clean */
.footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 20px;
    margin-bottom: 60px;
    width: 100%;
    box-sizing: border-box;
}

.footer-center {
    flex: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.footer-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.footer-right {
    flex: 1;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

/* Logo styling - positioned on the left */
.logofooter img {
    width: 80px;
    height: 80px;
    max-width: 80px;
    border-radius: 60%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    font-family: 'RobotoMono', monospace;
    font-size: 12px;
    padding: 8px 12px;
    transition: transform 0.3s ease;
    display: inline-block;
    margin: 0;
}

footer .social-links a:hover {
    transform: scale(1.1);
}

/* Copyright positioned at bottom left */
.rights {
    text-align: left;
    width: 100%;
    padding: 10px 20px;
    font-size: 10px;
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
}

/* Media query for responsive footer */
@media screen and (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-left {
        width: 100%;
        align-items: center;
        margin-bottom: 20px;
    }
    
    .footer-center {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .rights {
        position: relative;
        text-align: center;
        padding-top: 15px;
    }
}

footer .insta a{
    color: white;
    text-decoration: none;
    font-family: 'RobotoMono', monospace;
    font-size: 12px;
    padding: 7px 20px;
    margin-top: auto;
    transform: scale(1);
    transition: transform 0.3s ease;
}

footer .youtube a{
    color: white;
    text-decoration: none;
    font-family: 'RobotoMono', monospace;
    font-size: 12px;
    padding: 7px 20px;
    margin-top: auto;
    transform: scale(1);
    transition: transform 0.3s ease;
}

footer .spotify a{
    color: white;
    text-decoration: none;
    font-family: 'RobotoMono', monospace;
    font-size: 12px;
    padding: 6px 20px;
    margin-top: auto;
    transform: scale(1);
    transition: transform 0.3s ease;
}
footer .whatsapp a{
    color: white;
    text-decoration: none;
    font-family: 'RobotoMono', monospace;
    font-size: 12px;
    padding: 4px 30px; /* Increased right padding from 20px to 30px */
    margin-top: 10px;
    margin-right: 15px; /* Added right margin for separation */
    transform: scale(1);
    transition: transform 0.3s ease;
    display: inline-block; /* Added to ensure margins work properly */
}
footer .correo a{
    color: white;
    text-decoration: none;
    font-family: 'RobotoMono', monospace;
    font-size: 12px;
    padding: 10px 30px; /* Increased right padding from 20px to 30px */
    margin-top: auto;
    margin-right: 15px; /* Added right margin for separation */
    transform: scale(1);
    transition: transform 0.3s ease;
    display: inline-block; /* Added to ensure margins work properly */
}

footer .facebook a{
    color: white;
    text-decoration: none;
    font-family: 'RobotoMono', monospace;
    font-size: 12px;
    padding: 10px 30px; /* Increased right padding from 20px to 30px */
    margin-top: auto;
    transform: scale(1);
    transition: transform 0.3s ease;
    display: inline-block; /* Added to ensure margins work properly */
}

/* Fix for the logo in the footer */
.logofooter img{
    width: 80px;
    height: 80px;
    max-width: 80px;
    border-radius: 60%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 10px;
    transition: transform 0.3s ease;
    object-fit: cover;
}

.contactofooter{
    background-color: #BEAD92;
    color: white;
    border-radius: 20px;
    padding: 10px 20px;
    font-family: 'RobotoMono', monospace;
    font-size: 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer; /* Adds a pointer cursor on hover */
}

.contactofooter:hover {
    background-color: #597891; /* Changes background on hover */
    transform: scale(1.05); /* Slightly enlarges the button */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2); /* Enhances the shadow */
}

.rights{
    text-align: left;
    display: flex;
    margin-top: auto;
    width: 100%;
    padding-left: 19px;
    justify-content: left;
    align-items: left;
    font-size: 10px;
}

.insta{
    color: white;
    text-decoration: none;
    font-family: 'RobotoMono', monospace;
    font-size: 12px;
    padding: 10px 20px;
    margin-top: auto;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.youtube{
    color: white;
    text-decoration: none;
    font-family: 'RobotoMono', monospace;
    font-size: 12px;
    padding: 10px 20px;
}

.spotify{
    color: white;
    text-decoration: none;
    font-family: 'RobotoMono', monospace;
    font-size: 12px;
    padding: 10px 20px;
}



.imagen img {
    width: 15%;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(87, 104, 128, 0.1);
    margin: 49px 114px;
    padding-right: 5px;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;



}
.parafo{
    text-align: center;
    color: #597891;
    margin-left: 20px;
}

.image-text-container {
    position: relative;
    width: 80%;
    max-width: 1200px;
    margin: 30px auto;
    text-align: center;
    box-shadow: 0 0 15px rgba(79, 104, 139, 0.15);
    border-radius: 15px;
    overflow: hidden;
}

.image-text-container img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(79, 104, 139, 0.1);
    opacity: 0.15; /* Keep the opacity for text readability */
    display: block;
    margin: 0 auto;
    object-fit: cover;
}

.overlay-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 30px;
    overflow-y: auto;
}

.overlay-text h2 {
    color: #597891;
    font-family: 'RobotoMono', monospace;
    font-size: 24px;
    text-align: center;
    margin-bottom: 15px;
    width: 100%;
}

.overlay-text p {
    color: #597891;
    font-family: 'RobotoMono', monospace;
    font-size: 12px;
    text-align: center;
    line-height: 1.6;
    max-width: 90%;
    margin: 0 auto 20px;
    padding: 0;
}

.know-more-btn {
    background-color: #BEAD92;
    color: white;
    border-radius: 20px;
    padding: 12px 25px;
    font-family: 'RobotoMono', monospace;
    font-size: 12px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
    margin-bottom: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.know-more-btn:hover {
    background-color: #597891;
    transform: scale(1.05);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.boton {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

.boton img {
    display: block;
    width: auto;
    max-width: 100%;
}

.boton p{
    color: #597891; 
    font-family: 'RobotoMono', monospace; 
    font-size: 12px; 
    text-align: center; 
    margin-top: 65px; 
}
.overlay-text h2{
    color: #597891; /* Text color for better contrast */
    font-family: 'RobotoMono', monospace; /* Matches the font style */
    font-size: 20px; /* Slightly larger font for better readability */
    text-align: center; /* Centers the text */
    margin-bottom: 10px; /* Adds spacing below the heading */
}


.musica img{
    width: 55%;
    height: 100%;
    border-radius: 15px;
    stroke: #597891;
    box-shadow: 0 0 10px rgba(79, 104, 139, 0.1);
    margin: 49px 267px;
    padding-right: 5px;
    opacity: 0.10; 
    justify-content: center;
    align-items: center;
    color: #597891; 
    font-family: 'RobotoMono', monospace; 
    font-size: 12px; 
    text-align: center; 
    margin-top: 10px; 
}

.overlay-text-musica {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.know-more-btn-musica {
    background-color: #BEAD92;
    color: white; 
    border-radius: 20px; 
    padding: 10px 20px; 
    font-family: 'RobotoMono', monospace; 
    font-size: 10px; 
    text-align: center;
    text-decoration: none; 
    display: inline-block; 
    margin-top: 20px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease; 
    position: relative;
}

.know-more-btn-musica:hover {
    background-color: #597891; 
    transform: scale(1.05); 
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2); 
}
cite{
    color: #597891; 
    font-size: 9px;
    text-align: center; 
    margin-top: 10px; 
    display: block;
}

.image-text-container-musica {
    position: relative;
    width: 80%;
    margin: 50px auto;
    text-align: center;
}

.image-text-container-musica img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    stroke: #597891;
    box-shadow: 0 0 10px rgba(79, 104, 139, 0.1);
    opacity: 0.15;
    display: block;
    margin: 0 auto;
}

.image-text-container-musica p{
    color: #597891;
    font-family: 'RobotoMono', monospace;
    font-size: 12px;
    text-align: center;
    line-height: 1.5;
    max-width: 80%; 
    margin: 0 auto; 
    padding: 10px;
}

.image-text-container-musica h2{
    color: #597891; 
    font-family: 'RobotoMono', monospace; 
    font-size: 20px; 
    text-align: center;
    margin-bottom: 10px; 
}

/**style of servicios page**/

.imagenfondo img {
    width: 10%;
    height: 500%;
    border-radius: 15px;
    box-shadow: 10px 10px 10px rgba(87, 133, 199, 0.102);
    margin: 25px auto; /* Centers the image */
    padding: 45px ; /* Adds padding around the image */
    display: flexbox;
    justify-content: center; /* Centers the image horizontally */
    align-items: center; /* Centers the image vertically */
    transform: rotate3d(0, 1, 0, 10deg); /* Adds a slight rotation for a 3D effect */

}

/* Fix for the centered logo */
.logoenfondo {
    text-align: center;
    margin: 30px auto;
}

.logoenfondo img {
    width: 10%;
    max-width: 100px; /* Add a maximum width */
    height: auto;
    display: inline-block;
}

.terapia h2{
    color: #BEAD92; /* Text color for better contrast */
    font-family: 'RobotoMono', monospace; /* Matches the font style */
    font-size: 20px; /* Slightly larger font for better readability */
    text-align: center; /* Centers the text */
    margin-bottom: 10px; /* Adds spacing below the heading */
}
.terapia p{
    color: #597891; /* Text color for better contrast */
    font-family: 'RobotoMono', monospace; /* Matches the font style */
    font-size: 12px; /* Slightly larger font for better readability */
    text-align: left; /* Centers the text */
    line-height: 1.5;
    max-width: 80%; 
    margin: 20px;
    padding: 20px;
    
}
.arte h2{
    color: #BEAD92; /* Text color for better contrast */
    font-family: 'RobotoMono', monospace; /* Matches the font style */
    font-size: 20px; /* Slightly larger font for better readability */
    text-align: center; /* Centers the text */
    margin-bottom: 10px; /* Adds spacing below the heading */
}
.arte p{
    color: #597891; /* Text color for better contrast */
    font-family: 'RobotoMono', monospace; /* Matches the font style */
    font-size: 12px; /* Slightly larger font for better readability */
    text-align: left; /* Centers the text */
    line-height: 1.5;
    max-width: 80%; /* Increased from 74% for better fit */
    margin: 20px; /* Changed from -16px auto to center properly */
    padding: 20px;
}
.clases h2{
    color: #BEAD92; /* Text color for better contrast */
    font-family: 'RobotoMono', monospace; /* Matches the font style */
    font-size: 20px; /* Slightly larger font for better readability */
    text-align: center; /* Centers the text */
    margin-bottom: 10px; /* Adds spacing below the heading */
}

.clases p{
    color: #597891; /* Text color for better contrast */
    font-family: 'RobotoMono', monospace; /* Matches the font style */
    font-size: 12px; /* Slightly larger font for better readability */
    text-align: left; /* Centers the text */
    line-height: 1.5;
    max-width: 80%; /* Increased from 74% for better fit */
    margin:20px; /* Changed from -16px auto to center properly */
    padding: 20px;
}
.clases li{
   
    align-items: center;
    justify-items: center;
    color: #597891;
    font-family: 'RobotoMono', monospace;

}
.instrumentos h2{
    color: #BEAD92; 
    font-family: 'RobotoMono', monospace; 
    font-size: 18px; 
    margin-bottom: 10px; 
    text-align: left;
}
.instrumentos li{
    font-size: 14px;
    margin:20px
}

.content li{
    margin:20px;
    font-size: 12px;
    
}
.content h2{
    text-align: left;
    margin: 20px;
    padding: 20px;
    color: #BEAD92; 
    font-size: 18px;
}

.incluye h2{
    color: #BEAD92; 
    font-family: 'RobotoMono', monospace; 
    font-size: 18px; 
    margin: 20px; 
    padding: 20px;
    text-align: left;
}
.incluye li{
    color: #597891; 
    font-family: 'RobotoMono', monospace; 
    font-size: 12px; 
    margin: 20px; 
 
}
.escritura h2{
    color: #BEAD92; 
    font-family: 'RobotoMono', monospace; 
    font-size: 18px; 
    margin: 20px; 
    padding: 20px;
    text-align: center;
}
.escritura li{
    color: #597891; 
    font-family: 'RobotoMono', monospace; 
    font-size: 12px; 
    margin: 20px; 
}
.escritura h3{
    color: #BEAD92; 
    font-family: 'RobotoMono', monospace; 
    font-size: 16px; 
    margin: 20px; 
    padding: 20px;
    text-align: left;
}
.contactoservicios{
    background-color: #BEAD92; /* Corrected comment */
    color: white; 
    border-radius: 20px; 
    padding: 10px 10px; 
    font-family: 'RobotoMono', monospace; 
    font-size: 10px; 
    text-align: center; /* Fixed missing semicolon */
    text-decoration: none; 
    display: inline-block; 
    margin-top: 10px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease; 
    position: relative;
    margin: 20px auto;
    display: block;
    width: fit-content;
    
}
.contactoservicios:hover {
    color: #597891; 
    font-family: 'RobotoMono', monospace; 
    font-size: 20px; 
    text-align: center;
    margin-bottom: 10px; 

}

.contactoservicios p{
    color: #597891;
    font-family: 'RobotoMono', monospace;
    font-size: 12px;
    text-align: center;
    line-height: 2.5;
    max-width: 80%; 
    margin: 0 auto; 
    padding: 20px;
}

/* Style of musica page */
.instafoto {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
  }
  
  .image-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    max-width: 300px;
    
    transition: transform 0.3s ease;
  }
  
  .image-container img {
    display: block;
    width: 100%;
    height: auto;
    transition: filter 0.3s;
  }
  
  /* Button styling with important flag to override any conflicting styles */
  .image-container .btn {
    position: absolute !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background-color: #BEAD92 !important;
    color: white !important;
    padding: 10px 15px !important;
    border: none !important;
    border-radius: 5px !important;
    text-decoration: none !important;
    font-weight: bold !important;
    text-align: center !important;
    z-index: 10 !important; /* Make sure button is above image */
    display: block !important; /* Force display */
    min-width: 150px !important; /* Ensure button has minimum width */
    white-space: nowrap !important;
    font-family: 'RobotoMono', monospace;
    transition: background-color 0.3s, transform 0.3s;
  }
  
  /* Non-hover state - make button always visible */
  .image-container .btn {
    opacity: 1 !important;
  }
  
  .image-container .btn:hover {
    background-color: #597891 !important;
  }
.musica h2{
    color: #BEAD92; /* Text color for better contrast */
    font-family: 'RobotoMono', monospace; /* Matches the font style */
    font-size: 20px; /* Slightly larger font for better readability */
    text-align: center; /* Centers the text */
    margin-bottom: 10px; /* Adds spacing below the heading */
}
.musica p{
    color: #597891; /* Text color for better contrast */
    font-family: 'RobotoMono', monospace; /* Matches the font style */
    font-size: 12px; /* Slightly larger font for better readability */
    text-align: center; /* Centers the text */
    line-height: 1.5;
    max-width: 80%; 
    margin: 20px;
    padding: 20px;
    
}
.conciertos h2{
    color: #BEAD92; /* Text color for better contrast */
    font-family: 'RobotoMono', monospace; /* Matches the font style */
    font-size: 20px; /* Slightly larger font for better readability */
    text-align: center; /* Centers the text */
    margin-bottom: 10px; /* Adds spacing below the heading */
}
.conciertos p{
    color: #597891; /* Text color for better contrast */
    font-family: 'RobotoMono', monospace; /* Matches the font style */
    font-size: 12px; /* Slightly larger font for better readability */
    text-align: center; /* Centers the text */
    line-height: 1.5;
    max-width: 80%; 
    margin: 20px;
    padding: 20px;
    
}
.btoneventos {
    display: flex;
    justify-content: center;
    margin: 30px 0;
  }
  
  .event-btn {
    background-color: #BEAD92;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    transition: background-color 0.3s, transform 0.3s;
    font-family: 'RobotoMono', monospace;
  }
  
  .event-btn:hover {
    background-color: #597891;
    transform: translateY(-3px);
  }

  .conciertos li{
    color: #597891; 
    font-family: 'RobotoMono', monospace; 
    font-size: 12px; 
    text-align: left; 
    line-height: 0.9;
    max-width: 80%; 
    margin: 20px; 
    padding: 20px;
  }

  /*Style of eventos page */
  .imageseventos img {
    width: 20%;
    height: 500%;
    border-radius: 15px;
    box-shadow: 10px 10px 10px rgba(87, 133, 199, 0.102);
    margin: 30px; 
    padding: 45px ; 
    display: flexbox;
    justify-content: center; 
    align-items: center; 
    transform: rotate3d(0, 1, 0, 10deg); /
  }
    .eventos h1 {
        color: #BEAD92; 
        font-family: 'RobotoMono', monospace; 
        font-size: 20px; 
        text-align: center; 
        margin-bottom: 10px; 
    }
    .eventos li{
        color: #597891; 
        font-family: 'RobotoMono', monospace; 
        font-size: 12px; 
        text-align: left; 
        line-height: 0.9;
        max-width: 80%; 
        margin: 20px; 
        padding: 20px;

    }

/* Styles for the eventos section following the same convention as musica */
.image-text-container-eventos {
    position: relative;
    width: 80%;
    margin: 50px auto;
    text-align: center;
}

.image-text-container-eventos img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    stroke: #597891;
    box-shadow: 0 0 10px rgba(79, 104, 139, 0.1);
    opacity: 0.15;
    display: block;
    margin: 0 auto;
}

.overlay-text-eventos {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.overlay-text-eventos h2 {
    color: #597891;
    font-family: 'RobotoMono', monospace;
    font-size: 20px;
    text-align: center;
    margin-bottom: 10px;
}

.overlay-text-eventos p {
    color: #597891;
    font-family: 'RobotoMono', monospace;
    font-size: 12px;
    text-align: center;
    line-height: 1.5;
    max-width: 80%;
    margin: 0 auto;
    padding: 10px;
}

.know-more-btn-eventos {
    background-color: #BEAD92;
    color: white;
    border-radius: 20px;
    padding: 10px 20px;
    font-family: 'RobotoMono', monospace;
    font-size: 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.know-more-btn-eventos:hover {
    background-color: #597891;
    transform: scale(1.05);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive iframe container for YouTube videos */
.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 30px auto;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* style eventos*/
#toques h2{
    color: #BEAD92; 
    font-family: 'RobotoMono', monospace; 
    font-size: 35px; 
    text-align: center; 
    margin-bottom: 10px; 
}

#toques img {
    width: 30%; /* Reduced width to fit multiple images in a row */
    height: auto; /* Let height adjust automatically to maintain aspect ratio */
    border-radius: 15px;
    margin: 10px 1.5%; /* Changed to percentage margins for better spacing */
    padding-right: 5px;
    display: inline-block; /* Make images display inline */
    vertical-align: middle; /* Align images vertically */
    color: #597891;
    align-items: center;
}

/* Add a container for the images if needed */
#toques .image-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 20px auto;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    #toques img {
        width: 45%; /* Slightly larger on smaller screens */
        margin: 10px 2%;
    }
}

@media screen and (max-width: 480px) {
    #toques img {
        width: 90%; /* Almost full width on very small screens */
        margin: 10px auto;
        display: block;
    }
}


/* Add these responsive improvements to your existing CSS */

/* General responsive improvements */
body {
    overflow-x: hidden; /* Prevent horizontal scrolling on mobile */
}

/* Responsive navigation for mobile */
@media screen and (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 15px 5px;
    }
    
    nav a {
        margin: 5px 0;
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .logo img {
        width: 60px;
        height: 60px;
    }
    
    .contacto {
        margin-top: 10px;
        width: 80%;
        max-width: 200px;
    }
}

/* Responsive main content */
@media screen and (max-width: 768px) {
    /* Homepage image gallery */
    .imagen img {
        width: 30%;
        margin: 20px 5px;
    }
    
    /* Overlay text containers */
    .overlay-text h2, 
    .overlay-text-musica h2, 
    .overlay-text-eventos h2 {
        font-size: 18px;
    }
    
    .overlay-text p, 
    .overlay-text-musica p, 
    .overlay-text-eventos p {
        font-size: 11px;
        line-height: 1.4;
        max-width: 95%;
    }
    
    /* Section headings */
    .terapia h2, .arte h2, .clases h2, .musica h2, .conciertos h2, .eventos h1 {
        font-size: 18px;
    }
    
    /* Event images */
    #toques img {
        width: 45%;
        margin: 10px 2%;
    }
}

/* Extreme mobile view (small phones) */
@media screen and (max-width: 480px) {
    /* Homepage image gallery */
    .imagen img {
        width: 80%;
        margin: 10px auto;
        display: block;
    }
    
    /* Text containers */
    .terapia p, .arte p, .clases p, .musica p, .conciertos p {
        font-size: 11px;
        max-width: 95%;
        margin: 15px auto;
        padding: 10px;
    }
    
    /* Event images */
    #toques img {
        width: 90%;
        margin: 10px auto;
    }
    
    /* Instagram photos and other image containers */
    .instafoto .image-container {
        width: 90%;
        margin: 10px auto;
    }
    
    /* Footer adjustments */
    footer div:not(.logofooter):not(.rights):not(.desarollo):not(.contactofooter) {
        display: block;
        width: 100%;
        text-align: center;
        margin: 5px 0;
    }
}

/* Fix for the servicios page layout on mobile */
@media screen and (max-width: 768px) {
    .imagenfondo img {
        width: 30%;
        padding: 20px;
        margin: 10px;
    }
    
    .logoenfondo img {
        width: 25%;
    }
    
    .instrumentos h2, .content h2, .incluye h2, .escritura h2 {
        font-size: 16px;
    }
    
    .instrumentos li, .content li, .incluye li, .escritura li {
        font-size: 11px;
    }
}

/* Fix for iframe containers (videos and Spotify) */
@media screen and (max-width: 768px) {
    .video-container {
        width: 95%;
    }
    
    .iframespo iframe {
        height: 300px;
    }
}

/* Add these specific fixes for the index page responsiveness */

/* Fix for the overlapping text in the image-text containers on mobile */
@media screen and (max-width: 768px) {
  /* Main image container adjustments */
  .imagen {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .imagen img {
    width: 45%;
    margin: 10px;
  }
  
  /* Improve overlay text readability */
  .image-text-container, 
  .image-text-container-musica, 
  .image-text-container-eventos {
    width: 90%;
    margin: 30px auto;
  }
  
  .overlay-text, 
  .overlay-text-musica, 
  .overlay-text-eventos {
    position: relative;
    padding: 20px 15px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    margin-top: 10px;
  }
  
  .image-text-container img, 
  .image-text-container-musica img, 
  .image-text-container-eventos img {
    opacity: 0.7;
  }
  
  /* Adjust text sizes for mobile */
  .overlay-text h2, 
  .overlay-text-musica h2, 
  .overlay-text-eventos h2 {
    font-size: 18px;
    margin-bottom: 15px;
  }
  
  .overlay-text p, 
  .overlay-text-musica p, 
  .overlay-text-eventos p {
    font-size: 12px;
    line-height: 1.4;
    max-width: 100%;
  }
  
  cite {
    font-size: 11px;
    display: block;
    margin: 15px 0;
  }
  
  /* Fix button positioning */
  .know-more-btn, 
  .know-more-btn-musica, 
  .know-more-btn-eventos {
    display: block;
    width: 80%;
    max-width: 250px;
    margin: 15px auto;
    text-align: center;
  }
}

/* Extra fixes for very small screens */
@media screen and (max-width: 480px) {
  .imagen img {
    width: 80%;
  }
  
  /* Change overlay text from absolute to static positioning on small screens */
  .image-text-container, 
  .image-text-container-musica, 
  .image-text-container-eventos {
    position: static;
    overflow: visible;
    box-shadow: none;
  }
  
  .image-text-container img, 
  .image-text-container-musica img, 
  .image-text-container-eventos img {
    display: none; /* Hide the background images */
  }
  
  .overlay-text, 
  .overlay-text-musica, 
  .overlay-text-eventos {
    position: static;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    padding: 15px;
  }
  
  /* Center the logo on mobile */
  .logoenfondo img {
    width: 25%;
    min-width: 60px;
  }
}

/* Footer rights alignment fixes */

/* Desktop rights positioning */
.rights, .desarollo {
    position: relative; /* Changed from absolute to relative for better stacking */
    width: 100%;
    text-align: center; /* Center align on all screen sizes */
    padding: 5px 10px;
    font-size: 10px;
    margin-top: 10px;
    display: block;
    clear: both; /* Ensure they clear any floated elements */
}

.rights {
    margin-bottom: 0;
}

.desarollo {
    margin-top: 5px;
}

/* Remove the previous absolute positioning properties that are causing misalignment */
@media screen and (min-width: 769px) {
    .rights, .desarollo {
        position: relative;
        bottom: auto;
        left: auto;
        display: block;
        width: 100%;
    }
}

/* Additional mobile footer alignment fixes */
@media screen and (max-width: 768px) {
    footer {
        /* Existing properties */
        padding-bottom: 140px; /* Increase bottom padding to accommodate stacked copyright */
    }
    
    .rights, .desarollo {
        position: relative;
        bottom: auto;
        left: auto;
        padding: 5px 15px;
        margin: 5px auto;
        width: 100%;
        text-align: center;
    }
    
    /* Container for rights and development credits */
    footer::after {
        content: "";
        display: block;
        clear: both;
        width: 100%;
        height: 10px;
    }
    
    /* Ensure the rights info appears below all social links */
    footer > div:not(.logofooter):not(.contactofooter) {
        margin-bottom: 5px;
    }
    
    /* Add extra space before the rights section */
    footer .facebook {
        margin-bottom: 15px !important;
    }
}

/* Fix spacing between rights and developer credits */
.rights p, .desarollo p {
    margin: 5px 0;
    line-height: 1.3;
}

#video {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 40px auto;
    padding-bottom: 38.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

#video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Enhanced mobile responsiveness for video player */
@media screen and (max-width: 768px) {
    #video {
        width: 90%;
        max-width: none;
        padding-bottom: 56.25%; /* Standard 16:9 aspect ratio */
        margin: 30px auto;
    }
    
    #video video {
        border-radius: 8px;
    }
}

@media screen and (max-width: 480px) {
    #video {
        width: 95%;
        margin: 25px auto;
    }
    
    #video video {
        border-radius: 6px;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    }
}

/* Video controls styling for better touch interaction on mobile */
#video video::-webkit-media-controls {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#video video::-webkit-media-controls-enclosure {
    border-radius: 0;
    padding-bottom: 5px;
}

@media (hover: none) and (pointer: coarse) {
    /* Specific styles for touch devices */
    #video video::-webkit-media-controls-panel {
        height: 50px;
    }
    
    #video video::-webkit-media-controls-play-button,
    #video video::-webkit-media-controls-timeline,
    #video video::-webkit-media-controls-volume-slider,
    #video video::-webkit-media-controls-mute-button {
        transform: scale(1.2);
        margin: 0 5px;
    }
}