/* Genral Styles */
:root {
    --blue-color: #ff6565;
    --blue-color: #17a9da;
    --black-grey-color: #0b0b0b ;
    --black-hover-color: #202020 ;
    --white-text: #f2f2f2;

}
body {
    margin: 0;
    background-color: var(--black-grey-color);
}

section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;;
}

p{
    font-family: "Roboto";
    color: var(--white-text);
}

.hero-principal h1 {
    font-size: 3.2rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
}

.dark-section {
    color: var(--white-text);
    background-color: var(--black-grey-color);
}

.light-section {
    color: black;
    background-color: white;
}

.title-section {
    font-size: 2rem;
    font-family: "Montserrat", sans-serif; ;
    font-weight: 800;
    padding: 15px, 0;
}

.description-section {
    font-size: 1.rem;
    color: #584e4e;
}

.text-section {
    font-size: 1.1rem;
}


.black-text {
    color: black;
}

.white-text {
    color: var(--white-text);
}

.blue-text {
    color: var(--blue-color);
}

/* Nav Bar */

.navbar {
    /* padding: 0rem 20rem; */
    background-color: var(--black-grey-color);
}

.navbar a {
    color: var(--white-text);
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    position: relative;
}

.navbar a i {
    font-size: 1rem;
}

.navbar a:hover {
    color: var(--blue-color);
}

.navbar a:focus {
    color: var(--blue-color);
}

.nav-link-icon.artstation {
    width: 1.1rem;
    height: 1.1rem;
    top: 1px;
    display: inline-block;    
    background-image: url('/portfolio/assets/images/icon-artstation.svg');
    background-size: cover;
    background-position: center;
    transition: background-image 0.3s ease; /* Efecto de transición opcional */
    margin: 0 7px;
  }
  
  .nav-link-icon.artstation:hover {
    background-image: url('/portfolio/assets/images/icon-artstation-blue.svg');
  }

.nav-link-icon.itch {
    width: 1.1rem;
    height: 1.1rem;
    position: absolute;
    top: 30px;
    display: inline-block;    
    background-image: url('/portfolio/assets/images/icon-itch.svg');
    background-size: cover;
    background-position: center;
    transition: background-image 0.3s ease; /* Efecto de transición opcional */
    margin: 0 5px;
  }
  
  .nav-link-icon.itch:hover {
    background-image: url('/portfolio/assets/images/icon-itch-blue.svg');
  }

 

.navbar-collapse {
    align-items: center;
    justify-content: space-between;
}

.navbar-toggler {
    border: none;
    background-color: var(--black-grey-color);
  }

.navbar-toggler-icon svg {
    transition: stroke 0.3s ease;
}

.navbar-toggler-icon {
    background-image: none;

}

.navbar-toggler-icon path {
    stroke: rgba(255, 255, 255, 1); /* Color original de las líneas */
    stroke-width: 2;
    stroke-linecap: round;
    stroke-miterlimit: 10;
}

.navbar-toggler-icon:hover path {
    stroke: rgba(255, 101, 101, 1); /* Color de las líneas en hover */
  }

  .navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

/* .nav-img {
    width: 19px;
    position: absolute;
    top: -3px;

    transition: transform 1s ease;
} */

/* Hero Section */

.hero {
    /* background-color: #f6f7f8;
    min-height: 450px;
    text-align: center; */
    min-height: 102vh;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-background.active {
    opacity: 1;
    z-index: 2;
}

.hero-background.hiden {
    opacity: 0;
    z-index: 1;
}

.hero-principal {
    position: relative;
    z-index: 2;
}

.hero-image-dev {
    width: 128px;
    height: 128px;
    margin: 20px;
}

.h1-blue-word {
    color: var(--blue-color);
}

.hero-principal h2 {
    font-size: 1.5rem;
    font-family: "Roboto", sans-serif;
}

.hero-principal p {
    font-size: 1.3rem;
    font-family: "Roboto", sans-serif;
}

.hero-links {
    background: none;
    border: none;
    padding: 0;
    font-size: 1.4rem;
    margin: 0 10px;
    color: var(--white-text);
}

.hero-links:hover {
    color: var(--blue-color);
}

.hero-links:focus {
    color: var(--blue-color);
}

#email-copied-notification {
    position: relative;
    top: 35px;
    right: 180px;
    transform: translateX(50%);
    background: var(--blue-color);
    color: var(--white-text);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 100;
}

.notification-visible {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
  }


/* About Me*/

/* .about-me {
    padding: 10px;
} */

/* .about-me .container {
    max-width: 80%;
    text-align: left;
} */

section .about-me {
    margin-top: 40px;
}

section h2 {
    margin-bottom: 18px;
}

.about-second {
    margin: 100px 0;
}

.badges-container {
    font-size:  18px;
    margin: 10px 0;
}

.badges-container span {
    background-color: var(--blue-color);
}

.badge {
    font-weight: 500;
    margin: 5px;
}


/* cards */

.cards-container {
    margin-top: 35px;
}

.cards-container .column {
    padding: 20px 10px;
    /* border: 2px solid #8080804d; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    transition: all 0.2s ease-in;
}

.cards-container .column:hover {
    color: var(--white-text);
    background-color: #202020;
}

.cards-container i.icon-education {
    font-size: 2rem;
    color: var(--blue-color);
    background-color: black;
    padding: 10px 20px;
    border-radius: 50%;
}

.title-card {
    color: var(--white-text);
    font-family: "Montserrat", sans-serif;
    font-size: 23px;
    font-weight: bold;
    margin: 10px 0;
}

.educacion-section {
    align-items: normal;
}

.educacion-section h2 {
    margin-bottom: 0;
}


.educacion-section .column {
    padding: 5px 10px;
}

/* Projects */

.recent-projects {
    padding: 15px 0px;
}

.custom-gutter {
    --bs-gutter-x: 0rem;
}

.recent-projects img {
    height: 100%;
    width: 100%;
    padding: 0px;
    display: block;
    transition: all 0.2s ease;
}

.recent-projects a {
    color: rgb(49, 49, 49);
}

.container-proyects {
    padding:  30px 0;
    margin-bottom: 0px;
}

.container-proyects div {
    padding: 0;
}

.proyect {
    position: relative;
    background-color: #ffffff;
}

.overlay {
    transition: all 0.2s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform:  translate(-50%, -50%);
    text-align: center;

}

.overlay p {
    font-size: 25px;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    color: var(--white-text);
    margin-bottom: 0;
    text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.74);
}

.proyect:hover img {
    opacity: 0.9;

}

.proyect:hover .overlay {
    opacity: 1;
}

.btn-info {
    font-size: 1.1rem;
    background-color: var(--blue-color);
    border: none;
}

.btn-info:hover {
    color: var(--white-text);
    background-color: #202020;
}

/* Contact */

/* General styling for the contact section */
#contact {
    padding: 20px;
    border-radius: 8px;
    margin: 50px auto;
    font-family: "Montserrat", sans-serif;
  }

  .email-contact {
    color: var(--blue-color);
    font-weight: bold;
  }
  
  /* Form styling */
  form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }
  
  /* form label {
    color: #555;
    font-size: 16px;
  } */
  
  form input,
  form textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    background-color: var(--white-text);
    border: 1px solid var(--white-text);
    border-radius: 4px;
  }

  form input::placeholder,
  form textarea::placeholder {
  color: #20202075; /* Color gris suave para el placeholder */
  }

  form input:focus,
  form textarea:focus {
    outline: none;
  }
  
  form button {
    padding: 5px;
    font-size: 14px;
    color: var(--white-text);
    background-color: var(--blue-color);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 25%; /* El botón ocupa todo el ancho disponible */
  }
  
  form button:hover {
    background-color: var(--black-hover-color);
  }

/* Footer */

.footer-logo {    
    width: 100px;
}

.footer-text {
    font-size: 1.25rem;
    padding: 20px;
    margin-bottom: 30px;
}

.social-network-icons {
    margin: 20px 0;
}

.social-network-icons a{
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    margin: 10px;
    border: 2px solid var(--white-text);
    border-radius: 50%;
    transition: all 0.2s ease-in;
}

.social-network-icons button {
    background-color: var(--black-grey-color);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    margin: 10px;
    border: 2px solid var(--white-text);
    border-radius: 50%;
    transition: all 0.2s ease-in;
    position: relative;
} 

.social-network-icons img {
    width: 26px;
}

.social-network-icons i {
    color: var(--white-text);
    font-size: 1.3rem;
}

.social-network-icons a:hover {
    background-color: var(--blue-color);
    border: 2px solid var(--white-text);
}

.social-network-icons button:hover {
    background-color: var(--blue-color);
    border: 2px solid var(--white-text);
}

.copyright {
    font-size: 15px;
    color: #aeaeae;
    padding: 20px;
}

.copyright span {
    color: var(--blue-color);
}


/* Go to Top Button */

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 40px;
    background-color: #333;
    color: var(--white-text);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    display: none; /* Oculto por defecto */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 2;
}

.back-to-top:hover {
    background-color: var(--blue-color);
    transform: scale(1.1);
}

/* Responsive */

@media screen and (max-width: 400px) {
    .overlay p {
        font-size: 18px;
    }
}

@media screen and (max-width: 767px) {
    .navbar-brand {
        display: none;
    }

    .nav-link {
        padding: 0;
        margin: 6px 0;
    }

    .nav-link-icon.itch,
    .nav-link-icon.artstation {
        position: relative;
        top: 0;
        margin: 6px 0;
    }

    .back-to-top {
        right: 12.5px;
        width: 40px;
        height: 40px;
    }

    .hero-principal h1 {
        font-size: 2.5rem;
    }

    .about-me .container {
        max-width: 100%;
        text-align: left;
    }

    .about-second {
        margin: 30px 0;
    }

    #email-copied-notification {
        top: 35px;
        right: 160px;
        font-size: 10px;
        padding: 4px 8px;
    }

    #contact {
        max-width: 90%;
    }

    form input,
    form textarea {
        font-size: 14px;
    }
}

/* @media screen and (max-width: 1024px) {
    .hero-principal h1 {
        font-size: 3rem;
    }
} */

@media screen and (min-width: 767px) {
    .li-brand {
        display: none;
    }
}

@media screen and (min-width: 1200px) {
    /* .about-me .container {
        max-width: 50%;
    } */
}


  