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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", serif;
}


/* from google font page, class with properties for the font */
.montserrat-mine {
    font-family: "Montserrat", serif;
    font-optical-sizing: auto;
    font-weight: 500; /*100-900*/
    font-style: normal;
}

body {
    min-height: 100vh;
    background-color: black;
    color: whitesmoke;
    font-size: 1.05rem;
}


nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: rgba(60, 60, 60, 1);
    font-size: 1.25rem;
}




nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    
    /* Allow text to wrap for multi-line content */
    white-space: normal;
    text-align: center;
    
    /* Button appearance */
    text-decoration: none;
    color: white;
    border: 1px solid white;
    border-radius: 8px;
    padding: 0 10px;
    
    /* Fix the height for all buttons */
    height: 4.25rem;
    
} 

nav a.active {
    background-color: white;
    color: black;
}


nav a.shallow {
    height: 2.25rem;
}


nav a.shallow-active {
    height: 2.25rem;
    background-color: white;
    color: black;
}


main a {
    font-size: 1.1rem; 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    
    /* Allow text to wrap for multi-line content */
    white-space: normal;
    text-align: center;
    
    /* Button appearance */
    text-decoration: none;
    color: white;
    border: 1px solid white;
    border-radius: 8px;
    padding: 5px 10px;
    
    background-color: rgba(60, 60, 60, 1);
    
} 



main {
    padding: 1rem;
}

section {
    display: flex;
    flex-flow: column;
    gap: 1rem;
}


h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 1.5rem;
}


p {
    font-size: 1.05rem;
}


a:hover {
    opacity: .85;
}

table, tr, th, td, caption {
    border: 1px solid #eee;
    border-collapse: collapse;
    padding: 0.5rem;
    font-size: 1.05rem;
}

table caption {
    font-size: 1.2rem;
}


.form-with-validation {
    max-width: 500px;
    font-size: 1.1rem;
    padding: 1rem;
    display: flex;
    flex-flow: column;
    gap: 1rem;
}


.form-with-validation > div:not(.button-container) {
    display: flex;
    flex-flow: column;
    gap: 0.5rem;
}


.form-with-validation input {
    padding: 0.25rem;
    
}

.form-submit {
    margin-left: auto;     /* Push the button to the right */
    width: fit-content;
    font-size: 1.1rem; 
    color: white;
    border: 1px solid white;
    border-radius: 8px;
    padding: 5px 10px;
    cursor: pointer;    
    background-color: rgba(60, 60, 60, 1);

}


.form-input,
select.form-input {
    font-size: 1.1rem;
}


select.form-input {
    -webkit-appearance: none;
    appearance: none;
}


.form-dropdown-input {
    width: 250px;
}


.form-number-input {
    width: 170px;
}






.button-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}


.errorlist {
    color: #F00;
    margin-left: 2rem;
}


.logout {
    display: inline-block;
}



.top-bar {
    background-color: #f0f0f097;  
    display: flex;             
    align-items: center;       /* vertically center the content */
    padding: 10px 20px;        
}
  
.logo {
    height: 80px;              
    margin-right: 20px;        /* space between logo and text */
    background-color: transparent;
}
  
.top-bar-text {
    font-size: 60px;           
    font-weight: bold;
    background-color: transparent;
}

.user-controls {
    margin-left: auto;       /* pushes this container to the right */
    margin-right: 0px;      /* indent from the right edge */
    display: flex;
    flex-direction: column;
    align-items: flex-end;   /* right-aligns the text and button */
    gap: 5px;                /* spacing between username and logout */
    background-color: transparent;
}

.username {
    font-size: 1.5rem;         
    font-weight: bold;
}


.logout-button {
    font-size: 1.25rem;         
    background-color: transparent;
    color: inherit;        
    cursor: pointer;

    border: 1px solid white;
    border-radius: 8px;
    padding: 5px 10px;
    
}



.thumbnail-container {
    position: relative;
    display: inline-block;
}

.thumbnail {
    cursor: pointer;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.full-image {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}


.submit-button {

    color: white;
    border: 1px solid white;
    border-radius: 8px;
    padding: 5px 10px;
    cursor: pointer;    
    background-color: rgba(60, 60, 60, 1);

}


.header-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}


a.plain-link {
    all: unset;
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
}

