@font-face {
    font-family: 'DBScreenHeadBlack';
    src: url('../fonts/DB Screen Head-WEB/DBScreenHead-Black.woff2') format('woff2'),
         url('../fonts/DB Screen Head-WEB/DBScreenHead-Black.woff') format('woff'),
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'DBScreenSans';
    src: url('../fonts/DB Screen Sans-WEB/DBScreenSans-Regular.woff2') format('woff2'),
         url('../fonts/DB Screen Sans-WEB/DBScreenSans-Regular.woff') format('woff'),
    font-weight: normal;
    font-style: normal;
}

#error-container {
    position: absolute;
    top: 0;
    height: 100vh;
    width: 100%;
    background-color: #00000030;
}

#error_popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    max-width: 500px;
    max-height: 80vh;
    background: white;
    padding: 5px 30px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0px 0px 20px 15px rgb(0 0 0 / 50%);
    font-family: DBScreenSans;
}

.error_icon img {
	width: 20vh;
}

.error_message h1 {
	font-size: 5vh;
	font-weight: normal;
	margin: 15px auto;
	margin-top: 0px;
	font-family: DBScreenHeadBlack;
}

.error_message p {
	font-size: 4vh;
	font-weight: normal;
	margin: 0px auto;
}

#counter_number {
	font-family: DBScreenHeadBlack;
	font-size: 2rem;
	margin: 25px auto;
}

@media only screen and (min-height: 600px) {
	.error_message h1 {
		font-size:  30px;
	}
	.error_message p {
		font-size:  20px;
	}
	.error_icon img {
		width: 20%;
	}
	#counter_number {
		font-size: 30px;
	}
}
