@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap');

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background-color: white;
  background-image: url("https://www.transparenttextures.com/patterns/asfalt-light.png");
  border: 1.5px solid #7e7e7e;
  border-radius: 8px;
}

::-webkit-scrollbar-thumb {
  background-color: #f1f1f1;
  background-image: url("https://www.transparenttextures.com/patterns/black-orchid.png");
  border: 2px solid #616161;
  border-radius: 8px;
}

/*html {
  visibility: hidden;
}*/

body,
html {
  height: 100%;
  overflow-y: hidden;
}

body {
  font-family: 'Permanent Marker', Arial, cursive;
  margin: 0;
  padding: 0;
}

h1 {
  font-size: 2rem;
  padding: 5px 10px 10px 10px;
  margin-bottom: 20px;
  background-color: black;
  color: white;
  /*border: 1px solid black;*/
}

h3 {
  font-size: 1.5rem;
  margin-top: 20px;
  margin-bottom: 10px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
}

@media screen and (max-width: 767px) {
  #menu {
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid #ccc;
    padding-bottom: 20px;
    overflow: auto;
  }

  #event-container {
    width: 100%;
    padding-left: 0;
    padding-top: 20px;
  }
}

#content {
  display: flex;
  height: 100%;
}

#menu-container {
  width: 30%;
  border-right: 1px solid #ccc;
  height: 100%;
  overflow: auto;
  direction: rtl;
  /*background-image: url("https://www.transparenttextures.com/patterns/soft-kill.png");*/
}

#menu {
  padding: 0 0 40px 20px;
  direction: ltr;
}

#event-container {
  width: 70%;
  padding: 10px 0px 40px 0px;
  height: 100%;
  overflow: auto;
  position: relative;
  transition: all 0.3s ease-in-out;
  background-image: url("https://www.transparenttextures.com/patterns/asfalt-dark.png");
}

.event {
  position: absolute;
  width: 100%;
  padding: 10px 0px 40px 0px;
  transform-origin: bottom left;
  transform: translateX(calc(-100% - 20px));
}

@keyframes slideIn {
  0% {
    transform: translateX(calc(-100% - 20px));
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes slideOut {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% - 20px));
  }
}

.event.incoming {
  animation: slideIn 0.5s ease 0.3s forwards;
}

.event.active {
  transform: translateX(0);
}

.event.outgoing {
  animation: slideOut 0.4s ease-in forwards;
  /*z-index: 10;*/
}

.event-title {
  margin: 0 10px;
}

.event-slogan {
  margin: 0 0 10px 20px;
}

.event-video {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  position: relative;
  overflow: hidden;
  background-color: black;
}

.event-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  
}

.links {
  display: flex;
  justify-content: center;
  margin: 10px;
}

.menu-item {
  padding: 10px 20px;
  cursor: pointer;
  /*transition: background-color 0.3s ease-in-out;*/
}

.menu-item:hover {
  background-color: silver;
}

.menu-item.opened {
  background-color: black;
  color: white;
}

#page-container {
  height: 100vh;
  overflow-y: hidden;
}

a {
  color: #333;
  text-decoration: none;
}

a:hover {
  color: hsl(0, 0%, 40%);
}
