:root {
  --primary: #1a2ca3;
  --secondary: #0d1a63;
  --text: #fff7cd;
  --bg: #f68048;
  --light: #2845d6;
  --main-font: Arial, sans-serif;
}

body {
  width: 100%;
  font-family: var(--main-font);
}
h1 {
  font-size: 1.7rem;
  font-weight: bold;
}
.header {
  background-color: var(--text);
  height: 130px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  gap: 5px;
}
.logo {
  img {
    /* width: 300px; */
    height: 220px;
  }
}
nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav a,
nav button {
  min-width: 90px;
  height: 35px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s ease;
}
.home {
  font-size: 35px;

  background-color: rgb(181, 181, 195);
}
#logout {
  background-color: var(--bg);
  color: #ffff;
}

#learn-more {
  background-color: var(--light);
  color: white;
}

nav a:hover,
nav button:hover {
  transform: translateY(-2px);
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* tablet */
@media (min-width: 601px) and (max-width: 1024px) {
}

/* mobile phone */
@media (max-width: 600px) {
  body {
    width: 100%;
    margin: 0;
  }
  h1 {
    font-size: 1.4rem;
  }
  h2 {
    font-size: 1rem;
  }

  nav {
    flex-direction: column;
    gap: 10px;
    
  }
  nav a {
    align-self: flex-end;
  
    height: 35px;
  
  }
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* info pop up */
#info-content {
  width: 420px;
  max-width: 90%;
  gap: 15px;
}

#info-content h2 {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary);
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.2),
    0 4px 10px rgba(226, 63, 42, 0.342);
  text-align: left;
}

#info-content p {
  line-height: 1.6;
  color: #333;
  font-size: 0.95rem;
}

.modal-content {
  position: relative;
  background: white;
  padding: 35px;
  width: 350px;
  border-radius: 12px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
  animation: pop 0.25s ease;
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
}

@keyframes pop {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-content h2 {
  margin-bottom: 20px;
  text-align: center;
}

.modal-content div:not(.buttons) {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.close-2,
.close-1,
.close-3 {
  position: absolute;
  font-size: 2rem;
  left: 140px;
  top: 40px;
}
.modal-content label {
  font-size: 14px;
  margin-bottom: 5px;
  color: black;
}

.modal-content input {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 14px;
  transition: 0.2s;
}

.modal-content input:focus {
  border-color: #4f46e5;
  outline: none;
}

input::placeholder {
  color: gray;
}

.modal-content button {
  margin-top: 10px;
  align-self: center;
  padding: 12px;
  border-radius: 6px;
  background: #4f46e5;
  color: white;
  font-size: 15px;
  transition: 0.2s;
}

.buttons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.modal-content button:hover {
  background: #4338ca;
}

#login-h2 {
  font-weight: bolder;
}

.access-denied {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.access-denied-content {
  background: white;
  padding: 35px;
  width: 320px;
  border-radius: 12px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
  animation: pop 0.25s ease;
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
}

.green,
.red {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.green {
  background-color: rgba(172, 255, 47, 0.325);
}
.red {
  background-color: rgba(221, 66, 66, 0.441);
}
