@import url('https://fonts.googleapis.com/css2?family=Overpass+Mono:wght@400;700&display=swap');

* {
  margin: 0;
  padding: 0;
}

body {
  height: 100vh;
  background: #7eaac4;
  color: white;
	font-family: "Overpass Mono", monospace;
}

.fill {
  position: absolute;
  inset: 0;
}

.drawing-area-container {
  position: absolute;
  inset: 200px 60px 60px;
}

canvas {
  background: #fafafa;
	z-index: 1000;
}

#timer-container {
  width: 90px;
  height: 90px;
  position: absolute;
  right: 25px;
  top: 10px;
}

.top-ui {
  height: 100px;
  position: absolute;
  top: 40px;
  left: 60px;
  right: 60px;
  background: #333;
  padding: 10px 25px;
}

.art-school-logo {
	color: #333;
	font-weight: 900;
	position: absolute;
	top: 14px;
	right: 80px;
	font-size: 30px;
}

input[type=button] {
	height: 60px;
	font-size: 20px;
  border-radius: 0;
  border: none;
}

#start-button {
  width: 80px;
	vertical-align: top;
	margin-top: 20px;
	margin-right: 20px;
}

.progressbar-text {
  color: white;
  position: absolute;
  top: 20px;
  left: 35px;
  font-size: 40px;
  font-family: monospace;
}

.round-counter-text {
  color: white;
  font-size: 40px;
  font-family: monospace;
}

.display-none {
  display: none;
}

.instructions-text {
  position: absolute;
	inset: 10px 130px;
	overflow-y: scroll;
	/* vertical-align: top; */
	/* margin-top: 10px; */
}

.round-counter, .points-counter {
	display: absolute;
	font-size: 40px;
	font-family: monospace;
}

#gallery {
	position: absolute;
	inset: 0;
	background: #efefef;
	padding: 20px 40px;
	overflow-y: scroll;
}

#gallery img {
	max-width: 400px;
	max-height: 400px;
	width: auto;
	height: auto;
}

.gallery-heading {
	text-align: center;
	font-size: 40px;
	height: 70px;
	color: #333;
}

.gallery-img-container {
	max-width: 400px;
	display: block;
	font-size: 20px;
	display: inline-block;
	margin-right: 30px;
}
.gallery-img-heading {
	background: black;
}

.rainbow-text-animated {
    text-align: center;
    text-decoration: underline;
		font-weight: 900;
    background: linear-gradient(to right, #6666ff, #0099ff , #00ff00, #ff3399, #6666ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: rainbow_animation 6s linear infinite;
    background-size: 400% 100%;
}

@keyframes rainbow_animation {
    0%,100% {
        background-position: 0 0;
    }

    50% {
        background-position: 100% 0;
    }
}

.inline-block {
	display: inline-block;
}

#restart-button {
  width: 120px;
}
.right-button {
  width: 80px;
  position: absolute;
  right: 25px;
  top: 30px;
}

.subtitle-shadowbox {
	background: rgba(0,0,0,0.3);
	position: absolute;
	bottom: 0;
	font-size: 30px;
	left: 50%;
	bottom: 30px;
	transform: translate3d(-50%, 0, 0);
	padding: 20px;
	pointer-events: none;
	margin: none;
}

.art-genius-banner {
	font-size: 20px;
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate3d(-50%, 0, 0);
}

#finished-drawing-animation {
	pointer-events: none;
	position: absolute;
	inset: 20px;
	opacity: 1;
	z-index: 1000;
	transform: scale3d(1, 1, 1) translate3d(0, 0, 0);
}

#finished-drawing-animation.animate {
	transition: all 0.5s;
	transform: scale3d(0.1, 0.1, 1) translate3d(0, -200%, 0) !important;
	opacity: 0;
}

#finished-drawing-points-animation {
	pointer-events: none;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate3d(-50%, -50%, 0);
	z-index: 1200;
	font-size: 80px;
	color: #3a3;
}

#finished-drawing-points-animation.animate {
	transition: all 1s;
	transform: translate3d(-50%, -140%, 0) !important;
	opacity: 0;
}

footer {
	position: absolute;
	bottom: 12px;
	font-size: 12px;
	width: 100%;
	text-align: center;
}

/* TOGGLE */

 /* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
	top: 2px;
  width: 20px;
  height: 12px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #422;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 10px;
  width: 10px;
  left: 1px;
  bottom: 2px;
  background-color: #c66;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #575;
}

input:focus + .slider {
  box-shadow: 0 0 1px white;
}

input:checked + .slider:before {
  transform: translateX(8px);
  background-color: #6c6;
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
} 