* {
  box-sizing: border-box;
}

:root {
/*  --grad-color-1:   rgba(255,185,50,1);
  --grad-color-09:  rgba(255,185,50,0.9);
  --grad-color-07:  rgba(255,185,50,0.7);
  --grad-color-01:  rgba(255,185,50,0.1);
  --grad-color-0:   rgba(0,0,0,0);*/
  --border-color:     rgb(210,210,210);
  --grad-color-1:     rgba(240,240,240,1);
  --grad-color-09:    rgba(240,240,240,0.9);
  --grad-color-07:    rgba(240,240,240,0.7);
  --grad-color-01:    rgba(240,240,240,0.1);
  --grad-color-0:     rgba(0,0,0,0);
  --h-text-color:     #cc6c72;
  --main-text-color:  #4d4c29;
  --main-font:        ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

/*@font-face {
    font-family: 'Levorotary';
    src: url('../fonts/Marker SD.ttf');
    font-style: normal;
    font-stretch: 1% 500%;
}*/


body {
  font-size: 1em;
  font-family: var(--main-font);
  margin: 0;
  color: var(--main-text-color);
  line-height: 1.6em;
}

a, a:visited {
  color: var(--h-text-color);
  text-decoration: underline;
}
a:hover {
  /*background-color: #FFAEE8;*/
  background-color: var(--h-text-color);
  color: #fcfcfc;
}

#background
{
  position: fixed;
  z-index: -4;
  width: 150%;
  height: 150%;
  left: -25%;
  top: -25%;
  background-image: url('../images/decor/bg_test_1.png');
  /*background-size: 2000px auto;*/
  background-color: #a1abb4;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center center;
  /*image-rendering: pixelated;*/
}

#bg_city {
  position: fixed;
  width:  inherit;
  height: inherit;
  z-index: -3;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: 45% bottom; 
  background-image: url('../images/decor/intro_bg_city_1.png');
}

#bg_grad {
  position: fixed;
  width:  inherit;
  height: inherit;
  z-index: -2;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center center; 
  background-image: linear-gradient(60deg, var(--grad-color-0), var(--grad-color-07), var(--grad-color-09), var(--grad-color-1), var(--grad-color-09), var(--grad-color-07), var(--grad-color-0));
}

#container {
  max-width: 1100px;
  margin-top: 30px;
  margin-bottom: 10px;
  margin-left: auto;
  margin-right: auto;
  width: 90%;
}


#headerArea
{
  height: 110px;
  width: 100%;
  position: relative;
  left: 1%;
  margin-bottom: 30px;
}

#headerImage
{
  width: auto;
  height: 100%;
}

#headerLogo
{
  display: block;
  width:  35%;
  margin: auto;
}

#navbar {
  width: 100%;
  padding: 0 0;
  line-height: 1.5em;
}
#navbar ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
}
#navbar li {
  margin-right: 1.5em;
  margin-bottom: 0.2em;
  margin-top: 0.2em;
/*  margin-right: 1.5em;
  margin-bottom: 0.2em;
  margin-top: 0.2em;*/
}
#navbar li a, #navbar li a:visited {
  text-decoration: none;
  padding: 3px;
  color: inherit;
}
#navbar li a:hover {
  background-color: inherit;
  color: var(--h-text-color);
}
#navbar li a span
{
  text-decoration: underline;
}

#navbar img
{
  height: 1.1em;
  vertical-align: middle;
}

.column
{
  float: left;
  height: inherit;
  max-height: inherit;
}

.row
{
  margin-bottom:  0px;
  min-height:     480px;
  display:        flex;
  gap:            0;
}

#columnCenter {
  width: 64%;
  min-height: inherit;
  background-image: linear-gradient(to right, var(--grad-color-01), var(--grad-color-1), var(--grad-color-01));
  border: 4px double var(--border-color);
  border-bottom: none;
  border-top: none;
}

#columnLeft {
  font-family: var(--main-font);
  width: 18%;
  min-height: inherit;
  padding-top:    0px;
  background-image: linear-gradient(to right, var(--grad-color-1), var(--grad-color-01));
}

#columnRight {
  font-family:      var(--main-font);
  width:            18%;
  min-height:       inherit;
  padding-top:      0px;
  background-image: linear-gradient(to right, var(--grad-color-01), var(--grad-color-1));
  display:          flex;
  flex-direction:   column;
  justify-content:  space-between;
}

.sideContainer
{
  margin-top:     0px;
  margin-bottom:  10px;
  margin-left:    0%;
  margin-right:   0%;
  padding-left:   5%;
  padding-right:  5%;
  padding-top:    10px;
  padding-bottom: 10px;
}

.sideContainerHeader
{
  margin-top: 10px;
  margin-bottom: 10px;
}

/* Clear floats after the columns */
.row::after {
  content: "";
  display: table;
  clear: both;
}

.imageCenter
{
  display:  block;
  margin:   0px auto;
}

#buttonsFriends
{
  display:        flex;
  flex-direction: column;
  gap:            1em;
}

#latestGamesContainer
{
  display:        flex;
  flex-direction: row;
  flex-wrap:      wrap;
  gap:            1em;
}

#latestGame
{
  width: 30%;
  height: auto;
  display:        flex;
  flex-direction: column;
}

#latestGame img
{
  width: 100%;
  height: auto;
}

#latestGame a, #latestGame a:visited
{
  text-decoration: underline;
  color: var(--main-text-color);
}

#latestGame a:hover
{
  text-decoration: underline;
  color: var(--h-text-color);
  background-color: transparent;
}

#latestGame a:hover img
{
  border: 3px solid var(--h-text-color);
}

.titleBG
{
  height:           50%;
  z-index:          1;
  position:         absolute;
  left:             -5px;
  right:            -20px;
  top:              50%;
  background-color: rgba(233,187,48,0.5);
}

#pearContainer
{
  justify-content: end;
}

#pear
{
  width:            60%;
  max-width:        128px;
}

/*================*/
/*===POST STUFF===*/
/*================*/

article,  #comments {
  padding: 10px 5% 20px 5%;
  outline-style: none;
  margin-left: ;
  margin-bottom: 10px;
  width: 100%;
  line-height: 1.3em;
  /*font-size: 0.9em;*/
  /*border: 1px solid #28384f;*/
  /*background-color: aliceblue;*/
}

#comments
{
  border-color: var(--border-color);
}

article h3
{
  margin-top:     30px;
  margin-bottom:  10px;
}

article p
{
  margin-top:     10px;
}

article li
{
  margin-bottom: 0.4em;
}

table, th, td {
  border: 1px solid black;
  border-collapse: collapse;
}

table.noBorder
{
  border: none;
}

th.noBorder
{
  border: none;
}

td.noBorder
{
  border: none;
}

#postHeader
{
  font-family: var(--main-font);
  margin-bottom: 25px;
  text-align: left;
  vertical-align: top;
  border-style: none;

  width: 100%;
}

#postHeader a
{
    text-decoration: none;
}

#postHeader a:hover
{
    text-decoration: underline;
    color:inherit;
}

#postHeader h1
{
  margin-bottom: 10px;
}

.noVerticalPadding
{
  padding-top: 0;
  padding-bottom: 0;
}

.noVerticalMargin
{
  margin-bottom: 0;
  margin-top: 0;
}

.postHeaderTitle
{
  font-weight: normal;
  font-size: 0.8em;
  line-height: 1em;
}

.postHeaderText
{
  width: 75%;
  font-weight: normal;
  font-size: 0.8em;
  font-style: italic;
  line-height: 1em;
}

#userpic
{
  max-width: 100px;
  border: 1px solid white;
}

#userpicCell
{
  width: 15%;
  text-align: left;
  vertical-align: middle;
}

#postHeaderCell
{
  width: 85%;
  text-align: center;
  vertical-align: top;
}

#postTitleH1
{
  font-family: var(--main-font);
  margin-top: 0px;
  margin-bottom: 5px;
}

#postDate
{
  font-size: 0.8em;
  font-weight: normal;
}

.postTag
{
  font-family: var(--main-font);
}

.postImageContainer
{
  width: 80%;
  padding-top: 20px;
}

.yaffle
{
  font-weight:  bold;
  color:        #ee60a7;
}

.pyaffle
{
  font-weight:  bold;
  color:        #187923;
}

.rayzones
{
  font-weight:  bold;
  color:        #8c7dc3;
}

footer {
  font-family: var(--main-font);
  background-image: linear-gradient(to right, var(--grad-color-01), var(--grad-color-1), var(--grad-color-01));
  color: inherit;
  position: relative;
  left: 18%;
  width: 64%;
  font-size: 0.6em;
  padding: 5px 2% 5px 2%;
  line-height: 1em;
}

#footerButtons
{
  padding-top: 5px;
  display: flex;
}

#footerFlex
{
  display:    flex;
  justify-content: space-between;
}

#buttonWall
{
  display:          flex;
  flex-flow:        row wrap;
  gap:              1em;
  justify-content:  flex-start;
}

.inlineButton
{
  display: inline-block;
  vertical-align: middle;
}

.centerCell
{
  vertical-align: middle;
  text-align: center;
}

.webButton
{
  image-rendering: pixelated;
  background-color: transparent;
}

.codeCell
{
  line-height: 0.7em;
  padding-left: 20px;
  padding-right: 20px;
  font-size: 0.7em;
}

code {
  font-family: monospace;
  font-weight: normal;
  font-size: inherit;
  vertical-align: middle;
  padding-left: 2%;
  padding-right: 2%;
  line-height: 1em;
}

h1, h2, h3, h4, h5 {
  var(--main-font);
  color: var(--h-text-color);
  line-height: 1em;
}

h1 span, h2 span, h3 span, h4 span, h5 span, h6 span
{
  position: relative;
}

h1 span:first-child
{
  z-index: 2;
}

hr {
  border: solid hotpink;
  border-width: 1px 0 0 0;
}

blockquote {
  padding: 0 20px;  margin-left: 0;  border-left: 2px solid #fc51ce;
  line-height: 1.6em;
}

ul.none {
    padding: 0;
    list-style-type: none;
}

ul
{
  padding-left: 10px;
}

figure
{
  padding-top: 25px;
  padding-bottom: 25px;
}

figcaption
{
  display: block;
  font-size: 0.9em;
  line-height: 1.2em;
  font-style: italic;
  text-align: center;
}

.figImage
{
  width: 100%;
  margin: 0px auto;
}

/* Alignment classes */
.right {
  float: right;
  margin-left: 1em;
}
.left {
  float: left;
  margin-right: 1em;
}
.center {
  display: block;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

/* Recent Blog Posts block in index.html */
#recentpostlistdiv ul {
  padding: 0;
  list-style-type: none;
}

/* At the bottom of blog posts */
#nextprev {
  text-align: center;
  margin-top: 1.4em;
}

.flex
{
  display: flex;
  flex-direction: column;
}

/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media screen and (max-width:1000px) {
  
  #headerLogo {
    width: 100%;
  }

  .row {
    min-height:     auto;
    display:        flex;
    flex-direction: column;
    gap:            0;
  }

  .column {
    
  }


  #columnCenter {
    width:  100%;
    border: none;
  }

  #columnLeft {
    width: 100%;
    margin-right: 0;
    margin-bottom: 10px;
    padding: 15px;
    background-image: linear-gradient(to right, var(--grad-color-01), var(--grad-color-1), var(--grad-color-01));
  }

  #columnRight {
    width: 100%;
    margin-left: 0;
    margin-bottom: 10px;
    padding: 15px;
    background-image: linear-gradient(to right, var(--grad-color-01), var(--grad-color-1), var(--grad-color-01));
  }

  footer {
    left:   0%;
    width:  100%;
  }
}