body{
    display: grid;
    justify-content: center;
    justify-items: center;
    background-image: url(beach.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    grid-template-rows: 10%;
}

#fishingDisplay{
    display: grid;
    justify-content: center;
    justify-items: center;
    background-size: contain;
    outline: solid;
    grid-template-columns: 50% 50%;
    width: 100%;
    border-radius: 2%;
    background-color: rgb(142, 170, 185);
    padding: 10%;
    margin-bottom: 5%;
}

progress{
    min-height: 2em;
    max-height: 2em;
    accent-color: cyan;
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 3;
    -webkit-appearance: none;
}
progress::before{
    display: grid;
    content: 'Loading...';
    justify-content: center;
    margin: .4em;
    font-size: 1.5em;
    font-weight: bold;
    font-family: initial;
}
::-webkit-progress-bar{
    background-color: white;
    border-radius: 5em;
}
::-webkit-progress-value{
    background-color: rgb(211, 213, 198);
    border-radius: 5em;
}


#loading{
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 2;
}

#outlook{
    display: grid;
    justify-content: center;
    width: 75%;
    border-radius: 2%;
    background-color: rgb(211, 213, 198);
    padding: 5%;
    margin: 5%;
    outline: solid;
}

#footer{
    display: grid;
    align-items: end;
    justify-items: center;
    width: 100%;
    height: 115%;
    /* grid-column-start: 1;
    grid-column-end: 2;*/
}

#formGrid{
    display: grid;
    grid-template-rows: 10% 10%;
    height: 100%;
    justify-items: center;
}

#search{
    width: 70%;
    margin-top: 1em;
}

#search:hover{
    outline: solid;
}

#query{
    height: 200%;
    font-size: 20px;
}

#fishIndicators{
    display: flex;
    justify-content: center;
    background-color: rgb(221, 167, 117);
    max-width: 75%;
    border-radius: 5%;
    outline: solid;
    /* img{max-width: 25%; opacity: .5;} */
}

.fishIcons{
    max-width: 25%; opacity: .5;
}

.enabled{
    max-width: 25%;
}

#loadText{
    display: none;
}

#login{
    position: absolute;
    top: 1em;
    left: 1em;
    width: 250px; /* Smaller fixed width */
    border-radius: 8px;
    background-color: rgb(211, 213, 198);
    padding: 1.5em;
    margin: 0;
    outline: solid;
    
    display: flex;               /* Use flexbox */
    flex-direction: column;     /* Stack children vertically */
    align-items: flex-start;        /* Center content horizontally */
    justify-content: center;    /* Center content vertically (if height allows) */

    button{
        margin-top: 5%;
    }
    
    #usernameDisplay{
        margin-bottom: 3%;
    }
    
    #logout{
        margin-top: 0;
    }
    
    #savedLocationsHeader{
        margin-bottom: 0;
    }
    
    #reset{
        padding: 2%;
    }
}

.modal {
  display: none; 
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* semi-transparent background */
}

.modal-content {
  background-color: rgb(211, 213, 198);
  margin: 10% auto;
  padding: 2em;
  border-radius: 10px;
  width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  #registerError{color: red;}
}

#registerModal{
    input{
        margin-bottom: 7.5%;
    }
}

.close {
  align-self: flex-end;
  font-size: 1.5em;
  cursor: pointer;
}

#logoutModal{
    button{
    padding: 20%;
}
}

.savedLocation{
    border: none;
    outline: none;
    background: none;
    cursor: pointer;
    color: black;
    text-decoration: underline;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
}

#mobileMenu{
    display: none;
}

#closeLogin{
        display: none;
    }

button{
    border-radius: 12px;
    padding: 5%;
    background-color: rgb(241, 241, 241);
    color: black;
    margin-top: 5%;
}

#savedLocation1{
    margin-top: 10%;
}

#savedLocation2{
    margin-top: 10%;
}

#savedLocation3{
    margin-top: 10%;
}

#editSaveLocations{
    margin-top: 10%;
}

@media only screen and (max-width: 600px){
    body{
        grid-template-rows: 0;
        background-image: url(SolunarfishMobileBackground.jpg);
    }
    
    #closeLogin{
    display: block;
}
    #mobileMenu{
        display: block;
    }
    
    .bar1{
    position: absolute;
    top: 1em;
    left: 1em;
    width: 6%;
    height: 0.75%;
    background-color: rgba(0, 0, 0, 0.514);
    margin-top: 0%;
    z-index: 1;
    }
    .bar2{
    position: absolute;
    top: 1em;
    left: 1em;
    width: 6%;
    height: 0.75%;
    background-color: rgba(0, 0, 0, 0.514);
    margin-top: 2%;
    z-index: 1;
    }
    .bar3{
    position: absolute;
    top: 1em;
    left: 1em;
    width: 6%;
    height: 0.75%;
    background-color: rgba(0, 0, 0, 0.514);
    margin-top: 4%;
    z-index: 1;
    }
    
    #login{
        z-index: 1;
        display: none;
    }
    
    
    
    #fishingDisplay{
        display: flex;
        flex-direction: column;
        justify-content: center;
        justify-items: center;
        background-size: contain;
        outline: solid;
        grid-template-columns: 45% 10% 45%;
        width: 100%;
        border-radius: 2%;
        background-color: rgb(142, 170, 185);
        padding: 1%;
        margin: 5%;
        #moon{
            grid-column-start: 3;
        }
        #dailyLow{
            grid-column-start: 3;
        }
        #sunset{
            grid-column-start: 3;
        }
        #moonset{
            grid-column-start: 3;
        }
        #wind{
            grid-column-start: 3;
        }
    }

    #fishIndicators{
        display: flex;
        justify-content: center;
        background-color: rgb(221, 167, 117);
        max-width: 75%;
        max-height: 2em;
        border-radius: 5%;
        outline: solid;
        /* img{max-width: 25%; opacity: .5;} */
    }
    
    #search{
    width: 70%;
    margin-top: 1.5em;
}

#search:hover{
    outline: none;
}

    #loadText{
        display: grid;
        grid-row-start: 2;
    }

}
