@font-face {
    font-family: 'ImperialScript-Regular';
    src: url('fonts/ImperialScript-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

header.hero {
    background: url('Images/Mypc.jpg') no-repeat center center/cover;
    height: 70vh;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.logo-container {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: rgba(255, 255, 255, 0.6); /* Fondo blanco más translúcido */
    padding: 10px;
    border-radius: 10px;
    box-sizing: border-box;
}

.logo {
    width: 100%;
    max-width: 100px; /* Tamaño máximo del logo */
    height: auto;
}

/* Media queries para ajustar el tamaño del logo en diferentes tamaños de pantalla */
@media (max-width: 1200px) {
    .logo {
        max-width: 80px;
    }
}

@media (max-width: 992px) {
    .logo {
        max-width: 70px;
    }
}

@media (max-width: 768px) {
    .logo {
        max-width: 60px;
    }
}

@media (max-width: 576px) {
    .logo {
        max-width: 50px;
    }
}

.hero-name {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 10px;
    box-sizing: border-box;
}

header .name {
    font-family: 'ImperialScript-Regular', cursive;
    font-size: 2em;
    color: #fff;
    margin: 0;
}

header .tagline {
    font-family: Arial, sans-serif;
    font-size: 0.6em;
    color: #fff;
    margin-top: 5px;
}

.hero-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: calc(100% - 40px); /* Calcula el ancho restando el margen */
    margin: 0 20px; /* Aplica el margen lateral */
    box-sizing: border-box;
}

.welcome-container {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    flex: 1;
    margin-right: 20px;
}

.welcome {
    text-align: center;
}

.subtitle {
    font-size: 2em;
    margin: 0;
}

.description {
    font-size: 1.2em;
}

.profile-pic {
    width: 250px; /* Tamaño más grande para la imagen */
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-email {
    position: absolute;
    bottom: 20px;
    color: #FFFFFF;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 2px 20px;
    border-radius: 10px;
}

main {
    padding: 2em;
    max-width: 1200px;
    margin: 0 auto;
}

section.about {
    text-align: center;
    margin-bottom: 2em;
}

section.services {
    text-align: center;
    margin-bottom: 2em;
}

section.services h2 {
    text-align: center;
    margin-bottom: 1em;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.service {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    box-sizing: border-box;
}

.service h3 {
    margin-top: 0;
}

footer {
    text-align: center;
    padding: 1em 0;
    background-color: #333;
    color: #fff;
}

/* Estilos para el enlace de beneficios */
.benefits-link {
    color: #fbff00f7;
    text-decoration: none;
    font-weight: bold;
}

.benefits-link:hover {
    text-decoration: underline;
}

/* Estilos para la sección de beneficios */
.benefits {
    text-align: center;
    margin-bottom: 2em;
}

.benefits-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.benefits h2 {
    text-align: center;
}

.benefits ul {
    list-style-type: none;
    padding: 0;
}

.benefits ul li {
    margin-bottom: 10px;
    line-height: 1.5;
}

/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

/* Media Queries for Mobile Devices */
@media (max-width: 768px) {
    header.hero {
        height: auto;
        padding: 20px;
    }

    .hero-content-wrapper {
        flex-direction: column;
        align-items: center;
        margin: 0;
    }

    .welcome-container, .profile-pic {
        margin: 20px 0;
    }

    .hero-name {
        position: static;
        margin-bottom: 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service {
        width: 100%;
        margin-bottom: 20px;
    }

    .benefits-container {
        padding: 15px;
    }
}

/* Media Queries for Very Small Devices */
@media (max-width: 480px) {
    header .name {
        font-size: 1.5em;
    }

    .subtitle {
        font-size: 1.5em;
    }

    .description {
        font-size: 1em;
    }

    .profile-pic {
        width: 200px;
        height: 200px;
    }
}
a {
    color: #fbff00f7; /* Color predeterminado de los enlaces */
    text-decoration: none; /* Elimina el subrayado predeterminado */
}

a:hover {
    text-decoration: underline; /* Añade subrayado al pasar el cursor */
}

.email-link {
    color: #ff5733; /* Cambia este valor al color que prefieras */
}

.email-link:hover {
    text-decoration: underline; /* Añade subrayado al pasar el cursor */
}

