html, body {
  scroll-behavior: smooth;
}

body
{
  background:   #def;
  color:        #333;
  padding:      0;
  margin:       0;
  font-family:  "Poppins", sans-serif;
  font-size:    15pt;
  line-height:  140%;        
  height:       100%;
  max-width:    950px;
  margin:       0 auto;
}

@keyframes bg {  
   0% { color: #eff; }
  33% { color: #fef; }
  66% { color: #ffe; }
}
@-webkit-keyframes bg {  
   0% { color: #eff; }
  33% { color: #fef; }
  66% { color: #ffe; }
}

@keyframes rainbow {  
   0% { color: #06c; }
  25% { color: #c06; }
  50% { color: #c60; }
  75% { color: #0c6; }
}
@-webkit-keyframes rainbow {  
   0% { color: #06c; }
  25% { color: #c06; }
  50% { color: #c60; }
  75% { color: #0c6; }
}

h1, h2
{
  color:           #06c;
  padding-top:     20px;

  animation-name: rainbow;
  animation-iteration-count: infinite;
  animation-duration: 30s;
  
  -webkit-animation-name: rainbow;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-duration: 30s;
}

h1, h2, h3
{
  font-size: 140%;
  font-family: 'Trebuchet MS', sans-serif;
}

h1
{
  font-size: 300%;
  margin-bottom: -2px;
}

h2
{
  font-size: 150%;
  padding-bottom: 4px;
  border-bottom: 0.1em solid #ccc;
}

hr 
{
  border-style: none;
  background-color: #ccc;
  height: 0.1em;
  margin-top: 30px;
  margin-bottom: 30px;
}

ul
{
  list-style: square;
}

#toplist li
{
  list-style: none;
  margin-bottom: 25px;
}

#spacelist li
{
  list-style-type: none;
  margin-bottom: 25px;
}

#spacelist b
{
  font-size: 115%;
}

a:link, a:visited
{
  color: #44f;
  transition: all 0.3s ease-out;
  z-index: 2;
}

a.link:hover
{
  color: #00f;
}

#photo
{
  float: left;
  margin-right: 40px;
  border-radius: 35px;
  /*padding-right: 40px;*/
  /*margin-right: 40px;*/
}

.game
{
  padding: 50px;
  background-attachment: fixed;
  background-size: contain;
  background-position: center;
  background: rgba(0, 0, 0, 0.1); 
  will-change: transform;

  filter: drop-shadow(3px 5px 3px black);
  /*filter: blur(5px);*/
  border-radius: 35px;

  color: white;
  text-shadow:
   -1px -1px 0 #000,  
    1px -1px 0 #000,
    -1px 1px 0 #000,
     1px 1px 0 #000;
}

.game li, .game h3, .game h4, .game p
{
  filter: drop-shadow(0px 0px 6px grey);
}

.game a:link, .game a:visited
{
  color:skyblue;
}

.game a:hover
{
  color:cyan;
}

#warden
{
  background-image: url("wardenbg.jpg");
}

#attrition
{
  background-image: url("atr_cropped.jpg");
  /*background-image: url("https://img.itch.zone/aW1hZ2UvMTE5NjY3LzcxNDM4MS5qcGc=/original/ZtSXCg.jpg");*/
}

#puppers
{
  background-image: url("puppersbg.jpg");
}

#assetstore
{
  background-image: url("code.jpg");
}

#teaching
{
  background-image: url("lecture.jpg");
  /*background-image: url("code.jpg");*/
}

.videoright
{
  position: relative;
  z-index: 1000;
  float: right;
}

table
{
  width: auto;
  margin: 0 auto;
  margin-top: 35px;
  margin-bottom: -25px;
}
/*
table, tr
{
  border-collapse: collapse;
  border: 2px dashed #ccc;
}
*/
td
{
  padding: 5px;
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 0px;
}

#title
{
  text-align: center;
  font-size: 105%;
  width: 300px;
  margin-bottom: 0px;
}

.faded
{
  font-size: 50%;
  line-height: 100%;
  opacity: 20%;
}

#box-art
{
  max-width: 280px;
  max-height: 260px;
  transform: skewY(5deg);
  margin-top: 10px;
  border: 4px solid #222;
  border-radius: 10px;
  box-shadow: 15px -5px 3px #aaa;
  -webkit-box-reflect: below 5px linear-gradient(to bottom, rgba(0,0,0,0.0), 95%, rgba(0,0,0,0.3));
  transition: all 0.2s ease;
}

#box-art:hover
{
  transform: scale(1.15);
  box-shadow: 11px -4px 10px #aaa;
  transition: all 0.3s ease;
}

#cta
{
  text-align: center;
  font-size: 26px;
  padding: 25px;
  align-self: center;
  margin: 40px auto;
  width: 70%;
  background-image: linear-gradient(to right, #FFC4C8, #FFF8A0, #C1F1C1, #C7ECFF, #E4CFFF, #F1CEF4);
  border-radius: 35px;
  line-height:  150%;
}

/* ============ */
/* TESTIMONIALS */
/* ============ */

#quote
{
  background-color: #224;
  border-radius: 35px;
  padding: 30px;
  color: #eef;
  line-height: 180%;
}

blockquote 
{
  font-size: 22px;
  position: relative;
}

blockquote:before 
{ 
  content: open-quote;
  font-weight: bold;
  font-size: 200px;
  position: absolute;
  left: -45px;
  top: 40px;
  opacity: 8%;
} 

blockquote:after 
{ 
  content: close-quote;
  font-weight: bold;
  font-size: 200px;
  position: absolute;
  right: -45px;
  bottom: -35px;
  opacity: 8%;
}

blockquote .emphasis
{
  font-size: 105%;
  font-weight: bold;
}

.rainbow-text 
{
  font-size: 140%;
  background-image: linear-gradient(to right, #FFC4C8, #FFF8A0, #C1F1C1, #C7ECFF, #E4CFFF, #F1CEF4);
  background-clip: text;
  color: transparent;
}

#quote a:link, a:visited
{
  color: #99f;
  transition: all 0.3s ease-out;
  z-index: 2;
}

#quote a.link:hover
{
  color: #afe4f9;
}

#quote h4
{
  text-align: center;
  margin-bottom: 5px;
}

/* ================ */
/* END TESTIMONIALS */
/* ================ */

/* ===================== */
/* ROLE HISTORY TIMELINE */
/* ===================== */

.timeline
{
  width: 80%;
  margin: 0 auto;
  padding-bottom: 10px;
}

.role
{
  position: relative;
  width: 45%;
  line-height: 155%;
  
  border-radius: 10px;
  filter: saturate(1.5);

  background-color: #cde;
  padding: 28px;
  padding-top: 32px;
  box-shadow: 15px 10px 15px;
}

.role:nth-of-type(1) { background-image: linear-gradient(to top left, transparent, 60%, #FFC4C8); }
.role:nth-of-type(2) { background-image: linear-gradient(to top left, transparent, 60%, #FFF8A0); }
.role:nth-of-type(3) { background-image: linear-gradient(to top left, transparent, 60%, #C1F1C1); }
.role:nth-of-type(4) { background-image: linear-gradient(to top left, transparent, 60%, #C7ECFF); }
.role:nth-of-type(5) { background-image: linear-gradient(to top left, transparent, 60%, #E4CFFF); }

/*
.role:nth-of-type(n)
{
  background-color: color-mix(in hsl, hsl(200 50 80), coral 80%);
}
*/  

.role i
{
  font-size: 220%;
  opacity: 40%;
}

.role-title
{
  font-size: 115%;
  font-weight: bold;
}

.role-company
{
  font-weight: bold;
}

.left {
  left: 0;
}

.right {
  width: 48%;
  left: 50%;
  margin: -50px;
  z-index: 1;
}

/* ========================= */
/* END ROLE HISTORY TIMELINE */
/* ========================= */

/* ======== */
/* FUN ZONE */
/* ======== */

#fun-section
{
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-bottom: 1em;
}

.beloved
{
  font-size: 130%;
  font-weight: bold;
}

.randomized
{
  font-size: 150%;
  transition: all 0.2s ease-out;
}

.fun-bubble
{
  border-radius: 25px;
  border-color: #000;
  font-size: 20px;
  padding: 25px;
  line-height: 190%;
  width: 360px;
  text-align: center;
}

.reroll-button
{
  border-radius: 15px;
  font-size: 20px;
  font-family:  "Poppins", sans-serif;
  padding: 10px 40px;
  margin-top: 15px;
  transition: all 0.2s ease-out;
}

.reroll-button:hover
{
  scale: 120%;
  transition: all 0.2s ease-out;
  animation: shake 0.2s; 
}

.reroll-button:active
{
  scale: 80%;
  transition: all 0.1s ease-out;
  animation: shake 0.5s;  
  animation-iteration-count: infinite;
}

.orange
{
  background-color: #ffd47d77;
}

.cyan
{
  background-color: #83ffff77;
}

.purple
{
  background-color: #e8a4ff77;
}

@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}

/* ============ */
/* END FUN ZONE */
/* ============ */

#experience-section
{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 10px;
  grid-auto-flow: dense;
  
  flex-wrap: wrap;
  flex-shrink: 1;
}

.exp
{
  padding: 15px;
  padding-top: 1px;
  border-radius: 15px;
  background-color: #dcd;
  height: fit-content;
}