@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
    font-family: "Montserrat", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    text-align: center;
}

.container {
    max-width: 400px;
    margin: 20px auto;
    background-color: #1c1c1c;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    position: relative;
    padding-bottom: 60px; /* Espacio para footer fijo */

}

.logo {
    padding: 20px;
    width: 50%; /* Ajustar según necesidad */
}

.profile {
    padding: 20px;
    border-bottom: 15px solid #1f1f1f;
}

.profile-pic {
    width: 150px; /* Tamaño de la imagen de perfil */
    border-radius: 50%;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/backg.jpeg'); /* Ruta de la imagen de fondo */
    background-size: cover; /* Cubrir toda la pantalla */
    background-position: center; /* Centrar la imagen */
    z-index: -1; /* Enviar detrás de todo */
}

.info, .contact, footer {
    color: #fff;
    padding: 10px;
    margin-bottom: 10px;
    background-image: linear-gradient(to bottom, #95765e, #666666, #1f1f1f); /* Degradado en la información, contacto y footer */
    
}

.button, .direction-button, .web-button, .footer-button {
    background-color: #95765e; /* Color de fondo */
    color: #fff; /* Color del texto */
    padding: 15px 30px; /* Espaciado interno */
    margin: 10px auto; /* Margen externo */
    text-decoration: none;
    border-radius: 30px; /* Borde redondeado */
    font-size: 1em; /* Tamaño de fuente */
    display: inline-block; /* Mostrar como bloque */
    border: 2px solid #fff; /* Contorno sólido blanco */
    cursor: pointer; /* Cambiar cursor al pasar */
    transition: background-color 0.3s ease, border-color 0.3s ease; /* Transiciones suaves */
    background-image: linear-gradient(to bottom, #95765e, #666666); /* Degradado en los botones */
}

.button:hover, .direction-button:hover, .web-button:hover, .footer-button:hover {
    background-color: #666666; /* Color de fondo al pasar el cursor */
    border-color: #1f1f1f; /* Cambiar color del contorno al pasar el cursor */
}

.header {
    border-bottom: 15px solid #fff; /* Borde negro en la parte inferior del header */
}

.profile-pic {
    width: 150px; /* Tamaño de la imagen de perfil */
    border-radius: 50%;
    border: 15px solid #1f1f1f; /* Borde negro alrededor de la imagen de perfil */
}

.gallery {
    padding: 10px;
    text-align: center;
}

.portfolio-img {
    width: 80%; /* Tamaño ajustado de imágenes de portafolio */
    margin: 10px 0; /* Espaciado aumentado */
}

.footer-buttons {
    /* Ajustes para fijar los botones del footer y alinearlos */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center; /* Centrar los botones */
    background-image: linear-gradient(to bottom, #1f1f1f, #95765e);
}

.footer-button {
    /* Ajustes para los botones individuales dentro del footer fijo */
    margin: 5px; /* Espacio alrededor de los botones */
    width: auto; /* Ancho automático basado en el contenido del botón */
}


@media (max-width: 600px) {
    .container {
        width: 90%;
        margin: 10px auto;
    }

    .button, .footer-button {
        padding: 10px 20px; /* Ajuste de tamaño para dispositivos móviles */
    }

    .circle-container {
        width: 200px; /* ajusta según tu diseño */
        height: 200px;
        border-radius: 50%;
        overflow: hidden;
        background: white;
        position: relative;
        margin: auto; /* centrado del círculo si lo necesitas */
    }
    
    .profile-pic {
        width: 100%;
        height: auto;
        transform: translateX(10px); /* mueve la imagen un poco a la derecha */
    }
    
}
