/* __V3D_TEMPLATE__ - template-based file; delete this line to prevent this file from being updated */

body {
    margin: 0px;
    /*overflow: hidden;*/
}

/*
.v3d-container {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}
*/
.v3d-container {
	/* Wichtig: Feste Position im Viewport */
	position: fixed; 
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh; /* Volle Höhe des Viewports */
	z-index: -10; /* Hinter den Inhalten */
	overflow: hidden; 
}        


.fullscreen-button {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    background-size: 100% 100%;
    display: none;
    z-index: 1;
}

.fullscreen-open {
    background-image: url('media/fullscreen_open.svg');
}

.fullscreen-close {
    background-image: url('media/fullscreen_close.svg');
}

/* removes tap blinking on ios devices */
* { -webkit-tap-highlight-color:rgba(0,0,0,0); }

/* Dark Theme */

.v3d-simple-preloader-background {
    background-color: #181818;
}

.v3d-simple-preloader-container {
    filter: drop-shadow(0px 0px 4px #2a69bd);
	margin-left: -130px;
}

.v3d-simple-preloader-bar {
    background: #fff;
}

.v3d-simple-preloader-logo {
    background-image: url("media/logo-kwl3d-wh.svg");
    /*background-size: cover;*/
	background-size: 250px 50px;
	width: 250px;
	height: 50px;	
}


/* ---------------------------------------------------- */
/* FORMULAR */
/* ---------------------------------------------------- */

/* Fehlerbox */
#error-msg { 
	color: #d8000c; 
	background-color: #ffd2d2; 
	padding: 10px; 
	margin-bottom: 15px; 
	border: 1px solid #d8000c; 
	display: none; /* Unsichtbar zu Beginn */
	border-radius: 4px;
}


/* ---------------------------------------------------- */
/* Impressum  */
/* ---------------------------------------------------- */

.modal-overlay {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	justify-content: center;
	align-items: center;
}
.modal-content {
	background-color: #aaa;
	color: #333;	
	padding: 30px;
	border-radius: 8px;
	width: 80%;
	max-width: 800px;
	position: relative;
	box-shadow: 0 4px 8px rgba(0,0,0,0.2);
	max-height: 90vh; 
    overflow-y: auto; 
}
.close-btn {
    position: sticky; 
    top: 0;
    float: right;
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    background: #aaa;
    padding-left: 10px;
    margin-top: -10px;
    line-height: 1;
}
.close-btn:hover { color: black; }
