@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Quicksand", sans-serif;
}

body {
    background-image: url(./img/fondo2.avif);
    background-size: 100% 100%;
    background-position: fixed;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: space-between;
}


/* HEADER */

.header {
    width: 100%;
    position: sticky;
    top: 0;
    background-color: #08101977;
    z-index: 99;
}

.header-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    margin: auto;
    width: min(1500px, 100%);
}

.navbar li a {
    position: relative;
}

.navbar li a::before {
    content: '';
    display: block;
    width: 0%;
    height: 2px;
    background-color: white;
    transition: all .3s;
    position: absolute;
    bottom: 0px;
    left: 50%;
}

.navbar li a:hover::before {
    left: 0;
    width: 100%;
    z-index: 999;
}


header .logo {
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 10px;
    padding: .8rem;
    font-family: "Roboto Mono", monospace;
}

header .logo:hover {
    color: #081019;
    background-color: #fcfcfc;
    transition: .3s;
    font-weight: bold;
}

header .navbar {
    position: relative;
    display: flex;
}

header .navbar li {
    list-style: none;
    margin-left: 1rem;
}

header .navbar li a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    padding: .7rem;
    transition: .3s;
    text-transform: uppercase;
    font-size: 1rem;
}

/* FOOTER */
.footer-box {
    width: min(1500px, 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 2rem;
    margin: auto;
    color: #fff;
}

footer ul {
    display: inline-flex;
    list-style: none;
    justify-content: center;
    font-size: 2rem;
    gap: 1rem;
}

footer ul a {
    color: #fff;
    display: flex;

}

footer li:hover a {
    color: blue;
}


/* INDEX */
.index-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-grow: 1;
}

.contenido {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
}

.contenido .titulo-box {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    max-width: 800px;
    text-align: center;
    margin: auto;
    background-color: #08101977;
    padding: 2rem;
}

.contenido .titulo-box h2 {
    font-size: 3rem;
    color: #fff;
}

#title-data-box {
    text-transform: uppercase;
}

.contenido .titulo-box h2 span {
    color: blue;
    font-family: "Roboto Mono", monospace;
    border-radius: 20px;
    font-size: 3rem;
    margin-bottom: .6rem;
}

.contenido .titulo-box p {
    font-size: 1.8rem;
    line-height: 1.5;
    color: #fff;
    font-weight: 300;
}

.contenido .titulo-box a {
    text-decoration: none;
    text-transform: uppercase;
    color: blue;
    background-color: #fff;
    padding: .7rem 1.2rem;
    border-radius: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin: auto;
    transition: .5s;
}

.contenido .titulo-box a:hover {
    color: #fff;
    background-color: blue;
    transition: .5s;
}

.contenido .img-box {
    width: min(900px, 100%);
    display: flex;
    justify-content: flex-end;
    padding-right: 50px;
    z-index: -5;
    position: absolute;
    right: 2rem;
    bottom: 0;
}

.contenido .img-box img {
    width: 100%;
}

.contenido .img-box img:hover {
    height: 80vh;
} */

/* CV */
.separation-line {
    display: block;
    width: 100%;
    border-bottom: 5px dotted #707070;
    margin: 2rem 0;
}

.content {
    width: min(1500px, 100%);
    color: #fcfcfc;
    margin: 2rem auto;
    font-family: "Roboto Mono", monospace;
}

#title {
    width: 100%;
    background-image: url(img/fondo2.jpg);
    background-size: 100% 100%;
    color: #000;
}

#title-data-box>h1 {
    font-size: 3rem;
}

#title-img-box {
    width: 300px;
}

#title-img-box img {
    width: 100%;
    border-radius: 20px;
}

.back2 {
    width: 100%;
    height: 100%;
    background-color: #08101944;
    padding: 4rem;
    display: flex;
    justify-content: space-between;
}

.back {
    width: 100%;
    height: 100%;
    background-color: #090e1688;
    padding: 4rem;
    margin-bottom: 2rem;
}

.back section {
    margin-bottom: 2rem;
}

.experience article {
    margin-bottom: 1rem;
}

#about {
    margin: auto;
}

#about h2,
#contact-info h2 {
    margin-bottom: .5rem;
}

#about p {
    margin: 0 1rem;
    line-height: 1.5;
    font-size: 1.2rem;
    margin-bottom: .3rem;
}

#contact-info {
    display: flex;
    justify-content: space-around;
    align-items: start;
}

#contact-info ul {
    list-style: none;
    padding-left: .5rem;
}

#contact-info ul li {
    display: flex;
    align-items: center;
    padding-left: .5rem;
    margin-bottom: .3rem;
    font-size: 1.2rem;
}

#contact-info ul li span {
    padding-top: 4px;
    padding-right: .3rem;
}

#contact-info ul a {
    text-decoration: none;
    color: #fcfcfc;
}

#contact>ul>li:hover a {
    color: #69afe0;
    text-decoration: underline;
}

#contact ul li:hover {
    color: #69afe0;
}

#education li {
    flex-direction: column;
}

#education li P {
    width: 100%;
}

#education .educacion-principal {
    font-weight: 600;
    margin-bottom: .4rem;
}

#education .educacion-data {
    padding-left: 1rem;
}

.experience article {
    margin-bottom: .4rem;
}

.experience p {
    padding-left: 1rem;
    margin-bottom: .4rem;
    font-weight: 600;
    font-size: 1.2rem;
}

.experience ul {
    padding-left: 3rem;
}

.experience ul li {
    font-size: 1.1rem;
    margin-bottom: .4rem;
}

.skills {
    display: flex;
    justify-content: space-around;
    align-items: start;
}

.skills ul {
    list-style: none;
    padding-left: .5rem;
}

.skills ul span,
.cert-title {
    font-weight: 600;
}

.skills ul li {
    margin-bottom: .4rem;
}

.skills h2 {
    margin-bottom: .6rem;
}

.cert-date {
    padding-left: 1rem;
}

footer {
    width: 100%;
    background-color: #08101977;
}


/* PROYECTOS */

.proyectos-section {
    width: min(1500px, 100%);
    margin: auto;
    padding: 2rem;
}

.proyectos-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin: 2rem auto;
    color: #fcfcfc;
}

.proyectos-box {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.proyecto-card {
    background-color: #fcfcfc;
    width: min(400px, 100%);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    margin: auto;
}

.proyecto-card:hover {
    transform: scale(1.1);
}

.proyecto-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.proyecto-contenido {
    padding: 20px;
    height: 12rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.proyecto-contenido h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #222;
}

.proyecto-contenido p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
}

.proyecto-contenido a {
    text-decoration: none;
    color: #0066cc;
    font-weight: bold;
}

.proyecto-contenido a:hover {
    text-decoration: underline;
}

/* Contacto */
.cont-content {
    display: flex;
    max-width: min(1500, 100%);
    justify-content: center;
    align-items: center;
    color: #fcfcfc;
    background-color: #08101977;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.cont-content aside {
    padding: 2rem;
    width: min(600px,100%);
    height: fit-content;
    font-size: 2rem;
}

.cont-content aside h2 {
    margin-bottom: 1rem;
}

.cont-box {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

}

.cont-box form {
    padding: 2rem;
    border: 2px solid #fcfcfc;
    border-radius: 1.5rem;
    width: min(500px,100%);
    font-size: 1.5rem;
}

.cont-box div {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-bottom: .6rem
}

.cont-box input,
.cont-box textarea {
    background-color: #08101977;
    padding: .4rem;
    color: white;
    font-size: 1.5rem;
}

.cont-content ul {
    list-style: none;
}

.cont-box textarea {
    min-height: 200px;
    margin-bottom: 1rem;
}

.cont-box input[type=submit] {
    background-color: #0055cc;
    font-weight: bold;
    display: block;
    margin: auto;
    width: 180px;
    padding: .3rem 0;
    border-radius: .6rem;
}

.cont-box input[type=submit]:hover {
    background-color: #fcfcfc;
    color: #081019;
} 
