/*global*/

  * {
      margin: 0;
      padding: 0;
      font-family: Open Sans;
      scroll-margin-top: 100px;
  }

  html {
    scroll-behavior: smooth;
    background-color: black;
  }

  img {
    width: 100%;
    height: auto;
  }

  @font-face {
    font-family: 'Cooper Hewitt';
    src: url('https://www.johancotegayffier.com/font/CooperHewitt-Medium.ttf') format('truetype');
    src: url('https://www.johancotegayffier.com/font/CooperHewitt-Medium.otf') format('opentype');
  }

  p {
    font-family: Open Sans;
    font-size: 16pt;
    color: white;
    line-height: 2;
  }
  
  h1 {
    font-family: 'Cooper Hewitt';
    text-transform: uppercase;
    font-size: 24pt;
    letter-spacing: -0.05em;
    color: white;
  }

  h2 {
    font-family: Cooper Hewitt;
    text-transform: uppercase;
    color: white;
    font-size: 36pt;
    font-weight: bold;
    letter-spacing: -0.05em;
  }

  body, html {
      height: 100%;
  }

/*global*/

/*header*/
  header {
      position: fixed;
      top: 0;
      width: 100%; 
      transition: 0.4s;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 15px 15px;
      z-index: 1;
  }

  header .right{
    text-align: right;
    margin-right: 4em;
  }

    header .left{
    text-align: left;
    margin-left: 4em;
  }

  header div {
      list-style: none;
      font-size: 16pt;
      display: inline-block;
      width: 50%;
  }

  header a {
    text-decoration: none;
    color: white;
    padding: 12px;
  }

  header a:hover {
    color: #555555;
    transition: all 1s ease 0s;
  }

    header label {
    text-decoration: none;
    color: white;
    padding: 12px;
  }

    header label:hover {
    color: #555555;
    transition: all 1s ease 0s;
  }

  header i {
    color: white;
    text-align: center;
    font-size: 16pt;
    transition: all 1s ease 0s;
  }

  header i:hover {
    color: #555555;
  }
/*header*/

/*tooltip*/

  .tooltip {
    position: relative;
    display: inline-block;
  }

  /* Tooltip text */
  .tooltip .tooltiptext {
    visibility: hidden;
    background-color: rgba(10,10,10,0.5);
    color: #fff;
    text-align: center;
    padding: 10px;
    border-radius: 6px;

    /* Position the tooltip text */
    position: absolute;
    z-index: 2;
    width: 10em;
    top: 125%;
    left: 50%;
    margin-left: -5em;

    /* Fade in tooltip */
    opacity: 0;
    transition: opacity 0.3s;
  }

  .tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
  } 

/*modal Contact*/

  /* [Object] Modal*/

    .modal {
      opacity: 0;
      visibility: hidden;
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      text-align: center;
      background: rgba(0,0,0, .5);
      transition: opacity .25s ease;
      z-index: 3;
    }

    .modal__bg {
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      cursor: pointer;
    }

    .modal-state {
      display: none;
    }

    .modal-state:checked + .modal {
      opacity: 1;
      visibility: visible;
    }

    .modal-state:checked + .modal .modal__inner {
      top: 0;
    }

    .modal__inner {
      transition: top .25s ease;
      position: absolute;
      top: -20%;
      right: 0;
      bottom: 0;
      left: 0;
      width: 50%;
      margin: auto;
      overflow: auto;
      background: rgba(0,0,0, .75);
      border-radius: 15px;
      padding: 1em 2em;
      height: 50%;
    }

    .modal__close {
      position: absolute;
      right: 1em;
      top: 1em;
      width: 1.1em;
      height: 1.1em;
      cursor: pointer;
    }

    .modal__close:after,
    .modal__close:before {
      content: '';
      position: absolute;
      width: 2px;
      height: 1.5em;
      background: #ccc;
      display: block;
      transform: rotate(45deg);
      left: 50%;
      margin: -3px 0 0 -1px;
      top: 0;
    }

    .modal__close:hover:after,
    .modal__close:hover:before {
      background: #aaa;
    }

    .modal__close:before {
      transform: rotate(-45deg);
    }

    @media screen and (max-width: 768px) {
      
      .modal__inner {
        width: 90%;
        height: 90%;
        box-sizing: border-box;
      }
    }

/*slideshow*/

  * {box-sizing:border-box}

  .slideshow-container {
    height: 100%;
    position: relative;
    margin: auto;
  }

  .slideshow-container img{
      min-height: 100%;
      min-width: 1920px;
      position: fixed;
      top: 0;
      left: 0;
  }

  .mySlides {
    display: none;
  }

  .zoom {
    animation: 30s ease-in 1s infinite zoom;

  }

  @keyframes zoom {
    0% {transform:scale(1.0);}
    50% {transform:scale(1.1);}
    100% {transform:scale(1.0);}
  }

  .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 36px 24px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 10px 10px 0;
    user-select: none;
  }

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

  .prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.5);
    box-shadow: 0px 0px 10px 10px rgba(0,0,0,0.5);
  }

  .fade {
    animation-name: fade;
    animation-duration: 2s;
  }

  @keyframes fade {
    from {opacity: 0.2}
    to {opacity: 1}
  }

/*footer*/
  
  .footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    color: white;
    text-align: center;
  }

  .footer p {
    font-size: 8pt;
  }
/*footer*/

/*responsive layout*/

  @media screen and (max-width: 768px) {

   p {
      
      font-size: 12pt;
    }
    
    h1 {
      font-size: 16pt;
    }

    h2 {
      font-size: 24pt;
    }

    header{
      flex-direction: column;
    }

    header div {

      font-size: 12pt;
      width: 100%;
    }

    header .left{
      text-align: center;
      margin: auto;
    }

    header .right{
      text-align: center;
      margin: auto;
    }

    .modal__inner {
      
      top: -30%;
      right: 0;
      bottom: 0;
      left: 0;
      width: 50%;
      margin: auto;
      overflow: auto;
      padding: 1em 2em;
      height: 50%;
    }

    .slideshow-container img{
      min-width: 768px;
      top: -75%;
    }

    @media (hover: none) { 

    }
  }
/*responsive layout*/