@import './fonts.css';

:root{
  --black: #1e1d27;
  --skywhite: #f7f5f4;
  --font-size-h1: 2em;
  --font-size-mobile-h1: 1.8em;
  --font-size-h1-smaller: 4.9em;
  --font-size-h2: 3.5em;
  --font-size-h3: 2.0em;
  --font-size-mobile-h3: 1.5em;
  --font-size-h4: 1.6em;
  --font-size-h5: 1.3em;
  --font-size-h6: 1.0em;
  --default-font-family: 'Merryweather Sans', -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Ubuntu, roboto, noto, arial, sans-serif;
}
html, body{
    margin: 0;
    padding: 0;
    color: var(--black);
  }
  .herotitle{
    position: relative;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    font-size: var(--font-size-h1);
  }
  .herotext{
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    font-size: var(--font-size-h3);
    
  }
  body{
    font-family: var(--default-font-family) ;
  line-height: 1.2;
  background-color: var(--skywhite);
  }
  h1, h2, h3, h4, h5, h6 {
    text-transform: uppercase;}

  a{
    color: var(--black);
    text-decoration-style: double;
  }
  .langMenu{
    padding: 30px 30px;
    font-weight: 600;
  }
  select.locale-switcher{
    
    font-family: var(--default-font-family) ;
    width:80px;
    height:30px;
    border-radius: 0px 50px 50px 0px;
    color:var(--black);
    background-color: #1e1d27;
    padding: 0;
border: none;
background: none;
  }
  select.locale-switcher:focus {
    background-color: none;
    color: black;
    border-style: none;
  }
section{
    width: 100%;
  }
  .navwrap{
    padding: 20px 35px;
  }
  section.hero{
    background: url(../images/hero.png?=nocache) no-repeat center center fixed;
    background-size: cover;
    height: 90vh;
    min-height: 280px;
    display: flex;
    justify-content: top center;
  }
  section.videohero{
    position: relative;
  }
  section.videohero video{
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center center;
  }
  section.about{padding-top: 60px;}
  section.where{padding-top:60px;}
  .row{
    display: flex;
    flex-flow: column;
    padding: 5px; /* this */
  }
  .rowunder{
    display: flex;
    grid-auto-flow: row dense;
  }
  .wrapper{
    width: 100%;
    padding: 0 100px;
    max-width: 1200px;
    margin: 0 auto;
  }
  section.partner{
    background: url(../images/footer-hero.png) no-repeat fixed;
    background-size: cover;
    height: 50vh;
    min-height: 600px;
    display: flex;
    justify-content: top center;  
  }
  img.partnerlogo{
    width:120px;
  }
  img.exhibitionPreview{
    border-radius: 50px 50px;
    padding: 0 5px;
    padding-left: 5px;
    width:400px;
    height: 400px;
    object-fit: cover;
    
  }
  p.exhibitionPreviewCaption{
    text-align: center;
  }
  .navbar{
    width: 100%;
    background: none;
    color: var(--black);
    padding: 15px 0;
    font-weight: 600;
    
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    position:absolute;
    overflow-y:scroll;
    overflow-x:hidden;
  }
  .navbar .wrapper{
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  .navbar .logo{
    height: 2em;
    width: 2em;
    margin-right: 20px;
    vertical-align: -5px;
  }
  .navbar .navlinks{
    list-style: none;
    /* padding: 0; */
    flex: 1;
  }
  .navbar .navlinks li{
    display: inline-block;
    padding: 0 10px;
  }
  .navbar .navlinks li:first-child{
    padding-left: 0;
  }
  .navbar .navlinks li:last-child{
    padding-right: 0;
  }
  .navbar .navlinks li a,
  .navbar .menu-btn a{
    color: var(--green);
    text-decoration: none;
  }
  .navbar .navlinks li a:hover{
    text-decoration: underline;
  }
  .navbar .menu-btn{
    text-transform: uppercase;
    display: none;
  }
  .navbar .menu-btn a{
    cursor: pointer;
    user-select: none;
  }
  .navbar .menu-seperator{
    display: none;
  }
  .navbar .navcta{
    float: right;
  }
  .navbar .navlogo{
    display: inline-block;
      margin: 0 auto;
  }
 
    
  @media(max-width: 50em){ /* MOBILE */
    img.mapwhere{display:none;}
    section.hero{
      background: url(../images/hero.png) no-repeat center fixed;
      background-size: cover;
      height: 60vh;
      min-height: 420px;
      display: flex;
      justify-content: top center;  
    }
    div#onlydesktop{
      display:none;
    }
    div#onlymobile{
      padding: 20vh 0vh 0vh 0vh;
    }
    .row{
      display: flex;
      flex-flow: column;
      gap: 20px; /* this */
    }
    .textwrap{
      padding: 20px 35px;
    }
    img.exhibitionPreview{
      border-radius: 50px 50px;
      padding: 20px 20px;
      padding-left: 5px;
      width:300px;
      height:300px;
    }
    /* == Mobile Hamburger Menu == */
  .navbar .wrapper{
    flex-wrap: wrap;
  }
  .navbar .navlinks{
    display: none;
  }
  .navbar .show-menu{
    display: none;
  }
  .navbar .menu-seperator{
    background-color: rgba(0,0,0,0);
    border: none;
    width: 100%;
    order: 5;
  }
  .navbar .navlinks{
    width: 100%;
    padding: 20px 10px;
    margin: 0;
    order: 6;
    flex: 1;
  }
  .navbar .logo-wrapper{
    order: 3;
    flex: 1;
    text-align: center;
  }
  .navbar .logo-wrapper .logo{
    display: block;
    margin: 0 auto;
  }
  .navbar .navcta{
    order: 4;
    flex: 1;
    text-align: right;
  }
  .navbar .navlinks li{
    display: block;
    width: 100%;
    padding: 15px 0;
    text-align: center;
  }
  .navbar .navlinks li:not(:last-child){
    border-bottom: 2px solid var(--beton);
  }
  .navbar .menu-btn{
    display: inline-block;
    order: 0;
    flex: 1;
  }
  .navbar .menu-btn svg{
    vertical-align: -2px;
    height: 1em;
    width: 1em;
    margin-right: 3px;
  }
        .herotitle{
        position: relative;
        top: 30%;
        left: 50%;
        transform: translateX(-50%);
        font-size: var(--font-size-mobile-h1);
      }
      .herotext{
        position: absolute;
        top: 80px;
        left: 50%;
        transform: translateX(-50%);
        font-size: var(--font-size-mobile-h3);
        
      }
}

  @media(min-width: 50em){ /* DESKTOP */
    .navbar .navlinks{
      display: block !important;
    }
    div#onlymobile{
      display:none;
    }
    .navbar .menu-seperator{
      display: none !important;
    }
    .mobile-only{
      display: none;
    }
    .textwrap{
      padding: 60px 300px;
    }
    .row{
      width: 100%;
      display: table;
      table-layout: fixed;
      
    }
    .col{
      display: table-cell;
      vertical-align: top;
      padding: 0 0 0 20px;
    }
    .e-row{
      width: 100%;
      display: table;
      table-layout: fixed;
      border-spacing: 50px;
    }
    .e-col{
      display: table-cell;
      vertical-align: top;
      }
  }
  .f-row{
    width: 100%;
    display: table;
    table-layout: fixed;
  }
  .f-col{
    display: table-cell;
    vertical-align: top;
  }

  *{
    box-sizing: border-box;
  }
  
  
    

      .spotpartner{
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 250px;
        
      }

      .textsite{
        padding:0px 0px 300px 0px}
        
      .teaservideo{
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        padding: 100px 0px 100px 0px;
      }

      
     