/*
* Copyright 2020 The Matrix.org Foundation C.I.C.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*         http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

*{
	box-sizing: border-box;
}

html, body {
	background-color: #373C43;
	color: #000000;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	max-width: 100%;
	padding: 0;
	margin: 0;
}

p{
	color: #f5f5f5;
	text-align: center;
	margin: 0 0 10px;
	padding: 0;
}

#stickyState {
	color: #3d5a80;
}


#search {
	width: 90%;
	margin: 10px auto 0 auto;
	display: flex;
	flex-direction: row;
	align-items: center;
	position: fixed;
	top: 0;
	left: 5%;
}

#search input {
	width: 100%;
	height: 2.8rem;
	border: 1px solid #F5F5F5;
	color: #666666;
	outline: none;
	background-color: #F5F5F5;
	border-radius: 1.625rem;
	padding: 0 3.5rem 0 1.5rem;
	font-size: 1rem;
}
#search input::placeholder{
	color: #8e8e8e;
}
#search input:focus{
	border-color: #666666;
}

#search button{
	width: 3.5rem;
	height: 2.8rem;
	margin-left: -3rem;
	background: none;
	border: none;
	outline: none;
	margin-top: 2px;
}

#search button:hover {
	cursor: pointer;
}

#list{
	margin-top: 60px;
	padding: 10px;
	display: flex;
	flex-wrap: wrap;
}
#list img{
	border-radius: 5px;
	border: 1px solid transparent;
	cursor: pointer;
	width: 50%;
	max-width: 50%;
	height: auto;
}
#list img:hover{
	border: 1px solid #f5f5f5;
}
#list p{
	width: 100%;
	min-width: 100%;
}
footer{
	content: '';
	width: 100%;
	height: 30px;
	background-image: url('poweredby.png');
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	margin-bottom: 10px;
}