/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

@import url('https://fonts.googleapis.com/css2?family=Balsamiq+Sans&display=swap');
/*
'Balsamiq Sans'
*/

* {
  cursor: url("./crayoncursor.png") 0 0, auto !important;
}

html {
  background: url("./bday-tiles.png");
  background-color: #2a2a2a;
}

p, a, span, marquee {
  font-family:'Balsamiq Sans', sans-serif;
  font-size: 15pt;
  color: #fff;
}

a {
  line-height:2;
  border:1px 0px rgba(0,0,0,0) solid;
  border-radius:20pt;
  transition: padding 0.5s, font-size 2s, border 1s;
}

a:hover {
  border: 1px solid #fff;
  font-size:18pt;
  padding: 10pt;
  cursor: url(crayoncursor-hover.png) 0 0, auto !important;
}

a:active {
  cursor: url(crayoncursor-click.png) 0 0, auto !important;
}

div.darkbgblock {
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 36pt;
  margin: 5%;
  padding: 5%;
}

p#bdaytitle {
  text-align: center;
  font-size: 40pt;
}

img {
  user-select:none;
}

.hoverhide {
  opacity:0;
  height:40px;
  transition:opacity 13s, height 16s;
}

.hoverhide:hover {
  opacity:1;
  height:265px;
}

/*
#############################

blake's survo styling changes

#############################

div.cell {
  background-color:rgba(10,10,10,0.5);
  font-family:'Balsamiq Sans',sans-serif;
  border:3px 3px rgba(0,0,0,0.8) solid;
  border-radius:10pt;
}

div.cell:focus {
  background-color:#00f;
}

div.addend {
  font-weight:lighter;
  color:#fff;
}

div.given {
  color:rgba(255,255,255,0.6);
  font-weight:bold;
}

div.sum {
  background-color:rgba(40,40,40,0.5);
  font-weight:bold;
  color:rgba(255,255,255,0.6);
}

end survo styling */


/* EVAN'S SHIT */

.top-left {
  position: absolute;
  left: 0;
  top: 0;
}

.hidden {
  display: none;
}

.rainbow-text-on-hover {
  display: inline-block;
  background-size: 800% 800%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbow 8s ease infinite;
  text-shadow: 0 0 rgba(255, 255, 255, 0.3);
}

.rainbow-text-on-hover:hover {
  background-image: repeating-linear-gradient(45deg, violet, rgb(131, 8, 219), rgb(22, 115, 255), green, yellow, orange, red, violet);
}

.rainbow-text {
  background-size: 800% 800%;
  background-image: repeating-linear-gradient(45deg, violet, rgb(131, 8, 219), rgb(22, 115, 255), green, yellow, orange, red, violet);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbow 8s ease infinite;
  text-shadow: 0 0 rgba(255, 255, 255, 0.3);
}

@keyframes rainbow { 
  0%{background-position:0% 50%}
  50%{background-position:100% 25%}
  100%{background-position:0% 50%}
}


/* Evan's Survo puzzle */

.row {
  display: flex;
  flex-flow: row wrap;
}
.col {
  display: flex;
  flex-flow: column wrap;
}

:root {
  --survo-value-font: 'Arial',monospace;
  --survo-border-color: #999;
  --survo-single-border: 1px solid var(--survo-border-color);
  --survo-double-border: 2px solid var(--survo-border-color);
}

.row:first-child .cell { border-top: var(--survo-double-border); }
.cell:last-child { border-right: var(--survo-double-border); }
.row:last-child .cell, .row:nth-last-child(2) .cell:last-child { border-bottom: var(--survo-double-border); }
.cell:first-child { border-left: var(--survo-double-border); }

.cell {
  font-family: "Consolas",monospace,"Arial";
  font-size: 48px;
  line-height: 96px;
  text-align: center;
  box-sizing: border-box;
  width: 100px;
  height: 100px;
  border: var(--survo-single-border);
  border-radius:10pt;
}

.addend {
  color: #fff;
  background: rgba(10,10,10,0.3);
  border-radius:10pt;
}

.addend:focus {
  outline: none;
  border-radius:10pt;
  background: rgba(255,255,120,0.2);
}

.sum {
  font-weight:bold;
  user-select: none;
  color: rgba(255,255,255,0.6);
  background: rgba(120,120,120,0.2);
}
.given {
  user-select: none;
  /*color: rgba(255,255,255,0.5);*/
  font-weight: bold;
  background: rgba(35,35,35,0.4);
}

#solved {
  margin: 6px;
  user-select: none;
  color: #ddd;
}
#survo-puzzle-submit {
  user-select: none;
  font-family: 'Balsamiq Sans' sans-serif;
  color: #aaf;
}

.spoiler {
  margin: 10px 6px;
  border-radius: 3px;
  display: inline-block;
  background: #111;
  color: rgba(0,0,0,0);
  user-select: none;
  cursor: pointer;
}
.spoiler.clicked {
  background: #4A4D53;
  color: #eee;
  cursor: text;
}

#evan ul {
  margin: 0;
  margin-top: 16px;
  padding: 0;
  list-style-type: none;
}
#evan ul li {
  margin: 0;
  padding: 0;
}

/* confetti time my dude */

#confetti {
  position: absolute;
  overflow: hidden;
  display: none;
  z-index: 20;
	height: 500px;
	width: 80%;
}

