@font-face {
    font-family: "KurdFont";
    src: url("../assets/font.ttf") format("truetype");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #1f1f33;
    color: #ffffff;
    font-family: "KurdFont", sans-serif;
}

#desktop-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#mobile-frame {
    width: 390px;
    height: 844px;
    background: #1f1f33;
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 0, 0, .4);
    transform-origin: top center;
}

#app {
    width: 100%;
    height: 100%;
}

#viewport {
    width: 100%;
    height: 100%;
    background: url("../assets/ic_bg.png") repeat;
    display: flex;
    flex-direction: column;
}

#frame {
    flex: 1;
    background: url("../assets/ic_frame.svg") no-repeat top center;
    background-size: cover;
    position: relative;

    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
}

.date {
    font-size: 18px;
    text-align: center;
    margin: 12px 0;
}

#today {
    padding-top: 17vh;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#timer {
    height: 8vh;
    background: url("../assets/ic_itemw.svg") no-repeat center;
    background-size: contain;

    width: 95%;
    font-size: 44px;
    height: 64px;
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform .3s ease, opacity .3s ease;
}

#timer.update {
    opacity: .7;
    transform: scale(.97);
}

.item {
    height: 56px;
    margin: 6px auto;
    width: 95%;
    background: url("../assets/ic_item.svg") no-repeat center;
    background-size: contain;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10%;
    font-size: 20px;
}

.city-btn {
    position: absolute;
    margin-top: 10px;
    margin-left: 5px;
    padding: 5px 10px;

    border-radius: 20px;
    border: none;

    background: #ffffffa0;
    color: #1f1f33;

    font-family: inherit;
}

.modal-content {
    user-select: text;
    margin: 15%;
}


.modal-content a {
    display: block;

    padding: 11px;
    margin: 8px 0;

    font-size: 20px;
    color: #000;
    text-decoration: none;
    align-content: center;
    text-align: center;

    border-radius: 15px;
    background: #bbb;
}

.modal-content a.active {
    background: #1f1f33;
    color: #fff;
}

@media (max-width: 600px) {
    #mobile-frame {
        width: 100vw;
        height: 100vh;
        border-radius: 0;
        box-shadow: none;
    }
}