* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: Arial, Helvetica, sans-serif;
}

/* General styles */
a {
    text-decoration: none;
    color: #fff;
}

input {
    border: 2px solid #fff;
    background: none;
}

/* Header styles */


/* Card styles */
.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    background-color: #edf2eb;
    color: #fff;
    height: auto;
    padding: 20px;
}

.card {
    width: 22%;
    margin: 10px;
}

.circular-img-link {
    display: block;
    width: 100%;
    height: 0;
    padding-top: 100%; /* Aspect ratio 1:1 */
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.circular-img-link:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Footer styles */
footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background-color: #fff;
    font-size: 15px;
    text-align: center;
}

/* Responsive styles */
@media (max-width: 768px) {
    .cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 100%;
        margin: 15px 0;
    }

    .contact {
        text-align: center;
    }

    .photoGraph {
        padding: 20px;
    }

    footer {
        font-size: 14px;
        padding: 20px;
    }

    .head, .photoGraph {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .photoGraph {
        padding: 20px; /* Ajusta el padding para pantallas pequeñas */
        height: auto; /* Permite que la altura se ajuste automáticamente */
        min-height: 50vh; /* Asegura que el contenedor tenga al menos esta altura */
    }
}

/* Tamaño de fuente base para dispositivos grandes */
body {
    font-size: 16px;
}

/* Estilos específicos para el header */
.head h1, .head h2, .head h3 {
    font-size: 2em; /* Ajusta según sea necesario */
}

/* Estilos específicos para la sección photoGraph */
.photoGraph h2 {
    font-size: 1.5em; /* Ajusta según sea necesario */
}

/* Estilos para dispositivos móviles */
@media (max-width: 768px) {
    body {
        font-size: 8px; /* Reduce el tamaño de fuente base en móviles */
    }

    /* Ajusta los tamaños de fuente para los elementos específicos */
    .head h1, .head h2, .head h3 {
        font-size: 2.5em; /* Tamaño reducido para el header en móviles */
    }

    .photoGraph h2 {
        font-size: 1.2em; /* Tamaño reducido para el photoGraph en móviles */
    }

    .contact h2 {
        font-size: 2.7em; /* Ajusta según sea necesario */
    }

    .contact p {
        font-size: 1em; /* Ajusta según sea necesario */
    }
}
