body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100vh;
    margin: 0;
    padding-top: 40px;
    color: black;
    background-color: white;
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
}

.foto {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    width: 200px; /* Manter o tamanho original */
    height: 200px;
    overflow: hidden;
}

.foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.titulo {
    font-size: 24px;
    text-align: center;
    margin-top: 10px;
}

.buttons {
    margin-top: 50px;
    text-align: center;
    border-radius: 50px;
}

.blob-btn {
    z-index: 1;
    position: relative;
    padding: 46px 256px;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
    color: #0505A9;
    font-size: 16px;
    font-weight: bold;
    background-color: white;
    outline: none;
    border: 2px solid #0505A9;
    cursor: pointer;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    transition: color 0.3s ease-in-out; /* Suaviza a transição de cor */
}

.blob-btn:hover {
    color: white; /* Cor branca quando o mouse passa */
}

.blob-btn:before {
    content: "";
    z-index: -1;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    border-radius: 30px;
}

.blob-btn__inner {
    z-index: -1;
    overflow: hidden;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    background: white;
}

.blob-btn__blobs {
    position: relative;
    display: block;
    height: 100%;
    filter: url('#goo');
}

.blob-btn__blob {
    position: absolute;
    top: 2px;
    width: 25%;
    height: 100%;
    background: #0505A9;
    border-radius: 100%;
    transform: translate3d(0, 150%, 0) scale(1.7);
    transition: transform 0.45s;
}

.blob-btn__blob:nth-child(1) { left: 0; transition-delay: 0s; }
.blob-btn__blob:nth-child(2) { left: 25%; transition-delay: 0.08s; }
.blob-btn__blob:nth-child(3) { left: 50%; transition-delay: 0.16s; }
.blob-btn__blob:nth-child(4) { left: 75%; transition-delay: 0.24s; }

.blob-btn:hover .blob-btn__blob {
    transform: translateZ(0) scale(1.7);
}

@media (prefers-color-scheme: dark) {
    body {
        color: white;
        background-color: #121212;
    }
}

/* Responsividade para telas menores */
@media (max-width: 768px) {
    .foto {
        width: 160px;  /* Ajusta o tamanho da foto para telas menores */
        height: 160px;
    }

    .titulo {
        font-size: 22px;  /* Ajusta o tamanho do título */
    }

    .buttons {
        margin-top: 40px; /* Menos margem para botões */
    }

    .blob-btn {
        padding: 36px 200px; /* Ajusta o padding para os botões */
        width: 320px; /* Ajusta a largura do botão */
        max-width: 320px; /* Garante que o botão não ultrapasse 320px */
    }
}

/* Responsividade para celulares */
@media (max-width: 480px) {
    .foto {
        width: 120px;  /* Foto ainda menor para celulares */
        height: 120px;
    }

    .titulo {
        font-size: 18px;  /* Título menor em telas pequenas */
    }

    .buttons {
        margin-top: 30px; /* Ajusta a margem para botões em celulares */
    }

    .blob-btn {
        padding: 28px 150px; /* Reduz o tamanho do padding */
        width: 250px;  /* Ajusta ainda mais a largura dos botões */
        max-width: 250px; /* Garante que o botão não ultrapasse 250px */
    }
}
