* {
    user-select: none;
}

button {
    font-family: 'Jersey 25', sans-serif;
    font-size: 25px;
    background-color: #bfdbfe;
    color: black;
    border: none;
    cursor: pointer;
    margin-top: 40px;
}

#start-button, #restart-button {
  background-color: #bfdbfe;
  color: black;
  border: none;
  cursor: pointer;
  font-family: 'Jersey 25', sans-serif;
  font-size: 25px;
  box-shadow: 4px 4px 0px #000;
  image-rendering: pixelated;
}

#start-button:active, #restart-button:active {
  box-shadow: 2px 2px 0px #000;
  transform: translate(2px, 2px);
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: 'Jersey 25', sans-serif;
}

#game-container {
    width: 900px;
    height: 600px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

#main-window {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#title-bar {
    display: flex;
    justify-content: flex-end;
    background-color: #bfdbfe;
    padding: 5px;
}

.title-bar-icons {
    padding: 0 3px;
}

#menu-bar {
    background-color: #f5f5f5;
    border-bottom: 1px solid #C0C0C0;
    padding: 5px;
}

.menu-bar-label {
    margin: 0px 5px;
}

#workspace {
    display: flex;
    flex: 1;
    overflow: hidden;
    background-color: #f5f5f5;
    padding: 5px;
}

#nav-pane {
    width: 250px;
    padding: 5px;
}

#inbox {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#inbox-label {
    font-weight: bold;
}

#email-pane {
    width: 500px;
    padding: 5px;
    display: flex;
    flex-direction: column;
}

#email-content-area {
    display: flex;
    flex: 1;
}

#email-container {
    flex: 1;
    overflow: hidden;
}


#email-pane-emails-container {
    width: 100%;
    margin-bottom: 5px;
}

#email-pane-labels {
    display: flex;
    gap: 10px;
}

#email-window {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 5px;
}

#email-title-bar {
    display: flex;
    background: #cce5ff;
}

#email-title {
    width: 500px;
    padding: 0 10px;
    flex: 1
}

#email-headers-container {
    display: flex;
    border-bottom: 1px solid #c0c0c0;
    justify-content: space-between;
    align-items: end;
}

#email-headers-destination-container {
    padding: 0 10px;
}

#email-content-container {
    background-color: white;
    padding: 10px;
    height: 100%;
}

.email-item {
    height: 43px;
    width: 100%;
    border-top: 1px solid #c0c0c0;
    display: flex;
    background-color: white;
    flex-direction: column;
    transition: all 0.2s ease;
    overflow: hidden;
    padding: 2px;
    justify-content: center;
}

.email-item:hover {
    background-color: #c1c1c1;
}

.email-item.removing {
    opacity: 0;
    max-height: 0;
    padding: 0;
    margin: 0;
}

#scrollbar {
    display: flex;
    flex-direction: column;
    width: 5px;
    background: #f1f1f1;
}

#scrollbar-track {
    flex: 1;
    position: relative;
}

#scrollbar-thumb {
    position: absolute;
    width: 100%;
    height: 20px;
    background: #888;
    top: 0;
}

#all,
#unreads {
    width: 100px;
}

.highlighted {
    border-bottom: 3px solid #bfdbfe;
    font-weight: bold;

}


#start-overlay {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 16px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.80);
    z-index: 10;
}

#start-overlay.hidden {
    display: none;
}

#start-title {
    font-size: 100px;
    color: white;
}

#start-how-to-play {
    font-size: 20px;
    color: white;
}

#start-button,
#restart-button {
    width: 110px;
    height: 35px;
}

#end-overlay {
    display: none;
}

#end-overlay.visible {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 16px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.80);
    z-index: 10;
}

#end-score,
#end-promotion-tier,
#end-quit-reason {
    font-size: 30px;
    color: white;
}