/*generales*/

a {
    text-decoration: none;
}

@font-face {
    font-family: roboto;
    src: url(../fuentes/roboto-bold.ttf);
}

@font-face {
    font-family: tommy;
    src: url(../fuentes/tommy-medium.otf);
}

@font-face {
    font-family: geosans;
    src: url(../fuentes/geosans-light.ttf);
}

body {
    text-align: left;
    font-family: geosans;
    color: white;
    background-color: #051D35;

}

h1 {
    font-family: roboto;
}

h2,
h3,
h4,
h5 {
    font-family: tommy;
    text-align: center;
}


/*navbar*/
.nav-link.active {
    background-color: #002A7A !important;
    color: white !important;
    background-color: #051D35;
}

a.nav-link {
    padding: 37px 16px !important;
    color: white !important;
}

.navbar {
    padding: 0;
    background-color: #051726 !important;
    color: white !important;
    font-size: 17px;
}

.navbar p {
    color: white;
    padding: 25px 18px !important;

}

nav a:hover {
    background-color: #002A7A;
    transform: scale(1.0);
    color: white !important;
}

.dropdown-menu {
    background-color: #051726;
    text-align: center;
}

.dropdown-menu a:hover {
    background-color: #002A7A !important;
}

.dropdown-item {
    color: white;

}


/*Perfil*/

/* CONTENT CARD */
.content-card {
    background: #062D4E;
    border-radius: 25px;
    text-align: center;
}

.content-card h1 {
    font-size: 20px !important;
}


/* PROFILE CARD */
.profile-card {
    background: #062D4E;
    border-radius: 20px;
    text-align: center;
}

.profile-card img {

    width: 150px;
    height: 150px;
    object-fit: cover;
}

.profile-card h2,
h3 {
    padding: 5px;
}

.profile-card li {
    list-style: none;
}

.profile-card i {
    text-align: center;
    font-size: 20px;
    color: white;
}

/*Sobre mí*/

.sobre-mi {
    color: white;
    background-color: #051D35;
    text-align: center;

}

.sobre-mi img {
    width: 300px;
    height: 300px;
}

.sobre-mi p {
    text-align: left;
}

.sobre-mi a {
    font-size: 20px;
}

.nav-tabs li {
    background-color: #002A7A;

}


.nav-tabs .nav-link.active {
    background-color: #0B89F7 !important;
    font-weight: bold;
    color: black !important;
}

/*formación*/

.formacion {
    color: white;
    background-color: #051D35;
}


.formacion a {
    font-size: 18px;
}

.bg-blue {
    background-color: #0B89F7 !important;
    color: black;
    font-weight: bold !important;
    font-size: 20px;
}

.contact img {
    width: 400px;
    height: 400px;
}

.contact i {
    text-align: center;
    font-size: 20px;
}

/* Línea vertical */
.timeline-line {
    width: 4px;
    height: 100%;
}

.timeline-year {
    position: relative;
    z-index: 10;
    /* hace que queden al frente */

}

/* Puntos */
.timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

/* Flecha (opcional) */
.timeline-card {
    position: relative;
    color: black;
    text-align: center;
    font-size: 20px;
}

.timeline-card i {
    text-align: center;
    font-size: 20px;
}

.timeline-card li {
    text-align: left;
    padding: 6px;
}

.timeline-card h5 {
    padding: 10px;
}


.timeline-card::after {
    content: "›";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: gray;
    font-size: 30px;

}

/*Aptitudes e idiomas*/

.habilidades {
    color: white;
    background-color: #051D35;
}

.habilidades .nav-link {
    color: white;
}

.habilidades button {
    font-size: 20px !important;
}

/* Espacios responsivos */
.tab-content {
    margin-top: 40px;
}

.skill-text {
    font-size: 18px;

}

.percent {
    font-size: 1.0rem;
}

/* Barra */
.progress {
    height: 14px;
    background: #e5e5e5;
    border-radius: 20px;
    overflow: hidden;
}

.progress-bar {
    width: 0;
    transition: width 2s ease;
    background: #0d6efd;
}

.certificaciones h5,
p {
    text-align: left;
    padding: 3px;
}

.certificaciones h4 {

    padding: 3px;
}

.evidencias img {
    opacity: 1;
    display: block;
    width: 98%;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
    height: auto;
}

.evidencias:hover img {
    opacity: 0.8;
}

/*Proyectos*/

.proyectos h3 {

    padding-top: 20px;
    padding-bottom: 10px;


}

.proyectos h4 {
    padding-top: 40px;
    padding-bottom: 20px;
    text-align: center;

}

.proyectos h5 {

    padding-top: 10px;
    padding-bottom: 20px;
    text-align: left;
}

.imagenes {
    padding-top: 40px;
    padding-bottom: 40px;
    text-align: center;
}

.nav-link-custom {
    font-size: 1rem;
    font-weight: bold;
    transition: opacity 0.3s;
    color: white !important;

}

.nav-link-custom:hover {
    opacity: 0.6;
    color: #e5e5e5 !important;
}

footer {
    padding: 5px;
    background-color: #051726 !important;
    color: white !important;
    text-align: center;

}

footer a {
    color: white !important;
    font-size: 17px;
}


/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 900px) {
    .column {
        width: 50%;
    }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .column {
        width: 100%;
    }
}

@media (max-width: 992.98px) {
    a.nav-link {
        border-left: none;
        text-align: center;

    }

    .navbar p {
        padding: 16px;
    }

    .navbar button {
        background-color: white;
    }

    .borde-derecho {
        border-right: none;
    }
}


@media (min-width: 768px) {
    .timeline-card.ms-auto::after {
        right: -25px;
        /* izquierda */
    }

    .timeline-card.me-auto::after {
        left: -25px;
        /* derecha */
    }

    .tab-content {
        margin-top: 60px;
    }

}

/* En móvil se quitan flechas y puntos */
@media (max-width: 767px) {
    .timeline-card::after {
        display: none;
    }

    .timeline-dot {
        display: none !important;
    }

    .timeline-line {
        left: 50%;
    }
}