/* ======================================== Browsers being stupid ======================================== */
* { /* FIX: border not being counted as element size */
  box-sizing: border-box;
}

html, body { /* FIX: html and body not taking the whole browser viewport */
  min-width: 100%;
  min-height: 100%;
  height: 100%;
  margin: 0;
}

summary { /* FIX: make summary non-selectable */
  user-select: none;
}

/* ======================================== Not anymore ig ======================================== */

button.ira {
  text-align: left;
  vertical-align: bottom;
  cursor: grab;
}

button.ira:active {
  cursor: grabbing;
}

button.ira > p {
  display: inline-block;
  transform: translate(-100%, 175px);
}

a {
  color: #aaaaff;
  display: inline-block;
  transition-property: all;
  transition-duration: 200ms;
}

a:hover {
  color: #fafafa;
  transform: scale(150%) rotate(7deg);
}

h1 {
  transition-property: all;
  transition-duration: 800ms;
  text-align: center;
  font-family: serif;
}

h1:hover {
  transform: scaleX(300%);  
}

body {
  background-color: #131313;
  background-image: url(img/lamp_2.png);
  background-position: right;
  background-attachment: fixed;
  background-size: cover;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body, button {
  color: aquamarine;
  font-family: monospace;
}

main {
  max-width: 640px;
  width: 100%;
  background-color: rgba(69, 69, 69, 0.8);
  padding: 8px;
  margin: 16px auto;
  margin-bottom: 0;
  flex-grow: 1;
}

img {
  border: 4px solid aquamarine;
  width: 100%;
  display:inline-block;
  transition-property:all;
  transition-duration:200ms;
}

.ira {
  border: 0;
  padding: 0;
  width: 250px;
  aspect-ratio: 5 / 8;
  /* position: absolute;
  bottom: 20px;
  left: 60%; */
  float: right;
  background: url(img/iuaway.png) center / contain;
  background-repeat: no-repeat;
  margin: 8px;
}

.ira:hover {
  background: url(img/iuflip.png) center / contain;
}

.ira:active, .ira.active {
  background: url(img/iushy.png) center / contain;
}

/*
.ira::before {
  content: url(img/iuaway.png);
  transition: opacity 300ms ease-in-out;
  display: inline-block;
  outline: 2px solid green;
}
.ira:hover::before {
  content: url(img/iuflip.png);
}
.ira:active::before {
  content: url(img/iushy.png);
}
*/

footer {
  margin: 0 auto;
  max-width: 640px;
  width: 100%;
  background-color: rgba(69, 69, 69, 0.8);
  margin-bottom: 16px;
  padding: 8px;
}


/* that border is interesting.. /derogatory
 * lemme experiment */ 

p > span {
  display: inline-block;
}

.img-comment span {
  font-style: italic;
  font-size: 200%;
  border-left: 4px solid aquamarine;
  padding-left: 8px;

  background: linear-gradient(to right, red, yellow, lime, cyan, violet);
  background-clip: text;
  color: transparent;
}

.text-trans span, .text-trans {
  background: linear-gradient(to right, #5bcffb, #f5abb9, #ffffff, #f5abb9, #5bcffb);
  background-clip: text;
  color: transparent;
}

.text-homosexual span {
  background: linear-gradient(to right, red, yellow, lime, cyan, violet);
  background-clip: text;
  color: transparent;
}
