body {
    font-family: "Montserrat", sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #d7d0d0;
}
header {
    position: sticky;
    top: 0; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #333;
    color: #f3e1e1;
}
.header-title {
    font-size: 19px; 
    font-weight: 300;
    margin: 0;
}
.profile-container {
    display: flex;
    align-items: center;
}
.profile-img {
    width: 48px;
    height: 48px;
    border-radius: 100%;
    margin-right: 20px;
}
nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
}
nav ul li {
    margin-left: 25px; 
}
nav ul li a {
    text-decoration: none;
    color: #f9f9f9;
    font-size: 17px;
    font-weight: 350;
}
nav ul li a:hover {
    color: #9fbbbe;
}
ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
ul li {
    margin-bottom: 10px;
}
main {
    padding: 2rem;
    max-width: 800px;
    margin: auto;
}
section {
    margin-bottom: 2rem;
}
#contact ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
#contact ul li {
    margin: 10px 15px;
    text-align: center;
}
#contact ul li a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    transition: color 0.3s ease;
}
#contact ul li a:hover {
    color: red;
}
#contact ul li a:active {
    color: #9fbbbe;
}
#contact ul li i {
    margin-right: 5px;
}
strong {
    font-weight: bold;
    color: #333;
}
footer {
    text-align: center;
    background: #333;
    color: #fff;
    padding: 6rem 0;
    position: relative;
    bottom: 0;
    width: 100%;
}
.font-montserrat {
    font-family: "Montserrat", sans-serif;
}
.montserrat-light {
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
}
.montserrat-regular {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
}
.montserrat-bold {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
}
.fas.fa-file-pdf {
    color: rgb(201, 132, 132);
    transition: color 0.3s;
}
a:active .fas.fa-file-pdf {
    color: rgb(158, 94, 158);
}
a {
    color: #752424;
    text-decoration: none;
}
.justified-text {
    text-align: justify;
}
#topics {
    margin-top: 30px;
    text-align: center;
}
.topics-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}
.topic-button {
    background-color: transparent;
    color: black;
    border: 2px solid black;
    padding: 8px 18px;
    font-size: 15px;
    cursor: pointer;
    border-radius: 28px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.topic-button i {
    font-size: 18px;
}
.topic-button:hover {
    background-color: black;
    color: white;
}
#topics-content {
    font-size: 14px;
    text-align: justify;
}

@media (max-width: 768px) {
    body {
        padding: 10px; 
        box-sizing: border-box; 
    }

    header {
        display: flex; 
        flex-direction: column; 
        justify-content: center; 
        align-items: center;
        text-align: left; 
        padding: 5px;
        position: relative; 
        width: 100%; 
        margin: 0 auto; 
    }

    .header-title {
        font-size: 18px; 
        margin-bottom: 10px; 
    }

    .profile-img {
        width: 35px;
        height: 35px;
        margin-right: 10px; 
    }

    nav ul {
        display: flex; 
        flex-direction: column; 
        align-items: left; 
        margin-top: 10px;
        padding: 0;
    }

    nav ul li {
        margin: 10px 0; 
    }

    nav ul li a {
        font-size: 16px;
    }

    main {
        padding: 1rem;
        width: 100%;
    }
	img {
        width: 80%; /* Reducir tamaño de la imagen en pantallas más pequeñas */
    }

    footer {
        display: flex;
        justify-content: center; 
        align-items: center;
        text-align: center; 
        padding: 1rem 0;
        width: 100%; 
        margin: 0 auto; 
    }
}


