body {
	background-image: url(assets/background.png);
	background-repeat: no-repeat;
	background-position: center;
	background-attachment: fixed;
	background-size: cover;

	font-family: "Gabriela", serif;
  	font-style: normal;
}

/*Panda image*/
.panda img {
	height:80vh;
	width: 40vw;
	position: absolute;
	left: 0px;
	bottom: 0px;
}

/*Team 2 logo*/
.team_2_logo img{
	height:60vh;
	width: 30vw;
	position: absolute;
	right: 0px;
	bottom: 5px;
}

/*Menu structure */
.menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;         /* appears above background */
  position: relative; /* avoids clashing with absolute items */
  height:50vw;
}

/*Structure for title for CSE 110*/
.title_1 {
  font-size: 10vw;
  margin-bottom: 2rem;   /* reduce spacing between title_1 and title_2 */
  line-height: 1.1;         /* compress vertical spacing */

	font-weight: 400;
	line-height: 82px;
	
	color: #CF2F2F;

	text-shadow: 0px 12px 12px rgba(0, 0, 0, 0.25);

	-webkit-text-stroke: 4px black;
}

/*Structure for title Bamboo Rebellion*/
.title_2 {
  font-size: 5vw;
  margin-top: 0;            /* remove default spacing above */
  line-height: 1.1;

  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);

	color: white;

	-webkit-text-stroke: 1px black;
}

/*Title structure*/
.title {
  text-align: center;
  margin-bottom: 1rem;
}

/*Structure for buttons*/
.buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  margin-top: 1rem;
}

/*Hover over buttons*/
#play:hover{
	transform: scale(1.1);
}

#settings:hover{
	transform: scale(1.1);
}

#tutorial:hover{
	transform: scale(1.1);
}

/*Button design*/
.buttons button {
	width: 20vw;
	height: 5vw;
	flex-shrink: 0;

	border-radius: 10px;
	border: 3px solid #000;
	background: #664D24;
	box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);

	color: #FFF;
	text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
	-webkit-text-stroke-width: 2px;
	-webkit-text-stroke-color: #000000;
	font-family: "Gabriela", serif;
	font-size: 3.5vw;
	font-style: normal;
	line-height: normal;
}


/*Overlay when settings or tutorial button is pressed*/
#overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%; 
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 2; 
}

/*Exit button design*/
#exit {
	position: absolute;
	display: none;
	width: 5vw;
	height: 5vw;
	top: 0px;
	left: 0px;
	z-index: 3;
}

/*Design for volume settings*/
.volSettings {
	display: none;
	position: absolute;
	border-radius: 10px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 25vw;
	height: 30vh;
	background:rgb(121, 84, 56);
	z-index: 3;
}

/*Title for settings*/
#titleSetting {
	top:0%;
	left:50%;
	transform: translate(-50%, -50%);
	font-size: 5vw;
	color: #FFF;
	text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
	-webkit-text-stroke-width: 0.5px;
	-webkit-text-stroke-color: #000000;
	font-family: "Gabriela", serif;
	position: absolute;
}

/*Volume section background*/
.innerSettings{
	display: none;
	position: absolute;
	border-radius: 10px;
	top: 70%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 20vw;
	height: 5vw;
	background:rgb(211, 171, 126);
	z-index: 3;
}

/*Volume text*/
#volText {
	font-size: 2vw;
	color: #FFF;
	text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
	-webkit-text-stroke-width: 1.25px;
	-webkit-text-stroke-color: #000000;
	font-family: "Gabriela", serif;
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -50%);
}

/*Volume design*/
#volume {
	position: absolute;
	top: 80%;
	left: 50%;
	transform: translate(-50%, -50%);
	row-gap: 5%;
	display: none;
	grid-template-areas: 'slider icon';
	grid-template-rows: 80% 15%;
	z-index: 3;
}

/*Tutorial display*/
#tutorial-image {
	position: fixed;
	display: none;
	width: 85%;
	height: 85%;
	bottom: 8%;
  right: 7.5%;
	z-index: 3;
}

/*Transition to cutscene*/
#transition {
	position: fixed;
	opacity: 0;
    width: 100%;
    height: 100%; 
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: black;
    z-index: 10; 
	transition: opacity 3s ease;
	pointer-events: none;
}
.accent{
	accent-color: black;
}

/*Music button*/
#music {
	position: absolute;
	display: block;
	width: 4vw;
	height: 4vw;
	top: 0px;
	right: 0px;
	z-index: 1;
}
