* {
  font-family: "Lora", serif;
  font-optical-sizing: auto;
  font-size: 16px;
  color: rgb(0, 0, 0);
}

body {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  overflow-y: hidden;
}

.background-container-1 {
  position: fixed;
  background-image: url("LogIn/img/background5.jpg");
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background-size: cover;
  background-position: center;
  transition: background-image 0.5s ease-in-out;
}

.main-content {
  display: grid;
  grid-template-areas:
    "left news quote weather"
    "left news quote weather"
    "left news quote weather"
    "currency currency currency currency";
  grid-template-columns: 1.5fr 1.5fr 1fr 1fr;
  grid-template-rows: 50% 1fr 1fr;
  gap: 20px;
  padding: 2vh;
  height: 96vh;
}

.main-content > * {
  text-align: left;
}

.left-side-items,
.news-container,
.clock-container,
.goal-container,
.currency,
.quote-section {
  text-align: left;
}

.left-side-items {
  grid-area: left;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0);
  border-radius: 20px;
}

.news-container {
  grid-area: news;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0);
  border-radius: 20px;
  overflow-y: auto;
}

.clock-container {
  grid-area: clock;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0);
}

.goal-container {
  grid-area: goal;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0);
}

.weather {
  grid-area: weather;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
}

.currency {
  grid-area: currency;
  padding: 20px;
  border-radius: 10px;
  max-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0);
  background-color: rgba(0, 0, 0, 0);
}

.currency > * {
  font-size: 1.3rem;
  color: rgb(0, 0, 0);
}

.exchange-rates-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 30px;
  background-color: rgba(0, 0, 0, 0);
}

.rate-item {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #f0f0f000;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0);
}

.quote-section {
  grid-area: quote;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0);
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  background-color: rgba(0, 0, 0, 0);
}

#event-list {
  list-style: none;
  margin-top: 10px;
}

.add-event input {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid rgb(0, 0, 0);
  width: 50%;
  font-size: 1rem;
  text-align: center;
  padding: 10px;
}

/* Typography */
h1 {
  font-size: 8rem;
}

h2 {
  font-size: 3rem;
}

h3 {
  font-size: 2rem;
}

.news-container h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  text-align: center;
}

.news-item {
  margin-bottom: 15px;
}

.news-title {
  font-size: 18px;
  font-weight: bold;
}

.news-description {
  font-size: 14px;
  color: #555;
}

.news-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 10px;
}

.news-container::-webkit-scrollbar {
  width: 12px;
}

.news-container::-webkit-scrollbar-track {
  background: black;
}

.news-container::-webkit-scrollbar-thumb {
  background: #ffffff;
  border-radius: 10px;
}

.news-container::-webkit-scrollbar-thumb:hover {
  background: #ffffff;
}

.news-container {
  scrollbar-width: thin;
  scrollbar-color: #333 rgb(255, 255, 255);
}

input {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid rgb(0, 0, 0);
  width: 70%;
  font-size: 2.5rem;
  text-align: center;
  padding: 10px;
}

input:focus {
  outline: none;
}

button {
  width: 150px;
  background-color: transparent;
  padding: 15px;
  border-radius: 20px;
  transition: background-color 0.3s ease-in-out;
}

button:hover {
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.2);
}

.quote {
  position: fixed;
  bottom: 0;
  width: 100%;
  opacity: 1;
}

.quote-button {
  width: 150px;
  background-color: transparent;
  padding: 15px;
  border-radius: 20px;
  align-items: center;
  justify-content: center;
}

#overlay1,
#overlay2 {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
  cursor: pointer;
}

.meniu {
  display: grid;
  gap: 10px;
  position: fixed;
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
  width: 10%;
}

#newsletters:hover,
#weathers:hover {
  cursor: pointer;
}
