@import url(https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:400,200);

*{
  margin: 0;
  padding: 0;
  outline: none;
  border: none;
  box-sizing: border-box;
}
*:before,
*:after{
  box-sizing: border-box;
}
html, body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Ensure full viewport height is used */
    background: #004050;
    margin: 0;
    padding: 0;
    transform: scale(1.2); /* Adjust zoom level */
    transform-origin: center; /* Anchor the zoom to the top-left corner */
}

.page-title {
    font-size: 3rem; /* Adjust size as needed */
    font-family: 'Yanone Kaffeesatz', sans-serif; /* Use the same custom font for consistency */
    color: white; /* Make the text white */
    text-align: center; /* Center the title */
    margin: 20px 0; /* Add space above and below */
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); /* Optional: Add a subtle shadow for depth */
}

.wrap {
    display: flex;
    flex-wrap: wrap; /* Allow child elements to wrap to the next line */
    justify-content: center; /* Center the boxes horizontally */
    align-items: center; /* Align the boxes vertically */
    gap: 10px; /* Add spacing between the boxes */
    max-width: 100%; /* Ensure it doesn't overflow */
    margin: 0 auto; /* Center the container itself */
    padding: 20px; /* Optional: Add padding for aesthetic spacing */
}
div[class^="metro"]{
	float: left;
	margin: 0 10px 10px 0;
	height: 95px;
	position: relative;
	cursor: pointer;
	transition: all .4s ease;
  user-drag: element;
  border: solid 2px transparent;
}
div[class^="metro"]:hover{
	border: solid 2px mintcream;
}
div[class^="metro"]:active{
	transform: scale(.98,.98);
}
.metro-big{width: 200px;}
.metro-small{width: 95px;}
.last{margin-right: 0 !important;}
.Start{
	color: white;
	font: normal 50px 'Yanone Kaffeesatz', sans-serif;
	margin-bottom: 50px;
  cursor: pointer;
  user-select: none;
  display: inline-block;
  transition: all .3s ease;
}
.Start:hover{
  text-shadow: 0 0 4px white;
}
.space{
	margin-bottom: 110px;
}
.label{
	position: absolute;
	color: white;
	font: 500 12px sans-serif;
	left: 10px;
  user-select: none;
}
.bottom{bottom: 5px;}
.top{top: 5px;}
.chat{background: #0c5fa1;}
.calendar{
  background: #00a9ec;
}
.store{background: #ff9000;}
.ie{background: #00abdc;}
.people{background: #0e5d30;}
.video{background: #8b0189;}
.chrome{background: #ce4e4e;}
.photo{
  background: url('http://lorempixel.com/200/95/people');
  background-position: -2px -2px;
}
.music{
  background: #5f5f5f;
  animation: flip 6s linear infinite;
  transform: rotateX(0deg);
}
.games{background: #00ff00;}
.twitter{background: #19bfe5;}
.gp{background: #d64136;}
.fb{background: #3b5998;}
.cnn{background: #fe0000;}
.ps{background: #0c5fa1;}
.bt{background: #2546e9;}
.cc{background: #d20808;}
.wmp{background: #f68935;}
.tube{background: #c8312b;}
.fritz{background: #04aeda;}

div[class^="icon"]{
	width: 45px;
	height: 45px;
	margin: 20px auto;
	background-size: 45px 45px;
}
.icon-nextcloud{background: url('Simpleicons-Team-Simple-Nextcloud.512.png');}
.icon-chat{background: url('Other-Mail-alt-Metro-icon.png');}
.icon-store{background: url('Web-Microsoft-Store-Metro-icon.png');}
.icon-ie{background: url('Web-Browsers-Internet-Explorer-10-Metro-icon.png');}
.icon-people{background: url('Folders-OS-User-No-Frame-Metro-icon.png');}
.icon-video{background: url('Folders-OS-My-Videos-Metro-icon.png');}
.icon-chrome{background: url('Web-Browsers-Google-Chrome-Metro-icon.png');}
.icon-music{background: url('Apps-Google-Music-Metro-icon.png');}
.icon-games{background: url('Folders-OS-Games-alt-Metro-icon.png');}
.icon-twitter{background: url('Web-Twitter-alt-2-Metro-icon.png');}
.icon-gp{background: url('Web-Google-plus-Metro-icon.png');}
.icon-fb{background: url('Web-Facebook-alt-1-Metro-icon.png');}
.icon-cnn{background: url('Web-CNN-Metro-icon.png');}
.icon-bt{background: url('Apps-Bluetooth-Metro-icon.png');}
.icon-cc{background: url('Apps-CCleaner-Metro-icon.png');}
.icon-wmp{background: url('Apps-Windows-Media-Player-Metro-icon.png');}
.icon-tube{background: url('Web-YouTube-alt-1-Metro-icon.png');}
.icon-fritz{background: url('Dakirby309-Windows-8-Metro-Drives-Network-Metro.256.png');}
::-webkit-scrollbar{
  width: 10px;
	height: 10px;
	cursor: pointer;	
}
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px 2px rgba(0,0,0,0.3);
    background: #007491;
}
::-webkit-scrollbar-thumb {
    background: #002f3b; 
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
    cursor: pointer;
}
::selection{
    background: mintcream; 
}

@keyframes flip{
  0%{
    transform: rotateX(0deg);
  }
  15%{
    transform: rotateX(360deg);  
  }
  100%{
    transform: rotateX(360deg); 
  }
}

.photo img{
  top: -4px;
  left: -4px;
  position: absolute;
  opacity: 0;
  animation: fade 8s ease-in-out infinite 8s;
  z-index: 0;
  border: solid 2px transparent;
  transition: all .3s ease;
}

.photo img:hover{
  border: solid 2px mintcream;
}

.break {
    flex-basis: 100%; /* Forces a line break */
    height: 0; /* No visual space is added */
}

@keyframes fade{
  0%{
    opacity: 0; 
  }
  10%{
    opacity: 1;
  }
  50%{
    opacity: 1;
  }
  60%{
    opacity: 0;
  }
}