*{
    padding: 0;
    margin: 0;
    z-index:0;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif
}
h1{
    padding: 10px;
    display:flex;
}
.header-row {
    display: flex;
    align-items: center; 
    justify-content: space-between; 
}
.subheader-row {
    display: flex;
    flex-direction: row;
}

h3{
    padding:10px;
    display:flex;
}
/*background CSS*/
.background-image {
    position: fixed; 
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("../images/pokeball_background_opaque.png");   
    background-size: cover;
    background-position: center center;
    opacity: 25%;
    z-index:-1;
}
/*button css*/
.lightdarkbutton {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end; 
    gap: 10px; 
    padding: 10px;
}

.button{
    background-color: #d2d2d2;
    width: 60px;
    height: 30px;;
    border-radius: 200px;
    cursor: pointer;
    position: relative;
    transition: 0.2s;
}
.button::before{
    position: absolute;
    content: '';
    background-color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: 0.2s;
}

input:checked + .button{
    background-color: #000000;
}
input:checked + .button::before{
    transform: translateX(30px);
}
input[type="checkbox"]{
    display: none;
}

#infoIcon {
    cursor:grab;
    width: 50px;
    height:50px;
}

/*modal*/
.modal {
    display: none;
    position: fixed;
    z-index: 2;
    top: 10vh;
    left: 50%;
    transform: translateX(-25%);
    width: 33vw;
    overflow-y: auto;
    padding:10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    max-height: 80vh;
}

.instructions{
    width: 100%;
      overflow-y:auto;
    height: 2%;
}

*/
.modal-content {
    overflow-y:auto;
    margin: 15% auto;
    padding: 20px;
    width: 75%;
}


/*input fields CSS*/
#fields {
    display: flex;
    flex-direction: column;
}
.fieldWrapper {
    flex-direction:row;
}
.field-pair {
    display: flex;
    padding:10px;
    flex-direction: column;
    font-size:30px;
}

.field-pair input {
    border-radius: 15px;
    border-color:black;
    width: 200px;
    padding: 5px;
    margin-top: 5px;
    font-size: 16px;
}


input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    appearance: textfield;
}

/*Calculations*/
#calculate-btn { 
    position: relative;
    border-radius: 15px;
    border-color:black;
    width: 215px;
    padding: 5px;
    left: 10px;
    margin-top: 5px;
    font-size: 16px;
    background-color: #000000;
    color: rgb(255, 255, 255);
}

.close-btn {
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: red;
  margin-top: 10px;
  margin-right: 10px;
}
