html {
    min-height: 100%;
    width: 100%;
    
    height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100%;
    max-width: 100%;
    padding: 0px;
    margin: 0px;
    
    background-color: #181818;
    color: #ccc;

    font-family: "Noto Sans",Arial, Helvetica, sans-serif;
    font-size: 18px;
}


a {
    text-decoration: none;
    border-bottom: #777 dashed 1px;
    color: #fff;
}

h1 {
    font-size: 28px;
    font-weight: 200;
    border-bottom: 1px dashed #888;
    display: inline;
}
h2 {
    font-size: 22px;
    font-weight: 200;
}

/* landing menu */

#th-title{
    width: calc(100% - 520px);
    height: 120px;
    padding-left: 20px;
    padding-right: 20px;
    position: fixed;
    bottom: 0;
    right: 0;
    background-color: rgba(25, 25, 25, 0.66);
    color: #fff;
    font-size: 42px;
    font-variant: small-caps;
    display: flex;
    justify-content: end;
    flex-wrap: wrap;
    align-items: center;
    line-height: 0.9;
}

#th-menu {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    left: 0;
    bottom: 0;
    z-index: 28;
}

#th-menu a{
    border-bottom: 0px;
}

.th-menu-item{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 17px;
    width: 120px;
    height: 120px;
    font-variant: small-caps;
    letter-spacing: 3px;
    background-color: rgba(25, 25, 25, 0.66);
    color: #777;
}



.th-menu-item:hover {
    background-color: #666666;
    color: #fff;
    text-shadow: 2px 2px 4px #555;
    text-decoration: underline;
}



#th-legal {
    color: #555;
    position: fixed;
    right: 0;
    top: 0;
    color: #777;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 9px;
    padding: 3px;
}

#th-legal a{
    color: #555;
    border-bottom: 0px;
}

/* Pages */

#th-content{
    font-family: "Noto Sans",Arial, Helvetica, sans-serif;  
    margin-left: auto;
    margin-right: auto;
    max-width: 900px;
    padding: 5px;
    line-height: 1.6;	
}


.th-title {
    padding: 3px;
    font-size: 27px;
    letter-spacing: 3px;
    font-variant: small-caps;
    margin-top: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
    border-top: 1px solid #333;
    background: #666666;
    background: linear-gradient(135deg,rgba(12, 12, 12, 0.5) 25%, rgba(33, 33, 33, 1) 75%);
}

.th-padding{
    height: 120px;
}
/* Gallery */

.th-gallery {
    width: 100%;
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
    align-items: start;
}

.gal-item-wrapper{
    width: 25%;
    aspect-ratio: 1/1;
    padding-bottom: 20px;
    padding-top: 15px;
}

.gal-item {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    height: 100%;
    width: 100%;
    
   
}

.gal-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    
    font-size: 23px;
    margin: 10px;
    padding: 0px 15px;
    border-top: #555 1px dotted;
    border-bottom: #555 1px dotted;
    
    font-variant: small-caps;
    line-height: 1;

    height: 100%;
}

.gal-subtext {
    font-size: 11px;
    margin-top: 5px;
    margin-bottom: 5px;
    width: 85%;
}

.gal-cover{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0s linear 0.2s;
   }
.gal-cover img{
    width: 100%;
    height: auto;
    border-radius: 10%;
}
.gal-item:hover .gal-cover{ 
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 60ms; 
}

.gal-item:hover .gal-text{
    opacity: 0;
    visibility: hidden;
    transform: translateY(0);
    transition-delay: 30ms;
}
/* Banner */

#bancontain {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0px;
    width: 100%;
    overflow: hidden;
    background-image: url("/img/grid.png");
    background-repeat: repeat;
    
}

#banner{
    background-color: black;
    position: relative;
    top: 0px;
    width: 100%;
    height: 100vh; /*calc(100vh - 48px);*/
    overflow: hidden;
}


/* Animation */

.mySlides {
    display: none;
    
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    width: 105%;
    position: absolute;
}

.fade {
    animation-name: fade;
    animation-duration: 2s;
}

@keyframes fade {
    from {opacity: 0.2}
    to {opacity: 1}
}

/* Media */

@media screen and (max-width: 900px) {
    body{
        font-size: 16px;
    }
    #th-title{
    width: 100%;
    height: 80px;
    padding-left: 0px;
    padding-right: 0px;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(25, 25, 25, 0.66);
    color: #fff;
    font-size: 42px;
    font-variant: small-caps;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    line-height: 0.9;
}

#th-menu {   
    width: 100%;
    position: fixed;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    left: 0;
    bottom: 0;
}

#th-menu a{
    width: 100%;
}

.th-menu-item{
    display: flex;
    width: 100%;
    height: 60px;
    justify-content: center;
    align-items: center;
    font-size: 17px;
    font-variant: small-caps;
    letter-spacing: 3px;
    background-color: rgba(25, 25, 25, 0.88);
    color: #777;
    text-decoration: none;
}

#th-content{
    margin-top: 80px;
    padding: 10px;
}

.th-padding{
    height: 60px;
}

.gal-item-wrapper{
    width: 50%;
    aspect-ratio: 1/1;
}

}