/* fonts */
@font-face {
    font-family: NotoSansJP;
    src: url(/fonts/notosans.ttf);
}

@font-face {
    font-family: Roboto;
    src: url(/fonts/roboto-regular.ttf);
}

@font-face {
    font-family: Roboto;
    src: url(/fonts/roboto-medium.ttf);
    font-weight: 500;
}

@font-face {
    font-family: 'bx';
    src: url(/fonts/bx.ttf);
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

body {
  margin: 0;
  /*background: linear-gradient(90deg, #223142, #0b132b);*/
  /*background-color: #223142;*/
  
  /*color: var(--fontColor);*/
  color: 	 	#dce2e2;
  font-family: Roboto;
  font-size: 16px;
  font-size: 0.9em;
}

h1 {
  color:  	#f0b634;
 font-size: 92px;
 text-align: left;
 text-shadow: 1px 2px #6a4f11;
}

.home-header {
 
 text-align:right; 
}

h2 {
 color:   	#d64439;
 text-align: left;
 
}

.project-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.2rem;
    font-weight: bold;
    color: white;
    background-color: #3aa68a; /* your green */
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.project-button:hover {
    background-color: #3b8e7b; /* darker on hover */
}

.site-center {
    display: flex;
    justify-content: center;
    /*background-image: url("partybackground.gif");*/
    background-color: #223142;
    align-items: center;
    height: 100vh;
   /* backdrop-filter: invert(var(--bool));*/
  /*  -webkit-backdrop-filter: invert(var(--bool));*/
   overflow-y: scroll;
   scrollbar-width: none;
}

.site-center::-webkit-scrollbar {
    display: none;
}

/* grid */
.grid {
    display: grid;
    height: 100%;
    width: 80%;
    background-color: #223142;
    min-width: 600px;
    grid-template-columns: 0.9fr 1fr 1fr;
    grid-template-rows: 0.05fr 0.2fr 0.6fr 0.2fr 0.05fr;
    grid-template-areas:
        ". top top"
        "header main main"
        "sidebar main main"
        "music main main"
        "footer main main";
    grid-gap: 1rem;
    padding-left: 20px;
    padding-right:20px;
    overflow-y:scroll;
    scrollbar-width: none;
}

.grid::-webkit-scrollbar {
    display: none;
}

/* mobile / tablet responsive */
@media (max-width: 768px) {
    .grid {
        width: 95%;
        min-width: unset; /* Allow full shrink */
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-template-areas:
            "top"
            "header"
            "sidebar"
            "main"
            "main"
            "main"
            "footer";
        grid-gap: 0.8rem;
        overflow-y:scroll;
        padding-left: 6px;
        padding-right: 6px;
    }
}

.top {
    grid-area: top;
    /*color: var(--navColor);*/
    text-shadow:
        1px 1px 2px var(--shadow1),
        0 0 25px var(--shadow2),
        0 0 5px var(--shadow3);
    font-size: 1.3em;
    text-align: right;
    font-style: italic;
}

nav {
    grid-area: sidebar;
}

main {
    overflow-y: scroll;
    grid-area: main;
    margin: 0 -3px -3px 0;
    scrollbar-width: none;
    container-type: size;
}

/* mobile / tablet responsive FOR ABOUT PAGES */
@media (max-width: 768px) {
    main {
    grid-area: main;
    margin: 0 -3px -3px 0;
    scrollbar-width: none;
    container-type: size;
    overflow-y: visible;
}
}

main::-webkit-scrollbar {
    display: none;
}

.about-container {
 border: 1px solid #3aa68a;
 background-color: rgba(0, 0, 0, 0.7);;
 background-blend-mode: multiply;
 border-radius: 8px;
 width:40%;
 margin-left:auto;
 padding:10px;
 padding-top: 0px;
 
}

.sidebar-image {
 max-width:100%; /* this keeps image in the bounds*/ 
 display:block;
 height:auto;
 border-radius: 8px;
}

.sidebar {
    grid-area: sidebar;
    display: flex;
    flex-direction: column;
    /*background-image: url("partybackground.gif");*/
    border: 1px solid var(--borderColor);
    
    box-shadow: 2px 2px 1px rgba(var(--dropShadow), 0.3);
    text-align: center;
    gap: 0.8em;
    
   /* overflow:hidden;      optional: clip children if they grow  */
  
}

.header {
    grid-area: header;
    position: relative;
    background-image: url(/images/todd-quackenbush-unsplash.gif);
    background-size: cover;
    background-repeat: no-repeat;
    border: 1px solid var(--borderColor);
    box-shadow: 2px 2px 1px rgba(var(--dropShadow), 0.3);
    min-height: 70px;
}

.footer {
    grid-area: footer;
    position: relative;
    background: var(--bgColor);
    border: 1px solid var(--borderColor);
    box-shadow: 2px 2px 1px rgba(var(--dropShadow), 0.3);
    padding: 0.8em 10%;
    font-size: 0.8em;
    display: flex;
    justify-content: center;
    gap: 0.8em;
}

/* posts */
.posts-vertical {
    display: flex;
    flex-direction: column;
    gap: 0.4em;
    margin-right: 4px;
    margin-bottom: 3px;
}

.posts-horizontal {
    display: flex;
    gap: 0.4em;
    margin-right: -1px;
}

.post {
    background: var(--bgColor);
    border: 1px solid var(--borderColor);
    box-shadow: 2px 2px 1px rgba(var(--dropShadow), 0.3);
    width: 100%;
}

iframe {
    border: none;
}

iframe::-webkit-scrollbar {
    display: none;
}


#content {
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  margin: 0 -3px -3px 0;
  scrollbar-width: none;
  position: relative;
  container-type: size;
}

#jsplayer {
  grid-area: music;
  background: var(--bgColor);
  border: 1px solid var(--borderColor);
  box-shadow: 2px 2px 1px rgba(var(--dropShadow), 0.3);
  padding: 0.6em 0.5em;
}

#musicplayer {
  background: var(--bgColor);
  border: none;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}