body {
    background: #000000 url('https://mason-flare.neocities.org/medias/backgroundtile.png');
    text-align: left;
    color: #ffffff;
    font-family: 'consolas', serif;
    margin: 0 auto;
    line-height: 1.5;
    font-size: 18px;
}

@font-face {
    font-family: "Alagard";
    src: url("https://mason-flare.neocities.org/medias/alagard.ttf") format("truetype");
}

#navbar {
    height: 50px;
    background-color: #420f02;
    width: 100%;
    margin-bottom: 10px;
    border: #ff7b00 solid 1px;
}

#navbar ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style-type: none;
    justify-content: space-evenly;
}

#navbar li {
    padding: 7px;
}

#navbar li a {
    font-family: Alagard;
    color: #ff7b00;
    text-decoration-line: none;
    font-weight: bold;
    font-size: 28px;
}

#navbar li a:hover {
    font-family: Alagard;
    color: #F2E697;
    width: 100%;
    font-size: 32px;
    margin-bottom: 5px;
}

#container {
    max-width: 75%;
    margin: 0 auto;
    padding: 5px;
    background: none;
}

#container a {
    color: #ff7b00;
    text-decoration-line: underline;
    font-weight: bold;
}

#container a:hover {
    color: #F2E697;
}

#flex {
    display: flex;
}

#titlebox{
    background-color:none;
    width:100%;
    height:auto;
    margin:none;
    padding-top:2px;
    padding-bottom:2px;
}

main {
    height: auto;
    flex: 1;
    order: 2;
}

#mainbox {
    height: auto;
    padding: 10px;
    margin-bottom: 5px;
}

#mainbox mark a{
    font-size:22px;
    background:#420f02;
    color: #ff7b00;
    padding: 7px;
    font-family:Alagard;
    border: #ff7b00 solid 1px;
}

#box{
    height:auto;
    padding:10px;
    margin:5px;
    border:white dashed 1px;
}

#leftbar{
    width: 20%;
    height: auto;
}

#leftbox {
    padding: 10px;
    margin-right:5px;
    margin-bottom: 5px;
    border: #ffffff dashed 1px;
}

.static {
  position:absolute;
  background: url('https://mason-flare.neocities.org/medias/backgroundtile.png');
}

.static:hover {
  opacity:0;
  
}

footer {
    width: 100%;
    padding: 10px;
    text-align: center;
    height: auto;
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

h1 {
    color: #ff7b00;
    background-color: #420f02;
    padding: 5px;
    border: #ff7b00 solid 1px;
    font-size: 36px;
    font-family: Alagard;
    text-align: center;
}

h2 {
    background-color: #420f02;
    color: #ff7b00;
    padding: 5px;
    border: #ff7b00 solid 1px;
    font-size: 28px;
    font-family: Alagard;
    text-align: center;
}

h3 {
    color: #ff7b00;
    font-size: 24px;
    padding-bottom: 3px;
    border-bottom: 2px #ff7b00 solid;
    line-height:1.2;
}

details{
    border:white dotted;
    padding:10px;
    margin-bottom:20px;
}

details p{
    padding-left:40px;
    padding-right:40px;
}

summary{
    text-align: center;
    background-color: #420f02;
    color: #ff7b00;
    padding: 5px;
    border: #ff7b00 solid 1px;
    font-size: 28px;
    font-family: Alagard;
}

.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 0 5px;
  }

  .column {
    -ms-flex: 32%;
    flex: 32%;
    max-width: 32%;
    padding: 0 5px;
  }
  
  #artimg {
    padding: 5px;
    vertical-align: middle;
    width: 100%;
    transition: 0.3s;
  }
  
  #artimg:hover{
    vertical-align:middle;
    cursor: pointer;
    background-color:white;
  }

  /* The Modal (background) */
  .modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 40px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: scroll; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
  }
  
  /* Modal Content (image) */
  .modal-content {
    margin: auto;
    display: block;
    width: auto;
    max-height: 90%;
    overflow-y: scroll;
  }
  
  /* Caption of Modal Image */
  #caption {
    margin: auto;
    display: block;
    width: 80%;
    text-align: center;
    color: white;
    padding: 10px 0;
    height: auto;
  }
  
  /* The Close Button */
  .close {
    position: absolute;
    top: 15px;
    right: 50px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
  }

.close:hover,
.close:focus{
    cursor: pointer;
}

#leftbar{
    order:1;
}

#mainbox{
    order:2;
}

#transmasc_ring {
  margin: 0;
  height: auto;
  width: 200px;
}

#transmasc_ring .webring-prev {
  text-align:right;
}

#transmasc_ring .webring-info {
   text-align:center;
}

#transmasc_ring .webring-next {
  text-align:left;
}

#leftarrow{
height: 45px;  
/* content: url() */
}
#rightarrow{
height: 45px;
content: url(https://goooby.neocities.org/graphics%20made%20by%20me/right%20blue%20arrow%202.png);
}
#middleflag{
height: 60px;
content: url(https://goooby.neocities.org/graphics%20made%20by%20me/circle_transmasc.png);}

@media only screen and (max-width: 800px) {
    #flex {
        flex-wrap: wrap;
    }

    main {
        order: 2;
    }

    #leftbar {
        order: 1;
    }

    #navbar ul {
        flex-wrap: wrap;
    }

     .column {
        flex: 32%;
        max-width: 32%;
     }
}