/* Body Style */
body{
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #081d85, #1231a2, #4F73F5, #6babeb);
    background-size: 400% 400%;
    animation: gradientAnim 10s ease-in infinite;
    overflow: hidden;
    z-index: -1;
 
    font-family: "Press Start 2P", system-ui;
}

/* Font */
.press-start-2p-regular {
  font-family: "Press Start 2P", system-ui;
  font-weight: normal;
  font-style: normal;
}

/* Background Animation */
@keyframes gradientAnim {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Loading Screen Styles */
#loadingScreen{
    position: fixed;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    background: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    animation: fadeOut 2s ease 3s forwards;
    color:#1231a2;
}

#loadingContainer {
  width: 50%;
  background: #333;
  height: 24px;
  margin-top: 20px;
  border-radius: 5px;
  overflow: hidden;
}

#loadingBar {
  width: 0%;
  height: 100%;
  background: #4F73F5;
  transition: width 0.2s;
}

/* Loading Screen Fade Animation */
@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}


/* Accounts Style */
.accountContainer {
    display: flex;
    gap: 200px; 
}

.account {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    cursor: pointer;
}

.account:hover {
    transform: scale(1.05);
}

/* There is a transparent dot behind each Account Icon. */
.dot {
    width: 150px;
    height: 150px;
    border: transparent;
    border-radius: 50%;
    background-color: transparent;
    position: absolute;
    top: 0;
    z-index: 1;
}

/* Account Icon Image when opened up */
img {
    position: relative;
    z-index: 2;
    margin-top: 35px; 
}


.account h2 {
    font-family: "Press Start 2P", system-ui;
    margin-top: 50px;
    color: white;
    font-size: 20px;

}

/* Login Card Style */
.loginCard {
    display: none; 
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 400px;
    width: 300px;
    background: #b4b4b8;
    box-shadow: 4px 4px #48494b;
    text-align: center;
    z-index: 100;
    padding: 10px;
    border-radius: 10px;
    color: white;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.loginCard.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.loginCard img {
    width: 90px;
    margin-bottom: 10px;
}

.loginCard h2 {
    margin: 10px 0;
}

.loginCard input {
    width: 80%;
    padding: 10px;
    font-size: 14px;
    border: 2px solid #fff;
    border-radius: 6px;
    background: transparent;
    color: white;
    outline: none;
}

/* Input Font */
input {
    font-family: "Press Start 2P", system-ui;
}

/* Login Button */
.loginButton {
    font-family: "Press Start 2P", system-ui;
    background: #1231a2;
    color: white;
    padding: 10px;
    border: none;
    width: 80%;
    font-size: 14px;
    border-radius: 6px;
    cursor: pointer;
}

.loginButton:hover {
    background: #081d85;
}

/* X Button */
.closeButton {
    position: absolute;
    right: 15px;
    top: 15px;
    background: red;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 50%;
    cursor: pointer;
    font-family: "Press Start 2P", system-ui;
}

/* Clock */
#clock {
    position: fixed;
    bottom: 20px;
    right: 20px;
    color: white;
    font-size: 24px;
    padding: 0 20px;
    line-height: 2;
}

/* Deny Popup */
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #b00020;
    color: white;
    font-size: 20px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 4px 4px #48494b;
    text-align: center;
    z-index: 200;
}

/* Ok Button Style */
.okButton {
    font-family: "Press Start 2P", system-ui;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    font: optional;
}
