/* 
File Name: style.css
Author: Shayne Thompson, @whisperingcoder (Github)
Description: This file will connect to all html files to create a universal style across the website.  
*/

@import url('https://fonts.googleapis.com/css2?family=Concert+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Concert+One&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

header {
    margin-top: 3em;
}

h1, h2, h3, p, label {
    color: #CDD3D5;
    
}

label {
    font-size: large;
    font-weight: bold;
}

#addBandButton {
    width: 4em;
    height: 2em;
}

input:focus {
    outline: none;
  }

h1, h2, h3 {
    font-family: "Concert One";
}

p {
    font-family: "Open Sans"
}

a, button {
    text-decoration: none;
    color: #ffffffd5;
}

h1 {
    text-align: center;
    font-weight: bolder;
}

body {
    background-color: #75B8C8;
}

button {
    min-width: fit-content;
    min-height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    border: 0px;
    background-color: #77cbb9;
    border-radius: 3em;
}

input {
    border-radius: 3em;
    border: 0px;
    background-color: #CDD3D5;
}

/* Creates a flex to diplay the search bar correctly. */
.searchEngine {
    margin-left: auto;
    margin-right: auto;
    width: fit-content; 

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    gap: 5px;
}

.nav {
    display: flex;
    justify-content: right;
    gap: 10px;
    margin-right: 3em;
}

.logoContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1em;
}

#addArtistNav {
    /* margin-top: 10px; */
}

/* This seperates the search button and the filter button so that they're able to be displayed correctly. */
.searchEngineTop {
    margin-top: 1.5em;
    display: flex;
    justify-content: center;
    align-items: center;
}

.searchEngineBot {
    display: flex;
    justify-content: center;
    position: relative;
}

.searchEngineRadius {
    margin-left: -8em; /* This is a bit of a hack to get the radius search to be in the correct position. */
    width: 30em;
    display: flex;
    justify-content: center;
    position: relative;
}

.navButton {
    align-items: right;
    width: 4.5em;
    height: 2em;
    /* margin-left: 75em; */
    margin-bottom: -3em;
}

.navButton#addArtist {
    width: 10em;
}

#searchButtonImg {
    width: 3em;
    height: 3em;
    margin-left: 3px;
}

#searchButton {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border: 0px;
    background-color: #77cbb9;
    margin-left: 3px;
}

#radiusEnterButton {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border: 0px;
    background-color: #77cbb9;
    margin-left: 3px;
}

#filterButton {
    width: 5em;
    height: 2em;
}

#filterOptions {
    margin-left: 3px;
    border: 0;
    width: 12em;
    height: 15em;
    position: absolute;
    z-index: 9999;
    top: 0%;
    left: 100%;

    background-color: #81a89d;
    border-radius: 1em;
}

#homeSearch {
    width: 60em;
    height: 3em;
}

#citySearch {
    width: 60em;
    height: 3em;
}

#featuredArtists {
    margin-left: auto;
    margin-right: auto;
    width: fit-content; 

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1em;
}

#row1, #row2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1em;
}

#map {
    border: 1em solid #77CBB9;
    border-radius: 20px;
    overflow: hidden;
    height: 70vh;
    width: 60vw;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2em;
    margin-bottom: 2em;
}

.artistBox {
    width: 16.65em;
    height: 16.65em;
    border: 0px;
    text-align: center;
    background-color: #77CBB9;
    border-radius: 2em;
}

.artistBox h3, p {
    color: #ffffffd5;
    line-height: 1px;
}

.artistBox:hover {
    transform: translateY(-4px);
    transform: translateX(4px);
    background-color: #81a89d;
  }

.logo {
    /* font-size: 4rem; */
    width: 18em;
    height: 16.65em;
    display: block;
    margin: auto;
    margin-bottom: 2px;
}

.artistImg {
    margin-top: 15px;
    margin-bottom: 5px;
    height: 11em;
    width: 9em;
}

.add-artist-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    width: fit-content;
    padding: 20px;
    border-radius: 10px;
    background-color: #ffffff;
}

footer {
    margin: 1em;
    margin-top: 7em;
    margin-bottom: 2em;
}

/* ------------------------------------------
    Login Page CSS
------------------------------------------- */

.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    padding: 20px;
}

.login-box {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.login-box h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #4CAF50;
}

#login {
    width: 100%;
    padding: 12px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

#login:hover {
    background-color: #45a049;
}

/* Here is where i pasted */
.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    padding: 20px;
}

.login-box {
    background: white;
    padding-bottom: 40px;
    margin-top: -14em;
    padding-left: 40px;
    padding-right: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.login-box h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #4CAF50;
}

#login {
    width: 100%;
    padding: 12px;
    background-color: #75B8C8;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

#login:hover {
    background-color: #51b1c9;
}

/* ------------------------------------------
    Add Artist Page CSS
------------------------------------------- */

#bandSubmission {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5em;
}

#bandSubmission input {
    width: 25em;
    height: 2.5em;
    border-radius: 10px;
    
}

.logo#smallLogo {
    width: 7em;
    height: 5.65em;
    margin: 0;
    background-color: transparent;
    padding-left: 30px;
}

#artistHeader {
    width: 65em;
    height: 10em;
    margin: auto;
    background-color: #506C64;

    display: flex;
    align-items: center; /* Vertical center */
    /* justify-content: center; Horizontal center (optional) */
}

#artistHeader h2,p {
    padding-left: 1em;
    line-height: 0.1em;
}

#artistInfo {
    display: flex;
    flex-direction: column;
}

#artistButtons {
    display: flex;
    flex-direction: column;
    margin-left: 32em;
}

#artistStats {
    display: flex;
    /* flex-direction: row; */
    /* gap: 2em; */
    justify-content: center;
}

.statBox {
    margin: 35px;
    width: 35em;
    height: auto;
    background-color: #506C64;
    display: flex;
    flex-direction: column;
    padding: 2em;
}

.statBox p,
.statBox h2 {
    text-align: center;
    line-height: 25px;
}

.artistCard {
    border: 1 px solid #ddd;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
    background: white;
}

.artist-info h2 {
    margin: 0 0 4px;
    font-size: 16 px;

}

.artist-info p {
    margin: 0 0 4px;
    font-size: 13 px;
    color: #666;
    line-height: 1em;

}

#artistButtons button {
    width: 9em;
    height: 2em;
    margin: 0.5em;
    font-weight: bold;
    font-size: large;
}


#artistHeader p {
    padding-left: 1.5em;
}

#artistPic {
    margin-left: 1em;
    width: 8.5em;
    height: 8.5em;
    border-radius: 50%;
   
}