* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #f7f9fc;
    color: #333;
    line-height: 1.6;
    height: 100%;
}

.container {
    width: 80%;
    margin: 0 auto;
}

header {
    background-color: #2d3e50;
    color: #fff;
    padding: 50px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

header h1 {
    font-size: 3.5em;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-about,
.section-projects,
.section-contact {
    padding: 80px 0;
    background-color: #fff;
    margin-top: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.section-about h2,
.section-projects h2,
.section-contact h2 {
    font-size: 2.8em;
    margin-bottom: 20px;
    text-align: center;
    color: #34495e;
    font-weight: 600;
}

.section-about p,
.section-projects p,
.section-contact p {
    font-size: 1.2em;
    text-align: center;
    color: #7f8c8d;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.projects-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.project-item {
    background-color: #fff;
    border: 1px solid #e1e1e1;
    padding: 30px;
    width: 300px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.project-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}

.project-item h3 {
    font-size: 1.7em;
    color: #2d3e50;
    margin-bottom: 15px;
}

.project-item a {
    color: #3498db;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 600;
    transition: color 0.3s ease;
}

.project-item a:hover {
    color: #f39c12;
}

.form-container {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    width: 80%;
    max-width: 600px;
    margin: 40px auto;
}

.form-container h1 {
    text-align: center;
    color: #34495e;
    font-size: 2.8em;
    margin-bottom: 30px;
    font-weight: 600;
}

label {
    font-size: 1.2em;
    color: #34495e;
    margin-bottom: 10px;
    display: block;
}

input,
textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    color: #333;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease;
}

input:focus,
textarea:focus {
    border-color: #3498db;
    outline: none;
}

input[type="submit"] {
    background-color: #3498db;
    color: white;
    font-size: 1.2em;
    border: none;
    cursor: pointer;
    padding: 15px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    width: 100%;
}

input[type="submit"]:hover {
    background-color: #2980b9;
}

footer {
    background-color: #2d3e50;
    color: #fff;
    padding: 40px 0;
    text-align: center;
    font-size: 1.2em;
    letter-spacing: 1px;
}

footer p {
    margin-top: 20px;
}

/* Estilos específicos para los enlaces dentro del footer */
footer a {
    color: #3498db;
    /* Color inicial del enlace */
    text-decoration: underline;
    transition: color 0.3s ease;
}

footer a:visited {
    color: #9b59b6;
    /* Color para enlaces visitados */
}

footer a:hover {
    color: #f39c12;
    /* Color al pasar el cursor */
}

footer a:active {
    color: #e74c3c;
    /* Color mientras el enlace está activo */
}

/* Media Queries */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.5em;
    }

    .section-about p,
    .section-projects p {
        font-size: 1.1em;
    }

    .projects-container {
        flex-direction: column;
        align-items: center;
    }

    .project-item {
        width: 90%;
    }

    .form-container {
        width: 90%;
    }
}

footer {
    background-color: #333;
    /* Fondo oscuro */
    color: #fff;
    /* Texto blanco */
    padding: 20px 0;
    text-align: center;
    font-family: Arial, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-name {
    font-size: 18px;
    margin: 0;
}

.footer-link {
    color: #1e90ff;
    /* Color azul para el enlace */
    text-decoration: none;
    font-size: 16px;
    margin-top: 5px;
    display: inline-block;
}

.footer-link:hover {
    text-decoration: underline;
}

#cookies {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #333;
    /* Fondo oscuro */
    color: #fff;
    /* Texto blanco */
    padding: 15px;
    text-align: center;
    font-family: Arial, sans-serif;
    z-index: 1000;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
    display: none;
}

#cookies form {
    display: inline-block;
    margin: 0;
}

#cookies input.cookies {
    background-color: #1e90ff;
    /* Color azul */
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    margin-left: 10px;
}


#cookies button.cookies {
    background-color: #1e90ff;
    /* Color azul */
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    margin-left: 10px;
}

#cookies input.cookies:hover {
    background-color: #1c86e0;
    /* Azul más oscuro al pasar el cursor */
}

#cookies p {
    margin: 0;
    display: inline-block;
    font-size: 16px;
}

ul{

    margin-left: 30px;
}

#cerrar{
    display: none;
}