/* static/css/styles.css */
* {
    padding: 0;
    margin: 0;
}

@font-face {
    font-family: 'karla';
    src: local('Karla'),  url('../fonts/Karla.ttf') format("truetype");
}

@font-face {
	font-family: 'MueseoSans_300';
	src: local('MueseoSans_300'), url('../fonts/MuseoSans_300.otf') format("opentype");
}
@font-face {
    font-family: 'MueseoSans_500';
    src: local('MueseoSans_500'),  url('../fonts/MuseoSans_500.otf') format("opentype");
}

@font-face {
    font-family: 'MueseoSans_700';
    src: local('MueseoSans_700'),  url('../fonts/MuseoSans_700.otf') format("opentype");
}
/* Allgemeine Stile für das gesamte Dokument */

/* Hauptinhalt-Stile */
main {
    text-align: center;
    padding-bottom: 150px;
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    background-color: #e6e6e6;
}
#background-video {
  background: white;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
  will-change: transform;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

@media (max-width: 768px) {
  #background-video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
}
.footer-disclaimer {
    line-height: 60px;
}
.cookie-bar p, .cookie-bar a {
    color: rgb(0, 0, 0);
}
.cookie-bar {
    background-color: #e6e6e6;
  

}
.cookie-bar button {
    color: black;
    background-color: #FFFFFF;
    border: none;
    width: 150px;
    padding: 10px;
    border-radius: 25px;
    margin: 15px
}
.cookie-bar button:hover {
    color: rgb(146, 146, 146)!important;
}
header {
    text-align: center;
}
p, h1,h2,h3,h4 {
    all: unset;
}

/* Links usw */
.logo {
    margin-top: 20px; /* Adjust as needed */
    border-radius: 50%; /* Makes the image round */
    width: 96px; /* Your desired width */
    object-fit: cover; /* Ensures the image covers the area without stretching */
    margin-bottom: 16px;

}

.title-text {
    margin-bottom: 0px;
    display: block;
    font-size: 20px;
    line-height: 1.5;
    /* font-weight: 300; */
}

.slogan-text {
    font-size: 14px;
    /* font-weight: 300; */
    line-height: 1.5;
    margin-top: 4px;
}

/* .links {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
} */

.links .link-logo img {
    border-radius: 50%; /* Makes the image round */
    height: 100%;
    object-fit: contain;
}

.links .link-logo {
    width: 40px; /* Your desired width */
    height: 40px; /* Your desired height */
    margin: 10px;
}

.link-text, .link-url {
    flex-grow: 1;
    opacity: None !important;
    font-weight: 300;
    
}

.links-category {
    margin-top: 32px;
    padding: 0 30px;
}
.links-category-text,.links-category-text-editor {
    margin-bottom: 1rem;
    font-weight: 300;
}

.social-media-links {
    margin-bottom: 32px;
    margin-top: 32px;

}

.social-link:hover {
    opacity: 1;
}

.social-link {
    margin: 5px;
    opacity: 0.4;
    transition-duration: .4s;
    transition-timing-function: linear;
}

div .link-input {
    justify-content: center;
}

div .link-input input, .edit-label, .edit-link, .links-category input:not([type=checkbox]), .edit-icon {
    margin: 0 5px;
    border: solid 2px black;
}
button.remove-link-btn, button.edit-link-btn, button.save-link-btn, button.cancel-link-btn, button.add-link-btn, button.save-category-btn, button.cancel-category-btn, .add-category-btn, .edit-category-btn, .remove-category-btn {
    all: unset;
    float: right;
}

.settings-btn, .open-page-builder-btn {
    position: fixed;
    top: 10px;
    left: 10px;
    padding: 10px;
    background-color: #FFFFFF;
    color: #000;
    border: none;
    cursor: pointer;
}

/* Rest of the styles remain the same */


.open-page-btn {
    position: fixed;
    top: 10px;
    left: 50px;
    padding: 10px;
    background-color: #FFFFFF;
    color: #000;
    border: none;
    cursor: pointer;
}

.links-category-text-editor p {
    margin-right: -50px;
}

.ui-tooltip {
    border: 1px solid white;
    background: #111;
    color: white;
    font-size: larger;
  }

  .switch {                   /* Das label-Element */ 
	position: relative; /* Um im nächsten Schritt den runden Button mit position:absolute festzusetzen */ 
	width: 64px;
	height: 34px;
	display: inline-block;
}

.switch span {		    /* Der graue Untergrund des Schalters */ 
	position: absolute;
	background-color: #d6d6d6;
	border-radius: 17px;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	transition: background-color .4s;
    margin-right: 5px;
}

.switch span::before {    /* Der kreisrunde Button im Switch */ 
	background-color: white;
	border-radius: 50%;
	content: "";
	position: absolute;
	left: 4px;
	bottom: 4px;
	height: 26px;
	width: 26px;
}

input:checked + span {
    background-color: darkgreen;
  }
  
  input:checked + span::before {
    transform: translateX(30px);
  }

  .switch input {
	display: none;
}

.link:hover .link-text-editor {
    display: none;
}

.link-url-editor {
    display: none;
}

.link:hover .link-url-editor {
    display: inline;
}

.hidden {
    /* this is !important so that display: none will always take precedence */
    display: none !important; 
  }

.link-edit-delete-container {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.link-text-url-container {
    text-overflow: ellipsis;
    /* max-width: 129%; */
    overflow: hidden;
    white-space: nowrap;
    margin: 10px;
}

#open-cookie-manager {
    color: rgb(150, 150, 150);
    text-decoration: none;
    background-color: #e6e6e6;
    margin-right: 40px;
}

#open-cookie-manager:hover {
    color: rgb(70, 70, 70) ;
}

.cookie-modal {
    display: none;
}

#cookie-manager-modal {
    display: none;
}

.footer_ {
     display: flex;
     flex-direction: row;
     flex-wrap: nowrap;
     justify-content: space-evenly;
     align-items: center;
     align-content: center;
     color: black;
     background-color: #e6e6e6;
     height: 100px;
}

.footer-link {
    color: black;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: rgb(70, 70, 70)  !important; 
    text-decoration: none;
}
