@charset "utf-8";
/* CSS Document */

.modal {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: #000; /* 100% Schwarz ohne Transparenz */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1.8s ease-in-out, visibility 1.8s ease-in-out !important;
}

/* Wenn das Modal geöffnet wird */
.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    width: 100%;
	background: #000;
    max-width: 900px;
    margin: 0 auto; 
    padding: 20px; 
	border: none; 
	box-shadow: none;
    text-align: center;
}

/* Modal wird ausgeblendet */
.modal.hide {
    opacity: 0 !important;
    visibility: hidden !important;
	transition: opacity 1.8s ease-in-out, visibility 1.8s ease-in-out !important;
}

.modal-content video {
    max-width: 95%;
    border: 3px solid #333;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: black;
    padding: 5px;
}

.video-info {
    display: flex;
    flex-direction: column; /* Stapelt die Elemente vertikal */
    align-items: center; /* Zentriert die Elemente horizontal */
    width: 100%;
    max-width: 80vw;
    text-align: center; /* Zentriert den Text innerhalb */
    padding: 10px 0;
    background: #000;
    color: white;
    margin-top: 1px;
    font-weight: bold;
    font-size: 16px;
}


/* Videobeschreibung direkt unter das Video */
.video-header p {
    margin: 5px 0;
}

/* Tabelle für Kamera, Dateigröße & Aufnahmedatum */
.video-details {
	font-weight: bold;
    font-size: 16px;
	color: aqua;
    width: 100%;
    border-spacing: 2px; /* Leichter Abstand zwischen Zeilen */
	 text-align: center;
}

.video-details td {
    text-align: center;
    padding: 2px 8px;
}

.video-details tr:nth-child(1) td { color: #999; } /* Kamera - Orange */
.video-details tr:nth-child(2) td { color: red; } /* Dateigröße - Grün */
.video-details tr:nth-child(3) td { color: #999; } /* Aufnahmedatum - Blau */
.video-details tr:nth-child(4) td { color: #999; } /* Videoformat - Pink */

.video-format {
    margin-top: 15px;
    font-weight: bold;
    font-size: 18px;
    text-align: left;
}

.video-format p {
    margin: 5px 0;
}

.video-title {
    font-size: 40px;
    font-weight: bold;
    text-align: center;
    color: white;
	background: #000;
    margin-bottom: 10px;
}

.close {
    position: absolute;
    top: 32px;
    right: 25px;
    font-size: 24px;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1002;
    transition: transform 0.3s ease-in-out;
}

/* Entferne Hover, Fokus und aktiven Zustand */
.close,
.close:hover,
.close:focus,
.close:active {
    background: yellow !important;
    color: black !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    transform: none !important;
    transition: none !important;
    opacity: 1 !important;
    filter: none !important;
}

.auswahl_abstand {
	margin-top: 20px;
	margin-bottom: 20px;
}

#videoPlayer {
    width: 100%;
    display: block;
    margin: 0 auto;
}

.video-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.new_video_menu_button {
    background: #000000 !important; 
    color: white;
	width: 150px !important; 
    height: 60px !important;
	border-radius: 10px !important;
}

.new_video_menu_button:hover {
    background: #333333 !important;
    color: red !important;
    transform: scale(1.05) !important;
    transition: all 0.3s ease-in-out !important;
}