body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

h1 {
    text-align: center;
}

section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: whitesmoke;
    max-width: 400px;
    margin: 0 auto;

    border-radius: 16px;
    transition: scale .3s ease;
    cursor: pointer;
    overflow: hidden;
}

.bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: .5rem;

    background-color: #6495ed;
    animation: progress 2s ease infinite alternate;
}

section:hover {
    scale: 1.05;
}

@keyframes progress {
    to {
        width: 100%;
    }
}

