/* MODAL */
#modal-content {
    background-color: rgba(33, 37, 41, 0.6); /* Color de fondo semi-transparente orientado a #212529 */
    backdrop-filter: blur(10px); /* Aplicar desenfoque al contenido detrás del modal */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Borde semi-transparente */
    border-radius: 10px; /* Bordes redondeados */
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2); /* Sombra para dar profundidad */
    margin-top: 50px; /* Reduce the top margin for better positioning */
}

#modal-header, #modal-body{
    background-color: transparent; /* Hacer que el fondo de estos elementos sea transparente */
}

#modal-header {
    color: #E74C3C;
}

#modal-body {
    color: #ABB2B9;
}

.warning {
    height: 1.5em; /* Ajusta la altura de la imagen al tamaño del texto */
    width: auto; /* Mantiene la proporción de la imagen */
    vertical-align: middle; /* Alinea verticalmente la imagen con el texto */
}

.modal-title-warning-disposition {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

}

.btn-close {
    font-size: 20px;
    font-weight: 700;
    color: #F2F3F4;
}


/* INTRO */

/* ANIMACIÓN DE LA INTRODUCCIÓN */
@keyframes slideDown {
    0% {
        transform: translateY(-300%);
    }
    100% {
        transform: translateY(0);
    }
}
 /* <!-- INTRO --> */
#intro {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0e0e10;
    z-index: 9999;
}

#intro img {
    width: 50px;
    height: 50px;
    opacity: 0.2;
    /* Aplicar la animación */
    animation: slideDown 2s;
}

.hide {
    opacity: 0;
    transition: opacity 0.6s ease-out;
}


/* STYLES BODY*/
body {
    
    margin: 0;
    padding: 0;
}


.container {
    padding: 20px;
    margin-top: 20px;
    background-color: #18181a ;
}

/* STYLES NAV */
/* NAV: LOGO */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 10%;
}

.logotype-disposition {
    width: 40px;
    height: auto;
}

/* NAV: OPCIONS */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: background-color 0.6s ease;
}

nav.scrolled {
    background-color: #212529 ;
}

.opcions-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40%;
}

.opcions-container-disposition {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px; /* Agrega un espacio entre los elementos */
}

.opcions-design {
    font-family: "Public Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;

    color: #F2F3F4;
    text-decoration: none;
    transition: color 0.5s;
}

 /* NAV: BTN */
.btn-container {
    display: flex;
    justify-content: right;
    align-items: right;
    width: 50%;
    margin-right: 40px;
}

.social-media-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 10%;

    
} 

.social-media-disposition {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 140px;
}

.contact-log-disposition {
    width: 30px;
    height: auto;

}

/* PRESENTATION */
#developer-jumbotron {
    position: relative;
    width: 100%;
    height: 100vh;
    margin-bottom: 0; 

}

.half {
  width: 50%;
  height: 100%;
  position: absolute;
  top: 0;
}
  
.black-bg {
  background: #0e0e10 ;
  left: 0;
}
  
.image-bg {
    background: url('/images/half-background.jpg');
    background-size: cover;
    right: 0;
}

.content-header-container {
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: #F2F3F4;
    position: relative;
    
}

.content-header {
    padding-top: 170px;
    padding-left: 40px;
}

#develop {
    font-family: "Barlow", sans-serif;
    font-weight: 100;
    font-style: normal;
    font-size: 30px;
    font-weight: 400;
}

#user {
    font-family: "Roboto Condensed", sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
    font-size: 90px;
    font-weight: 500;
    margin-top: -45px;
}

#description {
    font-family: "Noto Sans TC", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    margin-top: -10px;
    font-style: italic;
    color: #F2F3F4;
}

.autor-style { 
    color: #464545;
}
/* CADS */
#about {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: #F2F3F4;
    padding: 20px;
    margin-top: 20px;
    border: 0;
    background-color: #18181a ;
}

#hability-style {
    color: #F2F3F4;
    background-color: #20224b
}

/*.card {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 400px;
    height: 400px;
    color: #F2F3F4;
    padding: 20px;
    margin-top: 20px;
    background-color: #20224b
}*/

/* CONTENEDOR DE TODO */
.container-complitely {
    background-color: #18181a ;
    margin-top: -20px;
}

#about-me-title {
    font-family: "Barlow", sans-serif;
    font-weight: 100;
    font-style: normal;
    font-size: 30px;
    font-weight: 400;
}

#about-me-habilities {
    font-family: "Barlow", sans-serif;
    font-weight: 100;
    font-style: normal;
    font-size: 30px;
    font-weight: 400;
}

#about-me-description {
    font-family: "Public Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
    font-size: 20px;
    text-align: justify;
}

#habilities {
    font-family: "Barlow", sans-serif;
    font-weight: 100;
    font-style: normal;
    font-size: 15px;
    font-weight: 300;
    margin-top: 100px;
}

/*.card-body {
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 250px;
    padding: 20px;
    margin-top: 20px;
}

.card-habilisy-disposition {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: #F2F3F4;
    padding: 10px;
    margin-top: 20px;
}

.card-title {
    text-align: center;
}*/

.card-img-top {
    width: 100px;
    height: 200px;
    object-fit: cover;
}

.card-design {
    border: none;
    border-radius: 10px;
    position: relative;
    background-color: #0e0e10;


}

#card-ability {
    border: 3px solid #0e0e10; /* Grueso y color del borde */
    border-radius: 10px; /* Redondeo de las esquinas */
}

#card-ability {
    background-color: #0e0e10;
    color: #ABB2B9;

}


.user-jombotron-disposition {
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100%;
    color: #F2F3F4;
    padding: 20px;
    margin-top: 20px;
    border: 0;
    background-color: #18181a ;
}

.jombotron-disposition-user-disposition {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: #F2F3F4;
    padding: 20px;
    margin-top: 20px;
    background-color: #18181a ;
    margin-bottom: -20px;
}

.jombotron-disposition-user-text {
    font-family: "Roboto Condensed", sans-serif;
    font-style: normal;
    font-size: 40px;
    font-weight: 500;
    color: #262629;
}

.jombotron-disposition-description-text {
    /*color: #D0D3D4;*/
    color: #464545;
    font-size: 20px;
    font-weight: 700;
}

.cards-container-diposition {
    display: flex;
    width: auto;
    height: 350px;
    color: #F2F3F4;
    padding: 20px;
    margin-top: 20px;
    background-color: #18181a ;
}

.card-body-disposition {
    margin: 10px;
    padding: 10px;
}

.card-header-style {
    font-weight: 600;
}

.abilitys-container {
    margin-top: 100px;
}

.title-abilities {
    color: #F2F3F4;
    text-align: center;
    
}

.social-media-disposition-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Add even spacing between images */
}

.icon {
    margin-left: 10px;
    margin-right: 10px;
}

.lead-container {
    text-align: center;
}

.lead-user {
    font-family: "Roboto Condensed", sans-serif;
    font-style: normal;
    font-size: 25px;
    font-weight: 600;
    color: #18181a;
}

.lead-year {
    font-size: 10px;
    font-weight: 500;
    color: #ABB2B9;
    margin-top: 10px;
}

.opcions-design[href="Home"] {
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 2px;
    text-decoration-color: #464545;
}

.card-text {
    color: #c5c6c7;
}

.alert {
    background-color: #82E0AA  !important; 
    color: #196F3D !important;
    font-weight: 500;
    border-color: #196F3D !important;
    transition: opacity 0.5s ease-in-out;
    
    opacity: 0; /* Inicia invisible */
    position: fixed;
    margin-top: 80px;
    margin-left: 150px;
    margin-right: 150px;
    z-index: 1000;
    display: flex;

}

.alert.show {
    opacity: 1; /* Se hace completamente visible */
}


.quote-text {
    font-style: italic;
}

.quote-author {
    color: #888;
    font-style: italic;
}

.underline-bar {
  width: 100%;
  height: 2px;
  background-color: #ddd0d0;
  margin-top: 5px;
}

.nav-item.active .opcions-design {
  position: relative;
  text-shadow: 4px 4px 8px rgba(255, 255, 255, 0.5); /* Increase size and transparency */
}

.nav-item.active .opcions-design::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background-color: #ddd0d0;
}

.fixed-username {
    position: fixed;
    bottom: 20px; /* Adjust bottom position */
    right: 20px; /* Adjust right position */
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* Tooltip styles */
.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: #0e0e10;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 10px;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Position above the text */
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Tooltip styles for fixed username */
.fixed-username-tooltip {
    display: inline-block;
    cursor: pointer;
    margin-right: 20px; /* Add margin to detach from the right edge */
}

.fixed-username-tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: #0e0e10;
    color: #fff;
    border-radius: 6px;
    padding: 15px;

    position: absolute;
    z-index: 1;
    bottom: 150%; /* Adjust position above the text */
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
}

.fixed-username-tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px; /* Width of the scrollbar */
}

::-webkit-scrollbar-track {
    background: #18181a; /* Background color of the scrollbar track */

}

::-webkit-scrollbar-thumb {
    background: #888; /* Color of the scrollbar thumb */
    border-radius: 10px; /* Rounded corners for the thumb */
}

::-webkit-scrollbar-thumb:hover {
    background: #555; /* Color of the scrollbar thumb when hovered */
}

.institutions-container {
    display: flex;
    align-items: center;
    gap: 20px; /* Increase gap for better spacing */
    padding: 2rem 5rem; /* Adjust padding for consistent spacing */

}

.institution-image-container {
    flex: 1;
    display: flex;
    justify-content: center; /* Center the image horizontally */
}

.institution-text-container {
    flex: 2;
    display: flex;
    align-items: center; /* Center the text vertically */
    width: 100%; /* Ensure the text containers have the same size */
    height: auto; /* Adjust height according to content */
}

.institution-image {
    width: 100%;
    height: auto;
    max-width: 150px; /* Adjust as needed */
}

.universidad {
    font-size: 1.5em; /* Larger font size */
    font-style: italic; /* Italic text */
    font-weight: 600; /* Semi-bold */
    font-family: "Roboto Condensed", sans-serif; /* Font family of the header */
}

.educacion {
    font-size: 0.9em; /* Smaller font size */
    color: grey; /* Grey color */
    font-weight: normal; /* Remove bold */
}