@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500&display=swap');

html{
    min-height: 100vh;
    width: 100vw;
    background: linear-gradient(to right, #30cfd0, #330867);
    background-attachment:  fixed;
}

body, 
header, 
main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

body {
    font-family: "Poppins", sans-serif;
    color: white;
    margin: 0;
    min-height: 100vh;
    width: 100vw;
    justify-content: center;
    gap: 1.25rem;
}

figure {
    overflow: hidden;
    width: 11.25rem;
    height: 11.25rem;
    border-radius: 50%;
    margin-bottom: 0.625rem;
}
        
figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.15);
    object-position: top 0.375rem right -0.375rem;
}

h1 {
    margin: 0;
    font-size: 1.5rem;
}

h2 {
    font-size: 1.125rem;
    margin: 0 0 0.3125rem 0;
    font-weight: 400;
}

main {
    gap: 1.25rem;
}
        
button {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 1rem;
    width: 12.5rem;
    height: 3.125rem;
    background-color: #ffffff;
    color: #333;
    border: none;
    border-radius: 0.625rem;
}

button:hover {
    cursor: pointer;
    background-color: #ffffff00;
    border: 1px solid white;
    color: white;
}

@media (max-width: 500px) {
    figure {
        width: 7.5rem;
        height: 7.5rem;
    }
    
    h1 {
        font-size: 1.125rem;
    }
    
    h2 {
        font-size: 0.875rem;
    }
    
    button {
        width: 90vw;
        max-width: 18.75rem;
        font-size: 0.9375rem;
        height: 2.75rem;
    }
    
    main {
        min-width: 100vw;
        padding: 0 5vw;
    }
}