::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #00B4FF;
}

@font-face {
	font-family: "Futura";
	src: url("Futura.woff");
}

body {
	background-color: black;
	color: #00B4FF;
	font-family: helvetica;
	font-size: 14px;
}

#obal{
	position: relative;
	margin-left: auto;
	margin-right: auto;
	width: 600px;
	/* min-height: 700px; */
	background-color: #070707;
	border: 1px solid;
	border-radius: 6px;
	padding-top: 30px;
	max-height: calc(100vh - 50px);
}

#obsah{
	position: relative;
	margin-left: auto;
	margin-right: auto;
	width: 540px;
	height: 600px;
	max-height: calc(100vh - 155px);
	border-radius: 6px;
	overflow-x: hidden;
	overflow-y: scroll;
	background-color: black;
	border: solid 1px;
}

#odesilani{
	position: relative;
	margin-top: 10px;
	margin-left: auto;
	margin-right: auto;
	width: 540px;
	height: auto;

}
#textarea{
	position: relative;
	border-radius: 6px;
	display: inline-block;
	margin-bottom: 22px;
	background-color: black;
	border: solid 1px;
}
#textarea textarea{
	float: left;
	position: relative;
	background-color: transparent;
	border: none;
	padding-top: 5px;
	padding-left: 10px;
	width: 488px;
	min-height: 70px;
	resize:vertical;
	color: #00b4ff;
	font-family: Tahoma;
	font-size: 13px;
}
#cudliky{
	float: right;
	width: 30px;
	height: auto;
}
#odeslat {
	margin-bottom: 10px;
	text-shadow: 0px 1px 1px rgba(250,250,250,0.1);
	font-size: 1em;
	display: block;
	position: relative;
	float: right;
	text-decoration: none;
	width: 30px;
	height: 30px;
	border: solid 1px;
	border-radius: 35px;
	text-align: center;
	line-height: 30px;
	transition: color 350ms ease, text-shadow 350ms;
}

#odeslat:active {
	top: 3px;
	color: rgb(250,250,250);
	text-shadow: 0px 0px 5px #00b4ff;
	box-shadow: 0px 0px 5px #00b4ff;
}

.zprava{
	position: relative;
	height: auto;
	margin: 10px;
	padding: 5px;
	font-family: Tahoma;
	font-size: 13px;
	color: #00B4FF;
	animation: newAnim 0.9s;
	border-bottom: 1px solid #00b4ff;
}

.zprava span{
	display: block;
	font-size: 1.1em;
	font-weight: bold;
	color: white;
}

.zprava.from {
	color: #ff8080;
}

.zprava.from span{
	color: red;
}

.zprava.to {
	color: #ff8080;
}

.zprava.to span{
	color: red;
}

#list {
	display: none;
    position: absolute;
    left: 0px;
    top: 0px;
    width: 50%;
    z-index: 1;
    background-color: rgb(80,80,80);
    border-radius: 10px;
}

#list li{
	cursor: pointer;
    text-align: center;
    padding-right: 10px;
    list-style-type: none;
    font-size: 21px;
}

#list.opened {
	display: block;
}

@keyframes newAnim
{
	0% {right: -100%;}
	90% {right: 5px;}
	100% {right: 0px;}
}

#hamburger-button {
    display: block;
    text-align: center;
    font-size: 3em;
    line-height: 50px;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 999;
    padding: 0px 2px;
}

@media (max-width: 949px) {
	body{
		font-size: 20px;
		margin: 0px;
		overflow: hidden;
	}

	#obal{
		width: 100vw;
		min-height: 0px;
		padding-top: 1vw;
	}

	#obsah{
		width: 98vw;
		height: calc(100vh - 1vw - 90px - 10px );
	}

	#odesilani{
		width: 98vw;
		height: 90px;
	}

	#textarea textarea{
		width: 90vw;
	}
}

.loaderBackground {
    position: fixed;
    background-color: rgba(0,0,0,0.7);
    height: 100vh;
    width: 100vw;
    z-index: 99999;
    display: flex;
    align-items: center;
    color: #00b4ff;
}

.loaderBox {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.loader {
    border: 5px solid transparent;
    border-radius: 50%;
    border-top: 5px solid #00b4ff;
    width: 100px;
    height: 100px;
    animation: spin 1s linear infinite;
    margin: auto;
    box-shadow: inset 0px 0px 5px 1px black;
}

.loaderBackground h2 {
    display: block;
    font-size: 1.5em;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

#login{
	background-color: rgba(0,0,0,0.5);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    z-index: 9999;
    left: 0px;
}

#loginForm{
	text-align: center;
    border: 1px solid #00b4ff;
    background-color: #070707;
    border-radius: 6px;
    width: 350px;
    height: 150px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 250px;
}

#loginForm span{
	font-size: 20px;
    line-height: 30px;
}

#loginForm input{
	display: block;
    margin: 5px;
    padding: 5px;
    font-size: 15px;
    width: 300px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    background: transparent;
    color: #00b4ff;
    border: 1px solid;
	border-radius: 6px;
}

input[type="button"] {
	cursor: pointer;
}