/* general variables */

@font-face {
    font-family: def;
    src: url(fonts/DEFAULT.ttf);
}
@font-face {
    font-family: bol;
    src: url(fonts/BOLD.ttf);
}
@font-face {
    font-family: ext;
    src: url(fonts/DEFAULT.otf);
}
::-webkit-scrollbar{
  width: 0;
}

/* MOBILEEEEEEEEE VERSIONNNNNNN!!!!!!!!!!!!! */

body {
    margin: 0;
    background-color: #FFFEFF;
    font-family: bol;
}

header {
    background-color: #BF3131;
    padding-bottom: 1vh;
}
header ul {
    background-color: #7D0A0A;
    list-style-type: none;
    margin: 0;
    padding: 0;
    font-family: def;
    font-size: 3.5vh;
    text-align: center;
}
header li { 
    display: inline-block;
    padding-top: 1vh;
    padding-bottom: 1vh;
    padding-left: 1vw;
    padding-right: 1vw;
    max-width: 48vw;
}
header a {
    color: #fff;
    padding: 1vh;
    padding-left: 1vw;
    padding-right: 1vw;
    text-decoration: none;
}
header img {
    max-width: 5vw;
    max-height: 10vh;
    margin: 0;
    padding: 0;
}
.active {
    background-color: #eeefff;
}
header .active a {
    color: #666;
}
header a:hover {
    color: #888;
}

footer {
    background-color: #FFFEFA;
    padding-left: 5vw;
    padding-right: 5vw;
}
footer h1 {
    border-top: 2px solid #999;
    margin: 0;
    padding-top: 1vh;
    padding-left: 5vw;
    padding-bottom: 1vh;
    color: #999;
    font-size: 20px;
}


/* INFO BLOCKS */

.backimg {
    width: 100%;
    margin: 0;
    padding: 0;
    height: 20vh;
    background-position: center;
    background-size: cover;
    background-image: url(gallery/dango.jpg);
    background-attachment: fixed;
    
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-content: center;
}

.backimg h1{
    padding-top: 7.5vh;
    padding-bottom: 7.5vh;
    margin: 0;
    font-size: 5vh;
}


.intro {
    display: flex;
    justify-content: space-evenly;
    align-content: center;
} 
.introduk {
    display: grid;
    justify-content: space-evenly;
    align-content: center;
    margin-bottom: 20vh;
}

.informacija {
    background-color: #fae4db;
    border-radius: 20px;
    margin: 1vh;
}

.informacija h2{
    padding-left: 2vw;
    padding-right: 2vw;
    font-size: 4vh;
}

.informacija p {
    padding-left: 3vw;
    padding-right: 3vw;
    max-width: 20rem;
    font-size: 2vh;
}


.duk{
    padding-bottom:100vh;
}


/*GALLERRYYYYYYYYYYYYY APPEARANCE OF THE THUMBNAILS *//*GALLERRYYYYYYYYYYYYY *//*GALLERRYYYYYYYYYYYYY */

.gallery img {
    max-width: 85vw;
    margin: 1vw;
}

.gallery {
    padding-left: 2vw;
    padding-right: 2vw;
    text-align: center;
    clear: right;
}

.gallery a {
    text-decoration:none;
}


/* THE WHOLE LIGHTBOX THINGY LOL */
.overlay {
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
}

.overlay img{
  max-width: 80%;
  max-height: 80%;
  width: auto;
  height: auto;
  border-radius: 1rem;
}

.overlay:target {
  visibility: visible;
  outline: none;
  cursor: default;
}




/* DESKTOPPPPPPPP VERSIONNNNNNN!!!!!!!!!!!!! */

@media screen and (min-width: 420px) {
    
    
    header ul {
    padding-left: 1vw;
    padding-right: 1vw;
    text-align: left;
}
    
    
    .gallery img {
    width: 20rem;
    margin: 1vw;
}
    
    
}
