body {
    background: rgb(28, 28, 28);
    font-family: courier;
    font-size: 0.875em;
    padding: 0;
    margin: 0;
    background-image: url(https://i.postimg.cc/632p5Kwx/IMG-6884.jpg);
    background-blend-mode:overlay;
}

header {
    height: 50px;
    margin: 10px auto;
    display: block;
    text-align: center;
    background: #a5a5a5;
    border:#c6c6c6 4px double;
    align-content: center;
    width: 700px;
    background-image: url(https://64.media.tumblr.com/3d5f5212f39dd078ab90428bf24bb0dd/ef11a32339fb17a7-2d/s400x600/d8835d44849f7a74561f1c09112dddb817ca9752.jpg);
    background-blend-mode: lighten;
    background-position: 150px center;
}
h1{
    margin: 0 auto;
}
main{
    margin: 10px 5em 0 5em;
    padding: 10px;
    height: fit-content;
   
}

nav ul{
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    width: 100%;
}
nav ul li a {
    display: block;
    color: rgb(35, 12, 8);
    padding: 10px;
    
    text-decoration: none;
    /* margin: 0 20px 0 20px; */
}

nav ul li {
    background: #fff1ddde;
    border:#000000 2px solid;
    margin: 0 20px;

}

li.tablinks.active{
    background: #dec4a2;
}

.bg-overlay {
    width: 100%;
    height: 100%;
}

.wrapper {
    width: 885px;
    margin: 0 auto;
    background: rgb(177, 177, 177);
    height: auto;
    border:#c6c6c6 4px double;
    -webkit-box-shadow: 0px 0px 17px 5px rgba(0,0,0,0.55); 
    box-shadow: 0px 0px 17px 5px rgba(0,0,0,0.55);
    position: relative;
      
    

}

.section{
    display: flex;
    flex-wrap: wrap;
}

.wrapper:before {
 content: " ";
position: absolute;
z-index: -1;
top: -8px;
left: -8px;
right: -8px;
bottom:-8px;
border: 8px solid #000000;
margin: 0 auto;
height: 100%;
border-image: url(https://i.postimg.cc/vmDzzQn1/Untitled1122-20240921153946.png) 7 round;
border-image-outset: 4px;
}

.wrapper2:before{
    content: " ";
    position: absolute;
    z-index: -1;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom:-8px;
    border: 8px solid #000000;
    margin: 0 auto;
    height: 100%;
    border-image: url(https://i.postimg.cc/vmDzzQn1/Untitled1122-20240921153946.png) 7 round;
    border-image-outset: 4px;
}

.wrapper .grid{
    width: 275px;
    margin: 10px;
    padding: 0;
    float: left;
  
}

.wrapper img{
    width: 100%;
    max-height: 320px;
    object-fit: contain;
}

.wrapper2 {
	width: 750px;
     margin: 0 auto;
    background: rgb(177, 177, 177);
    height: fit-content;
    border:#c6c6c6 4px double;
    -webkit-box-shadow: 0px 0px 17px 5px rgba(0,0,0,0.55); 
    box-shadow: 0px 0px 17px 5px rgba(0,0,0,0.55);
    position: relative;
}

.container{
    margin: 0 auto;
}

.grid-sizer, .grid-item{
    width: 250px !important;
}
#gallery_b div{
    height: auto;
    float: left;
    margin: 0 0 5px 0;
    width: 33.333%;
}



.container div img{
    width: 275px;
}

#gallery_b div img{
	max-width: 99%;
    display: block;
}

#back{
    position: fixed;
    bottom: 10px;
    right: 20px;
    color: rgb(228, 228, 228);
}
section {
    width: calc(100% - 2px);         /* standards-based answer for IE9+, FF16+ */
    width: -moz-calc(100% - 2px);    /* support for FF4 - FF15                 */
    width: -webkit-calc(100% - 2px);
    height: calc(100% - 2px);
    height: -moz-calc(100% - 2px);
    height: -webkit-calc(100% - 2px);
    display: block;
    align-content: center;
    text-align: center;
    text-shadow: 0px 0px 9px rgba(19,13,4,0.61), 0px 5px 2px rgba(219,23,58,0.1);
}
.outer {
    display: block;
    margin: 0 30px;
    width: 375px;
    height: 450px;
    border: 4px rgb(109, 137, 190) double;
    background-color: rgb(190, 218, 249);
    padding: 15px;
    

}

section#left{
    background-image: url(https://isntreal.neocities.org/art%20folder/12-27-25%20cropped.png);
    background-repeat: no-repeat;
    background-blend-mode:lighten;
    background-size: cover;
    background-position: center;
    background-color: rgba(190, 218, 249, .6);
    border: 2px black solid;

}

section#right{
    background-image: url(https://isntreal.neocities.org/art%20folder/sketchbookthumb.jpg);
    background-repeat: no-repeat;
    background-blend-mode:lighten;
    background-size: cover;
    background-position: center;
    background-color: rgba(190, 218, 249, .6);
    color: #051456;
    text-shadow: 0px 0px 20px #020512, 0px 0px 11px rgba(2,5,18,0.86);
    border: 2px black solid;

}
section a{
    color: white;
    text-decoration: none;
}

section#right a{
    color:#051456;
}

h3 {
    display: block;
    text-align: center;
}

#comms {
    margin: 10px auto;
    background-color: #dec4a2;
    width: 700px;
    border: 2px solid black;
    padding: 0 20px;
}

#inspiration {
    margin: 10px auto;
    background:rgba(197, 126, 177, 0.84);
    border: 2px solid #591414;
    border-radius: 4px;
    width: 600px;
}

#resources {
    margin: 10px auto;
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid black;
    width: 700px;
    padding: 0 20px;

}
.tabcontent {
  display: none;
  padding: 6px 12px;
}

button {
    display: none;
}

.inner {
    margin: 0 20px;
}

@media (max-width: 767px) {
    header{
        width: 100%;
        margin: 0 0;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
    }
    main {
        width: 100%;
        margin: 7px 0;
        padding: 0 0;
    }
    .wrapper,.wrapper2 {
        width: 100%;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        background:none;
        border: none;
    }
    .wrapper:before{
        display: none;
    }
    .grid-item,.grid-sizer{
        width: 100% !important;
    }
    .wrapper div{
        float:none;
        width: 90%;
        margin: 10px auto;
       
    }
    .wrapper img{
         -webkit-box-shadow: 0px 0px 17px 5px rgba(0,0,0,0.55); 
        box-shadow: 0px 0px 17px 5px rgba(0,0,0,0.55);
        min-height: fit-content;
    }
    #back{
        font-size: large;
        padding: 10px 0;
        text-shadow: 2px 2px 2px #000000;
    }
    #gallery_b div img {
    min-width: 100% !important;
    display: block;
    }
    div#gallery_b.container.grid{
        width: 95% !important;
        margin: 0 auto;
    }

}
