@font-face {
  font-family: "Caacupe";
  src: url(fonts/CaacupeOne-Regular.ttf);
}
@font-face {
  font-family: "Rowdies";
  src: url(fonts/Rowdies-Light.ttf);
}

body{
  font-family: "Rowdies";
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 80vh;       
  background-color: #dce6e9;
}

h1{
  font-size: 50px;
  margin-top: 10px;
  margin-bottom: 10px;
}



.score-parent{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    border: 2px solid;
    border-radius: 8px;

    margin-bottom: 20px;
    
    padding-bottom: 0px;
    padding-top: 0px;
    padding-left: 10%;
    padding-right: 10%;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    background-color:#d7d5dc;

}



.login-parent {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    font-size: 30px;
    font-family: Rowdies;
}

input{
  font-size: 30px;
    min-width: 200px;
}

button{
  font-size: 30px;
}

table {
  border: 3px;
  
  font-size: 20px;
  width: 20%;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

th {
  border: 3px #00000000;
  border-style:groove;
  background-color:#bfbdc3;
  font-size: 25px;
}

td {
  background-color:#d7d5dc;
}


.coin:hover {
  position: relative;
  transform-style: preserve-3d;
  cursor: pointer;
  transition: transform 0.6s;
  text-shadow: 0 0 5px rgba(0,0,0,0.8);

}

.coin-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.coin {
  width: 120px;
  height: 120px;
  position: relative;
  transform-style: preserve-3d;
  cursor: pointer;
  transition: transform 0.6s;
}


.coin-front, .coin-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 49%;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 55px;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.coin-front {
  background: linear-gradient(135deg, #f5af19, #f12711);
  transform: rotateY(0deg);
}

.coin-back {
  background: linear-gradient(135deg, #00b09b, #96c93d);
  transform: rotateY(180deg);
}

.coin-result {
  font-size: 24px;
  font-weight: bold;
  margin-top: 15px;
  opacity: 0;
  transition: opacity 0.4s ;
  text-shadow: 0 0 2px rgba(0,0,0,0.3);
}



.coin-result.show {
  opacity: 1;
}

.coin-result.win {
    color: #2ecc71;
}

.coin-result.lose {
  
  color: #e74c3c;
}

.credits{
  font-size: 16px;
  position: fixed;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 10px;
}


* {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}



.scale-up-vertical-center {
  animation: scale-up-vertical-center 0.4s ease;
}

@keyframes scale-up-vertical-center {
  0% {
    transform: scaleY(0.2);
    opacity: 0.2;
  }
  100% {
    transform: scaleY(1);
    opacity: 1;
  }
}

.vibrate{animation:vibrate 0.2s linear both}
@keyframes vibrate{0%{transform:translate(0)}20%{transform:translate(-2px,2px)}40%{transform:translate(-2px,-2px)}60%{transform:translate(2px,2px)}80%{transform:translate(2px,-2px)}100%{transform:translate(0)}}