:root {
  --padding: 1.5rem;
}

body {
  background: #fff;
	border: none;
  color: #152930; 
	font-family: 'Libre Franklin', -apple-system, 'Helvetica Neue', sans-serif;
  font-size: 20px;
  padding: var(--padding);
  max-width: 70rem;
  margin: 0 auto;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  text-transform: lowercase;
}


a {
    text-decoration: none;
    transition: all .2s ease-in-out;
    color: inherit;
}
a:hover {
    text-decoration: none;
    color: rgba( 0, 0, 0, .55 );
}

.site-header{
    font-size: 24px;
    font-weight: 500;
}

.section, .article {
  padding: 3rem 0;
}

.square{
  vertical-align: text-bottom;
}

/*******grid */
.grid {
  --columns: 12;
  --gutter: 3rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: 1fr;
}

.grid > .column {
  /*margin-bottom: var(--gutter);*/
}

@media screen and (min-width: 60rem) {
  .grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .grid > .column {
    grid-column: span var(--columns);
  }
}

/********fugures *******/
figcaption{
  text-align: center;
}

li {
  list-style: none;
}

.video,
.img {
  position: relative;
  display: block;
  --w: 1;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  background: var(--color-black);
}
.img img,
.video iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.img[data-contain] img {
  object-fit: contain;
}
.img-caption,
.video-caption {
  padding-top: .75rem;
  line-height: 1.5em;
}

.remove-scrolling { 
  height: 100%; 
  overflow: hidden; 
} 



/******************* menu*/
.headline-container{
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.headline-left{
  margin-top: auto;
  margin-bottom: auto;
}
.headline-right{
  text-align: right;
}

.headline{
  font-size:2rem;
  width: 100%;
  margin-top: 2.5rem;
}
.overlay {
  height: 0%;
  width: 100%;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  /*background-color: rgb(255, 255, 255);
  background-color: rgba(255,255,255, 0.9);*/
  background-color: #fff;
  overflow-y: hidden;
  transition: 0.5s;
  top: 100px;
}

.overlay-content {
  position: relative;
  /*top: 25%;*/
  width: 100%;
  text-align: center;
  margin-top: 10px;
}

.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
  color: #f1f1f1;
}

.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

.openbtn{
  position: absolute;
  top: 30px;
  right: 2rem;
  font-size: 60px;
}

@media screen and (max-height: 450px) {
  .overlay {overflow-y: auto;}
  .overlay a {font-size: 20px}
}

@media screen and (min-width: 60rem) {
  .openbtn{right: 7rem;}
}

.nav-toggle {
  background-color: transparent;
  cursor: pointer;
  height: 30px;
  padding: 0;
  position: relative;
  right: 0;
  top: calc(50% - 15px);
  width: 50px;
  border: none;
}

.nav-toggle .bar:nth-child(1) {
  margin-top: -7px;
}
.nav-toggle .bar:nth-child(2) {
  margin-top: -1px;
}
.nav-toggle .bar:nth-child(3) {
  margin-top: 5px;
}

.nav-toggle.active .bar:nth-child(1) {
  margin-top: -1px;
  transform: rotate( 45deg );
}
.nav-toggle.active .bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active .bar:nth-child(3) {
  margin-top: -1px;
  transform: rotate( -45deg );
}

.nav-toggle.active .bar {
  transition: margin 0.2s ease-in, opacity 0s ease-in 0.2s, transform 0.2s ease-out 0.25s;
}

.nav-toggle .bar {
  background-color: rgba(33, 42, 52, 1);
  display: block;
  height: 2px;
  margin-top: 0;
  opacity: 1;
  position: absolute;
  right: 0;
  top: calc(50% - 1px);
  transform: rotate( 0deg );
  transition: transform .2s ease-in 0s, margin 0.2s ease-in 0.2s, opacity 0s ease-in 0.25s;
  width: 22px;
  z-index: 1;
}

.nav-toggle:before {
  content: "";
  display: block;
  position: absolute;
  bottom: -20px;
  left: -20px;
  right: 0;
  top: -20px;
}


.clickfigure span, .fade2black{
  background-color: black;
}

.clickfigure img  {
  opacity: 1;
  transition: 0.1s;
}


.clickfigure figcaption{
  font-size: 36px;
}

@media screen and (min-width: 60rem) {
  .clickfigure:hover img {
    opacity: .3;
    transition: 0.4s;
  }

  .clickfigure img  {
    opacity: 1;
    transition: 0.4s;
  }

  .clickfigure:hover figcaption{
    display: block;
  }

  .clickfigure figcaption{
    display: none;
    font-size: 36px;
    background-color: transparent;
    color: #eeeeee;
  }
}

/*image tile in grid -----------------start*/
.imagetile {
  position: relative;
}

.imagetile-image {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: .5s ease;
  backface-visibility: hidden;
}


.imagetile-text {
  background-color: transparent;
  color: black;
  font-size: 1.5rem;
  padding: 16px 32px;
  text-align: center;
}

@media screen and (min-width: 60rem) {
  .imagetile-middle {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
  }
  .imagetile {
    position: relative;
    background-color: black;
  }
  .imagetile:hover .imagetile-image {
    opacity: 0.3;
  }
  
  .imagetile:hover .imagetile-middle {
    opacity: 1;
  }

  .imagetile-text {
    color: white;
    font-size: 16px;
    padding: 16px 32px;
  }

  .imagetile-middle {
    transition: .5s ease;
    opacity: 0;
    text-align: center;
    width: 100%;
  }
}
/*image tile in grid -----------------end*/


.button-bottons{
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
}

.button-bottons span, .button-bottons a:link, .button-bottons a:visited{
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: black; /* Set a background color */
  color: white; /* Text color */  
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px;/* Some padding */
  font-size: 18px; /* Increase font size */
  text-align: center;
  margin-right: .5rem;
}

.button-bottons span:hover, .button-bottons a:hover{
  background-color: #555; /* Add a dark-grey background on hover */
}
