:root {
  --primary-color: #008080;
}

/* Vispārigi dizaina iestatījumi */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* Rullīša dizains, gadījumos, kad tas parādās (pie ļoti gariem darbu sarakstiem vai uz mazākiem ekrāniem) */

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: #f5f5f5;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

/* Lapas galvenās daļas dizains */
body {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e2e1dc;
  padding-bottom: 15px;
  padding-top: 15px;
}

/* Kontainera dizains - tajā atradīsies gan kalendārs, gan darbu saraksts */
.container {
  width: 1200px;
  min-height: 750px;
  margin: 0 auto;
  padding: 5px;
  display: flex;
  color: #fff;
  border-radius: 10px;
  background-color: #373c4f;
}

/* ---------------------------------------- */

/* Tiek noteiktas dinamikas robežas, tas ir, ekrāna izmēri, pie kuriem lapas dizains mainīsies, lai paliktu lietotājiem saprotams */
@media screen and (max-width: 1000px) {
  .container {
    flex-direction: column;
    min-height: 100vh;
    border-radius: 0;
  }
  
  .container .left,
  .container .right {
    width: 100%;
    padding: 20px 0;
  }
  
  .events {
    padding-bottom: 250px;
  }
}

@media screen and (max-width: 500px) {
  .calendar .month {
    height: 75px;
  }
  
  .calendar .weekdays {
    height: 50px;
  }
  
  .calendar .days .day {
    height: 40px;
    font-size: 0.8rem;
  }
  
  .calendar .days .day.active,
  .calendar .days .day.today {
    font-size: 1rem;
  }
  
  .right .today-date {
    padding: 20px;
  }
}

/* ---------------------------------------- */

/* Lapās esošās navigācijas sadaļas izskata iestatījumi */

header {
    background-color: #222531;
    color: white;
    padding: 1rem;
    text-align: center;
	border-radius: 10px;
}

nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

nav button {
    background-color: #373c4f;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
	font-size: 1rem;
}

nav button:hover {
    background-color: #565e7c;
}