
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: #000000;
    color: #f0f0f0;
    overflow-x: hidden;
}

.nav {
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 1rem;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
    z-index: 1000;
    text-align: center;
    backdrop-filter: blur(0);
    transition: backdrop-filter 0.3s ease, background-color 0.3s ease;
}

.nav.scrolled {
    backdrop-filter: blur(10px);
    background-color: rgba(0, 0, 0, 0.9);
}

.nav ul {
    display: flex;
    justify-content: space-around;
    list-style: none;
}

.nav ul li a {
    color: #f0f0f0;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: 5px;
}

.nav ul li a:hover {
    color: #000000;
    background-color: #f0f0f0;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.5);
}

/* Pantalla de inicio */

.home-section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
   
    background-color: #111111;
    z-index: 10;
    
    
    
}

.home-title {
    font-size: 4rem;
    color: #f0f0f0;
    font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
  
}

.home-subtitle {
    font-size: 1.5rem;
    color: #d0d0d0;
    margin-top: 20px;
    font-family: "Syne", system-ui;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
}


/* Secciones */
.section {
    position: relative;
    padding: 100px 20px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: opacity 0.5s ease-in-out, filter 0.5s ease-in-out;
    z-index: 1;
}

.section.scrolled {
    opacity: 0;
    filter: blur(20px);
    z-index: 0;
}

.container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
}


    .text-container{
    transition: transform 0.3s ease;
    
}
.text-container:hover {
    transform: scale(1.40) translateX(-15%); 
    z-index: 1; 
    
}


.image-container {
    flex-basis: 50%;
    padding: 20px;
}

.text-container {
    flex-basis: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 100px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
    text-align: left;
}

.text-container h1 {
    font-size: 2.5rem;
    color: #f0f0f0;
    margin-bottom: 20px;
    font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
}

.text-container p {
    font-size: 1.5rem;
    line-height: 1.6;
    color: #d0d0d0;
    text-decoration: none;
    font-family: "Syne", system-ui;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style:normal;
}
.text-container a {
    font-size: 1rem;
    line-height: 1.6;
    color: #d0d0d0;
    text-decoration: none;
    font-family: "Space Mono", system-ui;
    
    font-style: normal;
}

.contact-section div.text-container a{
   font-size: 25px;
    }

.image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    padding-right: 60px;
}


.linkhcj
 {
    display: inline-block; 
    margin-top: 25px; 
    color: #f0f0f0; 
    text-decoration: none; 
    transition: color 0.3s ease; 
}

.linkhcj:hover {
    color: #353434; 
}

.image {
    animation: moveUpDown 3s infinite alternate; 
}
.link:hover {
    color: #353434; 
}
@keyframes moveUpDown {
    0% {
        transform: translateY(0); 
    }
    50% {
        transform: translateY(30px); 
    }
    100% {
        transform: translateY(0); 
    }
}

.contact-section .text-container {
    display: flex;                
    flex-direction: column;     
    justify-content: center;      
    align-items: center;          
    text-align: center;           
    height: 100%;                 
}

.contact-section .text-container{
    transition: transform 0.3s ease;
    
}
.contact-section .text-container:hover {
    transform: scale(1.40); 
    z-index: 1; 
}


/* Responsive */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .text-container {
        margin-top: 10px;
       
    }

    .home-title {
        font-size: 2rem;
    }

    .home-subtitle {
        font-size: 1.2rem;
    }
    .text-container{
        transition: transform 0.3s ease;
        
    }
    .text-container:hover {
        transform: scale(1.05) ; 
        z-index: 1; 
}

.image-container {
    flex-basis: 50%;
    padding: 50px;
}
.image {
    animation: moveUpDown 3s infinite alternate; 
}
}

@keyframes moveUpDown {
    0% {
        transform: translateY(0); 
    }
    50% {
        transform: translateY(10px); 
    }
    100% {
        transform: translateY(0); 
    }

}