* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, sans-serif;
    background: #f4f4f4;
    text-align: center;
    min-height: 100vh;
    padding-bottom: 80px;
    overflow-x: hidden;
}

.domine-normal {
    font-family: "Domine", serif;
    font-weight: 700;
}

.screen {
    display: none;
    padding: 90px 16px 100px;
}

.active {
    display: block;
}

input,
select,
button {
    width: 100%;
    max-width: 360px;
    padding: 12px;
    margin: 8px 0;
    font-size: 16px;
}

button {
    background: #222;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.card {
    background: white;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
    text-align: left;
}

.low {
    border-left: 6px solid crimson;
}

.thumb {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 6px;
    margin-bottom: 6px;
}

nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    background: #fff;
    border-top: 1px solid #ddd;
}

nav button {
    flex: 1;
    background: none;
    color: #222;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #fff;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-bottom: 1px solid #ddd;
    z-index: 10;
}

.expend {
    width: 80px;
    height: 80px;
    background-color: black;
    border: none;
    border-radius: 50%;
    position: absolute;
    transition-duration: 200ms;
    transition-timing-function: ease-out;
    animation: expendAnim 0.5s;
    pointer-events: none;
    z-index: 1;
}

.expend::after {
    content: "";
    width: 80px;
    height: 80px;
    position: absolute;
    background-color: white;
    border: none;
    border-radius: 50%;
    top: 0px;
    left: 0px;
    animation: expendAnim2 0.5s;
}


@keyframes expendAnim {
    from {
        opacity: 1;
        border-radius: 50%;
    }

    to {
        border-radius: 50%;
        opacity: 0;
    }
}

@keyframes expendAnim2 {
    from {
        transform: scale(0.1);
    }

    to {
        transform: scale(1);
    }
}