  :root{
    --backroundBlue : rgb(41, 173, 190);
    --mainWhite : white;
  }

*{
    font-family: Indie Flower;
    color: var(--mainWhite);
    text-align: center;
}

svg:hover{
    transform: scale(1.1);
}

body{
    background-color: var(--backroundBlue);
}

h1{
    padding-top: 30px;
    font-size: 30px;
   font-weight: 500;
}

.settings{
   position: absolute;
    right: 20px;
    top:20px;
    cursor: pointer;
}

.settings svg{
    fill: var(--mainWhite);
}

.payCheck svg, circle{
    fill: var(--mainWhite);
}

.payCheck{
    position: absolute;
    right: 60px;
    top: 18px;
    cursor: pointer;
}

.settings:hover, .payCheck:hover, .refresh:hover{
      transform: scale(1.1);
    }

.refresh{
    position: absolute;
    right: 100px;
    top: 23px;
    cursor: pointer;
}

.refresh svg{
    fill: var(--mainWhite);
}
h3{
    padding: 10px;
}

a:hover{
    color: bisque;
}

.box{
    display: none;
   border: solid 4px var(--mainWhite);
   width: 53%;
   margin-left: 50%;
   transform: translate(-50%);
   margin-top: 10%;
}

.signIn{
   border: solid 4px var(--mainWhite);
   width: 57%;
   margin-left: 50%;
   transform: translate(-50%);
   margin-top: 10%;
   height: 400px;
   display: grid;
   grid-template-columns: 1fr 1fr;
}

.signIn > form:first-of-type {
    margin-right: 20px;
   height: 400px;
   display: grid;
   grid-template-columns: 1fr;
} 

.signH{
    margin-top: 90px;
    font-size: 40px;
}

.signIn form input{
  background: transparent;
  border: 1px solid var(--mainWhite);

  justify-self: center;
  height: 30px;
  width: 140px;
}

.signIn input[type=submit]{
 border-radius: 10px;
}

.signIn input[type=submit]:hover{
   cursor: pointer;
   background: var(--mainWhite);
   color: var(--backroundBlue);
}

.textBoxes{
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 10px;
}

.textBoxes input{
    align-self: center;
}

 .textBoxes input::placeholder{
        font-size: 20px;
        color: var(--mainWhite);
        opacity: 0.5;
    }

form span{
    font-size: 35px;
}

.signIn img{
    margin-top: 50%;
    transform: translateY(-50%);
    width: 400px;
}

.signUpModal{
    display: none;
    position: absolute;
    top: 10px;
    right: 15px;
    background: var(--backroundBlue);
    width: 400px;
    height: 370px;
}
.suH{
    font-size: 30px;
    padding: 10px;
}

.suH span{
    font-size: 13px;
}

.signUpModal form{
    padding: 20px;
  display: grid;
  gap:20px;
  grid-template-columns:1fr;
  justify-items: center;
  align-items: center;
}


.signUpModal form input{
    background: transparent;
    border: solid var(--mainWhite) 1px;

}

.signUpModal input[type=text]::placeholder{
   font-size: 20px;
   opacity: 0.5;
   color: var(--mainWhite);
}


.signUpModal input[type=text]{
    padding: 5px;
    width: 170px;
}

.signUpModal input[type=submit]{
    width: 130px;
    border-radius: 10px;
    cursor: pointer;
}

.signUpModal input[type=submit]:hover{
    background: var(--mainWhite);
    color: var(--backroundBlue);
}

.amount{
    display: inline;
}

.optContainer{
    padding: 72px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.options{
    border: dotted 3px var(--mainWhite)
}

.options:hover{
   cursor: pointer;
   border: solid;

}


.addMaaser{
    display: none;
    background: var(--backroundBlue);
    width: 600px;

    position: absolute;
    top: 270px;
    left: 50%;
    transform: translate(-50%);
    
}

.addMaaser div{
    padding: 20px;
}

.dateDisplay{
    padding: 0px !important;
    display: none;
}

.typeDisplay{
    padding: 0px !important;
    display: none;
}

.addMaaser input, .addMaaser select{
    background: var(--backroundBlue);
    border: solid 2px var(--mainWhite);

}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number]{
    -moz-appearance: textfield;
}

.input[type=submit]{
    padding: 15px;
}

.closeAdd{
    position: absolute;
    right: 100px;
    top: -15px;
    cursor: pointer;
}

svg.closeAdd{
    fill: var(--mainWhite);
}

footer{
    position: relative;
}

footer img{
    position: absolute;
    margin-top: 50px;
    width: 400px;
    right: 150px;
}

.payMaaser{
    display:  none;
    background: var(--backroundBlue);
    color: rgb(27, 0, 0);
    width: 600px;

    position: absolute;
    top: 270px;
    left: 50%;
    transform: translate(-50%);
}

.paybox{
    
    width: 300px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    justify-self: center;
}

.payMaaser div{
    padding: 20px;
}

.payMaaser input{
    background: var(--backroundBlue);
    border: solid 2px var(--mainWhite);

}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number]{
    -moz-appearance: textfield;
}

.closePayMaaser{
    position: absolute;
    right: 100px;
    top: -15px;
    cursor: pointer;
}

svg.closePayMaaser{
    fill: var(--mainWhite);
}

table{
    color: var(--mainWhite);
    width: 100%;
}

.historyBox{
    display: none;
    position: absolute;
    top: 160px;
    left: 50%;
    transform: translate(-50%);
    background-color: rgb(41, 173, 190);;
    border: 1px solid white;
    color: white;
}

#historyContainer{
    height: 300px;
    width: 700px;
    overflow: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

thead{
     position: sticky;
    top: 0px;
    z-index: 2;
}

th{
   
    background-color: white;
    color: rgb(41, 173, 190);;
    font-size: 30px;
}

 td{
    padding-left: 30px;
    padding-right: 30px;
    font-size: 25px;
    color: white;
}

td:last-child{
    font-size: 15px;
}

th:last-child{
    font-size: 25px;
}

tr:nth-child(odd){
    background-color: rgb(41, 173, 190);;
}

tr:nth-child(even){
 background-color: rgb(138, 194, 201);;
}


.closeHistory{
    position: absolute;
    z-index: 3;
    top: 0px;
    right: 0px;
    cursor: pointer;
}

.printOUT{
    position: absolute;
    z-index: 3;
    top: 0px;
    right: 19px;
    cursor: pointer;
}

.download{
    position: absolute;
    z-index: 3;
    top: 0px;
    right: 38px;
    cursor: pointer;
}

.total{
    display: none;
    font-size: 40px;
    text-align: center;
}

@media (max-width: 500px){

    h1{
       font-size: 20px;
       font-weight: 400px;
    }

    h3{
    padding: 3px;
    font-size: 13px;
    }

    .box{
        width: 90%;
        border: none;
        margin-top: 0px;
    }

    .signIn{
        border: none;
        width:100%;
        margin-left: 50%;
        transform: translate(-50%);
        margin-top: 10%;
        height: 300px;
        display: grid;
        grid-template-columns: 1fr;
    }
     
    .signIn .form{
        margin-right: 0px;
        height: 200px;
        display: grid;
        grid-template-columns: 1fr;
    
    } 

    .textBoxes{
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 10px;
    height: 40px;
    align-self: center;
    }

    .textBoxes input{
       height: 30px !important;
    }

    .textBoxes input::placeholder{
        font-size: 20px;
        color: var(--mainWhite);
    }


    .signH{
        margin-top: 20px;
        font-size: 30px;
        height: 10px;
     }

     .signIn input{
        height: 20px;
        width: 120px;
      }

    .signIn img{
        margin-top: 0%;
        margin-left: 50%;
        transform: translate(-50%);
        width: 150px;
     }

     .signUpModal{
        position: absolute;
        top: 0px;
        right: 0px;
        width: 100%;
        height: 500px;
     }

     .signUpModal form{
            padding: 20px;
            display: grid;
            gap:10px;
            grid-template-columns:1fr;
            justify-items: center;
            align-items: center;
        }

        .signUpModal form input{
           height: 20px;

        }

    .settings{
    top:4px !important;
    right: 2px !important;
    transform: scale(0.6);
    }

    .payCheck{
       top: 2px !important;
       right: 22px !important;
       transform: scale(0.6);
    }

   .refresh{
        right: 42px !important;
        top: 3px !important;
        transform: scale(0.6);
    }
    

    .optContainer{
        padding: 22px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
   }

   .addMaaser{
    width: 100%;
    top: 100px;
    left: 50%;
    transform: translate(-50%);
    
   }

   .closeAdd{
    right: 10px;
   }

   .dateDisplay{
    padding-bottom: 10px !important;
   }

   .payMaaser{
    width: 100%;
    height: 200px;
    top: 100px;
    left: 50%;
    transform: translate(-50%);
    }

    .closePayMaaser{
    right: 10px;
    }  
    
    .historyBox{
    top: 100px;
    height: 300px;
    width: 90%;
    }

    #historyContainer{
        width: 100%;
    }

    th{
    font-size: 10px;
    }

    td{
        padding-left: 10px;
        padding-right: 10px;
        
    }

    td{
        font-size: 10px;
    }

    td:last-child{
        font-size: 10px;
        text-align: start;
    }

    th:last-child{
        font-size: 15px;
        text-align: start;
    }

    .closeHistory{
    transform: scale(0.8);
    }  

    .printOUT{
        transform: scale(0.8);
    }

    .download{
       transform: scale(0.8);
    }
}



