html{
    height: 100%;
    margin: 0%;
}

body{
    height: 100%;
    margin: 0;
    font-family: verdana;
    background-size: cover;
}

div.grid-container{
    display: grid;
    height: 100%;
    grid-template-columns: 20% auto 800px;
    grid-template-rows: 75px 40px auto 150px;
    column-gap: 0%;
    row-gap: 0%;
    grid-template-areas: 'header header nav''article article article''article article article' 'footer footer footer';
}

header{
    background-color: rgb(13, 13, 13);
    grid-area: header;
}

nav{
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    grid-area: nav;
    background-color: rgb(13, 13, 13);
}

nav a{
    display: inline-block;
    text-decoration: none;
    text-align: center;
    align-items: center;
    height: 50px;
    width: 200px;
    padding: 10px 0px 10px 0px;
    margin-right: 5%;
    box-sizing: border-box;
    font-weight: bolder;
    color: rgb(0, 255, 217);
    border-bottom: 2px dashed rgb(0, 255, 217);
}

nav a:active{
    color: rgb(0, 205, 167);
}

nav a:visited{
    color: rgb(0, 255, 217);
}

nav a img{
    float: inline-start;
    height: 17px;
}

article{
    display: block;
    grid-area: article;
    box-sizing: border-box;
    
    color: white;
    background-color: rgb(13, 13, 13)
}

footer{
    display: block;
    grid-area: footer;

    color: white;
    background-color: rgb(33, 33, 33);
    border-top: 2px solid rgb(0, 255, 217);
    padding-top: 20px;
    padding-left: 40px;
    padding-right: 40px;
}

div.banner-text{
    color: white;
    margin-left: 5%;
    box-sizing: border-box;
    align-self: center;
    grid-area: title;
    height: 75px;
    text-align: left;
    align-content: center;
    font-size: xx-large;
    font-weight: bolder;
}

/**/

h1{
    color: white;
    margin-left: 5%;
    box-sizing: border-box;
    align-self: center;
    grid-area: title;
    height: 50px;
    text-align: left;
    align-content: center;
}

h2{
    color: rgb(0, 255, 217);
    margin: 1% 5% 1% 5%;
    display: flex;
    align-items: center;
    text-shadow: 0px 3px 5px rgba(0, 255, 217, 0.5);
}

h2 img{
    margin: 0% 1% 0% 1%;
    height: 50px;
}

h2.post-title{
    border-bottom: 2px dashed rgb(0, 255, 217);
    padding: 20px;
    width: fit-content;
}

h3{
    color: rgb(0, 255, 217);
    margin: 30px 5% 1% 5%;
    border-bottom: 2px solid rgb(0, 255, 217);
    text-shadow: 0px 3px 5px rgba(0, 255, 217, 0.5);
    padding-bottom: 10px;
    padding-left: 10px;
}

h3.contents{
    border-bottom: none;
}

h4{
    margin: 1% 5% 1% 5%;
    text-shadow: 0px 3px 5px rgba(255, 255, 255, 0.5);
}

p{
    margin: 2% 5% 2% 5%;
}

p a{
    text-decoration: none;
    color: rgb(0, 255, 217);
    font-weight: bolder;
    text-shadow: 0px 3px 5px rgba(0, 255, 217, 0.5);
    animation: glimmer;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}

p a:visited{
    color: rgb(0, 255, 217);
}

p b{
    color: rgb(0, 255, 217);
}

p.code{
    display: block;
    border-left: 2px solid gray;
    background-color: black;
    box-sizing: border-box;
    margin: 30px 5% 50px 5%;
    padding: 2% 5% 2% 5%;
}

p.post-body{
    border-left: 2px solid rgb(0, 255, 217);
    min-height: 100px;
    max-width: 600px;
    margin-bottom: 50px;
    padding: 20px;
    text-justify: inter-cluster;
    text-align: justify;
}

footer small{
    color: rgb(121, 121, 121);
    font-family: verdana;
    text-shadow: 0px 2px 3px rgba(0, 0, 0, 0.5);
}

a.file-link{
    text-decoration: none;
    color: rgb(0, 255, 217);
    font-weight: bolder;
    text-shadow: 0px 3px 5px rgba(0, 255, 217, 0.5);
    animation: glimmer;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    margin-left: 5%;
}

ul{
    color: white;
    list-style: disc;
    margin: 2% 5% 2% 5%;
}

img{
    margin: 2% 5% 2% 5%;
    max-width: 90%;
}

label{
    margin-left: 5%;
    color: rgb(0, 255, 217);
}

input.submit-button{
    background: none;
    color:rgb(0, 255, 217);
    border: 2px dashed rgb(0, 255, 217);
    height: 50px;
    width: 100px;
    margin-left: 5%;
    margin-bottom: 5%;
    font-size: medium;
    font-weight: bold;
}

input.submit-button:hover{
    text-shadow: 0px 3px 5px rgba(0, 255, 217, 0.5);
    box-shadow: 0px 3px 5px rgba(0, 255, 217, 0.5);
}

input.submit-button:active{
    background-color: rgb(0, 105, 67);
    text-shadow: 0px 3px 5px rgba(0, 255, 217, 0.5);
    box-shadow: 0px 3px 5px rgba(0, 255, 217, 0.5);
}

input.input-bar{
    background: none;
    color:rgb(0, 255, 217);
    border: 2px dashed rgb(0, 255, 217);
    box-sizing: border-box;
    padding: 2px 5px 2px 5px;
}

input.text-form{
    background: none;
    color: rgb(0, 255, 217);
    border: 2px dashed rgb(0, 255, 217);
    width: 600px;
    height: 400px;
    display: block;
    margin: 2% 0% 5% 5%;
    
}

input.input-cell{
    background: none;
    color:rgb(0, 255, 217);
    border: 2px dashed rgb(0, 255, 217);
    box-sizing: border-box;
    width: 50px;
    padding: 2px 5px 2px 5px;
}

div.dim-div{
    display: flex;
    flex-direction: row; 
    width: inherit;
    margin: 2% 0% 0% 5%
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

div.clickable-gallery{
    margin: 0% 5% 0% 5%;
    display: flex;
    flex-wrap: wrap;
    
}

div.gallery-item{
    width: 100px;
    height: 130px;
    background-color: rgb(53, 53, 53);
    margin-right: 3%;
    margin-bottom: 20px;
}

div.clickable-gallery a{
    text-decoration: none;
    color: white;
    width: inherit;
    height: inherit;
    display: block;
    text-align: center;
    overflow-y: hidden;
    overflow-x: hidden;
    text-overflow: clip;
}

div.gallery-item:hover{
    background-color: rgb(0, 205, 167);
    color: rgb(0, 255, 217);
    font-weight: bolder;
}

div.gallery-item:active{
    background-color: rgb(0, 155, 117);
    color: rgb(0, 205, 167);
}

ul.contents{
    border-left: 2px solid rgb(0, 255, 217);
    list-style: none;
    margin: 2% 5% 2% 5%;
}

ul.contents li a{
    text-decoration: none;
    color: rgb(0, 255, 217);
}

ul.contents li a:visited{
    color: rgb(0, 255, 217);
}

div.date{
    float: left;
    margin-right: 5%;
    margin-top: 1%;
    font-weight: bold;
    border-bottom: 1px solid white;
}

div.file-box{
    border: 2px dashed rgb(0, 255, 217);
    color: rgb(0, 155, 117);
    margin: 2% 5% 2% 5%;
    padding: 20px;
    text-align: center;
    font-size: x-small;
    justify-items: left;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    height: 200px;
    width: 500px;
    overflow-block: scroll;
}

div.file-box-item{
    border: 2px dashed rgb(0, 255, 217);
    width: 80px;
    height: 80px;
    margin-right: 10px;
    margin-bottom: 10px;
    overflow-x: clip;
    overflow-y: clip;
}

button.form-button{
    border: 2px dashed rgb(0, 255, 217);
    background: none;
    overflow: hidden;
    width: 90px;
    padding: 5px;
    color: rgb(0, 255, 217);
    margin-left: 5%;
    margin-bottom: 5px;
    display: inline-flex;
}

button.form-button:hover{
    text-shadow: 0px 3px 5px rgba(0, 255, 217, 0.5);
    box-shadow: 0px 3px 5px rgba(0, 255, 217, 0.5);
}

button.form-button:active{
    background-color: rgb(0, 105, 67);
    text-shadow: 0px 3px 5px rgba(0, 255, 217, 0.5);
    box-shadow: 0px 3px 5px rgba(0, 255, 217, 0.5);
}

button.form-button-red{
    border: 2px dashed rgb(255, 0, 0);
    background: none;
    overflow: hidden;
    width: 90px;
    padding: 5px;
    color: rgb(255, 0, 0);
    margin-left: 5%;
    display: inline-flex;
}

button.form-button-red:hover{
    text-shadow: 0px 3px 5px rgba(205, 0, 0, 0.5);
    box-shadow: 0px 3px 5px rgba(205, 0, 0, 0.5);
}

button.form-button-red:active{
    background-color: rgb(105, 0, 0);
    text-shadow: 0px 3px 5px rgba(205, 0, 0, 0.5);
    box-shadow: 0px 3px 5px rgba(205, 0, 0, 0.5);
}

button.form-button-locked{
    border: 2px dashed rgb(50, 50, 50);
    background: none;
    overflow: hidden;
    width: 110px;
    padding: 5px;
    color: rgb(50, 50, 50);
    margin-left: 5%;
    margin-bottom: 50px;
    display: inline-flex;
}

p.response-text{
    font-size: large;
    font-weight: bolder;
}

a.socials{
    float: right;
}

@media screen and (max-width: 600px) {
    nav{
        padding-right: 5%;
    }
    nav a{
        width: 20%;
        font-size: smaller;
        margin: 2%;
    }
    div.grid-container{
        grid-template-columns: 0px 0px auto;
    }
    div.banner-item{
        font-size: medium;
        display: none;
    }
    input.submit-button{
        margin-left: 5%;
        margin-top: 2%;
    }
    input.text-form{
        width: 50%;
    }
    div.dim-div{
        flex-direction: column;
    }
    div.file-box{
        width: 300px;
    }
}

@media screen and (min-width: 600px) and (max-width: 768px){
    div.grid-container{
        grid-template-columns: 10% auto 400px
    }

    nav a{
        width: 80px;
        font-size: x-small;
    }
    div.h1{
        font-size: medium;
        display: block;
    }
    input.text-form{
        width: 400px;
    }
    div.dim-div{
        flex-direction: column;
    }
}

@media screen and (min-width: 768px) and (max-width: 992px){
    div.grid-container{
        grid-template-columns: 20% auto 580px
    }

    nav a{
        width: 110px;
        font-size: smaller;
    }
    div.banner-item{
        font-size: medium;
    }
    div.dim-div{
        flex-direction: row;
    }
}

@media screen and (min-width: 992px) and (max-width: 1200px){
    div.grid-container{
        grid-template-columns: 20% auto 700px
    }
    nav a{
        width: 175px;
    }
    div.banner-item{
        font-size: x-large;
    }
    div.dim-div{
        flex-direction: row;
    }
}

@keyframes glimmer{
    0% {color: rgb(0, 255, 217);}
    50% {color: rgb(0, 200, 157);}
    100% {color: rgb(0, 255, 217);}
}