/* =======================================================
*
* 	Template Style 
*
* ======================================================= */

/* General Styling */

body {
  margin: 0px;
  /* text-align: center; */
}

/* br {
  content: " " !important;
  display: block !important;
  margin: 1em 0 !important;
  line-height: 2rem;
  height: 2rem;
} */

a {
  text-decoration: none;
}

ul {
  list-style-type: disc;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: transparent;
}

li {
  list-style: disc outside none;
  display: list-item;
  margin-left: 1em;
}

/* Page Cover Styling */

.cover {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
  position: relative;
  width: 100%;
  z-index: 1;
}

.cover section {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;

  text-align: center;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

/* Body Styling */

.container {
  position: relative;
  z-index: 1;
}

.row {
  display: flow-root;
}

.map-container {
  width: inherit;
  height: max(300px, 50vh);
  margin: 0 auto;
}

div.container>div.row:nth-of-type(odd) {
  background: #f5ebf3;
  /* background: linear-gradient(
    #cee6d2 0%,
    #f5ebf3 50%,
    #cee6d2 100%
  ); */
}

div.container>div.row:nth-of-type(even) {
  background:#cee6d2;
  /* background: linear-gradient(
    #f5ebf3 0%,
    #cee6d2 50%,
  ); */
}

header {
  margin: 0 auto;
  text-align: center;
}

section {
  margin: 3rem auto;
  width: 90%;
  max-width: 800px;
  padding: 0;
}

.masklayer{
  mask-image: linear-gradient(
    black 50%,
    #cee6d280 80%,
    #cee6d240 90%,
    #cee6d200 100%
  );
}

/* Clickbox Styling */

details {
  background: white;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  margin-bottom: 1rem;
  padding: 0.5rem 1.2rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: background 0.3s;
}

details:hover {
  background: #f3f4f6;
}

summary {
  font-weight: 600;
  cursor: pointer;
  outline: none;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "➕";
  float: right;
  transition: transform 0.3s;
}

details[open] summary::after {
  content: "➖";
  transform: rotate(180deg);
}

/* The Sidepanel */

.sidepanel {
  position: fixed;
  top: 0;
  left: 0;
  
  border-radius: 12px;
  backdrop-filter: blur(4px);
  background: #ffffff80;

  z-index: 1000;

  transform: translate(-100%);
  transition: 0.5s;

  overflow-x: hidden; /* Disable horizontal scroll */
}

.sidepanel.open {
  transform: translateX(0);
}

.sidepanel a {
  padding: 0.5rem;
  color: #000000;
  display: block;
  transition: 0.3s;
}

.sidepanel a:hover {
  color: #404040;
}

.sidepanel .closebtn {
  font-size: xx-large;
}

/* Style the button that is used to open the sidepanel */
.openbtn {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;

  background-color: #ffffff40;
  border: none;
  color: rgb(255, 255, 255);
  font-size: 20px;
  
  cursor: pointer;
  padding: 10px 15px;
  transition: 0.5s;
  border-radius: 12px;
}

.openbtn.closed {
  transform: translateX(-100%);
}

.openbtn:hover {
  background-color: #444;
} 

/* Gallery */

div.image-container {
  /* max-height: 50vh;
  min-height: 50vh; */
  height: 50vh;
  position: relative;
  display: flex;
  text-align: center;
  /* box-shadow: 0 0 20px 20px #cee6d2 inset; */
}

div.slide {
  position: relative;
  margin: 0 auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

#slideimg {
  opacity: 1;
  transition: opacity 0.5s ease;

  /* width: 100%; */
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#slideimg.fade-out {
  opacity: 0;
}

div.image-container .button {
  position: absolute;
  top: 50%;
  transform: translate(0%,-50%);
}

.button{
  display: inline-block;
  vertical-align: middle;
  overflow: hidden;
  
  text-decoration: none;
  text-align: center;
  /* font-size: 20px; */
  white-space: nowrap;
  
  background-color: #ffffff40;
  border: none;
  border-radius: 12px;
  color: rgb(255, 255, 255);
  padding: 8px 12px;
  
  cursor: pointer;
  transition: 0.5s;
}

/* Images */

.row img {
  border-radius: 10px;
  box-shadow: 2px 4px 4px 1px rgba(0, 0, 0, 0.1);
  margin: auto auto;
}

/* Archive */

/* div.scroll-container {
  position: relative;
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
}

div.scroll-container img {
  /* padding: 0px; */
  /* max-width: 100%; */
  /* max-height: 100%; */
  /* z-index: 0; */
/* } */

/* Timer */

#timer {
  animation: fadein 5s;
}

/* Fade */

body {
  -webkit-animation: fadein 2s; /* Safari, Chrome and Opera > 12.1 */
     -moz-animation: fadein 2s; /* Firefox < 16 */
      -ms-animation: fadein 2s; /* Internet Explorer */
       -o-animation: fadein 2s; /* Opera < 12.1 */
          animation: fadein 2s;
}

@keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
