/* Reikem CSS Stylesheet for RK Speedtest - https://speed.reikem.de */

:root {
	--bs-success-rgb: 25, 135, 84;
	--bs-danger-rgb: 220, 53, 69;
	--bs-text-opacity: 1;
}


/* Allgemeines */
html,body{
	border:none; padding:0; margin:0;
	background-color: rgb(245, 245, 246);
	color:#202020;
	}
body{
		text-align:center;
		font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
		margin-top: 2em;
		margin-bottom: 2em;
	}
h1{
		color:#404040;
	}
/* Abstände */
.mb-1 { margin-bottom: 1em; }
.mb-2 { margin-bottom: 2em; }
.mb-3 { margin-bottom: 3em; }
.mb-4 { margin-bottom: 4em; }
.mb-5 { margin-bottom: 5em; }
.mt-1 { margin-top: 1em; }
.mt-2 { margin-top: 2em; }
.mt-3 { margin-top: 3em; }
.mt-4 { margin-top: 4em; }
.mt-5 { margin-top: 5em; }
/* Design by REIKEM - generelles Layout */
.container {
	width: 864px;
	padding: 2em;
	margin: 0 auto;
	background: #FFF;
	border-radius: 10px;
}
.logo {
	float: left;
	width: 50%;
	text-align: left;
	height: 100px;
}
.logo img {
	float: left;
	max-width: 100%;
	height: auto;
	margin-top: 0px;
}
.gobutton{
	float: right;
	width: auto;
	text-align: right;
	height: 60px;
}
.prntbtn {
	float:left;
	width: auto;
	text-align:right;
	margin-top:5px;
	margin-right:50px;
}
.gobutton #startStopBtn {
	text-align: center;
}
hr.clear {
	clear:both;
}


.text-success {
    --bs-text-opacity: 1;
    color: rgba(var(--bs-success-rgb), var(--bs-text-opacity)) !important;
}

.text-danger {
    --bs-text-opacity: 1;
    color: rgba(var(--bs-danger-rgb), var(--bs-text-opacity)) !important;
}

.fs-4 {
	font-size: 1.5rem !important;
}
.fw-bold {
    font-weight: 700 !important;
}

#printbtn{
	display:inline-block;
	margin:10px auto 0 auto;
	text-decoration: none;
	padding: 10px;
	color:#0e71b8;
	background-color:rgba(0,0,0,0);
	border:0.15em solid #0e71b8;
	border-radius:0.3em;
	transition:all 0.3s;
	box-sizing:border-box;
	line-height:1em;
	font-size: 1.2em;
	font-weight: 500;
	cursor:pointer;
	box-shadow: 0 0 0 rgba(0,0,0,0.2), inset 0 0 0 rgba(0,0,0,0.2);
}
#printbtn:hover{
box-shadow: 0 0 2em rgba(0,0,0,0.1), inset 0 0 1em rgba(0,0,0,0.1);
background-color: rgba(14,113,184,1);
color: #FFF;
border-color: #FFF;
}


/* Speedtest */
#startStopBtn{
		display:inline-block;
		margin:0 auto;
		color:#0e71b8;
		background-color:rgba(0,0,0,0);
		border:0.15em solid #0e71b8;
		border-radius:0.3em;
		transition:all 0.3s;
		box-sizing:border-box;
		width:8em; 
		height:2.3em;
		line-height:2em;
		font-size: 1.4em;
		font-weight: 500;
		cursor:pointer;
		box-shadow: 0 0 0 rgba(0,0,0,0.2), inset 0 0 0 rgba(0,0,0,0.2);
		margin-top: 10px;
	}
#startStopBtn:hover{
	box-shadow: 0 0 2em rgba(0,0,0,0.1), inset 0 0 1em rgba(0,0,0,0.1);
	background-color: rgba(14,113,184,1);
	color: #FFF;
	border-color: #FFF;
	}
#startStopBtn.running{
		background-color:#c9124b;
		border-color:#c9124b;
		color:#FFFFFF;
	}
#startStopBtn.running:hover {
	box-shadow: 0 0 2em rgba(0,0,0,0.1), inset 0 0 1em rgba(0,0,0,0.1);
	background-color: #830c31;
	border-color: #830c31;
}
#startStopBtn:before{
		content:"Test starten";
	}
#startStopBtn.running:before{
		content:"abbrechen";
	}
#test{
		margin-top:2em;
		margin-bottom:2em;
}
div.testArea{
		display:inline-block;
		width:16em;
		height:12.5em;
		position:relative;
		box-sizing:border-box;
	}
div.testName{
		position:absolute;
		top:0.1em; left:0;
		width:100%;
		font-size:1.4em;
		z-index:9;
	}
div.meterText{
		position:absolute;
		bottom:1.55em; left:0;
		width:100%;
		font-size:2.5em;
		z-index:9;
	}
div.meterText:empty:before{
		content:"0.00";
	}
div.unit{
		position:absolute;
		bottom:2em; left:0;
		width:100%;
		z-index:9;
	}
div.testArea canvas{
		position:absolute;
		top:0; left:0; width:100%; height:100%;
		z-index:1;
}
div.testGroup{
		display:inline-block;
}
@media (max-width: 970px) {

	.container {
		width: 90%;
	}
}

@media (max-width:500px){
	body{
			font-size:0.8em;
			margin-top: 0;
			margin-bottom: 0;
	}
		.container {
		width: 90%;
		padding: 1em;
	}
	.testGroup{
		display:block;
		margin: 0 auto;
	}
	.testArea {
		margin-bottom: 2em;
	}
	.logo {
		width: 100%;
		text-align: center;
	}
	.gobutton {
		width: 100%;
		text-align:center;
	}
	#startStopBtn {
		font-size: 1.7em;
	}
	#test {
		font-size: 0.9em;
	}
	#ipArea {
		font-size: 1.2em;
	}
}


.btn-learn-more-content {
    font-family: "Raleway", sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 12px 32px;
    border-radius: 5px;
    transition: 0.3s;
    line-height: 1;
    color: var(--edu-blue);
    -webkit-animation-delay: 0.8s;
    animation-delay: 0.8s;
    margin-top: 6px;
    border: 2px solid var(--edu-blue);
}