body { 
	display: flex; 
	justify-content: center; 
	align-items: center; 
	height: 100vh; 
	background: url(background2.jpg); 
	margin: 0; 
	font-family: sans-serif;
	font-weight: bold;
 }

.phone-case { 
	width: 500px; 
	height: 700px; 
	background: url(leappad.png);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	position: relative;
}

.screen {
	width: 50%;          /* adjust until it fits inside the screen area */
	height: 65%;         /* adjust to match the display window */
	background: url(leappadbg.png); 
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 10px; 
	overflow: hidden; 
	position: absolute;  
	top: 12%;            
	left: 25%;
	z-index: 1;        
}

.view { 
	display: none; 
	width: 100%; 
	height: 100%; 
	padding: 20px; 
	box-sizing: border-box;
}

#gallery {
	background: #f5f5f5;
}

#videos {
	background: #4a4a4a;
	color: #dbdad9;
}

#music {
	text-align: center;
	background-image: linear-gradient(to right, #000dff, #368dff);
	font-style: italic;
		overflow-y: auto;
}

#messages {
	background: #212121;
	color: white;
}

#settings {
	background: #f2e7ce;
}


.view.active { 
	display: block;
}

.app-grid {
	display: grid; 
	grid-template-columns: repeat(3, 1fr); 
	gap: 20px; 
	padding-top: 60px;
}

.app-icon {
	text-align: center; 
	cursor: pointer; 
	font-size: 40px; 
	display: flex; 
	flex-direction: column; 
	align-items: center;
}

.app-icon span {
	font-size: 12px; 
	margin-top: 5px; 
	color: #333;
}

.home-button {
	width: 90px;
	height: 90px;
	background: #444;
	border-radius: 50%;
	position: absolute;
	bottom: 46px;
	left: 50.2%;
	transform: translateX(-50%);
	cursor: pointer;
	opacity: 0;
}
.content-grid img {
	width: 100%;
	border-radius: 5px;
	margin-bottom: 10px;
}

#settings,
#videos,
#gallery,
#messages {
	overflow-y: auto;
	font-family: "Georgia", serif;
	text-align: center;
}

.go-back {
  font-size: 20px;
  display: block;
  padding: 6px 12px;
  text-decoration: none;
  color: black;
  position: relative;
  top: 290px;
}

a.go-back:visited {
  color: white;
}

a.go-back:hover {
  background-color: gray;
  color: black;
}