body {
    background-image: url("images/hollyhock_bg.png"), linear-gradient(rgba(70, 112, 162, 1), rgba(107, 145, 181, 1) ) ;
    background-position: right;
    background-size: contain;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
#container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 15% 25% 60%;
    gap: 1rem;
    grid-template-areas: 
        'blank blank header'
        'image main main'
        'sidebar main main';
    justify-content: center;
    width: 90%;
    height: 90%;
    position: absolute;
}
#page_title {
    grid-area: header;
    justify-self: end;
    align-content: end; 
    white-space: nowrap;
}

h1 {
    color: #fe65cb;
    font-family: testubinGothic;
    font-size: 4rem;
}

#nav {
    background-color: rgba(127, 255, 212,80);
    background-image: url("images/morning-glory.jpg") ;
    background-blend-mode:overlay;
    background-size:cover;
    background-repeat: no-repeat;
    border-radius: 5px;
    grid-area: sidebar;
    justify-self: end;
    align-content: end;
    align-items: start;
    height: 100%;
    width: 60%;
}

@font-face {
    font-family: testubinGothic;
    src: url(font/tetsubin-gothic/testsubin_gothic.otf);
}
:root {
  --font-glow: #6827e0;
}

#nav a {
    line-height: 150%;
    font-family: testubinGothic;
    color: #fe65cb;
    text-decoration: none;
    text-shadow: 0 0 10px var(--font-glow), 0 0 20px var(--font-glow),
    0 0 30px var(--font-glow);
}

@media (min-width: 48em) {
  #nav a {
    font-size: calc(1.5rem + ((1vw - 0.48rem) * 0.6944));
    min-height: 0vw;
  }
}
@media (min-width: 120em) {
  #nav a {
    font-size: 2.25rem;
  }
}

#nav a:hover {
    color: yellow;
}

#nav_center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 8%;
}

#nav_center img {
    max-width: 100%;
    max-height: 100%;
    padding-left:1%;
    padding-right: 1%;
}

#content {
    grid-area: main;
    background-color: rgba(110,200,250,0.8);
    border-radius: 5px;
    padding: 5%;
    overflow-y: auto;
    overflow-x: hidden;
}

#fun_image {
    grid-area: image;
    height: fit-content;
    background-color:cyan;
    padding: 3%;
    justify-self: end;
    align-self: center;
    width: 54%;
    border-radius: 5px;
    align-items: center;
}

#fun_image img {
    width: 100%;
}

.masonry {
    display: grid;
    overflow: hidden;
    gap: 0.5em;
    grid-template-columns: repeat(auto-fill, minmax(325px, 1fr));
}

.frame {  
  aspect-ratio: var(--width) / var(--height);

  & img {
    width: 100%;
  }
}

.tabs {
    position: relative;
    min-height: 100%;
    clear: both;
    margin: 25px 0;
}

.tab {
    float: left;
}

.tab label {
    background: #7de5ff;
    padding: 10px;
    border: 1px solid #7de5ff;
    margin-left: -1px;
    position: relative;
    left: 1px;
}

.tab [type="radio"] {
    opacity: 0;
}

.recipe {
    position: absolute;
    background: #7de5ff;
    top: 28px;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
    overflow: scroll;
}

.recipe > * {
  opacity: 0;
  transform: translateX(-100%);
  transition: all 0.6s ease;
}

[type="radio"]:checked ~ label {
  background:#7de5ff;
  z-index: 2;
}
[type="radio"]:checked ~ label ~ .recipe {
  z-index: 1;
}
[type="radio"]:checked ~ label ~ .recipe > * {
  opacity: 1;
  transform: translateX(0);
}