
@font-face {
  font-family:'Lilita';
  font-weight: 700;
  src: url('/static/fonts/lilitaone-regular-webfont.woff2') format('woff2');
}

@font-face {
  font-family:'Kompot';
  font-weight: 600;
  src: url('/static/fonts/kompotsans-webfont.woff2') format('woff2'),
}

@font-face {
  font-family:'Open-sans';
  font-weight: 0 1000;
  src: url('/static/fonts/opensans-variablefont_wdthwght-webfont.woff2') format('woff2-variations'),
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.wrapper {
  display: flex;
}

body {
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-color: #fff;
  letter-spacing: 1px;
  font-family: 'Open-sans';
  font-weight: 400;
  color: #581845;
}

h1 {
  font-family: 'Lilita', sans-serif;
  font-weight: 700;
  color: #937ff4;
  font-size: 4rem;
}

h2 {
  font-family: 'Kompot', sans-serif;
  font-weight: 600;
  font-variant-caps: all-petite-caps;
}

a {
  font-family: 'Kompot', sans-serif;
  font-weight: 600;
  color: white;
  font-size: 1.2rem;
}

input {
  font-family: 'Open-sans';
  border-radius: 5px;
  border-color: #fff;
  box-shadow: none;
}

p {
  font-family: 'Open-sans';
  font-weight: 400;
}

button {
  border-radius: 30%;
}

#description {
  font-size: 120%;
  font-weight: 400;
  letter-spacing: 1px;
}

#explanation {
  font-size: 120%;
  font-weight: 400;
  letter-spacing: 1px;
}

.mainWidget {
  position: relative;
  height: 548px;
  width: 548px;
  border-radius: 50%;
  border: 32px solid #FF5733;
}

.wheel {
  height: 100%;
  width: 100%;
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  transition: all ease-in-out 1s;
}

.wheel span {
  position: absolute;
  display: inline-block;
  top: 122px;
  left: 140px;
  transform: rotate(calc(45deg * var(--i))) translate(0, -122px);
  border-top: 246px solid hsl(calc(45* var(--i)), 90%, 70%);
  border-left: 100px solid transparent;
  border-right: 100px solid transparent;
}

.wheel span b {
  font-family: inherit;
  font-size: 22px;
  position: absolute;
  transform: translate(-50%, -220px);
  font-weight: 400;
}

.spin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 80px;
  width: 80px;
  border-radius: 50%;
  border: 8px solid #581845;
  background-color: #DAF7A6;
  color: #000;
  font-size: 20px;
  font-weight: bold;
  box-shadow: 0 5px 20px #000
}

.spin:before {
  content:'';
  position: absolute;
  height: 0;
  width: 0;
  border-style: solid;
  border-width: 0 15px 30px 15px;
  border-color: transparent transparent #581845 transparent;
  top: -30px;
  left: calc(50% - 15px);
  filter: drop-shadow(0 -3px 5px rgba(0,0,0,0.3));
}

.spin:active {
  width: 75px;
  height: 75px;
  font-size: 20px;
}


table.GeneratedTable {
  width: 100%;
  background-color: #daf7a6;
  border-collapse: collapse;
  border-width: 3px;
  border-color: #c70039;
  border-style: solid;
  color: #581845;
}

table.GeneratedTable td, table.GeneratedTable th {
  border-width: 3px;
  border-color: #FFC300;
  border-style: solid;
  padding: 3px;
}

table.GeneratedTable thead {
  background-color: #FFC300;
}






