.container {
  width: 70%;
  margin: auto;
  text-align: center;
}

.dice {
  text-align: center;
  display: inline-block;
}

input {
  border: 4px solid red;
  border-radius: 12px;
  width: 200px;
  height: 35px;
  color: rgb(238, 12, 12);
  background-color: rgb(255, 242, 0);
  font-size: 26px;
}

body {
  background-image: url("images/newbackground.png");
  font-family: 'Roboto', sans-serif;
}

h1 {
  margin: 30px;
  text-shadow: 5px 0 #232931;
  font-size: 45px;
  font-weight: 500;
  color: #d73636;
  text-decoration: underline overline dotted;
}

h2 {
  margin: 30px;
  font-size: 20px;
  font-weight: 300;
  color: rgb(255, 183, 0);
  font-weight: bold;
}

h3{
  margin: 30px;
  font-size: 1rem;
  font-weight: 300;
  color: #ffffff;
}

h4 {
  color: rgb(255, 183, 0);
  
}

.timesPlayed {
  margin: 30px;
  text-shadow: 5px 0 #232931;
  font-size: 18px;
  font-weight: 500;
  color: #fbf700;
  text-decoration: rgb(255, 0, 0) wavy underline;
}

p {
  color: #ffffff;
}

img {
  width: 80%;
  background-color: #06dff3;
  border-radius: 30%;
  mix-blend-mode: hard-light;
}


.myBtn {
  margin: 30px;
  background-color: #f6ff00;
  font-size: 18px;
  padding: 10px 12px;
  border-radius: 20px;
  border: 2px solid #ff0000;
  box-shadow: 0 5px rgb(117, 114, 114);
}

.myBtn:hover {
  background-color: #ffe6009d;
  color: white;
  border: 2px solid #ff000071;
  box-shadow: 0 12px 16px 0 #78737371, 0 17px 50px 0 #6f6b6b71;
}

.myBtn:active {
  background-color: #f3be00;
  box-shadow: 0 5px #666;
  transform: translateY(4px);
}

/* submit button */
.submit-button {
	font-family: 'Poppins';
    width: 150px;
    height: 40px;
    border: none;
    outline: none;
    color: #ffffff;
    background: #000000;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 4px;
    cursor: pointer;
    position: relative;
    z-index: 0;
    transition: 0.5s ease-in-out;
}

.submit-button::before{
  content: '';
    background: linear-gradient(45deg, #FF0000, #FFF700, #FF7000, #FF00FE, #3FF4EB, #9E00FF, #00BEFF, #FF00DD, #FF0000);
    position: absolute;
    top: -2px;
    left:-2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity .3s ease-in-out;
}

.submit-button:active{
  color: #000
}

.submit-button:active:after {
  background: transparent;
}

.submit-button:hover{
  transform: scale(1.05);
}

.submit-button:hover:before {
  opacity: 1;
}

.submit-button:after {
  z-index: -1;
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: #000000;
  left: 0;
  top: 0;
}

@keyframes glowing {
  0% { background-position: 0 0; }
  50% { background-position: 400% 0; }
  100% { background-position: 0 0; }
}



footer {
  margin-top: 5%;
  color: #EEEEEE;
  text-align: center;
  font-family: 'Roboto', sans-serif;
}
