/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 13.07.2021, 11:17:31
    Author     : wolfgramm

    Alleima:
    Steel Blue: 0f232e
    Orange: ff5532
    Iron Red: 872823
    Gray: e1e1e1
*/

/* import url(https://fonts.googleapis.com/css?family=Arial); */

:root {
	--alleima_orange: #ff5532;
	--alleima_red: #872823;
	--alleima_blue: #0f232e;
	--alleima_gray: #e1e1e1;
}

body::-webkit-scrollbar {
  display: none;
}

html {
    scroll-padding-top: 70px; /* Höhe Ihres festen Menüs */
    scroll-behavior: smooth;
    
}

body {
    font-family: Arial;
    font-size: 21px;
    margin: 0;
    padding: 0;
    background: #fff;
    color: var(--alleima_blue);
    background: url("../images/Alleima_MetalElement_Still_02_6.jpg");
    /*background-size: cover;*/
    object-fit: contain;
    background-repeat: no-repeat;
    background-position-y:20%;
    background-attachment: fixed;
    z-index:-2;
}

.bg-transpbody {
    position: fixed; /* Sit on top of the page content */
    display: block; /* Hidden by default */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(250,250,250,0.9);
    z-index: -1;
}

.blue {
	color: var(--alleima_blue);
}

.orange {
	color: var(--alleima_orange);
}

.red {
	color: var(--alleima_red);
}

.green {
	color: #11B517;
}


.overlay {
    position: fixed; /* Sit on top of the page content */
    display: none; /* Hidden by default */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.7); /* Black background with opacity */
    z-index: 3; /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer; /* Add a pointer on hover */
}

.logo-header {
    height: 55px;
    z-index: 1;
	position: relative;
}

.spacer-header {
    height: 20px;
    z-index:1;
}

.spacer {
    height: 34px;
}


.main-container {
    text-align: center;
    padding: 40px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 10vh;
}

.start-options {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.option-button {
    text-decoration: none;
    padding: 15px 30px;
    font-size: 1.2em;
    font-weight: bold;
    color: #fff;
    background-color: var(--alleima_orange);
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.2s;
    flex-grow: 1;
}

.option-button:hover {
    background-color: var(--alleima_red);
    transform: translateY(-2px);
}


.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.content {
  flex-grow: 1;
}

footer {
	position: relative;
	bottom: 30px;
	right: 0px;
	height:80px;
}

.logo-menu {
	height: 30px;
	margin: 10px 15px 10px 15px;
}

.logo_footer {
		float: right;
		width: 200px;
}

.show-more {
	text-decoration: none;
	font-weight: bold;
	color: var(--alleima_orange);
	font-style: normal;
	display: block;
	text-align: right;
}

h3 {
    margin-top:0.4em;
    margin-bottom:0.4em;
}

.document-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.document-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--alleima_blue);
    border: 1px solid var(--alleima_gray);
    border-radius: 8px;
    padding: 15px;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
}

.document-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.document-tile img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

.document-tile span {
    font-size: 14px;
    font-weight: bold;
}

#legal-documents-modal {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.back-button-container {
    margin-top: 20px;
}

/* Modal-Stile */
.modal {
    display: none; /* Versteckt das Modal standardmäßig */
    position: fixed;
    z-index: 1000; /* Stellt sicher, dass es über allem liegt */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7); /* Halbdurchsichtiger schwarzer Hintergrund */
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto; /* 5% von oben und zentriert */
    padding: 5px;
    border: 1px solid #888;
    width: 90%;
    max-width: 900px;
    position: relative;
    border-radius: 8px;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 5px;
    right: 10px;
}

.close-button:hover,
.close-button:focus {
    color: var(--alleima_blue);
    text-decoration: none;
}
.document-tile[data-viewed="true"] {
    border: 2px solid #28a745; /* Grüne Umrandung, wenn gelesen */


/* #############################################################
// Media Swicth
*/

@media (max-width: 800px) {
    body {
        font-size: 1em;
    }
}

@media (max-width: 650px) {
    body {
        font-size: 0.8em;
    }
    
	.box-appointment {
		width: 100%;
	}
    

    

}

