/*basic stuff like h1 size and margin top*/

button:hover {
    cursor: pointer;
}

/*For Pop-up's*/
.popup {
    display: none;
    position: fixed;
    top: 1rem;
    background-color: white;
    width: 50%;
    left: 25%;
    box-shadow: 0 0 0.9375rem 0.3125rem rgba(0, 0, 0, 0.15);
    border: 0.0625rem solid black;
    z-index: 2;
    padding: 1rem;
    overflow-y: auto;
    max-height: 90vh;
}

.popup h3 {
    text-align: center;
    margin-top: 1rem; /*since the popup div already has padding we don't need such a large margin at the top*/
}

h1 {
    margin-top: 1.5rem; /*h1 is already at the top so it doesn't need much spacing*/
}

h2 {
    margin-top: 2.25rem;
}

h3 {
    margin-top: 2rem;
}

.some_link {
    color: rgb(0, 106, 71);
    width: fit-content; /*this makes the class take up an entire line but still have auto width to prevent unintended clicks by the user*/
}

.some_link:hover {
    cursor: pointer;
}

.hidden {
    display: none;
}

/*Loader Div*/
#loader {
    border: 1rem solid #000000;
    border-radius: 50%;
    border-top: 1rem solid #b50000;
    width: 10vw;
    height: 10vw;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
    position: absolute;
    top: 30vh;
    left: 45vw;
}

#loader_div {
    background-color: #f4f4f495;
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2;
    visibility: hidden;
}

textarea, textarea:focus {
    border: 1px solid rgba(0, 0, 0, 0);
    outline: none;
    overflow: hidden;
}

textarea {
    width: 100%;
}

textarea:hover {
    /*box-shadow: 0 0 1rem 0.25rem rgba(0, 0, 0, 0.15);*/
    border: 1px solid rgb(0, 0, 0);
    border-radius: 0;
}
      
/* Safari */
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}
    
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media only screen and (max-width: 1000px) {
    #loader {
        position: fixed;
        top: 15%;
    }
}

#login_popup_div input {
    width: 15rem;
    margin-left: 1rem;
}

#login_popup_div span {
    display: inline-block;
    width: 5rem;
}