/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    position: relative;
    min-height: 100vh;
    background-image: url('img/FONDO\ PORTFOLIO.jpg');
    background-repeat: repeat;
    background-size: cover;
    font-family: 'Playfair Display', serif;
    scroll-behavior: smooth;
}

.container {
    max-width: auto;
    margin: 0 auto;
    padding: 20px;
}

/* Estilos del encabezado */
header {
    color: #fff;
}

.navbar {
    padding: 10px 0;
}

.container-nav {
    max-width: auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
}

.navbar-brand a {
    color: #fff;
    font-size: 24px;
    text-decoration: none;
}

.navbar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-right: 0;
    margin-left: 0;
    display: flex;
}

.navbar-menu li {
    margin-left: 20px;
}

.navbar-menu li a {
    color: #fff;
    text-decoration: none;
}

.navbar-menu li a:hover {
    color: #ff6b6b;
    cursor: pointer;
}

.titulo-principal {
    text-align: left;
    color: #fff;
    font-size: 1100%;
    font-family: 'Playfair Display', serif;
    margin-bottom: 5px;
    line-height: 1.1;
}

.sub-titulo {
    text-align: left;
    margin-top: 5px;
    color: #aeacac;
    font-size: 200%;
    font-family: 'Playfair Display', serif;
}

.punto-rojo {
    color: red;
}


/* Estilos de las secciones */
section {
    padding: 40px 0;
}

section h2 {
    font-size: 28px;
}

.project {
    text-align: center;
    margin-bottom: 20px;
}

.project-img {
    max-width: 100%;
    height: auto;
}

.skill-list {
    list-style: none;
    padding: 0;
}

.skill-list li {
    display: inline-block;
    margin-right: 20px;
}

.skill-list li i {
    font-size: 24px;
    margin-right: 10px;
}

.experience-list {
    list-style: none;
    padding: 0;
}

.experience-list li h3 {
    margin-top: 0;
}

/* Estilos del pie de página */
footer {
    color: #fff;
    position: absolute;
    text-align: center;
    margin-bottom: 0;
    bottom: 0;
    width: 100%;
    height: 60px;
    font-family: 'Playfair Display', serif;
}

.social-icons a {
    color: #fff;
    margin-right: 10px;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    header h1 {
        font-size: 24px;
    }
    .titulo-principal {
        font-size: 55px;
    }

    .sub-titulo {
        font-size: 24px;
    }

    .titulo-proyects {
        font-size: 55px !important;
    }

    .titulo-about {
        font-size: 55px !important;
    }

    .text-about {
        font-size: 24px !important;
    }
    #scrollToTopBtn {
        display: none;
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 99;
        background-color: #f1f1f1;
        border: none;
        color: #333;
        font-size: 16px !important;
        width: 20px !important;
        height: 20px !important;
        border-radius: 50% !important;
        display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    }
}

.social-icons {
    font-size: 24px;
    margin-left: 10px;
}

.social-icons a {
    color: #fffefe;
    margin-right: 10px;
}

.social-icons a:hover {
    color: #ff6b6b;
}

/* Estilos proyectos */
.container-proyects {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 20px;
    margin-left: auto;
    margin-right: auto;
    color: #aeacac;
    font-family: 'Playfair Display', serif;
    place-items: center;
}

.container-proyects img {
    max-width: 841.4px;
    max-height: 521.47px;
    width: 100%;
    height: auto;
    margin-top: 0;
}

.container-proyects a {
    text-decoration: none;
    color: #aeacac;
    font-size: 120%;
}

.container-proyects a:hover {
    cursor: pointer;
    color: #eae9e9;
    text-decoration: underline;
}

.titulo-proyects {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
    font-size: 650%;
    font-family: 'Playfair Display', serif;
}

.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 40px;
    font-family: 'Playfair Display', serif;
    justify-items: center;
    align-items: center;
}

.project-grid img {
    max-width: 841.4px; /* Establece el tamaño máximo de ancho */
    max-height: 521.47px; /* Establece el tamaño máximo de alto */
    width: 100%;
    height: auto;
}

.project-grid a {
    text-decoration: line-through;
    color: #aeacac;
    font-size: 120%;
}
.project-grid a:hover {
    color: #eae9e9;
    text-decoration: none;
}


.project {
    text-align: center;
}

.project1 {
    grid-column: 1;
    grid-row: 1;
}

.project2 {
    grid-column: 2;
    grid-row: 2;
}

.project3 {
    grid-column: 1;
    grid-row: 3;
}




/* Seccion about me */
.container-about {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 20px;
    font-family: 'Playfair Display', serif;
}

.titulo-about {
    text-align: left;
    margin-bottom: 0%;
    margin-left: 20px;
    color: #fff;
    font-size: 650%;
    font-family: 'Playfair Display', serif;

}

.text-about {
    text-align: left;
    margin-bottom: 0%;
    margin-left: 15px;
    margin-right: auto;
    margin-bottom: 20px;
    color: #aeacac;
    font-size: 200%;
    font-family: 'Playfair Display', serif;
}

.contact-phrase {
    color: #aeacac;
    text-decoration: line-through;
}

.contact-phrase:hover {
    color: #eae9e9;
    text-decoration: none;
}

/* Boton to top */
#scrollToTopBtn {
    display: none;
    /* Ocultar el botón por defecto */
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    background-color: #f1f1f1;
    border: none;
    color: #333;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

#scrollToTopBtn.show {
    display: block;
    /* Mostrar el botón cuando se aplique la clase "show" */
}