@font-face {
    font-family: "Chalet LondonNineteenSixty";
    src: url("fonts/chalet-londonnineteensixty.otf") format("opentype");
}

@font-face {
    font-family: "Signpainter";
    src: url("fonts/signpainter.ttf") format("truetype");
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: rgb(59, 59, 59);
        color: white;
    }

    header {
        background-color: rgb(59, 59, 59);
    }

    .clear-button {
        background-color: rgb(59, 59, 59);
        color: white;
        border: 2px solid white;
    }

    .cash {
        color: #33e547;
    }

    .misc {
        color: cadetblue;
    }
}

@media (prefers-color-scheme: light) {
    body {
        background-color: rgb(190, 190, 190);
        color: black;
    }

    header {
        background-color: rgb(190, 190, 190);
    }

    .clear-button {
        background-color: rgb(190, 190, 190);
        color: black;
        border: 2px solid black;
    }

    .cash {
        color: green;
    }

    .misc {
        color: rgb(62, 104, 105);
    }
}

@media (orientation: portrait) {
    .overlay {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 1);
        color: white;
        justify-content: center;
        align-items: center;
        font-size: 1.5em;
        z-index: 1001;
    }
}

@media (orientation: landscape) {
    .overlay {
        display: none;
    }
}

* {
    font-family: 'Chalet LondonNineteenSixty';
}

main {
    margin-top: 0;
}

.location {
    font-family: 'Signpainter';
}

input[type='checkbox'] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

input[type='checkbox']:disabled {
    cursor: not-allowed;
}

input.small {
    width: 15px;
    height: 15px;
}

.moved {
    position: relative;
    top: 13px;
}

header {
    padding: 0px 8px 8px;
    top: 0;
    left: 0;
    box-sizing: border-box;
    width: 100%;
    z-index: 1;
    position: fixed;
}

.header-content {
    max-width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}

.clear-button {
    height: 50px;
    width: 120px;
    margin-right: 5px;
    font-size: large;
}

.clear-button:hover {
    cursor: pointer;
}

.full {
    margin: auto -20px;
}

title {
    font-size: 50px;
    font-weight: lighter;
}

h3 {
    margin-top: 0;
    margin-bottom: 7px;
}

p {
    margin: 0;
}

.gif {
    position: relative;
    top: 3px;
}

.progress-container {
    position: fixed;
    top: 42%;
    left: 60%;
    display: flex;
    align-items: center;
    z-index: 1000;
    flex-direction: column-reverse;
}

.progress-bar-container {
    width: 400px;
    height: 50px;
    background-color: #e0e0e0;
    border-radius: 5px;
    position: relative;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background-color: #4caf50;
    border-radius: 5px;
    transition: width 0.3s ease-in-out;
}

.progress-text {
    text-align: center;
    margin-bottom: 50px;
}

.progress-text .bold {
    font-size: 2em;
    font-weight: bold;
}

.percentage {
    font-size: 2em;
}

#optional-items {
    margin-top: 10px;
    width: 15px;
    height: 15px;
}

.section {
    margin-top: 30px;
    margin-bottom: 7px;
}

.section-with-note {
    margin-top: 30px;
    margin-bottom: 0;
}

.see-note {
    font-weight: bold;
    color: yellow;
}

.notes-list {
    margin-bottom: 7px;
}

#highlight {
    background-color: yellow;
    transition: background-color 0.5s ease;
}

.flash {
    animation: flash-animation 0.5s infinite alternate;
}

@keyframes flash-animation {
    from { background-color: rgba(0, 0, 0, 0); }
    to { background-color: rgb(212, 212, 0); }
}