/*!
 * Start Bootstrap - Agency v5.2.2 (https://startbootstrap.com/template-overviews/agency)
 * Copyright 2013-2019 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-agency/blob/master/LICENSE)
 */

/*
Logo + Headlines
font-family: 'Cinzel Decorative', cursive;
font-family: 'Playball', cursive;
font-family: 'Megrim', cursive;
font-family: 'Spirax', cursive;

Fliesstext:
font-family: 'Tajawal', sans-serif;


Farben
Primärfarbe: #efa837
Text auf dunkel: #7e7b75

*/

/* Preloader */
#preloader {
  position: fixed;
  top:0;
  left:0;
  right:0;
  bottom:0;
  background-color: white; 
  z-index: 1100; /* makes sure it stays on top */
}

#status {
  width:200px;
  height:200px;
  position:absolute;
  left:50%;
  top:50%;
  background-image: url(../img/logo-sanduhr.gif); 
  background-repeat:no-repeat;
  background-position:center;
  margin:-100px 0 0 -100px; 
}

body {
  overflow-x: hidden;
  overflow-y: hidden;
  font-family: 'Tajawal', 'Segoe UI', 'Helvetica', Arial, sans-serif;
  font-size: 1.2rem;
  color: #7e7b75;
}

@media all and (max-width: 450px) {
  body {
    font-size: 1rem;
  }
}

p {
  line-height: 1.4;
}

a {
  color: #efa837;
}

a:hover {
  color: #d48810;
}

.color-text-primary {
  color: #efa837 !important;
}

h1,
h2,
h3 {
  font-weight: 700;
  font-family: 'Cinzel Decorative', serif;
}

h4,
h5,
h6 {
  font-weight: 700;
  font-family: 'Tajawal', 'Segoe UI', 'Helvetica', Arial, sans-serif;
}

/* Animations */
.slideFadeIn {
  -webkit-animation-name: slideFadeIn;
  -webkit-animation-duration: 0.7s;
  animation-name: slideFadeIn;
  animation-duration: 0.7s;
}

.slideFadeIn:nth-child(even) {
  animation-duration: 1.4s; /* So they look staggered */
  -webkit-animation-duration: 1.4s;
}

@keyframes slideFadeIn {
  from {  opacity: 0; 
          transform: translateY(150px);
        }
  to   {  opacity: 1; 
          transform: translateY(0px);
        }
}


.fadeIn {
  -webkit-animation-name: fadeIn;
  -webkit-animation-duration: 0.5s;
  animation-name: fadeIn;
  animation-duration: 0.5s;
}

@keyframes fadeIn {
  from {  opacity: 0; 
        }
  to   {  opacity: 1; 
        }
}

.filterFadeIn {
  -webkit-animation-name: filterFadeIn;
  -webkit-animation-duration: 0.5s;
  animation-name: filterFadeIn;
  animation-duration: 0.5s;
}

.filterFadeIn:nth-child(even) {
  animation-duration: 1.4s;
  -webkit-animation-duration: 1.4s;
}

@keyframes filterFadeIn {
  from {  opacity: 0; 
        }
  to   {  opacity: 1; 
        }
}

/* Slider Gallery */

.gallery-slides {
  margin: auto;
}
.gallery-slides > img {
  max-width: 95%;
  max-height: 95vh;
}

/* Next & previous buttons */
.prev,
.next {
  position: absolute;
  top: 50%;
  width: auto;
  padding: 20px;
  margin-top: -50px;
  color: #444 !important;
  font-weight: bold;
  font-size: 30px;
  transition: 0.4s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
  cursor: pointer;
}

.prev {
  left: 0;
  border-radius: 3px 0 0 3px;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
  opacity: 0.7;
}

.active {
  opacity: 1;
}


/* end Slider Gallery */


.page-section {
  padding: 130px 0;
}

.clearfix {
  clear: both;
  height: 0;
}

.page-section h2.section-heading {
  font-size: 2em;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-section h3.section-subheading {
  font-size: 1em;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 75px;
  text-transform: none;
  font-family: 'Tajawal', sans-serif;
}
.text-center {
  padding: 0 20px;
}
.bg-light {
  background-color: #f8f9fa !important;
}

.bg-dark {
  background-color: #0d1112 !important;
}

@media (min-width: 768px) {
  section {
    padding: 150px 0;
  }
}

::-moz-selection {
  background: #f4c67b;
  text-shadow: none;
}

::selection {
  background: #f4c67b;
  text-shadow: none;
}

img::-moz-selection {
  background: transparent;
}

img::selection {
  background: transparent;
}

img::-moz-selection {
  background: transparent;
}

.btn {
  font-family: 'Tajawal', 'Segoe UI', 'Helvetica', Arial, sans-serif;
}

.btn-xl {
  font-size: 18px;
  padding: 20px 40px;
}

.btn-primary {
  background-color: #efa837;
  border-color: #efa837;
}

.btn-primary:active, .btn-primary:focus, .btn-primary:hover {
  background-color: #d48810 !important;
  border-color: #d48810 !important;
  color: white;
}

.btn-primary:active, .btn-primary:focus {
  box-shadow: 0 0 0 0.2rem rgba(22,23,24,0.3) !important;
}

#mainNav {
  padding-top: 120px;
  padding-bottom: 25px;
  transition: padding-top 0.8s, padding-bottom 0.8s, background 0.8s;
  border: none;
  background-color: rgba(22,23,24,0.8);
  background: linear-gradient(180deg, rgba(22,23,24,0.8) 0%, rgba(22,23,24,0) 100%);
}

@media all and (max-width: 450px) {
  #mainNav {
    padding-top: 60px;
  }
}
.navbar-expand {
  -ms-flex-flow: wrap;
  flex-flow: wrap;
}

#mainNav .navbar-toggler {
  right: 0;
  padding: 13px;
  text-transform: uppercase;
  color: white;
  border: 0;
  background-color: #efa837;
  font-family: 'Tajawal', sans-serif;
}
#mainNav .navbar-brand-container {
  width: 100%;
  text-align: center;
}

#mainNav .navbar-brand {
  margin-right: 0;
  font-family: 'Cinzel Decorative', serif;
  font-size: 3em;
  transition: all 0.5s;
}

@media all and (max-width: 450px) {
  #mainNav .navbar-brand {
    white-space: normal;
    line-height: 120%;
  }
}

#mainNav .navbar-brand-subline {
  font-size: 1.2em;
  padding: 0 0 12px 0;
  transition: all 0.5s;
}

#mainNav .navbar-brand:hover {
  color: #d48810!important;
}

#mainNav .navbar-brand-subline {
  font-family: 'Tajawal', sans-serif;
}

#mainNav .navbar-nav .nav-item {
  display: inline;
}

#mainNav .navbar-nav .nav-item .nav-link {
  font-weight: 400;
  padding: 0.75em 0;
  letter-spacing: 1px;
  color: white;
  font-family: 'Tajawal', sans-serif;
  font-size: 1em;
  padding: 1em;
  transition: color 0.5s;
}

#mainNav .navbar-nav .nav-item .nav-link.active, #mainNav .navbar-nav .nav-item .nav-link:hover {
  color: #efa837;
}


#mainNav.navbar-shrink {
  padding-top: 0;
  padding-bottom: 0;
  background: rgba(22,23,24, 0.8);
}
#mainNav.navbar-shrink .navbar-brand {
  font-size: 1.75em;
  padding: 12px 0 0 0;
}
#mainNav.navbar-shrink .navbar-brand-subline {
  font-size: 0.8em;
  padding: 0;
}

@media all and (max-width: 450px) {
  #mainNav.navbar-shrink .navbar-brand {
    font-size: 1.5em;
  }
  #mainNav.navbar-shrink .navbar-brand-subline {
    font-size: 0.7em;
  }
}

header.masthead {
  text-align: center;
  color: white;
  background-image: url("../img/portfolio/wiedehopf6_klein.jpg");
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center center;
  background-size: cover;
  height: 100vh;
}

.service-heading {
  margin: 15px 0;
  text-transform: none;
}

.row .list-inline {
  display: inline-flex;
  list-style: none;
}

.portfolio-container {
  max-width: 1490px;
  margin: auto;
}

.portfolio-filter-buttons {
  margin-bottom: 20px;
}
.portfolio-filter-buttons .filter-button {
  text-transform: uppercase;
  background-color: transparent;
  color: #7e7b75;
  border: 1px solid #7e7b75;
  border-radius: 3px;
  padding: 3px 10px;
  transition: all 0.5s;
  margin-bottom: 3px;
}
.portfolio-filter-buttons .filter-button:hover {
  color: #efa837;
  border: 1px solid #efa837;
  outline-color: #efa837;
  border-radius: 6px;
}
.portfolio-filter-buttons button:focus {
  outline-color: #efa837;
}

.portfolio-filter-buttons .filter-button.active {
  color: #efa837;
  border: 1px solid #efa837;
}

.portfolio-item.visible {
    display: flex;
}
.portfolio-item.hidden {
    display: none;
}

.portfolio-grid {
  display: grid;
  grid-gap: 0px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-auto-rows: 100px;
  grid-auto-flow: row dense;
  padding: 0 5px;
}

@media all and (min-width: 1200px) and (max-width: 1420px) {
  .portfolio-grid {
    grid-auto-rows: 80px;
  }
}

@media all and (min-width: 900px) and (max-width: 1060px) {
  .portfolio-grid {
    grid-auto-rows: 80px;
  }
}

@media all and (min-width: 600px) and (max-width: 700px) {
  .portfolio-grid {
    grid-auto-rows: 80px;
  }
}

@media all and (min-width: 600px) and (max-width: 750px) {
  #mainNav .navbar-brand {
    font-size: 2.5em;
  }
}

@media all and (max-width: 599px) {
  .portfolio-grid {
    display: block;
  }
  .portfolio-link {
    pointer-events: none;
  }
  #mainNav .navbar-brand {
    font-size: 1.8em;
  }
}


.portfolio-link {
  position: relative;
}

.portfolio-item {
  margin: 5px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  grid-column-start: auto;
  grid-row-start: auto;
  overflow: hidden;
  justify-content: center;
  transition: all 0.5s ease;
}

.portfolio-item.row-2 {
  grid-row-end: span 2;
}
.portfolio-item.row-3 {
  grid-row-end: span 3;
}
.portfolio-item.row-4 {
  grid-row-end: span 4;
}
.portfolio-item.row-5 {
  grid-row-end: span 5;
}
.portfolio-item.row-6 {
  grid-row-end: span 6;
}

.portfolio-item .portfolio-item-caption {
  position: absolute;
  width:100%;
  box-sizing: border-box;
  margin: 5px;
  left: -5px;
  bottom: -5px;
  text-align: center;
  background: rgba(22,23,24,0.8);
  padding: 15px;
  opacity: 0;
  transition: all ease 0.8s;
  color: white;
  pointer-events: none;
}

@media all and (min-width: 600px) {
  .portfolio-item:hover {
    margin: 0px;
  }
}

.portfolio-item:hover .portfolio-item-caption {
  opacity: 1;
}

.portfolio-item .portfolio-caption {
  max-width: 400px;
  margin: 0 auto;
  padding: 25px;
  text-align: center;
  background-color: #fff;
}

#portfolio .portfolio-item .portfolio-caption h4 {
  margin: 0;
  text-transform: none;
}

#portfolio .portfolio-item .portfolio-caption p {
  font-size: 16px;
  font-style: italic;
  margin: 0;
  font-family: 'Tajawal', sans-serif;
}

#portfolio * {
  z-index: 2;
}

.portfolio-modal {
  padding: 0 !important;
  background: rgba(0,0,0,0.7);
}

.portfolio-modal .modal-dialog {
  max-width: 1400px;
  margin: 0 auto;
  pointer-events: all;
}

.portfolio-modal .modal-content {
  width: 100%;
  height: 100vh;
  padding: 30px;
  text-align: center;
  background: transparent;
}

.portfolio-modal .modal-content h2 {
  font-size: 3em;
}

.portfolio-modal .modal-content p {
  margin-bottom: 30px;
}

.portfolio-modal .modal-content p.item-intro {
  font-size: 16px;
  margin: 20px 0 30px;  
  font-family: 'Tajawal', sans-serif;
}

.portfolio-modal .modal-content ul.list-inline {
  margin-top: 0;
  margin-bottom: 30px;
}

.portfolio-modal .modal-content button {
  cursor: pointer;
}

#portfolio-modal-item-description {
  color: #666;
}

.portfolio-modal .close-modal {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  cursor: pointer;
  background-color: transparent;
  transition: 0.4s ease;
}

.portfolio-modal .close-modal:hover {
  opacity: 0.7;
}

.portfolio-modal .close-modal .lr {
  /* Safari and Chrome */
  z-index: 1051;
  width: 1px;
  height: 35px;
  margin-left: 35px;
  /* IE 9 */
  transform: rotate(45deg);
  background-color: #666;
}

.portfolio-modal .close-modal .lr .rl {
  /* Safari and Chrome */
  z-index: 1052;
  width: 1px;
  height: 35px;
  /* IE 9 */
  transform: rotate(90deg);
  background-color: #666;
}

.timeline {
  position: relative;
  padding: 0;
  list-style: none;
}

.timeline:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40px;
  width: 2px;
  margin-left: -1.5px;
  content: '';
  background-color: #e9ecef;
}

.timeline > li {
  position: relative;
  min-height: 50px;
  margin-bottom: 50px;
}

.timeline > li:after, .timeline > li:before {
  display: table;
  content: ' ';
}

.timeline > li:after {
  clear: both;
}

.timeline > li .timeline-panel {
  position: relative;
  float: right;
  width: 100%;
  padding: 0 20px 0 100px;
  text-align: left;
}

.timeline > li .timeline-panel:before {
  right: auto;
  left: -15px;
  border-right-width: 15px;
  border-left-width: 0;
}

.timeline > li .timeline-panel:after {
  right: auto;
  left: -14px;
  border-right-width: 14px;
  border-left-width: 0;
}

.timeline > li .timeline-image {
  position: absolute;
  z-index: 100;
  left: 0;
  width: 80px;
  height: 80px;
  margin-left: 0;
  text-align: center;
  color: white;
  border: 7px solid #e9ecef;
  border-radius: 100%;
  background-color: #efa837;
}

.timeline > li .timeline-image h4 {
  font-size: 25px;
  line-height: 86px;
}

.timeline > li.timeline-inverted > .timeline-panel {
  float: right;
  padding: 0 20px 0 100px;
  text-align: left;
}

.word-cloud {
  text-align: center;
}

.word-cloud > span {
  margin: 10px 5px;
  white-space: nowrap;
}

.timeline > li.timeline-inverted > .timeline-panel:before {
  right: auto;
  left: -15px;
  border-right-width: 15px;
  border-left-width: 0;
}

.timeline > li.timeline-inverted > .timeline-panel:after {
  right: auto;
  left: -14px;
  border-right-width: 14px;
  border-left-width: 0;
}

.timeline > li:last-child {
  margin-bottom: 0;
}

.timeline .timeline-heading h4 {
  margin-top: 0;
  color: inherit;
}

.timeline .timeline-body > ul,
.timeline .timeline-body > p {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .timeline:before {
    left: 50%;
  }
  .timeline > li {
    min-height: 100px;
    margin-bottom: 100px;
  }
  .timeline > li .timeline-panel {
    float: left;
    width: 41%;
    padding: 0 20px 20px 30px;
    text-align: right;
  }
  .timeline > li .timeline-image {
    left: 50%;
    width: 100px;
    height: 100px;
    margin-left: -50px;
  }
  .timeline > li.timeline-inverted > .timeline-panel {
    float: right;
    padding: 0 30px 20px 20px;
    text-align: left;
  }
}

/*
@media (min-width: 992px) {
  .timeline > li {
    min-height: 150px;
  }
  .timeline > li .timeline-panel {
    padding: 0 20px 20px;
  }
  .timeline > li .timeline-image {
    width: 150px;
    height: 150px;
    margin-left: -75px;
  }
  .timeline > li .timeline-image h4 {
    font-size: 18px;
    line-height: 26px;
    margin-top: 30px;
  }
  .timeline > li.timeline-inverted > .timeline-panel {
    padding: 0 20px 20px;
  }
}

@media (min-width: 1200px) {
  .timeline > li {
    min-height: 170px;
  }
  .timeline > li .timeline-panel {
    padding: 0 20px 20px 100px;
  }
  .timeline > li .timeline-image {
    width: 170px;
    height: 170px;
    margin-left: -85px;
  }
  .timeline > li .timeline-image h4 {
    margin-top: 40px;
  }
  .timeline > li.timeline-inverted > .timeline-panel {
    padding: 0 100px 20px 20px;
  }
}
*/
section#contact {
  /*background-image: url("../img/Selbstportrait_Banner2.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;*/
}

.contact-button {
  display: inline-block;
  width: 80px;
  height: 80px;
  margin-left: 0;
  text-align: center;
  color: white;
  border-radius: 100%;
  background-color: #efa837;
  padding: 22px;
  margin: 0 15px; 
  font-size: 25px;
  transition: background-color 0.5s ease;
}

.contact-button:hover {
  color: white;
  background-color: #d48810;
}

.footer {
  padding: 1em;
  text-align: center;
  position: relative;
  background-color: white;
}

.footer-copyright {
  font-size: 1em;
  line-height: 40px;
}
