@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

body, html {
    margin: 0;
    padding: 0;
    font-family: "Lato" !important;
    box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}
#main_app{
    height: 100vh;
    background: linear-gradient(0deg, #F9E27C 0%, #E1B049 50%, #AC7725 100%);
}
#admin_app{
    background: linear-gradient(0deg, #F9E27C 0%, #E1B049 50%, #AC7725 100%);
    padding-bottom: 25px;
}
.header{
    text-align: center;
    width: 85%;
    margin: auto;
    color: #fff;
}
.header img{
    max-width: 200px;
    display: block;
    margin: 0 auto ;
}
.header h1{
    font-size: 20px;
    font-weight: 800;
}
.header h2{
    font-size: 16px;
    font-weight: 600;
    text-decoration: underline;
}
.header p{
    font-size: 12px;
    font-weight: 400;
}
.vote_button{
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 18px 0;
    border: none;
    color: #fff;
    font-size: 24px;
    background: #AC7725;
    -webkit-animation: pulse 1s 2;
    animation: pulse 1s 2 ;
    cursor: pointer;
    z-index: 1000;
}
/*Form*/
.inputGroup {
  background-color: #fff;
  display: block;
  margin: 10px 0;
  position: relative;
}
.inputGroup label {
  padding: 12px 35px 12px 20px;
  width: 100%;
  display: block;
  text-align: left;
  color: #3C454C;
  cursor: pointer;
  position: relative;
  z-index: 2;
  transition: color 200ms ease-in;
  overflow: hidden;
  font-size: 16px;
}
.inputGroup label:before {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  content: "";
  background-color: #5562eb;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale3d(1, 1, 1);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  z-index: -1;
}
.inputGroup label:after {
  width: 32px;
  height: 32px;
  content: "";
  border: 2px solid #D1D7DC;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.414 11L4 12.414l5.414 5.414L20.828 6.414 19.414 5l-10 10z' fill='%23fff' fill-rule='nonzero'/%3E%3C/svg%3E ");
  background-repeat: no-repeat;
  background-position: 2px 3px;
  border-radius: 50%;
  z-index: 2;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  transition: all 200ms ease-in;
}
.inputGroup input:checked ~ label {
  color: #fff;
}
.inputGroup input:checked ~ label:before {
  transform: translate(-50%, -50%) scale3d(56, 56, 1);
  opacity: 1;
}
.inputGroup input:checked ~ label:after {
  background-color: #54E0C7;
  border-color: #54E0C7;
}
.inputGroup input {
  width: 32px;
  height: 32px;
  order: 1;
  z-index: 2;
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  visibility: hidden;
}

.form {
  padding: 0 16px;
  max-width: 95%;
  margin: 16px auto;
  font-size: 18px;
  font-weight: 600;
  line-height: 36px;
  max-height: 50vh;
  overflow-y: scroll;
  overflow-x: hidden;
}
.form h5{
    color: #fff
}

.result_box{
    color: #fff;
    text-align: center;
    margin: 12px auto;
    border: 2px solid #3C454C;
    width: 95%;
    padding: 24px 14px;
}
.result_box img{
    display: block;
    margin: auto;
    max-width: 40px;
    margin-bottom: 8px;
}
.result_box h3{
    font-weight: 800;
}
.reset_button{
    padding: 15px ;
    border: none;
    color: #fff;
    font-size: 22px;
    background: #AC7725;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.25);
    margin: auto;
    cursor: pointer;
}



/*Loader*/
.loader{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #3c454ce5;
    z-index: 1000;
}
.lds-grid {
  display: inline-block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
}
.lds-grid div {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  animation: lds-grid 1.2s linear infinite;
}
.lds-grid div:nth-child(1) {
  top: 8px;
  left: 8px;
  animation-delay: 0s;
}
.lds-grid div:nth-child(2) {
  top: 8px;
  left: 32px;
  animation-delay: -0.4s;
}
.lds-grid div:nth-child(3) {
  top: 8px;
  left: 56px;
  animation-delay: -0.8s;
}
.lds-grid div:nth-child(4) {
  top: 32px;
  left: 8px;
  animation-delay: -0.4s;
}
.lds-grid div:nth-child(5) {
  top: 32px;
  left: 32px;
  animation-delay: -0.8s;
}
.lds-grid div:nth-child(6) {
  top: 32px;
  left: 56px;
  animation-delay: -1.2s;
}
.lds-grid div:nth-child(7) {
  top: 56px;
  left: 8px;
  animation-delay: -0.8s;
}
.lds-grid div:nth-child(8) {
  top: 56px;
  left: 32px;
  animation-delay: -1.2s;
}
.lds-grid div:nth-child(9) {
  top: 56px;
  left: 56px;
  animation-delay: -1.6s;
}
@keyframes lds-grid {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@-webkit-keyframes pulse {
  0% {
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
  70% {
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
    box-shadow: 0 0 0 50px rgba(90, 153, 212, 0);
  }
  100% {
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(90, 153, 212, 0);
  }
}

.vote__result{
    width: 90%;
    margin: auto;
}
.vote__result div{
    width: 100%;
    padding: 10px 15px;
    color: #3C454C;
    background: #fff;
    margin-top: 10px;
}
