
@font-face {
    font-family: "BIZUDMincho";
    src: url("/fnt/BIZUDMincho-Regular-subset.ttf");
    font-display: swap;
}

@font-face {
    font-family: "RuneScape";
    src: url("/fnt/RuneScape Quill.ttf");
    font-display: swap;
}

body{
    padding: 20px 0;
    margin: 0px;
    background-image: url(/res/bg-greenwhite-dither.png);
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    background-color: #f4f3f1;
    color: #150e10;
    font-family: "BIZUDMincho", arial;
    font-size: 20px;
}

main{
    grid-area: main;
    background-color: #a1a0aa;
    margin-left: 5px;
    margin-bottom: 5px;
    padding: 5px;
    border-radius: 1em;
    max-height: 875.92px;
    overflow: hidden;
}

.main-subsection{
    border: 1px solid #150e10;
    margin: 5px;
    padding: 5px;
    border-radius: 1em; 
}

.scroll-wrap{
    height: 100%;
    overflow: auto;
    min-height: 0;
    box-sizing: border-box;
    padding-right: 2px;
}

h1{
    text-align: center;
    font-family: "RuneScape", Arial;
    font-size: 60px;
}

h2{
    margin-top: 10px;
    margin-bottom: 10px;
}

h3{
   margin-top: 10px;
   margin-bottom: 10px;
}

p{
   margin-top: 10px;
   margin-bottom: 10px; 
}

.navbar ul{
    list-style-type: none;
    background-color: hsl(0, 0%, 25%);
    padding: 0px;
    margin: 0px;
    overflow: hidden;
    border-radius: 1em;
}

.navbar{
    top:  0;
    grid-area: navbar;
}

.navbar a{
    color: white;
    text-decoration: none;
    padding: 15px;
    display: block;
    text-align: center;
} 

.navbar a:hover{
    background-color: hsl(0, 0%, 10%);    
}


::-webkit-scrollbar {
    width: 10px
}

::-webkit-scrollbar-track {
    background: #eee;
    box-shadow: inset 0 0 5px grey;
    border-radius: 4em;
}

::-webkit-scrollbar-thumb {
    background: hsl(0, 0%, 25%);
    border-radius: 4em;
}

::-webkit-scrollbar-thumb:hover {
  background: hsl(0, 0%, 10%); 
}

.gallery{
    grid-template-columns: repeat(auto-fill, 180px);
    justify-content: center;
    gap: 1.5rem;
    padding: 0;
    list-style: none;
    display: grid;    
}

.content-wrapper{
    min-height: 80vh;
    display: grid;
    grid-template-columns: 200px minmax(0,1fr);
    grid-template-rows: auto auto 1fr auto ;
    grid-template-areas:
    "header header header"
    "navbar navbar navbar"
    "sidebar main main"
    "footer footer footer";
    background-color: #d3d3d3;
    /*background-image: url();*/
    width: 60%;
    border: 15px solid #71746b;
    padding:  0 25px 25px 25px;
    margin: 0 auto;
    /*outline-style: dashed;*/
    border-radius: 4em;
}

header{
    grid-area: header;
    display: grid;
    place-items: center;
    min-width: 0;
}

.video-wrapper{
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-wrapper iframe{
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.title-image img{
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}


aside{
    grid-area: sidebar;
    background-color: #71746b;
    margin-bottom: 5px;
    padding: 5px;
    border-radius: 1em;
    overflow: hidden;
}

.navsection{
    border: 1px solid #150e10;
    margin: 5px;
    padding: 5px;
    border-radius: 1em;
}

.contact-me{
    border: 1px solid #150e10;
    margin: 5px;
    padding: 5px;
    border-radius: 1em;
}

input[type=text], input[type=email], textarea{

    width: 100%; 
    padding: 5px; 
    border: 1px solid #ccc;
    border-radius: 4px; 
    box-sizing: border-box;
    margin-top: 6px; 
    margin-bottom: 6px;   
}

textarea{
    resize: none;
}

input[type=submit]{
    background-color: #4c8f82;
    color: white;
    padding: 12px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: block;
    margin: 0 auto;
    
}

input[type=submit]:hover {
  background-color: #78b392;
}

/*image wrapper*/
.side-container{
    border: 1px solid #150e10;
    margin: 5px;
    padding: 5px;
    border-radius: 1em;
}

/*image*/
.side-image img{
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 0.6em;
}

a:link{
    color: white;
    text-decoration: none;
}

a:visited{
    color: white;
    text-decoration: none;
}

a:hover{
    color: hsl(0, 1%, 72%);
    text-decoration: underline;
}

footer{
    grid-area: footer;
    padding: 1em;
    border-radius: 1em;
    background-color: #71746b;
}


/*@media screen and (max-width:600px) {
    aside, section{
        width: 100%;
    }
}
*/

