/*
#FFD700 - gold
#BE4234 - title red
#DCDCDC - text grey
#A9A9A9 - grey
*/


/*---------------------Global Style--------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,700;1,300&display=swap');

html {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-size: 16px;
    font-weight: 400;
    font-family: 'open sans', sans-serif;
    color: black;
    margin: 0 auto;
    background: #000000;
}

/*---------------------HEADER-----------------------*/
h1 {
    font-size: 2em;
    font-weight: 700;
    color: #be4234;
    text-align: center; 
    margin-top: 150px;
}

h2 {
    font-size: 1em;
    color: #FFFFFF;
    text-align: left;
    font-weight: normal;
    grid-row: 2/3;
}

h3 {
    font-size: 1em;
    font-weight: normal;
    color: #A9A9A9;
}

/*-----------------Navigation-------------------------*/
a {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

nav {
    text-align: center;
    margin-top: 10%;
    grid-row: 1/2;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav a {
  color: #FFD700;  
}


nav li {
    padding: 10px 0px;
}

#wrapper icon {
    width: 80px;
    height: 80px;
}

nav span .icon img {
    opacity: 1;
}

nav span {
    border-bottom: 1px solid #BE4234;
    padding-bottom: 10px;
}

/*
nav span .text {
    visibility: visible;
    color: #FFFFFF;
}
*/

/*-----------------------HOME CONTENT-------------------------*/

.icon {
    display: inline-block;
    position: relative;
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 50%;
}
    
.icon img {
    width: auto;
    height: 100%;
    margin-left: -10px;
    opacity: 0.5;    
}

.text {
    visibility: hidden;
    font-size: 0.8em;
    padding-top: 10px;
}

.icon img:hover {
    opacity: 1;
}

.icon:hover + .text {
    visibility: visible;
}

/*------------------------------Content-----------------------*/
#wrapper {
    display: grid;
    grid-template-rows: repeat(6, auto);
    max-width: 90%;
    margin: 0 auto;
}

#wrapper h1 a {
    grid-row: 5/6;
    color: #be4234;
}

main {
    grid-row: 2/4;
    margin-top: 50px;
}

.about {
    font-size: 1em;
    text-align: justify;
    width: 70%;
    margin: auto;
    padding-top: 25px;
    font-size: 1em;
    color: #D3D3D3;
    grid-row: 4/5;
    display: grid;
    grid-template-columns: 1fr;
}

.about div {
    grid-row: 1/2;
    grid-column: 1/2;
}

.about-roll p:nth-child(2), .hide p:nth-child(2) {
    font-size: 0.8em;
    font-style: italic;
}

.about h2 {
    font-style: italic;
}

.about span {
    color: #BE4234;
    font-style: italic;
}

/* --- Roll over translation --- */
.hide {
    display: none;
}

.about-roll:hover + .hide {
    display: block;
    color: #DCDCDC;
}

.about-roll:hover {
    visibility: hidden;
}

/* ---END of translation --- */


/*------------------------Gallery---------------------------*/
.gallery {
    margin: auto;
    width: 98%;
}

.main-gallery {
    padding: 20px 0px;
}

.gallery img {
    margin-right: 20px;
}

.gallery-cell {
    width: auto;
    height: 200px;
    margin-right: 5px;
    counter-increment: .gallery-cell;
    opacity: 0.4;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-gallery.is-fullscreen .gallery-cell {
   height: 100%;
}

.gallery-cell img, video {
    display: inline-block;
    max-height: 100%;
}

.gallery-cell:before {
    display: block;
    text-align: center;
    content: counter(.gallery-cell);
    line-height: 200px;
    font-size: 80px;
    color: white;
}

.gallery-cell.is-selected {
    opacity: 1;
}

.flickity-viewport {
    margin: auto;
    width: 98%;
}

.flickity-prev-next-button {
  width: 100px;
  height: 100px;
  background: transparent;
}

.flickity-prev-next-button .arrow {
  fill: #FFD700;
}

.flickity-prev-next-button.no-svg {
  color: #FFFFFF;
}

.flickity-prev-next-button:hover {
  background: transparent;
}

.flickity-prev-next-button:disabled {
  display: none;
}

.flickity-page-dots {
    bottom: 0px;
}

.flickity-page-dots .dot {
  width: 12px;
  height: 12px;
  opacity: 1;
  background: transparent;
  border: 2px solid #FFD700;  
}

.flickity-page-dots .dot.is-selected {
  background: white;
}

/*-----------------------CATALOGUES---------------------------*/
aside {
    margin: 0 auto;
    color: #A9A9A9;
    display: flex;
    width: 70%;
    grid-row: 4/5;
    justify-content: flex-start;
}

aside ul {
    list-style: none;
    display: flex;
    padding-left: 0;
}

aside li {
    padding-left: 20px;
}

aside a {
    color: #A9A9A9;
}

aside a:hover {
    color: #FFD700;
}

#view {
        display: none;
    } 

/* ///Tomorro is history/// */
#tomorrow {
    justify-content: space-between;
    flex-wrap: wrap;
}

#tomorrow div {
    display: flex;
}

#tomorrow ul {
    display: block;
}
/* ///tomorrow end/// */
/*-------------------------FOOTER-----------------------------*/
footer {
    justify-content: center;
    grid-row: 6/7;
}

footer ul {
    display: flex;
    list-style: none;
    justify-content: center;
    margin: 0;
    padding: 0;
}

footer li {
    color: #A9A9A9;
    padding-bottom: 10px;
    font-size: 1em;
}

footer li:nth-child(2), footer li:nth-child(3) {
    padding-left: 5px;
}

footer .line:nth-child(2)::after  {
    content: " \007C";
}

footer a {
    color: #A9A9A9;
}

footer a:hover {
    color: #FFD700;
}

/*-------------------------MEDIA QUERY------------------------*/

@media screen and (min-width: 920px) {
/*Navigation*/    
    nav ul {
/*        text-align: left;*/
        display: flex;
        margin: 0 auto;
    }
    
    nav li {
        margin: auto;
        text-align: center;
    }
    
    #nav1 ul {
        flex-wrap: wrap;
    }

/*HOME CONTENT*/
    #nav1 .icon {
        width: 250px;
        height: 250px;
    }
      
    #nav1 .text {
        font-size: 1em;
    }
    
    
/*Content*/
    #wrapper {
        margin: 0 auto;
    }
    
    .icon {
        width: 100px;
        height: 100px;
        display: wrap;
    }
    
    .text {
        font-size: 1em;
    }

/*Gallery*/
    .gallery {
        width: 100%;
    }
    
    .gallery img {
        margin-right: 20px;
    }

    .gallery-cell {
        margin-right: 15px;
        margin-bottom: 0px;
        height: 400px;
    }
    
    .gallery-cell:before {
        line-height: 500px;
    }
    
    .flickity-viewport {
/*        height: 500px;*/
    }
}
 
@media screen and (max-width: 640px) {
/* Footer */
    h1 {
        font-size: 1.5em;
    }
    
    aside ul {
    display: block;
    }
    
    #tomorrow div, #tomorrow ul {
        display: block;
    }
    
    #view {
        display: block;
    } 
    
    footer ul {
        font-size: 0.8em;
    }
    
    footer ul:nth-child(2) {
        display: block;
        text-align: center;
    }
    
    footer li:nth-child(1)::after {
        content: "";
    }
    
    .about-roll p:nth-child(2) {
    font-size: 0.9em;
    font-style: italic;
    }
}
