* {
  box-sizing: border-box;
  cursor: url(images/fatfuck.png), auto;
}

:root {
  --viewport-height: 100vh;
}

img.pearl {
  width: 100%
}


#wrapper {
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  width: 70%;
  margin: auto;
  z-index: 2;
}

@font-face {
  font-family: 'Quicksand';
  src: url(fonts/Quicksand.ttf);
}

h2 {
  font-family: "Quicksand";
  font-weight: bold;
  color: #855b51;
  
}

h4 {
  font-family: georgia;
  color: #855b51;
  font-size: 15px;
  font-weight: normal;
}

@font-face {
  font-family: 'LostinWild';
  src: url(fonts/LostinWild.ttf);
} 

h1 {
  font-family: "LostinWild";
  color: #855b51;
  font-weight: bold;
}

.overlay {
  background-image: url(stamps/spiralsmileflag.gif);
  background-repeat: no-repeat;
  position: fixed;
  width: 99px;
  height: 56px;
  bottom: 0px;
  left: 0px;
  background-size: 99px;
  z-index: 1000;
  margin: 10px;
  image-rendering: pixelated;
}

body {
  padding: 10px;
  background-image: linear-gradient(white, #f0fff9, #dbedf4);
}

.dotmask {
  width: 100%;
  margin: -18px;
  background: url(backgrounds/polkadot.png) 0px 0px / 15px;
  height: 900px;
  position: fixed;
  z-index: -1000;
}

/* Header/Blog Title */
.header {
  padding: 30px;
  text-align: center;
  background: linear-gradient(#fff4d4, #fffbe4, white);
  border-style: double;
  border-width: 5px;
  border-color: #ffedb8;
}

.header h1 {
  font-size: 50px;
}

.topnav {
  overflow: hidden;
  margin: 10px 0px;
  background-color: #463b34;
}

/* Style the topnav links */
.topnav a {
  float: left;
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

/* Change color on hover */
.topnav a:hover {
  background-color: #8a6a55;
  color: #463b34;
}

/* Create two unequal columns that floats next to each other */
.column.one {
  float: left;
  width: 25%;
  padding-right: 10px;
}

.column.two {   
  float: left;
  width: 75%;
}

/* Fake image */
.fakeimg {
  background-color: #aaa;
  width: 100%;
  padding: 20px;
}

/* Add a card effect for articles */
.card.one {
  background-color: white;
  padding: 20px;
  border-style: double;
  border-width: 5px;
  border-color: #ffedb8;
  height: 200px;
  background-image: url(backgrounds/yellow-polkadot.png);
  text-align: center;
}

.card.one h2 {
  font-family: "Quicksand";
  font-weight: bold;
  color: #855b51;
}

.card.two {
  background-color: white;
  padding: 20px;
  height: 253px;
  margin: 10px 0px;
  border-style: double;
  border-width: 5px;
  border-color: #ffedb8;
  background-image: url(backgrounds/white-yellow-grid.png);
  background-size: 50px;
}

.card.three {
  background-color: white;
  padding: 20px;
  border-style: double;
  border-width: 5px;
  border-color: #ffedb8;
  height: 223.75px;
  background-image: url(backgrounds/diamond-cushion.jpg);
  background-size: 100px;
}

.card.four {
  background-color: white;
  padding: 20px;
  border-style: double;
  border-width: 5px;
  border-color: #ffedb8;
  width: 100%;
  height: 755px;
  background-image: url(backgrounds/yellow-diamond-cushion.jpg);
  background-size: 500px;
}

#boxdeco {
  background: url(dividers/whitelace2.png) 0px 0px;
  background-size: 408px;
  image-rendering: pixelated;
  width: auto;
  height: 38px;
  position: static;
  top: 0px;
  left: 0px;
  margin: -20px;
  -webkit-filter: drop-shadow(5px 5px 5px #fce6b3);
  filter: saturate(0) drop-shadow(5px 5px 5px #fce6b3);
}

.card.message {
  margin-bottom: 10px;
  background-image: url(images/thisuserlovessupersonffiz.png);
  background-size: 100%;
  background-repeat: no-repeat;
  height: 48px;
}

.voting.box {
  width: 100%;
  height: 175px;
  padding: 35px 0px;
  background-color: #fffce4;
  box-shadow: 0px 0px 5px #888;
}

div.ex1 {
  background-color: white;
  text-align: center;
  background-image: url(backgrounds/wrinkled-paper.png);
  background-size: 150px;
  width: auto;
  height: 193px;
  overflow: scroll;
}

.yumebutton {
  background-image: url(buttons/frutigur-aero-yellow-button.png);
  background-size: 100%;
  padding: 10px;
  background-repeat: no-repeat;
  height: 69px;
}

.yumebutton h4 {
  margin: 10px;
}

#lacing {
  border-radius: 6px;
  border-image-slice: 40;
  border-image-width: 12px;
  border-image-outset: 9px;
  border-image-repeat: round round;
  border-image-source: url(borders/brown-lacing-border.png);
  border-style: solid;
}

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

/* Footer */
.footer {
  padding: 20px;
  text-align: center;
  background: white;
  margin-top: 20px;
}

.footer a {
  color: #855b51;
}

.footer h2 {
  font-size: 15px;
}

/* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 800px) {
  .leftcolumn, .rightcolumn {   
    width: 100%;
    padding: 0;
  }
}

/* Responsive layout - when the screen is less than 400px wide, make the navigation links stack on top of each other instead of next to each other */

@media screen and (max-width: 600px) {
  #wrapper {
    width: 100%;
  }
}

@media screen and (max-width: 600px) {
  .column.one, .column.two {
    display: flex;
    width: 100%;
    padding: 0px;
  }
}

@media screen and (max-width: 600px) {
  .column.one {
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 600px) {
  .card.one, .card.two, .card.three {
    width: 33.3%;
    height: 224px;
  }
}

@media screen and (max-width: 600px) {
  .card.one {
    padding: 60px 5px;
  }
}

@media screen and (max-width: 600px) {
  .card.two {
    margin: 0px 10px;
    padding: 7px 0px;
  }
}

@media screen and (max-width: 600px) {
  .card.three {
    padding: 20px 5px;
  }
}

@media screen and (max-width: 600px) {
  .card.message {
    display: none;
  }
}

@media screen and (max-width: 600px) {
  .voting.box {
    padding: 0px;
  }
}

@media screen and (max-width: 600px) {
  .header h1 {
    font-size: 40px;
  }
}

@media screen and (max-width: 600px) {
  .card.one h2 {
    font-size: 10px;
  }
}

@media screen and (max-width: 600px) {
  .yumebutton h4 {
    margin: 5px;
    font-size: 8px;
  }
}

@media screen and (max-width: 600px) {
  .topnav a {
    font-size: 10px;
    padding: 10px;
  }
}

