::root {
  --color-h2opacity: #41465f;
  --c-buttondark: rgb(9, 86, 122);
  --c-buttonlight: rgb(96, 162, 193);
  --c-progress: rgb(80, 74, 6);
}
.o-container {
  max-width: 100vw;
  margin: 0 auto;
}

a:hover,
a:focus,
a:active {
  color: #096d8b;

  transition: all 0.15s linear;
  border-bottom: 1px solid #096d8b;
}

a {
  color: var(--c-buttonlight);
}

sup {
  top: -0.5em;
  left: -0.5rem;
}

.o-section__content {
  padding-top: 20px;
}
.wspace {
  padding-bottom: 5rem;
}
.zitat-relative {
  position: relative;
}

.wrapper {
  /* width: 100vw;
    height: 100vh; */

  display: grid;
  grid-template-columns: repeat(
    20,
    5%
  ); /* Spalten definieren zuerst Anzahl dann prozent*/
  grid-template-rows: auto auto 40px repeat(4, auto); /* Nav und header % 
                                            Reihen mit Auto da inhalt variable bleibt */
  /* grid-gap: 1rem 1rem; */
  overflow-x: hidden; /* links und rechts overflow  ein 
                                                scrollbalken in der Breite verschwindet*/
}

h2 {
  font-size: 1.5rem;
  text-align: center;
  background-color: var(--c-main);
  color: var(--c-fontdark);
  padding: 1rem;
}

.t-title__second-word {
  color: var(--c-highlight);
}

.t-title__second-word {
  color: var(--c-highlight);
}

.second-word-dark {
  color: #1d1f2a;
}

.t-sub-title {
  color: var(--c-fontdark);
  border-bottom: 1px solid var(--c-fontgreen);

  width: 100%;
  /*  margin-left: -3%; */
  position: relative;
}

.c-header__contact-divider {
  margin-bottom: 1.75rem;
  background-color: var(--c-main);
  width: 60%;
}

.linkedin-profil {
  display: inline-block;
  padding: 5px;
  position: absolute;
  top: 0px;
  right: 0px;
}

.linkedin-profil:hover {
  transform: scale(1.2);
}

.fa-book::before {
  font-family: "FontAwesome";
  font-size: 1.5rem;
  margin-right: 0.3rem;
  content: "\f5db";
  color: var(--c-fontgreen);
  padding-right: 10px;
  display: inline-block;
}

.fa-book .in-view {
  margin-bottom: 5px;
}

.text {
  text-transform: uppercase;
}

hr {
  background: var(--c-highlight);
  width: 80%;
  margin: 0 auto;
  height: 1px;
}

.hr-light {
  background: var(--c-fontgreen);
  width: 70%;
  margin: 2rem 0 2rem 0;
  transform: translate(-200px, 0px);
}

.contact-form hr {
  background: var(--c-highlight);
  width: 80%;
  margin: 0 auto;
  height: 1px;
}

.portfoliolist {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}
.c-header__brand,
.c-header__avatar,
.c-header__contact {
  text-align: center;
  position: relative;
}

.c-header__avatar {
  padding-left: 20px;
}

.c-avatar__img {
  width: 9rem;
  transform: translate(0px, 8px);
}

.c-social-buttons {
  display: -ms-flexbox;
  display: flex;
  position: absolute;
  top: 394px;
  right: 40px;
}
.o-section__header {
  padding: 2.15rem 0em 1.4rem;
}

.o-grid {
  justify-content: center;
  width: 95%;
  margin: 0 auto;
}

.o-grid.o-grid--gallery {
  width: 100%;
  margin: 10px 0 auto 20px;
  justify-content: center;
}

.a-progress-bar,
.c-progress-bar__filler,
.t-primary-bg .in-view {
  position: absolute;
  top: 0;
  left: 0;
}

/************************* Progressbar ohne JS ****************************************/

/* ========================================================
  Mixins
======================================================== */
/* ========================================================
  Progress Bar
======================================================== */

@keyframes progress-bar-animate {
  from {
    background-position: 40px 0;
  }
  to {
    background-position: 0 0;
  }
}
.progress {
  overflow: hidden;
  height: 10px;
  border-radius: 10px;
  background-image: linear-gradient(to bottom, #ccc 0%, #ddd 100%);

  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}
.progress-bar {
  width: 0%;
  height: 100%;
  float: left;
  box-sizing: border-box;
  background-color: rgb(3, 97, 3);
  background-size: 40px 40px;
  border-radius: 10px 0 0 10px;

  background-image: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.2) 30%,
    rgba(0, 0, 0, 0.1) 30%,
    rgba(0, 0, 0, 0.1) 34%,
    transparent 34%,
    transparent 46%,
    rgba(0, 0, 0, 0.1) 46%,
    rgba(0, 0, 0, 0.1) 50%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.2) 80%,
    rgba(0, 0, 0, 0.1) 80%,
    rgba(0, 0, 0, 0.1) 84%,
    transparent 84%,
    transparent 96%,
    rgba(0, 0, 0, 0.1) 96%,
    rgba(0, 0, 0, 0.1)
  );

  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);

  -o-transition: width 200ms ease;
  transition: width 200ms ease;

  animation: progress-bar-animate 1s linear infinite;
}

/****************************** Ende ****************************/

.bg-img {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left top;
  position: absolute;
  top: 0;
  left: -20px;
  width: 60%;
}

.m-auto {
  width: 90%;
  margin: 0 auto;
  padding: 10px;
}
.p-0-t {
  margin-top: 5rem;
  padding: 0;
}
.p-0 {
  padding: 0;
  width: 100%;
}
.font-hell {
  color: whitesmoke;
  border-bottom: 1px solid white;
  margin-bottom: 0.3rem;
}
.adress {
  margin: 0px;
}
.abstand-widget {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  width: 14rem;
}
.fullbox {
  padding: 0rem;
  width: 100%;
  /*  z-index: 10; */
}
.p-intro {
  padding: 0.5rem;
}
.o-content__body.o-section__description {
  padding-left: 0.5rem;
}
.bar-big {
  height: 10px;
}

/************************** ************************
***********************Portfolio Grid ***************************
**************************************************/
/* 
.o-grid__col-sm-6:nth-child(1n) {
  column-gap: 2px;
  margin-right: 0;
  margin-left: 0;
  display: flex;
  row-gap: 50px;
  flex-direction: row;
  align-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
} */

.t-primary-color,
.t-primary-color-line,
.t-primary-bg,
.c-timeline__point,
.t-timeline__point,
.t-primary-bg {
  color: var(--c-highlight);
}

.section-relative {
  position: relative;
}

.fixedlist {
  position: relative;
}
.portfolio-container {
  height: 100vh;
  width: 100%;

  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  flex-wrap: wrap;
}
.portfoliolist-fix {
  height: 56px;
  width: 100%;
  position: relative;

  padding: 10px;
  display: flex;
  justify-content: flex-end;
}

.portfoliolist-box {
  background: rgb(249, 252, 252);
  background: linear-gradient(
    180deg,
    rgba(249, 252, 252, 1) 0%,
    rgba(149, 138, 0, 0.41780462184873945) 36%,
    rgba(149, 138, 0, 0.7035189075630253) 50%,
    rgba(149, 138, 0, 0.8183648459383753) 76%,
    rgba(149, 138, 0, 0.8575805322128851) 100%
  );
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
  margin-right: 0px;
}
.einzelne-box {
  display: flex;
  justify-content: center;
  align-items: center;
}
.portfoliolist-fix h3 {
  font-size: 0.9rem;
}

.o-media h3 {
  color: var(--c-fontgreen);
  font-weight: bold;
}
.font-c h3 {
  font-weight: normal;
  color: gray;
}

.nivo-lightbox-content {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
}

.nivo-lightbox-theme-default.nivo-lightbox-overlay {
  background: #666;
  background: rgba(0, 0, 0, 0.8);
}

.footerfull {
  width: 100vw;
  background-color: none;
  background-color: transparent;
}
.bgtransparent {
  background-color: transparent;
}
.content-full {
  width: 100%;
  padding-right: 0px;
  display: flex;
  flex-wrap: wrap;
  padding-top: 0px;
  justify-content: space-around;
}
/* 
.content-70 {
  width: 70%;
} */
.footer-widget-center h4 {
  margin-bottom: 5px;
  color: var(--c-main);
  font-size: 0.8rem;
  opacity: 0.6;
}
.footer-widget-center:first-child {
  transform: translate(20px 0px);
}

.c-footer__contact {
  display: flex;
  /*  width: 126%; */
  align-items: flex-end;
  justify-content: flex-end;
  overflow: visible;
  padding-right: 1rem;
}

.o-section__content {
  padding: 0rem;
}
.o-section__heading h2 {
  font-size: 1.3rem;
}

.o-content__body h4 {
  color: var(--c-fontdark);
  margin-bottom: 0px;
}
.o-media--block > .o-media__figure {
  margin-left: 0;
  margin-right: 5px;
  width: 2.8rem;
}
.modul {
  line-height: normal;
  margin-left: 0px;
}
.listpoint {
  margin-bottom: 1.55rem;
}

.listpoint li {
  margin-left: 1.5rem;
}

ul,
ol,
dd {
  margin-left: 0px;
}

.listpoint a {
  margin-right: 0;
}

.c-work__heading {
  font-weight: 600;
  color: var(--c-fontgreen);
  margin-bottom: 0px;
}

.c-work__timeframe {
  color: var(--c-fontdark);
  font-size: 0.9rem;
}
.c-work__timeframe,
.c-work__location {
  opacity: 0.8;
  font-size: 0.9rem;
}
.content-f {
  width: 85%;
  margin: 0 auto;
}
.c-timeline__point {
  height: 10px;
  width: 10px;
  position: absolute;
  left: -31px;
  top: 3px;
  border-radius: 50%;
}

.c-header__top {
  margin-bottom: 4.75rem;
}

.zitat-box-header {
  display: none;
}
.o-grid__col-md-3:last-child {
  margin-right: 0;
  width: 100%;
  padding-right: 3.5rem;
}

/* ***************Reading Progress Bar ***********************/
#reading-progress {
  position: fixed;
  top: 0px;
  width: 100%;
  height: 5px;
  margin: 0px;
  left: 0px;
  z-index: 999999;
}
#reading-progress .bar {
  height: 5px; /* Die Höhe des Balkens */
  position: fixed;
  top: 0px;
  z-index: 99;
  background-color: var(--c-fontgreen); /* Die Farbe des Balkens. Hier Rot */
}

/******************************************** @media min big phone *******************
***************************************************************************************
***************************************************************************************/

@media (min-width: 580px) {
  .c-avatar__img {
    width: 9rem;
    transform: translate(59px, 8px);
  }
  .zitat-box-header {
    display: none;
  }
}

/******************************************** @media min 605px *******************
***************************************************************************************
***************************************************************************************/

@media (min-width: 605px) {
  .o-grid__col-md-3:last-child {
    margin-right: 0;
    width: 37%;
    padding: 0;
  }
}
/******************************************** @media min 1024 px *******************
***************************************************************************************
***************************************************************************************/

@media (min-width: 1024px) {
  .t-section,
  .t-section__header,
  .t-section--header .t-section__header,
  .o-section__header {
    background-color: var(--c-main);
  }

  /* Jede zweite box links */
  .t-section:nth-child(even),
  .t-section:nth-child(even) .t-section__header {
    background-color: var(--c-main);
  }
  .o-section__header {
    /* jede dritte Box links */
    width: 26%;
  }
  .o-section__header {
    padding: 0.15rem 0em 1.4rem;
  }
  .section-p {
    padding-bottom: 2rem;
  }

  .c-header__top {
    margin-bottom: 4.75rem;
  }

  .section-sm {
    width: 26%;
  }

  .o-section__content {
    /* padding-left: 34px; */
    width: 80%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .t-section__content {
    background: #fff;
    display: flex;
    flex-wrap: wrap;
  }
  .content-full {
    background: #fff;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
  }

  .o-content {
    width: 85%;
    margin: 0 auto;
  }

  .p-0 {
    padding: 0;
    width: 100%;
  }

  .c-header__social-buttons {
    position: absolute;
    bottom: 0;
    top: 16px;
    right: 100px;
  }
  .c-brand {
    padding-bottom: 0px;
  }

  .o-section__container {
    /*  z-index: 2; */
    position: relative;
    display: -ms-flexbox;
    display: flex;
    /* padding-top: 40px; */
  }

  .wspace {
    padding-bottom: 5rem;
  }
  .c-header__inner-header,
  .c-header__inner-content {
    position: relative;
    height: 100%;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: center;
    justify-content: flex-end;
    width: 100%;
  }

  .c-header__inner-header {
    display: flex;
    justify-content: center;
  }

  .c-header-avatar {
    display: flex;
    justify-content: center;
  }

  .c-header__avatar {
    margin-top: 0rem;
    text-align: right;
    position: absolute;
    top: 5rem;
    right: -6rem;
    z-index: 100;
  }

  .a-header,
  .c-avatar {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .c-avatar__img {
    width: 15rem;
    transform: translate(53px, 10px);
  }

  .portfoliolist-box {
    margin-right: 10%;
  }
  .portfoliolist-box {
    width: 100%;
    margin-bottom: 11px;
  }

  hr {
    margin: 3rem auto 3rem auto;
  }

  .o-grid.o-grid--gallery {
    width: 85%;
    margin: 10px 0 auto 20px;
    justify-content: center;
  }

  .fullbox {
    padding: 0rem;
    width: 100%;
  }

  .zitat-box-header {
    display: inline-block;
    width: 25rem;
    height: 22rem;
    position: absolute;
    top: -37vh;
    left: 41vw;
    transform: rotate(20deg);
  }

  .header-zitat {
    width: 100%;
  }
}

/******************************************** @media min 1260 px *******************
***************************************************************************************
***************************************************************************************/

@media screen and (min-width: 1260px) {
  h2 {
    font-size: 1.5rem;
    text-align: center;
    background-color: var(--c-main);
    color: var(--c-fontdark);
    padding: 1rem;
  }

  .c-avatar__img {
    width: 17rem;
  }

  .c-brand {
    padding-bottom: 0px;
  }
  .c-header__top {
    margin-bottom: 4.75rem;
  }

  .c-brand__title {
    margin-bottom: 3.4rem;
  }

  .c-brand h2 {
    margin-bottom: -40px;
  }

  .o-grid {
    width: 100%;
  }
  .max-box:last-child {
    width: 30%;
  }

  .zitat-box-header {
    display: inline-block;
    width: 30rem;
    height: 21rem;
    position: absolute;
    top: -31vh;
    transform: rotate(20deg);
  }

  .header-zitat {
    width: 100%;
  }
}
