@font-face {
  font-family: "Mabry";
  src: url("./fonts/mabry-regular-pro.woff2") format("woff2"), url("./fonts/mabry-regular-pro.woff")
      format("woff");
}

body{
  margin: 0px;
  font-family: "Mabry", 'Helvetica', sans-serif !important;
  font-size: 0.9em;
  font-weight: 300;
  background-color: #8D6CFF;
}

h1{
  font-size: 2em;
  text-transform: uppercase;
  font-weight: 300;
  margin-top: 0px;
  margin-bottom: 2em;
}

h3{
  margin-top: 1em;
  margin-bottom: 0.5em;
  text-transform: uppercase;
  font-weight: 300;
  font-size: 1em;
}

h4{
  margin-top: 0em;
  margin-bottom: 0em;
  text-transform: uppercase;
  font-weight: 300;
  font-size: 1em;
  color: #8D6CFF;
}

p{
  margin-top: 0px;
  font-size: 2em;
  font-weight: 300;
  margin-bottom: 0.5em;
}

.basegrid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: auto;
}

.about{
  background-color: transparent;
  background-position: center;
  background-size: cover;
  color: white;
  min-height: 100vh;
  height: 100vh;
  overflow: scroll;
}

#about-inside{
  padding: 30px;
}

.reference{
  background-color: #D4FF00;
  background-image: url("./images/PS_Profilbild.jpg");
  background-position: center;
  background-size: cover;
  height: 100vh;
  overflow: scroll;
}

.reference-container{
  padding: 30px;
}

.reference-list{
  background-color: white;
  color: black;
  display: none;
}

.referencegrid{
  margin-top: 0em;
  display: grid;
  grid-template-columns: 4fr 3fr 1fr;
  grid-gap: 1em;
  margin-bottom: 1em;
}

.divider{
  grid-column: span 3;
  margin-top: 1em;
  border-bottom: solid 1.25px black;
}

.reference-desc{
  margin-bottom: 1em;
}

.reference-orange{
  color: #FF8C3C;
}

.button-reference{
  padding: 0px;
  background-color: transparent;
}

.button-about{
  color: white;
  padding: 0px;
  background-color: transparent;
}

.button-about:hover{
  background-color: transparent;
}

.button-reference:hover{
  background-color: transparent;
}


button{
  background-color: #D4FF00;
  color: black;
  font-size: 1em;
  font-family: "Mabry", 'Helvetica', sans-serif;
  display: inline-block;
  border: none;
  font-weight: 300;
  margin-right: 0.5em;
  margin-left: 0px;
  margin-top: 0px;
  margin-bottom: 0px;
  padding: 0.5em 0.8em;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  transition: background 250ms ease-in-out, 
              transform 150ms ease;
}

button:hover{
  background-color: #B2D600;
}

.buttons{
  position: fixed;
  bottom: 30px;
}

a{
  text-decoration: none;
  color: inherit;
}

/* Style the buttons that are used to open and close the accordion panel */
.accordion {
  background-color: white;
  color: black;
  cursor: pointer;
  padding: 0px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 1em;
  transition: 0.4s;
}

.accordion:hover {
  background-color: white;
}

.panel {
  padding: 0px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.reference-element{
  border-top: solid 1px black;
  padding-top: 1em;
  padding-bottom: 1em;
}

.green{
  text-transform: uppercase;
}

video{
  width: 50vw;
  height: 100vh;
  object-fit: cover;
  position: fixed;
  z-index: -10;
  top: 0px;
  left: 0px;
  background-color: #8D6CFF;
  height: 100vh;
}

.reference-title{
  position: fixed;
  right: 20px;
}

@media only screen and (max-width: 1200px) {
  body{
    font-size: 0.7em;
  }
}

@media only screen and (max-width: 900px) {
  .basegrid {
    display: block;
    position: relative;
  }

  #about-inside{
    padding: 0px;
  }

  .reference-container{
    padding: 0px;
  }

  body{
    font-size: 0.6em;
  }

  video{
    height: 100vh;
    width: 100vw;
    object-fit: cover;
    position: absolute;
  }

  .about{
    height: auto;
    min-height: 45vh;
    padding: 10px;
  }

  .reference{
    padding: 10px;
    height: auto;
    min-height: 50vh;
  }

  .buttons{
    position: relative;
    bottom: 0px;
  }

  .referencegrid{
    grid-template-columns: 1fr;
  }

  .reference-list{
    font-size: 1em;
  }

  .reference-labels{
    display: none;
  }

  .reference-year{
    display: none;
  }

  .reference-category{
    display: none;
  }

  .reference-name{
    font-size: 2em;
  }

  .green{
    font-size: 1.5em;
  }

  .reference-title{
    position: relative;
    right: 0px;
  }
}
