/** 
 * Title: vr-menu.css
 * Author: astamm
 * Created: 24-02-2023
 * Updated: 11-04-2023
 * Comment: Contains all styles for the menus of Assembly, Layout and Performance
*/

@import url('https://fonts.cdnfonts.com/css/nunito-sans');

/* CSS variables */
:root {
	--background-white: #FDFEFF;
	--background-dark: #ADAFB1;

	--tablinks-background: #E3E5E7;
	--tablinks-background-active: #F1F3F8;
	--tablinks-background-hover: #F1F3F8;
	
	--tabcontent-background: #F1F3F8;

	--button-background: #FDFEFF;
	
	--button-border-color: #EEF0F1;
	--button-border-color-hover: #015DFF;
	
	--button-border-radius-round: 100px;
	--button-border-radius-square-small: 4px;
	--button-border-radius-square: 8px;
	--button-border-radius-square-large: 8px;
	
	--button-box-shadow: 0px 0px 10px 4px rgba(0,0,0,0.3);
	
	--icon-size: 64px;

	--padding: 10px;

	--content-width: 600px;
	--content-height: 375px;
	
	--slider-height: 20px;
	--slider-width: 40px;
	
	--transition: 0.7s;
}


/* Style the font for labels */
.label, .item-label {
	font-family: 'Nunito Sans', sans-serif;
	font-size: large;
	color: #010101;
}


/* Style the VR menu container*/
.vr-menu-container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 750px;	
	margin-top: 15px;
	margin-bottom: 30px;
	padding: 50px;
}

@media only screen and (max-width: 840px) {
    .vr-menu-container {
        display: none;
    }
}

.vr-menu {
	position:absolute;
}


/* Style the tabs, tablinks & tabcover */
.tabs {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: flex-end;
	overflow: hidden;
	border: none;
}

.tab {
	display: flex;
	justify-content: flex-start;
	align-items: flex-end;
	overflow: hidden;
	box-shadow: var(--box-shadow);
}

.tablinks {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	background-color: var(--tablinks-background);
	width: 105px;
	border: none;
	outline: none;
	cursor: pointer;
	padding: var(--padding);
	transition: var(--transition);
}

.tabcover{
	background: var(--background-dark);
	height: 60px;
	flex: 1 0 20px;
	border-top-right-radius: 25px;
	margin-right: 5px;
}

.tablinks:hover {
	background-color: var(--tablinks-background-hover);
}

.tablinks.active {
	background-color: var(--tablinks-background-active);
}


/* Style the tab content (table) */
.tabcontent {
	display: none;
	table-layout: fixed;
	width: var(--content-width);
	height: var(--content-height);
	background: var(--tabcontent-background);
	padding: var(--padding);
	padding-top: calc(var(--padding) * 4);
}

/* Style the item container */
.item-container {
    display: flex;
    justify-content: center;
    width: 100%;
	margin: auto;
}
/* Style the item labels */
.item-label {
	text-align: center;
	vertical-align: text-top;
	height: 50px;
}

/* Style the item buttons */
.item-button {
	display: flex;
	flex-wrap: wrap;
	justify-content:center;
    align-content: center;
	border: 5px solid var(--button-border-color);
	background: var(--button-background);
	box-shadow: var(--button-box-shadow);
	cursor: pointer;
}

.item-button:hover {
	border-color: var(--button-border-color-hover);
}

.item-button.round {
	border-radius: var(--button-border-radius-round);
	width: var(--button-border-radius-round);
	height: 100px;
}

.item-button.square {
	border-radius: var(--button-border-radius-square);
	height: calc(var(--button-border-radius-round)*0.85);
	width: calc(var(--button-border-radius-round)*0.85);
}

.item-button.square.small {
	border-radius: var(--button-border-radius-square-small);
	height: calc(var(--button-border-radius-round)*0.5);
	width: calc(var(--button-border-radius-round)*0.5);
}

.item-button.square.large {
	border-radius: var(--button-border-radius-square-large);
	height: calc(var(--button-border-radius-round)*1.1);
	width: calc(var(--button-border-radius-round)*1.1);
}


/* Style the icons */
.icon {
  height: var(--icon-size);
  margin: auto;
}

.tablinks > .icon {
	margin-bottom: 5px;
	height: 48px;
}

.item-button.large > .icon {
  height: calc(var(--icon-size)*1.5);
}

.item-button.small > .icon {
  height: calc(var(--icon-size)*0.65);
}


/* Style the inactive */
.inactive, .item-button.inactive:hover {
	box-shadow: none !important;
	border-color: var(--tabcontent-background) !important;
	filter: opacity(0.85) !important;
	cursor: default;
}


/* Style the footer */
.vr-footer {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	background: var(--background-white);
	border-bottom-right-radius: 30px;
    border-bottom-left-radius: 30px; 
	height: 90px;
	padding: 20px 15px 15px 15px;
	box-shadow: 0px -10px 10px 0px rgba(0,0,0,0.2);
}

.time {
	font-size: 30px;
	font-weight: 700;
	color: var(--background-dark);
	padding: 0 10px;
}


/* Style the handle to move menu */
.handle-container {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: center;
}

.handle-bar {
	background: var(--background-dark);
	border: 0px;
	width: 150px;
	height: 15px;
	border-radius: 7.5px;
	margin-top: 17.5px;
	cursor: move;
}

.dots{
	position: relative;
	top: 12.5px;
	cursor: move;
}

.dots-row {
	display: flex;
	flex-direction: column;
	flex-wrap: warp;
}

.dots-column {
	display: flex;
	flex-direction: row;
}

.dot {
	display: block;
	margin: 10px;
	background-color: var(--background-dark);
	border: none;
	width: 3px;
	height: 3px;
	border-radius: 1.5px;
}



/* Style the beta-switch */
.switch-container {
	display: flex;
	align-items: center;
}

.switch {
  position: relative;
  display: inline-block;
  width: var(--slider-width);
  height: var(--slider-height);
  right: 0px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid var(--background-dark);
  background-color: var(--tablinks-background);
  -webkit-transition: calc(var(--transition)/4);
  transition: calc(var(--transition)/4);
}

.slider:before {
  position: absolute;
  content: "";
  height: calc(var(--slider-height) - 8px);
  width: calc(var(--slider-height) - 8px);
  left: 2px;
  bottom: 2px;
  background-color: var(--button-background);
  -webkit-transition: calc(var(--transition)/4);
  transition: calc(var(--transition)/4);
}

input:checked + .slider {
  background-color: var(--button-border-color-hover);
}

input:focus + .slider {
  box-shadow: var(--box-shadow);
}

input:checked + .slider:before {
  -webkit-transform: translateX(calc(var(--slider-width) - var(--slider-height)));
  -ms-transform: translateX(calc(var(--slider-width) - var(--slider-height)));
  transform: translateX(calc(var(--slider-width) - var(--slider-height)));
}

.slider.round {
  border-radius: var(--slider-height);
}

.slider.round:before {
  border-radius: 50%;
}