:root {
    --sun: rgb(255, 247, 0);
}

@property --sky-top {
  syntax: '<color>';
  inherits: false;
  initial-value: rgb(80, 195, 247);
}

@property --sky-bottom {
  syntax: '<color>';
  inherits: false;
  initial-value: rgb(134, 206, 235);
}

#menu-bar {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: row;
    gap: 15px;
    background-color: var(--body2);
    color: #aaaaaa;
    padding: 5px 10px;
    border-radius: 5px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.1s linear, color 0.1s linear;
    z-index: 10;
}
.menu-item:hover {
    /* background-color: var(--body3); */
    cursor: pointer;
    /* color: white; */
}

#menu-selector {
    height: 28.67px;
    position: absolute;
    background-color: var(--action);
    top: 5px;
    border-radius: 5px;
    transition: left 0.25s ease-in-out, width 0.25s ease-in-out;
    display: none;
}

.right-popup {
    position: absolute;
    right: 20px;
    top: 80px;
    border-radius: 5px;
    overflow: hidden;
    background-color: var(--body2);
    color: white;
    display: none;
    min-width: 250px;
    max-height: 80%;
    overflow-y: scroll;
}

#popup-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0px;
    background-color: hsla(0, 0%, 10%, 0.95);
    padding: 20px;
    z-index: 10;
}
#popup-title div {
    display: flex;
    align-items: center;
    gap: 10px;
}

#popup-close {
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.1s linear;
}
#popup-close:hover {
    background-color: var(--action);
    cursor: pointer;
}

#popup-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
    margin-bottom: 20px;
    margin-right: 20px;
}

#admin-menu-item {
    display: none;
}

#mods {
    display: none;
}

#sky {
    --sky-top: rgb(80, 195, 247);
    --sky-bottom: rgb(134, 206, 235);
    width: 100%;
    height: 80px;
    background-image: linear-gradient(var(--sky-top), var(--sky-bottom));
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

#sun {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    border-radius: 10px;
    background-color: var(--sun);
    box-shadow: 0px 0px 20px var(--sun);
}

.cloud {
    color: lightgray;
    position: absolute;
    top: 30;
    left: -10%;
    animation: clouds 10s linear infinite;
}

#clouds {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: gray;
    opacity: 0;
}

@keyframes clouds {
    from {
        left: -10%;
    }

    to {
        left: 110%;
    }
}