/*  Allgemeine Einstellungen*/

body {
  max-width: 1000px;
  background: #f8f9fa !important;
  background-size: 60% auto; /* Breite von 60% und volle Höhe */
  background-repeat: no-repeat;
  background-position: center;
  height: 100%; /* Vollständige Höhe des Bildschirms */
  margin: 0 auto; /* Rand entfernen */
  padding: 0; /* Padding entfernen */
  overflow: auto;
}

html {
  /* height: 100%; */
  --s: 50px; /* control the size */
  --c1: #435e81;
  --c2: #002b66;
  --_g:radial-gradient(#0000 60%,var(
  --c1) 61% 63%,#0000 64% 77%,var(--c1) 78% 80%,#0000 81%);
  --_c:,#0000 75%,var(
  --c2) 0;
  background:
    conic-gradient(at 12% 20% var(--_c)) calc(var(--s)* .44) calc(.9*var(--s)),
    conic-gradient(at 12% 20% var(--_c)) calc(var(--s)*-.06) calc(.4*var(--s)),
    conic-gradient(at 20% 12% var(--_c)) calc(.9*var(--s)) calc(var(--s)* .44),
    conic-gradient(at 20% 12% var(--_c)) calc(.4*var(--s)) calc(var(--s)*-.06),
    var(--_g),var(--_g) calc(var(--s)/2) calc(var(--s)/2) var(--c2);
  background-size: var(--s) var(--s);
  /* background-size: cover; */
  /* background-position: center; */
  height: 100%; /* Vollständige Höhe des Bildschirms */
  overflow: hidden; /* Verhindert horizontales Scrollen */
}

@font-face {
  font-family: 'Neonderthaw'; /*a name to be used later*/
  src: url('fonts/Neonderthaw-Regular.ttf'); /*URL to font*/
}
@font-face {
  font-family: 'Euphoria'; /*a name to be used later*/
  src: url('fonts/EuphoriaScript-Regular.ttf'); /*URL to font*/
}

/* Bild-Untertitel mit Beschreibung in der Slideshow  */
.carousel-caption {
  background: rgb(0,0,0,0.5);
  /* border: 0.01px solid white; */
  /* display: block!important; */
}
a.navbar-brand {
  flex-grow: 1;
  font-family: "Euphoria";
  font-size: 35pt;
  margin: 0px;
  border-bottom: 0.01px solid #000000;
  white-space: break-spaces;
  text-align: center;
}

.container-fluid {
  flex-wrap: wrap;
  flex-direction: column;
}

#kontakt .flex-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
}

#kontakt .flex-foto {
    padding: 20px;
}

#kontakt .flex-foto img {
    height: 400px;
    width: auto;
}

#kontakt .kontakt-daten {
    padding: 20px;
    display: flex;
    flex-direction: column;
    /* border: 0.01px solid rgb(0,0,0,0.2); */
    /* background: #92c0ff; */
}

#kontakt .kontakt-daten h2 {
    margin-bottom: 20px;
}

#handwerk h2, #biographie h2, #kontakt h2 {font-family: Euphoria;font-weight: bold;/* margin-top: 20px; */margin-bottom: 20px;font-size: 30pt;/* content: "Das Handwerk"; */text-align: center;}

#handwerk p {
    text-align: justify;
    padding-bottom: 10px;
}

.image.clearfix {
    width: 50%;
    overflow: hidden;
    /* border: 0.01px solid; */
    /* margin-top: 5px; */
    /* margin-left: 25px; */
    /* float: left; */
    padding: 10px;
    /* margin-right: 25px; */
}

.image.clearfix img {
    width: 100%;
}

#handwerk .text > div:first-of-type, #handwerk .text > div:last-of-type {
    /* float: right!important; */
    /* margin-left: 25px!important; */
    /* margin-right: 0px!important; */
    /* max-height: 500px; */
}

#handwerk .text > div:nth-child(2n) {
    /* float: left; */
    /* margin-right: 25px; */
    /* margin-left: 0px; */
}

.text {
    /* padding: 20px; */
    /* display: flex; */
    /* flex-direction: column; */
    /* align-items: center; */
}

.caption {
    padding: 10px;
}

        #biographie .container {
            max-width: 800px;
            /* margin: 20px auto; */
            /* padding: 20px; */
            background-color: #f9f9f9;
            border-radius: 10px;
        }

        #biographie h2 {
            margin-top: 0;
        }

        /* Biographie */
        #biographie .biography {
            /* display: flex; */
            /* grid-template-columns: auto 1fr; */
            margin-bottom: 20px;
            /* flex-direction: row; */
            /* flex-wrap: wrap; */
            width: 100%;
        }

        /* Arbeitsgebiete und Referenzobjekte */
        #biographie ul {
            list-style-type: disc;
            margin-left: 20px;
        }

.dates {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.dates p:nth-child(2n+1) {
    flex-basis: 150px;
    /* text-align: end; */
    /* padding-right: 20px; */
    padding-left: 35px;
}

.dates p:nth-child(2n) {
    flex-basis: calc(100% - 150px);
}

.dates p {
    margin-bottom: 15px;
}

#biographie h2 {
    font-family: "Euphoria";
    font-weight: bold;
    text-align: center;
}

.picside {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.textside {
    padding: 10px;
}

ul.navbar-nav.me-auto.mb-2.mb-lg-0 {
    flex-direction: row;
    width: 100%;
    justify-content: center;
}

 .nav-item {
    /* padding-right: 0px; */
    /* padding-left: 0px; */
    /* flex-basis: 25%; */
    /* font-size: 12pt!important; */
    display: flex;
    justify-content: center;
    /* align-items: center; */
    /* flex-wrap: nowrap; */
}

div#carouselExampleCaptions {
    margin: 0 20px;
}

span.carousel-control-next-icon, span.carousel-control-prev-icon {
    filter: drop-shadow(2px 4px 6px black);
    transform: scale(2);
}

footer {
    padding: 40px;
    font-size: 10pt;
    text-align: center;
}

a.nav-link.active {
    color: black;
    font-weight: bold;
}

a.nav-link {
    black;:
    black;
    color: #393939;
    font-size: 13pt!important;
    width: 25%;
}

.nav-item a {
    display: flex;
    justify-content: center;
    align-items: center;
}

li.nav-item {}

.nav-item a span {
    margin: 3px;
}

.nav-item a span i {
    font-size: 15pt;
}

.kontakt-daten i {
    font-size: 16pt;
    margin-right: 10px;
}

/* 
X-Small devices (portrait phones, less than 576px)
No media query for `xs` since this is the default in Bootstrap
*/

/* Small devices (landscape phones, 576px and up)*/
@media screen and (max-width: 576px) { 
    .textside, .text {
        padding: 0px!important;
    } 
        .carousel {
            margin: 0px 10px;
        }
    
        .carousel .carousel-caption.d-none.d-md-block {
            display: inline-block!important;
            margin-bottom: 20px!important;
            position: absolute!important;
        }
    
    .image.clearfix {
    width: 100%;
    }
    
    #kontakt .flex-foto img {
     height: 300px;
    }
    
    .kontakt-daten i {
        font-size: 16pt!important;
        align-self: center;
        margin-right: 15px;
    }
    
    .kontakt-daten p {
        display: flex;
        align-items: center;
    }
    a.navbar-brand {
    font-size: 26pt;
    }
    .nav-item a span:last-child {
        display: none;
    }
    .nav-item a span i {
        font-size: 22pt;
        margin: 10px
    }
}

/*  Medium devices (tablets, 768px and up)*/
@media (max-width: 768px) {
        .image.clearfix {
    width: 100%;
    }
}

/* Large devices (desktops, 992px and up)*/
@media (max-width: 992px) {  
/* Rand der Slideshow */
div#carouselExampleCaptions {
  margin: 0px 20px;
}
            .image.clearfix {
    width: 100%;
    }
}

/*  X-Large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {  }

/*  XX-Large devices (larger desktops, 1400px and up)*/
@media (min-width: 1400px) { }