:root {
    /* --highlight-color:#009ee3; */
    --highlight-color:#00a0da;
    --highlight-color-dark:rgb(0, 82, 112);
    /* --highlight-color-dark:rgb(136, 22, 12); */
    --border-radius: 10px;
    --background-color: white;
    --font-light: rgb(0, 82, 112); /*rgb(248, 241, 233);*/
    --desktop-width-max: 1148px;
    --max-width-px: 1280px;
    --width-percent: 85%;
    --width-margin: 32px;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}
a {
    color: var(--highlight-color);
    text-decoration: none;
}


body {
    background-color: white;
    font-family: 'Roboto', Helvetica, Arial;

    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;

    font-size: 16px;
    color: var(--font-light);
    line-height: 1.5;
    font-weight: 300;

    /* Make the page always fill 100% */
    min-height: 100%;
    display: flex;
    flex-direction: column;
}
h1, h2, h3{
    font-weight: inherit;
}

.page-wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}


/* ***** ***** ***** *****  NAVBAR  ***** ***** ***** ***** */
.header{
    background-color: rgba(255,255,255,0.85); /*var(--background-color);*/
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    padding-top: 20px;
    padding-bottom: 15px;
    box-shadow: 0px 0px 10px rgba(129, 148, 169, 0.3);
}

.header-content {
    width: 100%;
    box-sizing: border-box;
    padding: 0 min(3%, var(--width-margin)); /* take 3% of with, but max 32 px */
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center; /* or baseline */
    flex-wrap: wrap;
}

/* Title displayed on the left: "Architekturbuero W. Kergassner */
.header-content .header-title{
    font-weight: 300;
    margin: 0;
    color: var(--highlight-color-dark);
}
.header-content .header-title:hover{
    color: var(--highlight-color);
}

.header-content h1{
    margin: 0;
    font-weight: 300;
    font-size: 1.5rem;
}

/* Manage box sizing around the title text: keep it small. */
.header-content h1{ width: 400px;}
@media (max-width: 860px) {.header-content h1{ width: 320px;}}
@media (max-width: 780px) {.header-content h1{ width: 150px;}}


.header-nav{
    margin-left: 30px; 
    display: flex; 
    justify-content: flex-end; 
    gap: 30px;
}
.header-nav a{ color: var(--highlight-color-dark) }
.header-nav a:hover{ color: var(--highlight-color) }

.nav-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.nav-toggle-label {
    display: none;
    margin-left: auto;
    cursor: pointer;
    color: var(--highlight-color-dark);
    font-weight: 300;
    font-size: 1rem;
    user-select: none;
}

.nav-toggle-label:hover {
    color: var(--highlight-color);
}


/* @media (max-width: 460px) {
    .header-nav{gap: 15px; font-size: 8pt}
} */

/* This is for the small Menu */
@media (max-width: 600px) {
    /* .header-content {
        align-items: flex-start;
    } */

    .nav-toggle-label {
        display: block;
    }

    .header-nav {
        display: none;
        width: 100%;
        margin-left: 0;
        margin-top: 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .nav-toggle:checked ~ .header-nav {
        display: flex;
    }
}








.container{
    flex: 1;
    width: var(--width-percent);
    max-width: var(--max-width-px);
    margin: 0 auto;
    margin-top: 130px;
    margin-bottom: 100px;
}
@media (max-width: 680px) {
    .container{margin-top: 110px;}
}

.container-small{
    /* margin-left: 50%; */
}
@media (max-width: 900px) {
    .container-small{ width: var(--width-percent);}
}






.project-title{
    margin-top: 60px;
    /* margin-bottom: 20px; */
}
.project-title h2{
    margin: 0;
    margin-bottom: 8px;
}
.project-title h4{
    margin:0;
}

.hero-img{
    height: 60vh;
    width: 100%;
    object-fit: cover;
    margin: 10px 0;
}

.project-facts{
    display:flex;
    flex-wrap: wrap;
    font-size: 16px;
    /* margin-top: 10px; */
}
.project-facts h5{
    margin: 0;
    color: var(--highlight-color);
    /* font-size: 12px; */
}
/* .project-facts p{
    margin: 0;
    font

} */
.project-fact{
    max-width: 160px;
    margin-right: 36px;
}

.gallery-thumb {
  /* width: calc(33.333% - 16px); */
  width: calc(1100px / 6);
  height: calc(1100px / 6);
  object-fit: cover; /* keeps aspect ratio while cropping */

  display: block;
}
#gallery a {
  display: flex;
}



.lg-img-wrap img.lg-object {
  max-width: 100vw;
  max-height: 100vh;
  object-fit: contain;
}

#gallery{
    font-size: 0;
    display: flex;
  flex-wrap: wrap;
  justify-content: space-between; /* or space-around/center */
  /* gap: 10x; */
}


.footer{
    background-color: var(--background-color);
    margin-top: 50px;
    padding-top: 8px;
    padding-bottom: 8px;
    text-align: right;
    width: 100%;
    font-size: 0.8rem;
    margin-top: 4px;

    box-shadow: 0px 0px 10px rgba(129, 148, 169, 0.15);

        /* position:relative;
    z-index: 1000; */
    
}


.footer-content{
    width: calc(100% - 2*var(--width-margin));
    margin: 0 var(--width-margin);
    text-align: right;
}

.footer-index{
    background-color: rgba(255,255,255,0.1);
    position: fixed; 
    bottom: 0; left: 0;
    color: white;
    box-shadow: 0px 0px 10px rgba(36, 42, 48, 0.15);
}

.footer a {
    text-decoration: none;
    color: var(--font-light);
}

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--highlight-color-dark);
  color: white;
  padding: 0.5rem 2rem;
  text-align: center;
  z-index: 500;
  display: none;
  /* display: flex;               */
  align-items: center;        /* vertical alignment */
  box-sizing: border-box; /* that padding is not added to the width */
}

#cookie-banner button {
  margin-left: 1rem;
  padding: 0.5rem 0.5rem;
  background: #fff;
  color: var(--highlight-color-dark);
  border: none;
  cursor: pointer;
  font-weight: bold;
  border-radius: 4px;
  white-space: nowrap;
}

#cookie-banner a{
    margin-left: 1rem;
    text-decoration: underline;
    color: white;
}

#cookie-banner p {
  /* width: 50%; */
  flex: 1;
  text-align: left;
}


