html {
  box-sizing: border-box;
  font-size: 1rem;
}
@font-face {
  font-family: bergenSansBold;
  src: url(BergenSans-Bold.otf);
}
@font-face {
  font-family: bergenSansRegular;
  src: url(BergenSans-Regular.otf);
}
@font-face {
  font-family: platformMedium;
  src: url(Platform-Medium.ttf);
}
@font-face {
  font-family: garamondRegular;
  src: url(fonts/AGaramondPro-Regular.otf);
}
@font-face {
  font-family: covesLight;
  src: url(fonts/Coves-Light.otf);
}
@font-face {
  font-family: platformLight;
  src: url(Platform-Light.ttf);
}
@font-face {
  font-family: platformBold;
  src: url(Platform-Bold.ttf);
}
*,
*:before,
*:after {
  box-sizing: inherit;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul,
.header {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

ol,
ul {
  list-style: none;
}
a {
  color: #000000;
}
a:link {
  text-decoration: none;
}

a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

a:active {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}
body {
  /*    display: grid;*/
  height: 100vh;
  /* font-family: Futura, "Trebuchet MS", Arial, sans-serif;*/
  /* align-items: center;
    justify-content: center;
    background-image: linear-gradient(to right, #bada55 , yellow);*/
}
#fab-btn{
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right:20px; 
    z-index: 99; /* Make sure it does not overlap */
    font-size: 20px;
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
}

.header {
  font-size: 15vmin;
  font-style: normal;
  font-variant: normal;
  font-weight: 700;
  line-height: 13vmin;
  font-family: platformMedium, Arial, sans-serif;
  text-align: left;
}
.nullth {
  padding-top: 15%;
  float: left;
}
.first {
  float: left;
  clear: right;
  padding-top: 3%;
}
.second {
  text-align: right;
  float: right;
  clear: left;
}
.third {
  float: left;
  clear: right;
}
.sub {
  clear: both;
}
.nav-wrapper {
  display: flex;
  justify-content: space-between;
  padding-top: 50px;
  padding-bottom: 5px;
}
#wrapper {
  height: 100vh;
  min-height: 500px;
  background-color: #f7da22;
  display: grid;
  grid-template-columns: 50px 10fr 50px;
  grid-template-rows: 1fr;
  align-items: center;
  justify-content: center;
}
.portfolio,
.about,
.contact {
  font-size: 24px;
  font-family: garamondRegular, Arial, sans-serif;
}
.portfolio {
  cursor: pointer;
}
.about {
  cursor: pointer;
}
.contact {
  cursor: pointer;
}
.link {
  opacity: 0.7;
}
.link:hover {
  opacity: 1;
}
.pages {
  background-color: #ffffff;
  font-family: garamondRegular, Arial, sans-serif;
}
/*ABOUT*/
#about,
#contact {
  display: grid;
  grid-template-columns: 1fr;
  height: 100vh;
  align-items: center;
  justify-content: center;
}
#about-content,
#contact-content {
  padding: 20px;
  font-size: 3vw;
  /*    font-size: 32px; */
  font-style: normal;
  font-variant: normal;
  /*font-weight: 700; */
  line-height: 1.33333;
  font-family: garamondRegular, Arial, sans-serif;
  text-align: left;
}
/*PORTFOLIO*/
#p-wrapper {
  margin: auto;
  padding-bottom: 100px;
}
.full-height {
  height: 100vh;
}
#portfolio-content {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-auto-rows: 10vw;
  padding: 0 10px;
  /* grid-gap: 10px;*/
  /*    display: inline-grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-column-gap: 15px;
    grid-row-gap: 15px;*/
  /* justify-items: center;
    display: flex;
    justify-content: space-around;
    align-items:center;
    flex-wrap:nowrap;*/
}
/*cake for alf*/
.p-cake-1 {
  grid-column: 2 /5;
  grid-row: 1 / 4;
}
.p-cake-2 {
  grid-column: 6/8;
  grid-row: 2 / 5;
}
.p-baumzeit-1 {
  grid-column: 7 / 10;
  grid-row: 4 / 9;
}
.p-baumzeit-2 {
  grid-column: 1 / 6;
  grid-row: 7 / 12;
}
.p-baumzeit-3 {
  grid-column: 1/5;
  grid-row: 12 / 15;
}
.p-baumzeit-4 {
  grid-column: 5/10;
  grid-row: 11 / 14;
}
.p-baumzeit-5 {
  grid-column: 6/10;
  grid-row: 8 / 10;
}
.p-baumzeit-6 {
  grid-column: 3/8;
  grid-row: 14 / 17;
}
.p-baumzeit-7 {
  grid-column: 7/10;
  grid-row: 10 / 12;
}
.p-campusambulanz-1 {
  grid-column: 4/7;
  grid-row: 17 / 21;
}
.p-lichtschatten-1 {
    grid-column: 2/5;
    grid-row: 22 / 26;
  }
  .p-lichtschatten-2 {
    grid-column: 5/8;
    grid-row: 26 / 28;
  }
  .p-lichtschatten-3 {
    grid-column: 7/9;
    grid-row: 23 / 25;
  }
.p-item-text {
  font-size: 22px;
  text-align: left;
  padding-top: 20px;
}
.p-content {
  margin: auto;
  /*        display: none;*/
}
/*CONTENT*/
#contact-wrapper {
  display: flex;
  justify-content: center;
}
.flex-container {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}
.c-item {
  /*    text-align:center;*/
}
@media only screen and (max-width: 1160px) and (min-width: 680px) {
  .nullth {
    padding-top: 5%;
  }
}
@media only screen and (max-width: 900px) {
  .p-item-text {
    font-size: 16px;
  }
}
@media only screen and (max-width: 600px) {
  .header {
    font-size: 12vw;
    line-height: 11vw;
  }
  .nullth {
    padding-top: 0;
  }
  .first {
    padding-top: 0;
  }

  #wrapper {
    grid-template-columns: 5px 1fr 5px;
    height: 100vh;
    align-items: center;
  }
  #about {
    height: 100vh;
    grid-template-columns: 10px 1fr 10px;
  }
  #about-content,
  #contact-content {
    padding: 0;
    font-size: 24px;
    line-height: 1.33333;
    font-family: garamondRegular, Arial, sans-serif;
    text-align: left;
  }
  #portfolio-content {
    display: flex;
    flex-direction: column;
  }
  .p-item-text {
    font-size: 22px;
  }
  #contact {
    height: 100vh;
    grid-template-columns: 1fr;
  }
  .flex-container {
    flex-direction: column;
  }
  .padding-top {
    padding-top: 50px;
  }
}
