@media only screen and (min-device-width : 320px) and (max-device-width : 480px){

html, body {
	overflow-x: hidden !important;
	max-width: 100vw !important;
}

body {
	padding-top: 40px !important;
}

#h-scroll .item
{
	min-width: 100vw;
	box-sizing: border-box;
}

.item-image,
.item-image a
{
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100%;
	max-width: 100vw;
}

.item-image img
{
	height: 70vh !important;
	width: auto !important;
	max-width: calc(100vw - 40px) !important;
	object-fit: contain !important;
}

.item-video
{
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100%;
}

.item-video iframe
{
	max-width: calc(100vw - 40px) !important;
	width: 100% !important;
	height: calc((100vw - 40px) * 9 / 16) !important;
}

.item-intro iframe
{
	width: 280px!important;
	height: 280px!important;
}

#label a {
	font-size: 11px!important;
	margin: 0 4px!important;
}

#home-link {
	font-size: 11px!important;
	left: 10px!important;
}

}

@media only screen and (max-width: 768px) {
	body {
		padding-top: 40px !important;
	}
}

html
{
	width: 100%;
	height: 100%;
}

body
{
	position: relative;
	width: 100%;
	height: 100%;
	font-family: "Arial";
	background-color: #000000;
	overflow: hidden;
}

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

.clear
{
	clear: both;
}

canvas
{
	z-index: 0;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100% !important;
	height: 100% !important;
	transform: translate(-50%, -50%);
}

#timeline
{
	z-index: 10;
	position: fixed;
	width: 60%;
	bottom: 3%;
	left: 50%;
	transform: translateX(-50%);
	cursor: pointer;
}

#timeline.ui-slider, 
.ui-slider-handle
{
	border: none !important;
	background: none !important;
	outline: none;
}

#timeline.ui-slider::after
{
	position: absolute;
	display: block;
	content: "";
	width: 100%;
	height: 1px;
	background-color: #ffffff;
	top: 50%;
	transform: translateY(-50%);
}

.ui-slider-handle::after
{
	position: absolute;
	display: block;
	content: "";
	width: 1px;
	height: 100%;
	background-color: #ffffff;
	left: 50%;
	transform: translateX(-50%);
}

#container
{
	top: 0;
	left: 0;
	position: absolute;
	width: 100%;
	height: 100%;	
	overflow-x: scroll;
  	overflow-y: hidden;
  	z-index: 1;
}


#container #h-scroll
{
	display: flex;
	height: 100%;
	gap: 0;
}

#h-scroll .item
{
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	width: auto;
	height: 100%;
	flex-shrink: 0;
	color: white;
	padding: 0 3vw;
}

#h-scroll .item img
{
	height: 70vh;
	width: auto;
	object-fit: contain;
}

#h-scroll .item img[src="data/photos/africandiplomat/africandiplomat.jpg"]
{
	height: 50vh;
}

#h-scroll .item img[src="data/photos/bordel500/bordel500.jpg"]
{
	height: 50vh;
}

#h-scroll .item iframe
{
	width: 1000px;
	height: 563px;
}

.item-intro iframe
{
	width: 350px;
	height: 350px;
}

p {
	font-size: 12px;
	letter-spacing: 1.5px;
	color: white;
	margin-left: 25px;
	font-style: italic;
}

#home-link {
	position: fixed;
	top: 15px;
	left: 20px;
	z-index: 100;
	text-decoration: none;
	color: white;
	font-size: 12px;
}

#home-link:hover {
	color: #fff0a8;
}

#label {
	position: fixed;
	top: 15px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 100;
	white-space: nowrap;
}

#label a {
    text-decoration:none;
    color:white;
    font-size: 12px;
    margin: 0 6px;
    display: inline-block;
}

#label a:hover {
	color: #fff0a8;
}

a {
    text-decoration:none;
    color:white;
}

a:hover {
	color: #fff0a8;
}



