:root {
  font-family: Inter, sans-serif;
  font-feature-settings: 'liga' 1, 'calt' 1;
}
@supports (font-variation-settings: normal) {
  :root { font-family: InterVariable, sans-serif; }
}

body {
    margin: 0;
    cursor:url("../ui/cursor.svg"), auto;
    background-color: blue;
}

#land-button {
    user-select: none;
    color: white;
    text-decoration: none;
}

#land-button:hover {
    text-shadow: rgb(255, 255, 255) 0px 0 5px;
}

.box-icon span {
    max-width: 100%;
    font-family: Arial, sans-serif;
    font-size: 0.8125rem;     /* 13px */
    line-height: 1.2;
    text-align: center;
    color: white;
    letter-spacing: -0.01em;
    overflow-wrap: anywhere;
}

.text-shadow {
    text-shadow: rgb(0, 0, 0) 0 2px 7px;
}

.time-and-date {
    font-family: Inter, sans-serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-shadow: rgba(0, 0, 0, 0.301) 0 4px 4px;
    z-index: -1;
    position: absolute;
    left: 0;
    right: 0;
    bottom: max(2rem, 10vh);
    padding: 0 1rem;
    text-align: center;
    user-select: none;
}

/* Display type is the one place viewport units make sense:
   it grows with the screen but clamp() keeps it between 4rem and 9rem. */
.time {
    font-size: clamp(4rem, 3rem + 7vh, 9rem);
    line-height: 1;
    letter-spacing: -0.07em;
}

#date {
    margin-top: 0.5rem;
    font-weight: normal;
    letter-spacing: -0.03em;
    font-size: clamp(1rem, 0.8rem + 0.8vw, 1.5rem);
}

#label {
    font-weight: 400;
}

.textbox-text {
    background-color: white;
    border: solid white 0 px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    height: fit-content;
    font-weight: 300;
    padding: 1rem;
}

.textbox-title {
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
    border-bottom: 1px solid blue;
    justify-content: flex-end;
    font-weight: 700;
}

.textbox-title, .textbox-text {
    background-color: white;
    opacity: 0.8;
    height: fit-content;
    width: 12.5rem;
    padding: 0.25rem;
    color: blue;
    font-family: Arial, Helvetica, sans-serif;
}

.appname {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.75rem;       /* 12px */
    position: static;
    user-select: none;
    white-space: nowrap;
}

::-webkit-scrollbar {
    width: 0.5rem;
    height: 0.5rem;
    background: rgb(255,255,255);
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.3) 0%, rgba(255, 255, 255, 0.4) 70%, rgba(0, 0, 0, 0.1) 100%);
    border-radius: 10px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
}

::-webkit-scrollbar-thumb {
    background: rgb(166,229,255);
    background-image: url(../ui/scrollbar.png);
    border-radius: 10px;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .box-icon:active {
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.3);
  }