* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: 'Poppins', sans-serif;
    /* background: #343a40; */
    color: white;
}
  body {  
    margin: 0;  
    padding: 0;  
    /* Fondo de imagen que será modificado por JS */  
    background-size: cover;  
    background-position: center top;  
    position: relative;  
  }  

    /* Overlay negro semi-transparente */  
  .overlay {  
    position: absolute;  
    top:0;  
    left:0;  
    width: 100%;  
    height: 100%;  
    /* background-color: rgba(0,0,0,0.5); */
    pointer-events: none; /* para que no bloqueé clics */  
    z-index: 1;  
  } 

.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.75);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #825aaa;
    cursor: pointer;
    transition: 0.3s ease;
}

.logo span {
    color: #46beaa;
}


.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
    transition: 0.4s ease;
}

.nav-links li a {
    text-decoration: none;
    color: #825aaa;
    font-size: 1rem;
    font-weight: 500;
    transition: 0.3s ease;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    background: #46beaa;
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-links li a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 21px;
    cursor: pointer;
}

.bar {
    height: 3px;
    width: 100%;
    background: #808080;
    border-radius: 10px;
    transition: all 0.4s ease;
}

.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.content {
    padding: 0 30px;
    text-shadow: 0 0 6px rgb(0, 0, 0);
}
/* .content h1 {
  font-size: 1.75rem;
  margin-bottom: 10px;
  color: #825aaa
}

.content span {
  color: #46beaa;
} */

.content p {
  font-size: 1rem;
  text-align: center;
  font-weight: bolder;
}

.content p img {
  max-width: 128px
}

.content p a {
  color: #ddd;
  text-decoration: underline
}

.content hr {
    height: 1px;
    border: none;
    margin: 20px 0;
    background-image: linear-gradient(to right, #825aaa, #46beaa)
}


@media (max-width: 850px) {
    .hamburger {
        display: flex;
        z-index: 1100;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 35%;
        background: rgba(15, 15, 15, 0.95);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 15px;
        transition: right 0.5s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .nav-links li a {
        font-size: .9rem;
    }
}
