@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&family=Lacquer&display=swap');

body {
  background-image: url('../img/body.png');
  font-family: "Cinzel", serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 700;
  overflow: hidden;
}

a, a:hover, a:active, a:visited {
  color: #236bb8;
  text-decoration: none;
}

.input-container {
  display: flex;
  align-items: center;
  max-width: 400px;
  margin: 0 auto;
}

input {
  flex: 1;
  padding: 10px 15px;
  font-family: "Lacquer", serif;
  font-size: 16px;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-right: none;
  border-radius: 8px 0 0 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  outline: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

input:focus {
  background-color: rgba(255, 255, 255, 0.3);
  border-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

button {
  padding: 10px 20px;
  font-size: 14px;
  font-family: "Cinzel", serif;
  color: #ffffff;
  background-color: #236bb8;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
  background-color: #0056b3;
}

button:active {
  transform: scale(0.98);
}

button:focus {
  outline: none;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
}

.container {
  align-items: center;
  display: flex;
  height: 100vh;
  justify-content: center;
}

.content {
  color: white;
  text-align: center;

  > h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
  }
}

.application-modal, .journal-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 50px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  width: 500px;
  max-height: 80vh;
  overflow-y: auto;
  
  > h1 {
    text-align: center;
  }

  > div {
    > h3 {
      color: #7428ca;
    }
  
    > p {
      text-align: left;
      font-family: "Lacquer", serif;
      font-weight: 400;
      font-style: normal;
    }
  } 
}

#entry-2, #entry-3, #entry-4, #entry-5,
#entry-6, #entry-7, #entry-8, #entry-9,
#entry-10, #entry-11, #entry-12 {
  display: none;
}

#status-text {
  color: #7428ca;
}

/* For modern browsers */
::-webkit-scrollbar {
  width: 8px; /* Narrower scrollbar width */
  height: 8px; /* For horizontal scrollbars */
}

::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.8); /* Black with 60% transparency */
  border-radius: 4px; /* Rounded edges for the scrollbar thumb */
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 1.0); /* Slightly darker on hover */
}

::-webkit-scrollbar-track {
  background-color: rgba(0, 0, 0, 0.1); /* Light transparent track */
  border-radius: 4px; /* Rounded edges for the track */
}

/* For Firefox */
* {
  scrollbar-width: thin; /* Narrow scrollbar */
  scrollbar-color: rgba(0, 0, 0, 0.8) rgba(0, 0, 0, 0.1); /* Thumb and track colors */
}