* {
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  text-decoration: none;
}

html {
  scroll-padding-top: 90px;
}

body {
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  background: #e2e1e1;
}

.navbar {
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
  position: sticky;
  top: 0;
  z-index: 999;
  background: linear-gradient(157deg, #b5b5b5 0%, #ceced6 4%, #e8e8e8 8%, #d9d9d9 12%, #f0f0f0 16%, #dcdcdc 20%, #e0e0e0 24%, #b8b8b8 28%, #ebebeb 32%, #d4d4d4 36%, #c0c0c0 40%, #e5e5e5 44%, #cfcfcf 48%, #f5f5f5 52%, #e2e2e2 56%, #d0d0d0 60%, #ececec 63%, #c8c8c8 66%, #f2f2f2 69%, #b2b2b2 72%, #dedede 75%, #cacaca 78%, #ffffff 80%, #a0a0a0 82%, #848484 84%, #5a5a5a 86%, #4a4a4a 88%, #b5b5b5 90%, #ceced6 91%, #e0e0e0 92%, #d9d9d9 93%, #c0c0c0 94%, #f0f0f0 95%, #dcdcdc 96%, #ebebeb 96.5%, #d4d4d4 97%, #e5e5e5 97.5%, #cfcfcf 98%, #f5f5f5 98.2%, #e2e2e2 98.4%, #d0d0d0 98.6%, #c8c8c8 98.8%, #b8b8b8 99%, #a0a0a0 99.1%, #666666 99.2%, #505050 99.3%, #404040 99.4%, #5a5a5a 99.5%, #4a4a4a 99.6%, #333333 99.7%, #2a2a2a 99.8%, #1a1a1a 100%);
  background-blend-mode: overlay;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), inset 0 -1px 2px rgba(0, 0, 0, 0.3), 0 2px 5px rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid #1a1a1a;
}

.navbarInner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}

#navLeft {
  display: flex;
  align-items: center;
  width: 80px;
  height: 80px;
}

#midkaLogo {
  width: inherit;
  height: inherit;
  background-image: url("../img/midkemiaLogo.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  align-self: center;
}

.hamburger {
  position: relative;
  display: inline-block;
  padding: 0.4rem 1rem;
  background: linear-gradient(to bottom, #3366cc, #003399);
  border: 2px solid #d4af37;
  border-radius: 12px;
  text-shadow: 0.5px 1px 2px #000;
  box-shadow: inset 0 0 4px #ffd700, 0 2px 4px rgba(0, 0, 0, 0.5);
  transition: transform 0.1s ease-in-out;
  cursor: pointer;
}

.hamburger:hover {
  background: linear-gradient(to bottom, #4d88ff, #2c64d4);
}

.hamburgerText {
  color: white;
  font-family: "Old English Text MT", "Georgia", serif;
  font-size: 1.5rem;
}

.hamburgerContent {
  background: url("../img/navbar/skills300x500.png");
  background-position: center;
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-radius: 10px;
  padding: 10px;
  width: 336px;
  height: 556px;
  z-index: 999;
}

.hamburgerContent.active {
  display: flex;
}

.hamburgerContentInner {
  width: 100%;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  width: 290px;
  height: 430px;
  max-height: 430px;
  min-height: 430px;
  z-index: 1000;
  overflow-y: scroll;
  scrollbar-width: none;
}

.hamburgerContentInner::-webkit-scrollbar {
  display: none;
}

#navCenter {
  padding-left: 0.2rem;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.3rem;
  height: inherit;
  width: 100%;
  transition: all 0.3s ease-in-out;
}

.navElement > a {
  color: white;
  font-family: "Old English Text MT", "Georgia", serif;
  font-size: 1.5rem;
}

.navElement,
.dropdown-container {
  align-items: left;
  position: relative;
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 12px;
  transition: transform 0.5s ease-in-out;
}

.navElement {
  padding: 3px 5px;
}

.navElement > a {
  color: #001052;
  font-weight: bold;
}

.navElement:hover > a {
  text-shadow: 2px 2px 2px #7c8fca;
  cursor: pointer;
}

.dropdown-container {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
  flex-direction: column;
}

.dropdown-container > a::before,
.dropdown-container > span::before {
  content: url("../img/navbar/hamburgerDropdownClosed.png");
}

.dropdown-container.open > a::before,
.dropdown-container.open > span::before {
  content: url("../img/navbar/hamburgerDropdownOpen.png");
}

.dropdown-container > a,
.dropdown-container > span {
  display: inline-block;
  position: relative;
  padding-right: 1rem;
  width: 100%;
}

.dropdown-content {
  border-radius: 6px;
  position: relative;
  display: none;
  justify-content: center;
  align-items: flex-start;
  left: 0;
  top: 0;
  padding: 0;
  z-index: 11;
  flex-direction: column;
}

.dropdown-container.open .dropdown-content {
  display: flex;
}

.dropdown-item:hover {
  text-shadow: 2px 2px 2px goldenrod;
}

.dropdown-item {
  display: flex;
  align-items: center;
  white-space: nowrap;
  color: #5a4a31;
  font-family: "Old English Text MT", "Georgia", serif;
  font-size: 1.5rem;
  padding: 3px 5px;
  font-weight: bold;
  width: 100%;
  background: none;
}

.flagDiv {
  display: inline-block;
  width: 16px;
  height: 12px;
  padding-left: 3px;
  vertical-align: middle;
}

.scroll-content {
  padding-right: 10px;
}

.scroll-thumb-track {
  position: absolute;
  top: 17%;
  left: 100%;
  width: 36px;
  height: 63%;
  pointer-events: none;
}

.thumb {
  position: absolute;
  right: 35px;
  width: 36px;
  height: 34px;
  background: url("../img/navbar/skillsRight.png");
  border-radius: 4px;
  cursor: pointer;
  touch-action: none;
  pointer-events: auto;
}

.no-scroll-hamburger {
  /* position: fixed;*/
  /* width: 100%;
   overflow: unset;*/
  height: 100%;
  overflow-y: hidden;
}

.hero {
  position: relative;
  display: flex;
  width: 100%;
  height: 85vh;
  max-height: 85vh;
}

.heroText {
  width: 25vw;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  position: relative;
  top: 0%;
  padding-top: 5%;
  padding-bottom: 5%;
  background-image: url(../img/parchment.png); /*deploy update*/
  background-position-x: center;
  background-position-y: 0%;
  background-size: 148% 102%;
  font-family: "Old English Text MT", "Georgia", serif;
}

.heroTextInner {
  height: 100%;
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  overflow-y: auto;
}

.heroText h1 {
  text-align: center;
  padding: 3px 5px;
  font-size: 1.5rem;
  font-family: "Old English Text MT", "Georgia", serif;
}

.heroText p {
  display: flex;
  align-content: space-between;
  text-align: justify;
  font-size: 1rem;
  padding: 0.5vw 1vw;
}
.heroText p q {
  font-family: "Old English Text MT", "Georgia", serif;
}

.heroGallery {
  width: 75vw;
  height: 100%;
  margin: auto;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.heroGallery img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 1s ease;
  opacity: 0;
}

.heroGallery img.visible {
  opacity: 1;
  z-index: 1;
}

.heroGallery img.hidden {
  z-index: 0;
}

.playBttnDiv {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 998;
}

.playBttn {
  position: relative;
  display: inline-block;
  padding: 1rem 3rem;
  background: linear-gradient(to bottom, #3366cc, #003399);
  border: 2px solid #d4af37; /* gold-like */
  border-radius: 12px;
  text-shadow: 0.5px 1px 2px #000;
  box-shadow: inset 0 0 4px #ffd700, 0 2px 4px rgba(0, 0, 0, 0.5);
  transition: transform 0.1s ease-in-out;
  color: white;
  font-size: xx-large;
  font-weight: bold;
  letter-spacing: 3px;
  font-family: "Old English Text MT", "Georgia", serif;
}

.playBttn:hover {
  background: linear-gradient(to bottom, #4d88ff, #2c64d4);
}

@keyframes levitate {
  0%, 100% {
    transform: translate(-50%, -50%);
  }
  50% {
    transform: translate(-50%, -30px); /* bigger float */
  }
}
.levitate {
  animation: levitate 2.5s ease-in-out infinite; /* faster and more noticeable */
}

.playContainer {
  display: none;
  position: fixed;
  top: 0;
  z-index: 9999;
  width: 100vw;
  height: 100vh;
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
}

.playContainer.active {
  display: flex;
}

.playContainerInner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: column;
  position: absolute;
  width: 50vw;
  height: 50vh;
  background-image: url(../img/parchment2.webp); /*deploy update*/
  background-position: center;
  background-size: 120% 500%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 10px;
  box-shadow: 5px 8px 10px rgb(0, 0, 0);
}

.playContainerInner a {
  position: relative;
  display: inline-block;
  padding: 1rem 1.5rem;
  background: linear-gradient(to bottom, #3366cc, #003399);
  border: 2px solid #d4af37; /* gold-like */
  border-radius: 12px;
  text-shadow: 0.5px 1px 2px #000;
  box-shadow: inset 0 0 4px #ffd700, 0 2px 4px rgba(0, 0, 0, 0.5);
  transition: transform 0.1s ease-in-out;
  color: white;
}

.playContainerInner a:hover {
  background: linear-gradient(to bottom, #4d88ff, #2c64d4);
}

.playContainerInner a p {
  font-family: "Old English Text MT", "Georgia", serif;
  letter-spacing: 2px;
}

.playContainerInner h2 {
  font-family: "Old English Text MT", "Georgia", serif;
  font-size: 1.5rem;
}

.playContainerInner p {
  font-family: "Old English Text MT", "Georgia", serif;
  font-size: 1.2rem;
}

.no-scroll {
  /* position: fixed;*/
  width: 100%;
  overflow: hidden;
}

@media screen and (max-width: 1200px) {
  .heroText {
    padding: 10% 0;
    background-size: 148% 102%;
  }
}
@media screen and (max-width: 720px) {
  .hero {
    flex-direction: column;
    height: auto;
  }
  .heroText, .heroGallery {
    width: 100vw;
  }
  .heroText {
    height: 35vh;
    padding: 5% 0;
  }
  .heroGallery {
    height: 45vh;
  }
  .playContainerInner {
    width: 80vw;
    height: 60vh;
  }
}
.newsContainer {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  width: 100%;
  background-color: #fafafa;
}

.news {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: row;
  width: 100%;
  height: 80vh;
  gap: 5rem;
  padding: 1rem;
  padding-top: 5vh;
  overflow-x: scroll;
  overflow-y: hidden;
}

.newContainer {
  display: flex;
  align-content: center;
  justify-content: flex-start;
  flex-direction: column;
  text-overflow: ellipsis;
  padding: 1rem;
  max-height: 88%;
  min-width: 350px;
  max-width: 350px;
  background-color: #fafafa;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1333333333);
  border-radius: 0.5rem;
  background: rgba(0, 0, 0, 0.041);
}

.newContainer:hover {
  transform: scale(1.1);
  z-index: 100;
  background: rgba(0, 0, 0, 0.1333333333);
}

.newContainerInner {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding: 1rem;
  overflow-y: scroll;
}

.newContainer h2 {
  font-family: "Georgia", serif;
  font-size: 1.5rem;
  align-self: center;
  padding-bottom: 8px;
}

.newContainer p {
  font-family: "Georgia", serif;
  font-size: 1.2rem;
  padding-top: 20px;
  word-break: break-word;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.dateParagraph {
  display: flex;
  align-self: center;
}

.newHeadline {
  display: flex;
  align-self: flex-end;
  margin-top: 1rem;
  margin-right: 3rem;
}

.seeMoreNewsBtn {
  position: absolute;
  bottom: 2%;
  left: 50%;
  transform: translatex(-50%);
  display: inline-block;
  border-radius: 3px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1333333333);
  background-color: #fafafa;
  background: rgba(0, 0, 0, 0.041);
}

.seeMoreNewsBtn:hover {
  background-color: rgb(222, 222, 222);
  z-index: 2;
  opacity: 1;
}

.seeMoreNewsBtn a {
  display: block;
  font-family: "Georgia", serif;
  padding: 1rem 1.5rem;
  font-size: 1.5rem;
  align-self: center;
  font-weight: bold;
  padding-bottom: 8px;
  color: black;
  text-wrap: nowrap;
}

.newsIntro {
  display: flex;
  align-self: center;
  font-family: "Georgia", serif;
  font-size: 1.5rem;
  align-self: center;
  top: 1%;
  padding: 1rem 2rem;
  margin-top: 1rem;
  border-radius: 3px;
  box-shadow: 2px 2px 1px rgb(95, 94, 94), -2px 2px 1px rgb(95, 94, 94);
  background-color: #fafafa;
}

.RPnewsContainer {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  overflow: hidden;
}

.RPnews {
  width: 100%;
  display: flex;
  position: relative;
  align-content: space-around;
  flex-direction: row;
  height: 75vh;
  background: url("../img/bulletin.jpg");
  background-position: 50% 80%;
  background-repeat: no-repeat;
  background-size: 110% 115%;
}

.RPnewContainer {
  display: flex;
  align-content: center;
  justify-content: flex-start;
  flex-direction: column;
  overflow-y: scroll;
  text-align: justify;
  padding: 3px 1.5vw;
  padding-bottom: 1.5rem;
  background-color: #bdb58c;
  box-shadow: 0 -2px 12px #947339 inset;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
  border-radius: 15px;
}
.RPnewContainer .RPnewContainer::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

#RPnewContainer0 {
  position: absolute;
  top: 30px;
  left: 3%;
  width: 25vw;
  height: auto;
  max-height: 28vh;
  transform: rotate(2deg);
  z-index: 3;
}

#RPnewContainer1 {
  position: absolute;
  top: 5%;
  left: 35%;
  width: 30vw;
  height: auto;
  max-height: 31vh;
  transform: rotate(-4deg);
  z-index: 1;
}

#RPnewContainer2 {
  position: absolute;
  top: 10%;
  left: 69%;
  width: 30vw;
  height: auto;
  max-height: 31vh;
  transform: rotate(-2deg);
  z-index: 1;
}

#RPnewContainer3 {
  position: absolute;
  top: 44%;
  left: 1%;
  width: 30vw;
  height: auto;
  max-height: 31vh;
  transform: rotate(-1deg);
  z-index: 0;
}

#RPnewContainer4 {
  position: absolute;
  top: 48%;
  left: 35%;
  width: 30vw;
  height: auto;
  max-height: 31vh;
  transform: rotate(2deg);
  z-index: 0;
}

#RPnewContainer5 {
  position: absolute;
  top: 49%;
  left: 68%;
  width: 30vw;
  height: auto;
  max-height: 31vh;
  transform: rotate(5deg);
  z-index: 0;
}

.RPnewHeadline {
  font-family: "Old English Text MT", "Georgia", serif;
  font-size: 1.5rem;
  align-self: center;
  padding-top: 20px;
  padding-bottom: 5px;
  text-align: center;
  -webkit-hyphens: auto;
          hyphens: auto;
  word-break: break-word;
  overflow-wrap: break-word;
}

.RPnewParagraph, .RPdateParagraph {
  font-family: "Old English Text MT", "Georgia", serif;
  font-size: 1.2rem;
  padding-top: 3px;
  text-align: justify;
  -webkit-hyphens: auto;
          hyphens: auto;
  word-break: break-word;
  overflow-wrap: break-word;
}

.RPdateParagraph {
  padding-bottom: 1rem;
  text-align: center;
}

.RPseeMoreNewsBtn {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translatex(-50%);
  display: inline-block;
  background: linear-gradient(to bottom, #3366cc, #003399);
  border: 2px solid #d4af37; /* gold-like */
  border-radius: 12px;
  text-shadow: 0.5px 1px 2px #000;
  box-shadow: inset 0 0 4px #ffd700, 0 2px 4px rgba(0, 0, 0, 0.5);
  transition: transform 0.1s ease-in-out;
}

.RPseeMoreNewsBtn:hover {
  background: linear-gradient(to bottom, #4d88ff, #2c64d4);
}

.RPseeMoreNewsBtn a {
  display: block;
  color: white;
  font-family: "Old English Text MT", "Georgia", serif;
  font-size: 1.5rem;
  text-wrap: nowrap;
  width: 100%;
  height: 100%;
  padding: 1rem 1.5rem;
  cursor: pointer;
}

.wood {
  background: #a0522d;
  padding: 50px;
  position: relative;
}

.nail {
  width: 16px;
  height: 16px;
  background: radial-gradient(circle at 30% 30%, #aaa, #555);
  border-radius: 50%;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.3), inset 0 -1px 2px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.6);
  position: absolute;
  top: 10px;
  left: 10px;
}

#nail0 {
  position: absolute;
  top: 5px;
  left: 50%;
}

#nail1 {
  position: absolute;
  top: 5px;
  left: 51%;
}

#nail2 {
  position: absolute;
  top: 5px;
  left: 52%;
}

#nail3 {
  position: absolute;
  top: 5px;
  left: 51%;
}

#nail4 {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
}

#nail5 {
  position: absolute;
  top: 5px;
  left: 46%;
}

@media screen and (max-width: 1010px) {
  .RPnewContainer {
    padding: 3px 5px;
  }
  .RPnewContainer h2 {
    font-size: 1rem;
  }
  .RPnewContainer p {
    font-size: 0.8rem;
    padding-top: 5px;
  }
}
.gallery {
  padding: 1.5rem;
  padding-bottom: 3.5rem;
  position: relative;
}

.galleryTitle {
  font-family: "Georgia", serif;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  padding: 1rem;
}

.card {
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1333333333);
}

.card img {
  width: 100%;
  display: block;
  aspect-ratio: 4/3;
  -o-object-fit: cover;
     object-fit: cover;
}

.card h2 {
  padding: 0.5rem;
  font-size: 1.1rem;
  background: #fafafa;
  text-align: center;
  font-family: "Georgia", serif;
}

#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8666666667);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

#lightbox.active {
  display: flex !important;
}

#lightbox img {
  max-width: 90vw;
  max-height: 90vh;
}

#lightbox .nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: #fff;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  padding: 0.5rem 1rem;
}

#prev {
  left: 1rem;
}

#next {
  right: 1rem;
}

#close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

body.no-scroll-gallery {
  overflow: hidden;
}

.seeGalleries {
  position: absolute;
  bottom: 0.2rem;
  left: 50%;
  transform: translatex(-50%);
  display: inline-block;
  padding: 1rem 1.5rem;
  border-radius: 3px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1333333333);
  background-color: rgba(250, 250, 250, 0.2941176471);
}

.seeGalleries:hover {
  background-color: rgb(222, 222, 222);
  z-index: 2;
  opacity: 1;
}

.seeGalleries a {
  font-family: "Georgia", serif;
  font-size: 1.5rem;
  align-self: center;
  font-weight: bold;
  padding-bottom: 8px;
  color: black;
  text-wrap: nowrap;
}

#lb-caption {
  color: white;
  text-align: center;
  margin-top: 10px;
  font-size: 1rem;
  position: relative;
  bottom: 0vh;
}

@media screen and (max-width: 1100px) {
  #card3 {
    display: none;
  }
}
@media screen and (max-width: 700px) {
  #card2 {
    display: none;
  }
}
footer {
  background-color: #222;
  color: #eee;
  padding: 20px 10px;
  text-align: center;
  position: relative;
  width: 100%;
  height: 100px;
  font-family: "Georgia", serif;
}

.uoLogo {
  position: absolute;
  top: 0;
  left: 0;
  padding-left: 10px;
}

.uoLogo img {
  width: 80px;
  height: 80px;
}

.social-icons a {
  color: #eee;
  margin: 0 10px;
  font-size: 24px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #1da1f2; /* A nice blue hover color */
}

.footer-links {
  margin-top: 15px;
}

.footer-links a {
  color: #ccc;
  margin: 0 10px;
  font-size: 14px;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-copy {
  margin-top: 15px;
  font-size: 12px;
  color: #666;
  font-family: "Georgia", serif;
}

.subpage {
  position: relative;
  padding: 3vh 2vw;
  font-size: 1.1rem;
  background: #e2e1e1;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}
.subpage h1 {
  padding: 1rem;
  font-size: 1.5rem;
}
.subpage h2 {
  padding: 0.75rem;
  font-size: 1.2rem;
}
.subpage h3 {
  padding: 0.6rem;
  font-size: 1.1rem;
}
.subpage ol, .subpage ul {
  list-style-position: inside;
  padding: 0.5rem;
  max-width: 100%;
}
.subpage ol li, .subpage ul li {
  text-align: justify;
  padding: 0.5rem;
  font-size: 1.15rem;
}
.subpage ol li a, .subpage ul li a {
  color: black;
}
.subpage p {
  text-align: justify;
  padding: 0.5rem;
  font-size: 1.1rem;
}
.subpage p a {
  color: black;
}
.subpage .table {
  width: 100%;
  max-width: 100%;
  overflow: auto;
}
.subpage table {
  margin: 3rem;
  border: 1px solid black;
  border-collapse: collapse;
}
.subpage table thead tr {
  background-color: #bdbcbc;
}
.subpage table tr {
  border: 1px solid black;
}
.subpage table tr:nth-child(even) {
  background: #d1d1d1;
}
.subpage table tr {
  border: 1px solid black;
}
.subpage table th {
  border: 1px solid black;
  font-size: 1.1rem;
  padding: 0.3rem;
}
.subpage table td {
  border: 1px solid black;
  font-size: 1.1rem;
  padding: 0.5rem;
}
.subpage img {
  padding: 1rem;
  display: block;
}

@media screen and (max-width: 1000px) {
  .subpage {
    position: relative;
    padding: 3vh 2vw;
    font-size: 1.1rem;
    background: #e2e1e1;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
  }
  .subpage h1 {
    padding: 1rem;
    font-size: 2.5rem;
    align-self: center;
  }
  .subpage h2 {
    padding: 0.75rem;
    font-size: 2rem;
    align-self: center;
  }
  .subpage h3 {
    padding: 0.75rem;
    font-size: 1.8rem;
    align-self: center;
  }
  .subpage ol, .subpage ul {
    list-style-position: inside;
    padding: 0.5rem;
  }
  .subpage ol li, .subpage ul li {
    text-align: justify;
    padding: 0.5rem;
    font-size: 1.5rem;
  }
  .subpage ol li a, .subpage ul li a {
    color: black;
  }
  .subpage ol li p, .subpage ul li p {
    text-align: justify;
    font-size: 1.5rem;
  }
  .subpage ol p, .subpage ul p {
    text-align: justify;
    font-size: 1.5rem;
  }
  .subpage p {
    text-align: justify;
    padding: 0.5rem;
    font-size: 1.5rem;
  }
  .subpage table {
    margin: 0.3rem;
    padding: 0;
    border: 1px solid black;
    border-collapse: collapse;
  }
  .subpage table tr {
    border: 1px solid black;
  }
  .subpage table th {
    border: 1px solid black;
    font-size: 1rem;
  }
  .subpage table td {
    border: 1px solid black;
    font-size: 1rem;
  }
  .subpage table img {
    max-width: none;
    height: auto;
  }
  .subpage img {
    padding: 1rem;
    max-width: 100%;
    max-height: auto;
  }
}
.error {
  display: flex;
  align-self: center;
  justify-self: center;
  color: red;
}

#mapaKontainer {
  position: relative;
  height: 100%;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
#mapaKontainer #kron {
  position: absolute;
  width: 4vw;
  height: 4vw;
  top: 55%;
  left: 38%;
}
#mapaKontainer #kron p {
  display: none;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50% -50%);
  background-color: black;
  color: white;
}
#mapaKontainer #kron:hover p {
  display: block;
}

#midkaMapa {
  display: flex;
  align-self: center;
  justify-self: center;
  width: 100%;
  height: auto;
}

.subpage td.ir, .subpage th.ir {
  background-color: #ccccdd;
}
.subpage td.du, .subpage th.du {
  background-color: #aaaaaa;
}
.subpage td.sh, .subpage th.sh {
  background-color: #777799;
}
.subpage td.co, .subpage th.co {
  background-color: #ddcc99;
}
.subpage td.br, .subpage th.br {
  background-color: #aa8866;
}
.subpage td.go, .subpage th.go {
  background-color: #ddcc55;
}
.subpage td.ag, .subpage th.ag {
  background-color: #ddaaaa;
}
.subpage td.ve, .subpage th.ve {
  background-color: #99cc77;
}
.subpage td.va, .subpage th.va {
  background-color: #88aabb;
}
.subpage td.cl, .subpage th.cl {
  background-color: #dddddd;
}
.subpage td.pl, .subpage th.pl {
  background-color: #ccaa88;
}
.subpage td.sp, .subpage th.sp {
  background-color: #99bbbb;
}
.subpage td.ho, .subpage th.ho {
  background-color: #cc8888;
}
.subpage td.ba, .subpage td.ba {
  background-color: #aabbaa;
}
.subpage tr.true {
  background-color: hsla(110, 100%, 16%, 0.65) !important;
  color: #000000 !important;
}
.subpage .professions {
  display: flex;
  flex-direction: column;
  align-self: flex-start;
  align-items: center;
  padding: 1rem;
  max-width: 500px;
}
.subpage .professions .professionsIntro {
  display: flex;
}
.subpage .professions .professionsButtons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.subpage .professions .professionsButtons button {
  font-family: "Old English Text MT", "Georgia", serif;
  font-size: 1.1rem;
  position: relative;
  display: inline-block;
  padding: 0.5rem 1rem;
  background: linear-gradient(to bottom, #3366cc, #003399);
  border: 2px solid #d4af37; /* gold-like */
  border-radius: 12px;
  text-shadow: 0.5px 1px 2px #000;
  box-shadow: inset 0 0 4px #ffd700, 0 2px 4px rgba(0, 0, 0, 0.5);
  transition: transform 0.1s ease-in-out;
  color: white;
}
.subpage .professions .professionsButtons button:hover {
  background: linear-gradient(to bottom, #4d88ff, #2c64d4);
}
.subpage .tableContainer {
  display: flex;
  flex-direction: column;
  width: 350px;
  padding: 1rem;
}
.subpage .tableContainer .inputDiv {
  display: grid;
  gap: 1rem;
  padding: 0.5rem 0;
}
.subpage .tableContainer .inputDiv .inputAdiv, .subpage .tableContainer .inputDiv .inputBdiv {
  width: 100%;
  display: grid;
  justify-content: space-between;
  grid-template-columns: auto auto;
  gap: 1rem;
  padding: 1px;
}
.subpage .tableContainer .inputDiv .inputButton {
  display: flex;
  justify-content: space-evenly;
}
.subpage .tableContainer .inputDiv .inputButton button {
  font-family: "Old English Text MT", "Georgia", serif;
  font-size: 1.1rem;
  position: relative;
  display: inline-block;
  padding: 0.5rem 1rem;
  background: linear-gradient(to bottom, #3cc010, #186b10);
  border: 2px solid #d4af37; /* gold-like */
  border-radius: 12px;
  text-shadow: 0.5px 1px 2px #000;
  box-shadow: inset 0 0 4px #ffd700, 0 2px 4px rgba(0, 0, 0, 0.5);
  transition: transform 0.1s ease-in-out;
  color: white;
}
.subpage .tableContainer .inputDiv .inputButton button:hover {
  background: linear-gradient(to bottom, #41d311, #1e9e12);
}
.subpage .tableContainer #errorMsg {
  color: red;
  text-wrap: wrap;
  width: 100%;
  text-align: center;
  padding-bottom: 0.5rem;
}
.subpage .tableContainer #skillTable {
  text-wrap: nowrap;
  margin: 0;
}
.subpage .tableContainer #skillTable * {
  padding: 0.4rem 0.2rem;
}
.subpage .tableContainer #skillTable tbody tr:hover {
  background-color: rgb(207, 197, 197);
}
@media screen and (max-width: 460px) {
  .subpage .professions, .subpage .tableContainer {
    align-self: center;
  }
}
@media screen and (max-width: 350px) {
  .subpage .tableContainer {
    width: auto;
  }
}

.galleries {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  /* Lightbox */
}
.galleries .mainGalleryTitle {
  display: flex;
  justify-content: center;
  padding: 1rem;
}
.galleries .mainGalleryGrid {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
  width: 100%;
  padding: 1rem;
}
.galleries .hidden {
  display: none;
}
.galleries .mainGalleryCard {
  width: 300px;
  text-align: center;
  cursor: pointer;
  background: #fff;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s;
}
.galleries .mainGalleryCard:hover {
  transform: scale(1.1);
}
.galleries .mainGalleryCard img {
  width: 100%;
  height: 300px;
  -o-object-fit: cover;
     object-fit: cover;
}
.galleries .selectedMainGalleryTitle {
  display: flex;
  justify-content: center;
  padding: 1rem;
}
.galleries .selectedMainGallery .grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}
.galleries .selectedMainGallery img.thumbnail {
  width: 300px;
  cursor: pointer;
  border-radius: 5px;
  transition: transform 0.2s;
  -o-object-fit: cover;
     object-fit: cover;
}
.galleries .selectedMainGallery img.thumbnail:hover {
  transform: scale(1.15);
}
.galleries .back-btn {
  background: none;
  border: none;
  font-size: 1rem;
  color: black;
  cursor: pointer;
  padding: 1rem 1.5rem;
  border: 1px solid black;
  border-radius: 3px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1333333333);
  background-color: rgba(250, 250, 250, 0.2941176471);
  /*       margin-left: 5vw;*/
  display: flex;
  align-self: center;
  justify-self: center;
  margin-left: 0vw;
}
@media screen and (max-width: 720px) {
  .galleries .back-btn {
    display: flex;
    align-self: center;
    justify-self: center;
    margin-left: 0vw;
  }
}
.galleries .back-btn:hover {
  text-decoration: underline;
}
.galleries #mainGalleryLightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  flex-direction: column;
}
.galleries #mainGalleryLightbox.active {
  display: flex;
}
.galleries #mainGalleryLightbox img {
  max-width: 90%;
  max-height: 80vh;
  box-shadow: 0 0 20px black;
}
.galleries #lb-content {
  position: relative;
  text-align: center;
  color: white;
}
.galleries #lb-caption {
  margin-top: 10px;
  font-size: 1rem;
  color: #ccc;
}
.galleries .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: white;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  padding: 10px;
}
.galleries #prev {
  left: 10px;
}
.galleries #next {
  right: 10px;
}
.galleries #close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  cursor: pointer;
  color: white;
}

table {
  border: 1px solid black;
  border-collapse: collapse;
}
table thead tr {
  background-color: #bdbcbc;
}
table tr {
  border: 1px solid black;
}
table tr:nth-child(even) {
  background: #d1d1d1;
}
table tr {
  border: 1px solid black;
}
table th {
  border: 1px solid black;
}
table td {
  border: 1px solid black;
}

.shopsContent {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
}

.infoTable {
  padding-bottom: 1rem;
}
.infoTable th, .infoTable td {
  padding: 0.3rem;
  font-size: large;
}

.mainTable {
  max-width: 100vw;
}
.mainTable th, .mainTable td {
  padding: 0.3rem;
  text-align: center;
  font-size: large;
}
.mainTable tbody tr:hover {
  background-color: #bdb6b6;
}

.filter {
  display: flex;
  justify-content: center;
  padding: 0.5rem;
  padding-bottom: 1rem;
}
.filter form {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.filter form input {
  padding: 0.5rem;
  width: 250px;
  border-radius: 10px;
  background: #f3f0f0;
}
.filter form input:focus {
  background: #e7d5d5;
}
.filter form .filterBtns {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  width: 100%;
}
.filter form .filterBtns * {
  position: relative;
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border: 2px solid #d4af37;
  border-radius: 12px;
  text-shadow: 0.5px 1px 2px #000;
  box-shadow: inset 0 0 4px #ffd700, 0 2px 4px rgba(0, 0, 0, 0.5);
  transition: transform 0.1s ease-in-out;
  color: white;
  font-family: "Old English Text MT", "Georgia", serif;
  font-size: large;
}
.filter form .filterBtns .greenBtn {
  background: linear-gradient(to bottom, #3cc010, #186b10);
}
.filter form .filterBtns .greenBtn:hover {
  background: linear-gradient(to bottom, #41d311, #1e9e12);
}
.filter form .filterBtns .redBtn {
  background: linear-gradient(to bottom, #d42450, #6b2929);
}
.filter form .filterBtns .redBtn:hover {
  background: linear-gradient(to bottom, #ee1d51, #a33838);
}

@media screen and (max-width: 550px) {
  .infoTable th, .infoTable td, .mainTable th, .mainTable td {
    font-size: small;
  }
  .hideOnMobile2 {
    display: none;
  }
}
@media screen and (max-width: 460px) {
  .hideOnMobile {
    display: none;
  }
}
.newsContainerMain {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.newsContainerMain .newsName {
  display: flex;
  margin: 2rem;
  font-family: "Georgia", serif;
  font-size: 2rem;
  text-align: center;
}
.newsContainerMain .newsMain {
  display: flex;
  justify-content: space-around;
  flex-direction: row;
  width: 100%;
  flex-wrap: wrap;
}
@media screen and (max-width: 870px) {
  .newsContainerMain .newsMain {
    flex-wrap: nowrap;
    align-items: center;
    flex-direction: column;
  }
}
.newsContainerMain .newsMain .newContainerMain {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 400px;
  margin: 1rem;
}
@media screen and (max-width: 870px) {
  .newsContainerMain .newsMain .newContainerMain {
    width: 90%;
  }
}
.newsContainerMain .newsMain .newContainerMain .newContainerMainInner {
  display: flex;
  flex-direction: column;
  border: 2px solid black;
  background-color: rgb(230, 225, 219);
  border-radius: 15px;
  padding: 1rem;
  text-align: justify;
  width: 100%;
}
.newsContainerMain .newsMain .newContainerMain .newContainerMainInner:hover {
  background-color: bisque;
  transform: scale(1.05);
}
.newsContainerMain .newsMain .newContainerMain .newContainerMainInner p {
  padding: 0.5rem;
  font-family: "Georgia", serif;
  word-break: break-word;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.RPnewsContainerMain {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.RPnewsContainerMain .RPnewsName {
  display: flex;
  margin: 2rem;
  padding: 1rem;
  font-family: "Old English Text MT", "Georgia", serif;
  font-size: 2rem;
  text-align: center;
}
@media screen and (max-width: 870px) {
  .RPnewsContainerMain .RPnewsName {
    flex-wrap: nowrap;
    align-items: center;
    flex-direction: column;
  }
}
.RPnewsContainerMain .RPnewsMain {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: flex-start;
  width: 100%;
  flex-wrap: wrap;
}
.RPnewsContainerMain .RPnewsMain .RPnewContainerMain {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 400px;
  height: auto;
  margin-bottom: 2rem;
}
.RPnewsContainerMain .RPnewsMain .RPnewContainerMain:hover {
  transform: scale(1.05);
}
.RPnewsContainerMain .RPnewsMain .RPnewContainerMain .RPnewContainerMainInnerTop {
  background: url("../img/parchment top.png");
  height: 47px;
  width: 100%;
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  padding: 0;
  position: relative;
  top: 0;
  z-index: 2;
}
.RPnewsContainerMain .RPnewsMain .RPnewContainerMain .RPnewContainerMainCenter {
  padding-top: 2rem;
  padding-bottom: 1rem;
  padding-left: 4rem;
  padding-right: 4rem;
  background: url("../img/parchment body.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 85% 100%;
  position: relative;
  right: 3px;
  top: -30px;
}
.RPnewsContainerMain .RPnewsMain .RPnewContainerMain .RPnewContainerMainCenter .RPnewContainerMainInner {
  display: flex;
  flex-direction: column;
  border-radius: 15px;
  padding: 5% 2%;
  text-align: justify;
  width: 100%;
}
.RPnewsContainerMain .RPnewsMain .RPnewContainerMain .RPnewContainerMainCenter .RPnewContainerMainInner p {
  padding: 0.5rem;
  font-family: "Old English Text MT", "Georgia", serif;
  word-break: break-word;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.RPnewsContainerMain .RPnewsMain .RPnewContainerMain .RPnewContainerMainCenter .RPnewContainerMainInner .RPnewHeadline, .RPnewsContainerMain .RPnewsMain .RPnewContainerMain .RPnewContainerMainCenter .RPnewContainerMainInner .RPdateParagraph {
  display: flex;
  align-self: flex-end;
}
.RPnewsContainerMain .RPnewsMain .RPnewContainerMain .RPnewContainerMainCenter .RPnewContainerMainInner .RPdateParagraph {
  padding-top: 3rem;
}
.RPnewsContainerMain .RPnewsMain .RPnewContainerMain .RPnewContainerMainCenter .RPnewContainerMainInner .RPnewHeadline {
  padding-right: 3rem;
  padding-top: 0;
}
.RPnewsContainerMain .RPnewsMain .RPnewContainerMain .RPnewContainerMainInnerBottom {
  background: url("../img/parchment bottom.png");
  height: 53px;
  width: 100%;
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  padding: 0;
  position: relative;
  bottom: 40px;
  z-index: 2;
}

.mainContent {
  flex: 1;
}/*# sourceMappingURL=style.css.map */