#APP_P_menu {
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  --p_event_speed: 1s;
}

.APP_menu_title {
  margin-top: 3em;
  margin-bottom: 2em;
}

#APP_P_controls {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}
.APP_P_control {
  width: 40%;
  height: 2em;
  display: flex;
  justify-content: center;
  align-items: center;
  outline: 0.1em solid var(--app-primary-color);
  user-select: none;
  transition: filter 1s ease;
  box-shadow: 0 0 0.1em 0.2em var(--app-primary-color);  
}
.APP_P_control:hover, .APP_P_control:active{
  filter:brightness(2);
}
#APP_P_control_previous div{
  transform: rotate(-90deg);
}
#APP_P_control_next div{
  transform: rotate(90deg);
}



#APP_P_timeline{
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  margin-top: 1em;
  align-items: center;
}
#APP_P_timeline_dates {
  width: 90%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}
.APP_P_timeline_date {
  height: 1em;
  outline: 0.1em solid var(--app-primary-color);
  transition: filter var(--p_event_speed) ease;
  cursor: pointer;
}
.APP_P_timeline_date:hover, .APP_P_timeline_date:active {
  filter:brightness(2);
}
.APP_P_timeline_date_selected{
  background: var(--app-primary-color);
}
#APP_P_timeline_cursors {
  width: 90%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}
.APP_P_timeline_cursor {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 2em;
}
.APP_P_timeline_cursor_shape {
  border-left: 0.5em solid white;
  border-right: 0.5em solid white;
  border-bottom: 0.5em solid white;
  border-top: 0.5em solid white;
  width: 0;
  height: 0;
  border-radius: 50%;
  transition: all var(--p_event_speed) ease;
  transform: scale(0.5);
}
.APP_P_timeline_cursor_selected{
  border-left: 0.5em solid transparent;
  border-right: 0.5em solid transparent;
  border-bottom: 1em solid white;
  border-top: 0;
  width: 0;
  height: 0;
  border-radius: 0%;
  transform: scale(1);
}


#APP_P_event_container{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-bottom: 3em;
}


#APP_P_event_pic_container {
  width: 100%;
  aspect-ratio: 1;
  transition:all 1s ease;

  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 21em;
}

.APP_P_event_pic_buttons {
  width: 20%;
  user-select: none;
  cursor: pointer;
}
#APP_P_event_picture{
  width: 100%;
  height:auto;
}
#APP_P_event_pics{
  position: relative;
  width: 70%;
  max-width: 500px;
  aspect-ratio: 1;
  overflow: hidden;
  /*height:21em;*/
  cursor: pointer;
}
#APP_P_event_pic_container object, #APP_P_event_pic_container img{
  width: 100%;
}
#APP_P_event_pic_container object{
  /* Radial */
    -webkit-mask-image: radial-gradient(
      ellipse at center,
      black 0%,
      transparent 75%,
      transparent 100%
    );
    mask-image: radial-gradient(
      ellipse at center,
      black 0%,
      transparent 75%,
      transparent 100%
    );

    /*transition: filter 0.3s ease;*/
    position: absolute;
    top:0;
    left:0;
}
#APP_P_event_pic_container object:hover{
  filter:brightness(1.1) contrast(1.1) saturate(1.1);
}
#APP_P_event_pic_buttons_bottom .APP_P_event_pic_next{
  display: flex;
}
#APP_P_event_pic_buttons_top .APP_P_event_pic_next{
  display:none;
}
.APP_P_event_pic_button{
  font-size: 1.5em;
  height: 2em;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(125,125,125,0.1);
  background: #000;
  background: linear-gradient(0deg,rgba(0, 0, 0, 0) 0%, rgba(194, 194, 194, 0.1) 50%, rgba(0, 0, 0, 0) 100%);
}
/* Portrait */
@media screen and (max-aspect-ratio:1){
  #APP_P_event_pic_container{
    flex-direction: column;
  }
  #APP_P_event_pic_buttons_top .APP_P_event_pic_next{
    display:flex;
  }
  #APP_P_event_pic_buttons_bottom .APP_P_event_pic_next{
      display: none;
    }
  #APP_P_event_pic_buttons_top{
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #APP_P_event_pic_buttons_top{
    width: 100%;
  }
  #APP_P_event_pic_buttons_top .APP_P_event_pic_button {
    width: 50%;
  }
  #APP_P_event_pics{
    height: 100%;
    width: unset;
    aspect-ratio: 1;
  }
}
#APP_P_event_pic_desc {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: CyberverseCondensed;
  color: var(--app-primary-color);
  text-shadow: 0 0 0.5em var(--app-primary-color), 0 0 0.05em var(--app-primary-color);
  filter: brightness(1.7);
  user-select: none;
}
#APP_P_event_pic_desc a{
  color:peru;
  display: contents;
}


#APP_P_event_desc {
  margin-top: 0em;
  text-align: left;
  font-size: 1.1em;
  text-align: justify;
  font-family: CyberverseCondensed;
  color: var(--app-primary-color);
  text-shadow: 0 0 1em var(--app-primary-color), 0 0 0.1em var(--app-primary-color);
  filter: brightness(3.7);
  padding: 0 1em;
}

#APP_P_event_desc a {
  color: goldenrod;
}
#APP_P_event_desc br{
  display: block;
  content: "";
  margin-bottom: 1em;
}
@media screen and (min-width: 1500px){
  #APP_P_event_desc{
    font-size:35px !important;
  }
}