@font-face {
  font-family: Lifehack Sans;
  src: url(../font/LifehackSans.otf);
}

html, body {
  padding: 0;
  margin: 0;
}

.gallery_view {
  font-size: 16px;
  font-family: FiraSans, sans-serif;
  padding-top: 2em;
  padding-bottom: 2em;
  width: 100%;
  height: auto;
  background-color: #FFEB29;
}

.gallery_container { 
  width: 100%;
  height: 400px;
  margin-bottom: 1em;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

#main_view {
  width: 30%;
  height: 90%;
  border-radius: 0.5em;
  background-color: #000000;
  margin: 0 1em;
  z-index: 1;
  transition: all 1s; 
  position: relative;
}

#main_view:hover {
  opacity: 1;
  transition: all 1s;   
}

.play_button{
  position: absolute;
  top: 1em;
  left: 1em;
  width: 4em;
  height: 4em;
  object-fit: contain;
  z-index: 100000;
}

#help_content, #left_help_content, #right_help_content{
  width: 70%;
  position: absolute;
  left: 1em;
  bottom: 1em;
  padding: 0.3em 0.5em;
  font-size: 1.5em;
  font-weight: 700;
  line-height: 1;
  color: #372E42;
  background-color: #FFEB29;
  z-index: 100;
  opacity: 1;
}

.main_video{
  position: absolute;
  object-fit: contain;
  border-radius: 0.5em;
  width: 100%;
  height: 100%;
}

.main_link{
  width: 100%;
  height: 100%;
  border-radius: 0.5em;
  background-color: #FFEB29;
  border: none;
}

.main_link:hover{
  border: none;
  text-decoration: none;
}

.main_link_image{
  width: 100%;
  object-fit: cover;
  border-radius: 0.5em;
}

#left_view, #right_view{
  width: 25%;
  height: 70%;
  opacity: 1;
  background-color: #FFEB29;
  border-radius: 0.5em;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 1s;  
}

#right_view{
  transform: skewy(-3deg);
  transform-origin: top left; 
}

#right_view:hover {
  opacity: 1;
  transition: all 1s;
  box-shadow: 10px 20px 2em 1px #372E42;
}

#left_view{
  transform: skewy(3deg);
  transform-origin: top right;
}

#left_view:hover {
  opacity: 1;
  transition: all 1s;
  box-shadow: -10px 20px 2em 1px #372E42;
}

.side_image{
  width: 100%;
  height: 100%;
  border-radius: 0.5em;
  object-fit: cover;
}

.navigation_buttons {
  width: 3em;
  height: 3em;
  border-radius: 50%;
  border: none;
  position: absolute;
  cursor: pointer;
}

.navigation_buttons:focus {
  outline: none;
}

#nav_left {
  left: 2em;
}

#nav_right {
  right: 2em;
}

.navigation_area{
	display: flex;
	flex-direction: row;
	justify-content: center;
	margin: 0.5em auto;
}

.navigation_point{
	margin-right: 0.5em;
	width: 1.2em;
	height: 1.2em;
	border-radius: 2em;
    background-color: #372E42;
	opacity: 0.6;
}

.navigation_point:hover{
	box-shadow: 3px 3px 3px rgb(112, 111, 111);
}

.navigation_active{
	opacity: 1;
}


@media screen and (max-width: 1400px){
	#main_view{
	width: 35%;
    height: 70%;
	}
  #right_view, #left_view{
    width: 25%;
    height: 45%;
  }
  #help_content, #left_help_content, #right_help_content{
    font-size: 1em;
    margin-bottom: 1em;
  }
}

@media screen and (max-width: 1100px){
	#main_view{
	width: 60%;
    height: 100%;
	}
  #right_view, #left_view{
    display: none;
  }
  #help_content{
    font-size: 1.5em;
    margin-bottom: 0;
  }
}

@media screen and (max-width: 800px){
  .gallery_view{
    padding-top: 0;
  }
  .gallery_container{
    margin-bottom: 0;
    height: 450px;
  }
	#main_view{
	width: 450px;
    height: 400px;
	}
  #help_content, #left_help_content, #right_help_content{
    font-size: 1em;
    margin-bottom: 1em;
  }
}

@media screen and (max-width: 600px){
	.gallery_view{
		font-size: 10px;
	}
  .gallery_container{
    height: 300px;
  }
  #main_view{
	width: 300px;
    height: 250px;
	}
  #nav_left{
    left: 0.5em;
  }
  #nav_right{
    right: 0.5em;
  }
  #help_content{
    margin-bottom: 3em;
  }
}

@media screen and (max-width: 400px){
  .navigation_buttons {
	width: 2.5em;
	height: 2.5em;
  }
  #nav_left{
    left: 0;
  }
  #nav_right{
    right: 0;
  }
}
