@font-face {
    font-family: 'Marfa';
    src:  url('fonts/ABCMarfa-Thin-Trial.woff2') format('woff2'),
          url('fonts/ABCMarfa-Thin-Trial.woff') format('woff');
    font-style: normal;
    font-weight: 200;
  }

@font-face {
    font-family: 'Marfa';
    src:  url('fonts/ABCMarfa-Regular-Trial.woff2') format('woff2'),
          url('fonts/ABCMarfa-Regular-Trial.woff') format('woff');
    font-style: normal;
    font-weight: 400;
  }

@font-face {
    font-family: 'Marfa';
    src:  url('fonts/ABCMarfa-Bold-Trial.woff2') format('woff2'),
          url('fonts/ABCMarfa-Bold-Trial.woff') format('woff');
    font-style: normal;
    font-weight: 600;
  }

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    color: white;
    overflow-x: hidden;
    content:url(items/darbazi-thumbnails/Chunchka1.webp) 
            url(items/darbazi-thumbnails/JMV_7108.webp)  
            url(items/darbazi-thumbnails/JMV_7136.webp) 
            url(items/darbazi-thumbnails/Ptena2.webp)
            url(items/darbazi-thumbnails/IMG_9839.webp)
            url(items/darbazi-thumbnails/JMV_7585.webp)
            url(items/darbazi-thumbnails/JMV_7687.webp)
            url(items/darbazi-thumbnails/Ghia4.webp)
            url(items/darbazi-thumbnails/JMV_7187.webp)
            url(items/darbazi-thumbnails/Jemal1.webp)
            url(items/darbazi-thumbnails/JMV_7566.webp)
            url(items/darbazi-thumbnails/Sumbadze_ICON.webp)
            url(items/darbazi-thumbnails/Tskaro.webp)
            url(items/darbazi-thumbnails/Nijgori.webp)
            url(items/darbazi-thumbnails/Khertvisi.webp)
            url(items/darbazi-thumbnails/Keghoshvili-Darbazi-pic3.webp)
            url(items/darbazi-thumbnails/Khiza1.webp)
            url(items/darbazi-thumbnails/aspanidze-cover.webp)
            url(items/darbazi-thumbnails/st.barbare-cover.webp)
            url(items/darbazi-thumbnails/melikidze-thumbnail.JPG)
            url(items/darbazi-thumbnails/vartanyan-thumbnail.JPG)
            ;
}

nav{
    z-index: 4;
    width: 100%;
    position: absolute;
    top: 0px;
    display: flex;
    justify-content: space-between;
    mix-blend-mode: difference;
    /* background-color: aqua; */
}

.nav-about{
    background-color: #121212;
    height: 20vh;
    /* background-image: url(items/about-header.png);
    background-size: cover;
    background-repeat: unset; */
}

.logo{
    display: flex;
    /* margin-left: 10px; */
    font-family: Marfa;
    font-weight: 200;
    mix-blend-mode: difference;
    /* background-color: red; */
    cursor: pointer;
}

.logo img{
    margin-top: 1.4%;
    width: 37vw;
}

.logo-left{
    height: 8.5vw;
    /* background-color: red; */
    align-items: flex-end;
    align-content: flex-end;
}

.nav-about .logo{
    margin-top: -6vh;
}

h1{
    font-size: 5vw;
    font-weight: 100;
}

.menu{
    display: flex;
    /* width: 33vw; */
    /* background-color: purple; */
    justify-content: space-between;
    margin-right: 10px;
}

.menu-article{
    display: flex;
    width: 33vw;
    /* background-color: purple; */
    justify-content: end;
    margin-right: 20px;
}

.menu a {
    font-size: 4.3vw;
    font-family: Marfa;
    font-weight: 200;
    /* background-color: aqua; */
    text-decoration: none;
    color: inherit;
}

.menu a:hover {
    color: #669999 /*color change*/;
    cursor: pointer;

}

.menu-article a {
    font-size: 4.3vw;
    font-family: Marfa;
    font-weight: 200;
    /* background-color: aqua; */
    text-decoration: none;
    color: inherit;
}

.menu-article a:hover {
    color: #669999 /*color change*/;
    cursor: pointer;

}



.scroll-button-wrapper{
    position: absolute;
    bottom: 7vh;
    width: 100vw;
    height: 5vh;
    display: flex;
    justify-content: center;
}

.blende-oben {
    position: absolute;
    top: -10vh;
    width: 100vw;
    height: 30vh;
    display: flex;
    justify-content: center;
    background-image: 
    linear-gradient(0deg, white , black); 
    mix-blend-mode: multiply;
}


/* .blende {
    position: absolute;
    bottom: 0;
    width: 100vw;
    height: 20vh;
    display: flex;
    justify-content: center;
    background-image: 
    linear-gradient(0deg, black , white); 
    mix-blend-mode: multiply;
} */

#scroll-button{
    position: relative;
    /* color: #f1f1f1; */
    z-index: 4;
    font-size: 1.5em;
    height: 2.2em;
    /* background-color: #e4e4e4; */
    /* width: 20vw; */
    line-height: 100%;
    border-radius: 100px;
    /* border: none; */
    /* box-shadow: rgb(216, 216, 216) 0px 0px 3px 0px */
    /* border: white; */
    /* background-color: transparent; */
    /* mix-blend-mode: difference;  */
    background-color: #9e9e9e;
    border: none;
    color: #ffffff;
    /* transition: all 500ms; */
    padding: 0.5em 1em 0.6em 1em;   
}

h1#loading-header {
    background-color: #669999 /*color change*/;
}

#scroll-button:hover{
    background-color: #669999 /*color change*/;
    /* background-color: #75D882; */
    /* box-shadow: rgb(216, 216, 216) 0px 0px 6px 0px; */
}

#map {
    position: absolute; 
    top: 0; 
    bottom: 0; 
    width: 100%; 
}

.marker{
    background-image: url('items/darbazi_POI.png');
    background-size: cover;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
}

.marker2{
    background-image: url('items/darbazi_POI_blue.png');
    background-size: cover;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    
}

.mapboxgl-popup{
    color: black;
    padding: 0;
}

.mapboxgl-popup-content{
    padding: 0;
    width: 200px;
    border: 1px solid #929292;
}

.mapboxgl-popup-content h3 {
    background-image: url(items/DSCN6453.JPG);
    background-size: cover;
    color: #fff;
    margin: 0;
    padding: 10px;
    /* border-radius: 3px 3px 0 0; */
    font-weight: 700;
    margin-left: -10px;
    margin-right: -10px;
    margin-top: -10px;
    margin-bottom: 5px;
    height: 130px;
  }

.mapboxgl-popup-content h4{
    color: black;
    font-size: 15px;
   font-weight: lighter;
}

.mapboxgl-popup-content a {
    font-size: 15px;
    display: none;
    color: #669999 /*color change*/;
}

#list-wrapper{
    width: 40vw;
    height: 100vh;
    z-index: 3;
    position: relative;
    background-color: white;
    color: rgb(31,31,31);
    -webkit-box-shadow: 15px -4px 40px -24px rgba(0,0,0,0.75);
    -moz-box-shadow: 15px -4px 40px -24px rgba(0,0,0,0.75);
    box-shadow: 15px -4px 40px -24px rgba(0,0,0,0.75);
    transform: translate(-40vw); /* Initially hidden */
    transition: transform 0.7s ease-in-out; 
}

#list-button{
    position: absolute;
    font-size: 1.5vw;
    padding-left: 10px;
    margin-left: 39.5vw;
    margin-top: 45vh;
    border: none;
    height: 50px;
    width: 50px;
    z-index: -2;
    color: rgb(0, 0, 0);
    background-color: white;

}

.darbazi-list{
    height: 100%;
    overflow-y: scroll;
    padding-top: 20%;
    padding-bottom: 4%;
    padding-left: 2%;
    font-family: Marfa;
    font-size: 3vw;
    font-weight: 200;
    color: #929292;
}

.darbazi-list a{
    color: #669999 /*color change*/;
}


#scrollTarget{
    width: 100vw;
    height: 1px;
    position: absolute;
        /* background-color: red; */
}

#intro{
    /* margin-top: 100vh; */
    padding-top: 12vh;
    height: 100vh;
    width: 100vw;
    margin-bottom: 110vh;
    
}

#intro article{
    font-family: Marfa;
    font-weight: 600;
    color: rgb(31, 31, 31);
    font-size: 3vw;
    padding-left: 10%;
    padding-right: 10%;
}

.forward-button-wrapper{
    margin-top: 120px;
    display: flex;
    width: 80vw;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 120px;
    
}

.forward-button-wrapper a{
    color: #669999 /*color change*/;
    font-size: 2.3em;
    text-decoration: none;
    margin-right: 1vw;
    padding: 0.5%;
    padding-right: 2%;
    padding-left: 2%;
    border: #669999 /*color change*/ 3px solid;
    text-align: center;
    border-radius: 50px;
    font-family: Marfa;
    font-weight: 400;
}

/* ARTICLE */

section.hero {
    height: 100vh;
}

.description {
    display: flex;
    flex-direction: column;
    align-items: start;
    width: 80vw;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5em;
}

/* CATEGORY */
.description h2 {
    font-family: Marfa;
    font-weight: 400;
    font-size: 1.8vw;
    color: #ffffff;
    margin-bottom: 1vh;
    padding: 4px 8px 4px 8px;
    background-color: #cbc9c9;
    border-radius: 5px;

}

/* TITLE */
.description h1 {
    font-size: 4.3vw;
    font-family: Marfa;
    font-weight: 200;
    color: #121212;
    margin-bottom: 1vw;
    letter-spacing: -.2rem;
}

/* LEAD */

.description h3 {
    font-family: Marfa;
    font-weight: 600;
    font-size: 2.5vw;
    line-height: 2.9vw;
    color: #121212;
    width: 80vw;
    margin-bottom: 2em;   
}

.text {
    font-family: Marfa;
    font-size: 1.8vw;
    line-height: 2.3vw;
    width: 60vw;
    margin-left: auto;
    margin-right: auto;
    
}

.text p {
    color: #121212;
    font-weight: 400;
    margin-bottom: 3vw;
}

.text blockquote {
    color: #121212;
    font-weight: 600;
    margin-bottom: 3.5vw;
    font-size: 2.5vw;
    line-height: 2.9vw;
    transform: translate(-5vw);

}

.nav-description{
    margin-top: 35vh;

}

.about-h1{
    width: 60vw;
    margin-left: auto;
    margin-right: auto;
    font-size: 4.3vw;
    font-family: Marfa;
    font-weight: 200;
    color: #121212;
    margin-top: 5vw;
    margin-bottom: 1vw;
    letter-spacing: -.2rem;
}

.about-mail{
    margin-left: 10vw;
    margin-bottom: 10vw;
}

.about-subheadline{
    width: 60vw;
    margin-left: auto;
    margin-right: auto;
    color: #121212;
    font-family: Marfa;
    font-weight: 600;
    margin-top: 1vw;
    margin-bottom: 2vw;
    font-size: 1.8vw;
    line-height: 1.1vw;
}

.about-team{
    display: flex;
    width: 60vw;
    margin-left: auto;
    margin-right: 20vw;
    justify-content: space-between;
    margin-bottom: 1vw;
}

/* MODELVIEWER */

.model-viewer{
    width: 100%;
    height: 100vh;
    background-color: #000000;
}


/* video */


.video {
	position: relative;
	height: 0;
	padding-bottom: 56.25%;
}

.video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.caption {
    width: 60vw;
    margin-left: auto;
    margin-right: auto;
    color: #121212;
    font-family: Marfa;
    font-weight: 600;
    margin-top: 1vw;
    margin-bottom: 3.5vw;
    font-size: 1.4vw;
    line-height: 1.1vw;
}


/* SLIDER  */
/* https://webdesign.tutsplus.com/how-to-build-a-simple-carousel-with-vanilla-javascript--cms-41734t */
/* https://codepen.io/tutsplus/pen/XWZqGgX */

.slider-wrapper {
    margin: 1rem;
    position: relative;
    overflow: hidden;
  }

.slide{
    display: flex;
    justify-content: center;
}

.gallery-item{
    height: 100%;
    display: flex;
}
  
  .slides-container {
    height: calc(100vh - 2rem);
    width: 100%;
    display: flex;
    overflow: scroll;
    overflow-y: hidden;
    scroll-behavior: smooth;
    list-style: none;
    margin: 0;
    padding: 0;

  }
  
  .slide-arrow {
    position: absolute;
    display: flex;
    align-items: center;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 100%;
    background-color: white;
    border: none;
    width: 5.5rem;
    font-size: 0rem;
    padding: 0;
    cursor: pointer;
    opacity: 0.2;
    transition: opacity 100ms;
    z-index: 1000;
  }
  
  .slide-arrow:hover,
  .slide-arrow:focus {
    opacity: 0.5;
  }
  
  #slide-arrow-prev {
    left: 0;
    padding-left: 0.2rem;
    /* border-radius: 0 2rem 2rem 0; */
  }
  
  #slide-arrow-next {
    right: 0;
    padding-left: -1rem;
    /* border-radius: 2rem 0 0 2rem; */
  }
  
  .slide {
    width: 100%;
    height: 100%;
    flex: 1 0 100%;
    background-color: #121212;
  }
  
  .slide:nth-child(1) {
    background-color: #121212;
  }
  
  .slide:nth-child(2) {
    background-color: #121212;
  }
  
  .slide:nth-child(3) {
    background-color: #121212;
    margin: 0;
  }
  
  .slide:nth-child(4) {
    background-color: #121212;
  }
  
  
  /* footer {
    padding: 1em;
    text-align: center;
    background-color: #FFDFB9;
  }
  
  footer a {
    color: inherit;
    text-decoration: none;
  }
  
  footer .heart {
    color: #DC143C;
  } */

/* FOOTER */
/* *** AB HIER ÜBERARBEITET */


footer{
    
    height: 20vh;
    width: 100vw;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(7, 1fr);
    background-color: rgb(0, 0, 0);
    grid-gap: 1em;
    margin-top: 50px;
    
    
}

.footer-logo img {
    width:100%;
    height:100%;
    object-fit: contain;
}

.footerimg {
        display: flex;
        align-items: start;
        width: auto;
}

.footerimg img {
    width:100%;
    height: 70px;
    object-fit: contain;
}

.footer-ddlogo {
    max-width: 100%;
    justify-self: start;
    align-self: start;
}

.footer-links {
    display: flex;
    align-items: end;
}

.footertxt {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-links a {
    font-size: 1.1em;
    font-family: Marfa;
    font-weight: 200;
    text-decoration: none;
    color: white;
}

.social {
    transform: translate(0,0.3em);
    margin-left: 0.2em;
}

.social a {
    margin-left: 0.4em;
}

footer img {
    width: 50px;
    height: 50px;
}

/* gridareas: */
/* r-st/c-st/r-e/c-e*/

.footer-ddlogo {
  grid-area: 2 / 2 / 4 / 5;
  width: 100%
}

.footer-links {
    grid-area: 4 / 2 / 6 / 4;
}


.footer-vaads {
    grid-area: 2 / 5 / 6 / 6;
}

.footer-freeuni {
    grid-area: 2 / 6 / 6 / 8;
}

.footer-froh {
    grid-area: 2 / 8 / 6 / 12;
}

.footer-ostfalia {
    grid-area: 2 / 10 / 6 / 12;
}

.footertxt > p {
    font-size: 0.8em;
    font-family: Marfa;
    font-weight: 600;
    color: white;
    display: flex;
    flex-direction: column;
}

#frohlogo {
    width: 8vw;
}

#frohlogo img {
    width:100%;
    height:100%;
    object-fit: contain;
}

.footer-vaads, .footer-freeuni {
transform: translate(4vw);
}

/* *** BIS HIERHIN */



.audio-player{
    width: 100%;
    height: auto;
    margin-top: 10vh;
    margin-bottom: 20vh;
}

audio{
    width: 60vw;
    margin-left: 20vw;
    margin-right: auto;

}

/* PHONE SCREEN */

@media screen and (max-width: 480px) {

    nav{
        flex-direction: row;
    }
    

    .logo{
        width: 70vw;
        padding: 1%;
        /* padding-bottom: 2%; */
        /* border-bottom: rgb(67, 67, 67) 0.5px solid; */
        /* background-color: red; */
    }

    .nav-x{
        flex-direction: column;
    }

    .nav-about{
        flex-direction: row;
        height: 14vh;
    }

    .nav-about .logo{
        margin-top: -6vh;
    }

    .logo img{
        margin-top: 1%;
        width: 60vw;
    }

    .logo-left{
        height: 7vh;
    }

    h1{
        font-size: 9vw;
    }

    .menu{
        padding-top: 2%;
        margin-right: 4%;
        width: 15vw;
        
    }

    .menu a{
        color: #dadada;
        font-size: 6vw;
        margin-right: 4vw;
        
    }

    .menu-article a{
        font-size: 8vw;
    }

    .mapboxgl-popup-content a  {
        display: none;
    }

    .mapboxgl-popup-content h4 {
        display: block  ;
    }
    

    #scroll-button{
        font-size: 1.5em;
    }

    .forward-button-wrapper a{
        font-size: 1.2em;
        border: #669999 /*color change*/ 2px solid;
    }

    #intro article{
        font-size: 2.7vh;
    }

    #intro{
        height: 100vh;
        margin-bottom: calc(300px-5vh);
        
    }

    .slides-container{
        height: 30vh;
        object-fit: contain;
    }

    .description{
        margin-top: 3em;
    }


    .description h2 {
        font-size: 4vw;

    
    }

    .description h1 {
        font-size: 10vw;
    }

    .description h3 {
        margin-top: 4vw;
        font-size: 5vw;
        line-height: 8vw;
    }


    .text {
        font-size: 5vw;
        line-height: 8vw;
        width: 80vw;
        margin-top: 5vw;
        margin-bottom: 10vw;
    }

    .text blockquote {
        font-size: 5vw;
        line-height: 8vw;
        transform: translate(0);
    }

    .caption{
        width: 80vw;
        font-size: 4vw;
        line-height: 5vw;
    }

    .audio-player{
        margin-top: 10vw;
    }
    
    audio{
        width: 80vw;
        margin-left: 10vw;
        margin-right: auto;
        margin-bottom: 5vw;
        margin-top: 10vw;
    }

    .nav-description{
        margin-top:20vh;
    }

    .about-h1{
        font-size: 10vw;
        margin-top: 20vw;
        width: 80vw;
    }

    .forward-button-wrapper{
        width: 80vw;
    }

    .forward-about{
        display: block;
        margin-left: -1vw;
    }

    .about-subheadline{
        width: 80vw;
        font-size: 6vw;
        line-height: 8vw;
    }

    .about-team{
        width: 80vw;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    #scroll-button{
        font-size: 1em;
    }

    
.scroll-button-wrapper{
    bottom: 4.8vh;
}

#list-wrapper {
    width: 70vw; /* Takes up 70vw on smaller screens */
    transform: translate(-70vw); /* Initially hidden, 70vw offset */
}

#list-button{
    margin-left: 69.5vw;
    font-size: 9vw;
    padding-left: 5px;
}

.darbazi-list{
    font-size: 6vw;
    color: #929292;
}

/* *** FOOTER */

footer{
    height: 40vh;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(7, 1fr);
    background-color: black;
    grid-gap: 1em;
}

/* gridareas: */
/* r-st/c-st/r-e/c-e*/

.footer-ddlogo {
grid-area: 2 / 2 / 3 /6;
}

.footer-links {
  grid-area: 3 / 2 / 5 / 5;
  flex-direction: column;
  align-items: start;
}

.footer-vaads {
  grid-area: 2 / 6 / 5  / 10;
}

.footer-freeuni {
  grid-area: 2 / 10 / 5 / 12;
}

.footer-froh {
  grid-area: 6 / 2 / 6 / 12;
}

.footer-ostfalia {
  grid-area: 6 / 6 / 6 / 12;
}

.footer-vaads, .footer-freeuni {
transform: translate(0);
}

.social {
    transform: translate(0, 0.7em);
    margin-left: 0;
}

.social a {
    margin-left: 0;
    margin-bottom: 1.2em;
}

.footerimg img {
    width: 20vw;
    height: 50px;
}

#frohlogo {
    width: 14vw;
}


}

    