body {
    margin: 0 auto;
    background-color: #f0f0f0;

}

.container{
    position: relative;
    margin: 0 auto;
    display: grid;
    grid-template-areas: 
    "header aside"
    "main aside";
    height: 100%;
    width: 100%;
}

header{
    grid-area: header;
    width:100%;
    height: 40vh;
    text-align: left;
    text-decoration:underline;
    font-weight: bolder;
}
header img{
    margin-left: 2vw;
    height:100%;
    opacity: 85%;
}
header h1{
    margin-top: -25vh;
    text-align: center;
    font-size: 3.5em;
    
}
main{
    grid-area: main;
    background-color: rgba(254, 255, 255, 0);
    width: 80vw;
    height: 55vh;
    padding: 1em;
    padding-bottom: 0.2em;
    overflow-y: scroll;
    text-align: left;    
}
main img{
    position: relative;
    width:70%;
    opacity: 95%;
    right: -10vw;
}
.special-inline h3,
.special-inline p {
  display: inline;
}
aside{
    grid-area: aside;
    position: absolute;
    right: 0;
    background-color: #c7c7c78b;
    width: 15vw;
    height: 100%;
    padding: 5px;
    display: block;
    text-align: center;
}
aside time{
    position:absolute;
    left: 0.5vh;
    bottom: 0.5vh;
    font-size: 0.6em;
    text-align: left;
    gap:5px;
}
/************************************************/
details summary { 
    cursor: pointer;
    padding: 0.5em;

  }
  
  details summary > * {
    display: inline;
  }
  
.copybtn {
    background-color: rgba(87, 92, 92, 0.136);
    border: none;
    cursor: pointer;
    padding: 0.5em;
    height: 100%;
    margin-top: -0.5vw;
}
.copybtn:hover{
    background-color: rgba(255, 255, 255, 0.481);
}

#randomimg{
    max-width: 13vw;
    box-shadow: 5px 2px 4px #777878;
    border: 1vh solid #ffff;
}
#linkcorner{
    position: relative;
    margin-top: -5vh;
    margin-right: 10vw;
    font-size: 1.7em;

} 
/**************************************************/
@media only screen and (max-width: 600px) {
    .container{
        margin: 0 auto;
        width: 100vw;
        grid-template-areas: 
        "header"
        "main"
        "aside";
        text-align: center;
        height: fit-content;

    }
    main, header, aside{
        text-align: center;
        width: 100vw;
        padding: unset;
        position: relative;
        overflow-y: unset;
        padding-bottom:1vh;
    }
    main{
        height: fit-content;
    }
    main img{
        right: unset;
        width:100%;
    }
    main h3, p{
        padding: 15px;
    }
    header h1{
        margin-top: -32vh;
    }
    header img{
      width:100vw;
    }
   #randomimg{
    max-width: 40%;
   } 
}