@media only screen and (max-width: 900px) {
	  #sidebarleft, #sidebarright {
		display:none;
		width:0%;
	  }
	  #main {
		width:90% !important;
	  }
	  #dialog {
		width:90% !important;
	  }
	  .griddisplay {
		grid-template-columns: auto auto auto auto !important;
	  }
}

body {
	margin: 0;
	padding:0;
	background: linear-gradient(45deg, #690045 0%, #6E2E00 100%) fixed;
	color:black;
	font-weight:600;
	font-family: 'Nunito', arial;
}

/*background*/
body::before {
	content: '';
	z-index:-999;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background:url('images/polkadot.png');
	opacity: 0.08;
	pointer-events: none;
}
/*bg end*/
/*scrollbar start (doesnt work on firefox)*/
::-webkit-scrollbar {
	width: 10px;
}

::-webkit-scrollbar-track {
	background:linear-gradient(0deg, #6C1E17 0%, #6e2e00 100%);
}

::-webkit-scrollbar-thumb {
	border-radius: 8px;
	background: linear-gradient(180deg, rgba(255,148,0,1) 0%, rgba(255,164,122,1) 25%, rgba(255,99,106,1) 28%, rgba(227,49,57,1) 100%);
}
::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(180deg, rgba(255,209,80,1) 0%, rgba(255,239,168,1) 25%, rgba(255,157,161,1) 31%, rgba(255,115,121,1) 100%);
}
/*scrollbar end*/
.flex {
	display:flex;
	justify-content:center;
}

.content {
	display: inline-block;
	z-index:42;
	width:50%;
	margin:2% 8px;
}

.container {
	background: linear-gradient(0deg, rgba(255,244,233,1) 0%, rgba(255,236,250,1) 100%);
	border-radius: 5px 5px 2% 2%;
	margin:-8px 0px -7px 0px;
	box-shadow: 0px 5px 10px #00000069;
}

#maincontainer {
	margin-bottom:8px;
	border-radius: 20px;
}

.glasscontainer {
	z-index:26;
	padding:6px;
	border:3px solid #ffffff66;
	border-radius: 30px;
	box-shadow: 0px 15px 10px #00000069;
	background: linear-gradient(180deg, #ff96db66 0%, #ffd9faff 15%, #ff6ee066 20%, #fc9bff66 100%);
	backdrop-filter: blur(10px);
}

#bannerheader {
	/*width:48.2%;*/
	margin:10px 0px -6px 0px;
}

#headerlinks {
	font-size:30px;
	position:absolute;
	top:15px;
	left:4%;
}

header {
	background: linear-gradient(180deg, #FFAA6E 0%, #FFCDA2 65%, #ff8f71 75%, #ff566f 100%);
	/*background: linear-gradient(180deg, rgba(255,210,110,1) 0%, rgba(255,255,211,1) 32%, rgba(255,187,214,1) 36%, rgba(255,101,130,1) 55%, rgba(255,136,176,1) 100%);*/
	padding:2%;
	border-radius: 20px 20px 0px 0px;
	color:white;
	overflow:hidden;
	display:block;
}

header>div {
	float:right;
	font-size:30px;
}

header>a, header>h1, header>h2, header>img {
	filter: drop-shadow(0 0 5px #bd2c00);
}

header>h1, header>h2 {
	text-align:center;
}

h1 {
	font-weight:1000;
}

h2 {
	font-weight:800;
}

main {
	padding:2% 2% 2% 2%;
	color:black;
}

nav {
	display:flex;
	width:100%;
}

.navvertical {display:block;}
.navvertical>a {display:block; width:88%; margin:8px 4px;}

.button {
	width:100%;
	text-decoration:none;
	font-weight:bold;
	color:white;
	padding:8px;
	margin:0px 1%;
	box-shadow: 0 3px 5px #7d003899;
	border-radius:10px;
	background-color:#f57aae;
	background-image: linear-gradient(to right, #f53d8b 0%, #f57aae 35%, #ffc266 50%, #ff94c1 65%, #ff94c1 100%);
	background-size: 350% auto;
	transition: 0.7s;
}

.button:hover {
	background-position: right center;
}

#pfp {
	float:left;
	border-radius:10px;
	box-shadow: 0px 0px 5px black;
	margin:2% 2% 2% 0%;
}

footer {
	display:flex;
	width:100%;
	text-align:center;
	margin-top:5px;
}
footer>a {
	border:0;
	width:100%;
	padding:2%;
	
	background:linear-gradient(180deg, #ff589e 0%, #ff91bd 25%, #d53a7a 100%);
	box-shadow: 0 -3px 3px #7d003866;
	border-right:1px solid #00000033;
	text-decoration: none;
	color:white;
	font-size:150%;
	cursor:pointer;
}
footer>a:first-child {
	border-radius: 0px 0px 0px 20px;
}
footer>a:last-child {
	border:0;
	border-radius: 0px 0px 20px 0px;
}
footer>a:hover {
	background:linear-gradient(180deg, #ff6eab 0%, #ffafcf 25%, #f44d91 100%);
}

/*gallery button stuff*/
.griddisplay {
	display:grid;
	grid-template-columns: auto auto auto auto auto;
}
.gallerybutton {
	margin:8px;
	padding:15%;
	cursor:pointer;
	box-shadow:0px 0px 5px black;
	border-radius:15px;
	background-size:100%;
	background-repeat:no-repeat;
	aspect-ratio: 1;
}
/*gallery button stuff end*/
/*dialog box stuff*/
.dialogcontainer {
	position:fixed;
	top:0;
	height:100%;
	width:100%;
	background-color:#00000069;
	z-index:69;
	display:none;
	place-items:center;
}
#dialog {
	z-index:70;
	display: grid;
	place-items:center;
	background: linear-gradient(0deg, rgba(255,244,233,1) 0%, rgba(255,236,250,1) 100%);
	padding-top:8px;
	text-align:center;
	width:60%;
	height:80%;
	border-radius: 20px;
	box-shadow:0px 0px 15px black;
	overflow: auto; /* Enable scroll if needed */
}
#dialog>img {
	/*max-height:88%;
	max-width:88%;*/
	max-width:60%;
	object-fit: contain;
	border-radius:8px;
	box-shadow: 0px 0px 8px black;
	margin:8px;
}
#dialog>.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #ffffff;
  font-size: 60px;
  font-weight: bold;
  text-shadow:0px 0px 10px black;
  cursor:pointer;
}
#dialog>h2 {margin:0;}
#dialog>p {margin-top:0;}
/*dialog box stuff end*/

.hr {text-align:center; font-weight:bold;}
.hr>img {width:16px;}
.smallscrollablecontainer {
	border-radius:10px;
	width: 88%;
	height: 150px;
	padding: 0px 10px;
	background: linear-gradient(0deg, #690045 0%, #6E2E00 100%);
	color:white;
	overflow-y: auto;
}

/*status cafe css start*/
#statuscafe {
	border-radius:10px;
	color:white;
    padding: .5em;
    background: linear-gradient(180deg, rgba(105,0,69,1) 0%, rgba(173,52,97,1) 30%, rgba(154,65,0,1) 100%);
}
#statuscafe-username {
    margin-bottom: .5em;
}
#statuscafe-username>a {
    color:white;
	text-shadow:0px 0px 5px #ff6f00;
}
#statuscafe-content {
    margin: 0 1em 0.5em 1em;
}
/*status cafe css end*/