html {
    background-color: #470537; /*swap color on live music locator website header here*/
}

body {
    font-family: 'Courier New', monospace; /* Changed font to Courier New */
    margin: 20px;
    background-color: #470537; 
}

.logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100px; 
}

h1 {
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

form label {
    margin: 5px;
}

form input, form select, form fieldset {
    margin: 5px;
}

fieldset {
    border: 1px solid #ccc;
    padding: 10px;
    width: 300px; 
}

.date-header {
    text-align: left; 
}

#gig-list h2 {
    text-align: left; 
}

.gig {
    border-bottom: 1px solid #ccc;
    margin: 10px 0;
    padding: 10px 0;
    text-align: left;
}

.gig-name {
    font-weight: bold;
}

.gig-venue a {
    color: blue;
    text-decoration: none;
}

.gig-venue a:hover {
    text-decoration: underline;
}

#filters-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

#facebook-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    width: 100%;
    padding: 0;  
    box-sizing: border-box;
}

#results-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%; 
    padding: 10px;
    box-sizing: border-box;
}

.results-content {
    display: flex;
    width: 100%;
}

#gig-list, #facebook-text {
    flex: 1;
    width: 100%;
    height: 300px; 
    border: 1px solid #ccc;
    padding: 8px;
    box-sizing: border-box;
}

#facebook-text {
    width: 100%;
    height: 200px; 
    resize: none;
    box-sizing: border-box;
}

.divider {
    width: 100%;
    border: 0.5px solid #470537;
    margin: 20px 0;
    display: none; /* Hide the divider */
}

.container {
    display: flex;
    justify-content: center;
    width: 96%;
    margin-left: 2%; 
    margin-right: 2%; 
}

#toggle-fb-text, #results-container, #filters-container, #floating-buttons-container, fieldset[name="elements-container"] {
    display: none;
}

.halfscreen {
    width: 100%;
}

footer {
    text-align: center;
    margin-top: 20px;
}

.floating-buttons-container {
    display: none;
    flex-direction: column;
    position: fixed;
    bottom: 20px;
    right: 20px;
    gap: 10px;
}

.floating-button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.floating-container {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 300px;  
    max-width: 90%;
    padding: 20px;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    display: none;
    box-sizing: border-box; 
}

.floating-container textarea {
    width: 100%; 
    height: 200px; 
    resize: none;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

.copy-btn {
    padding: 10px;
    margin-bottom: 5px;
    margin-top: 10px; 
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    align-self: flex-end; 
}

.ts-dark-blue, .divider{
    background-color: #470537;
    color: #ffffff;
}

.ms-yellow{
    background-color: #f3edd2;
}

.yellow-padding{
    padding-top: 5%;
}


.search-button{
    background-color: #f9f9f9; 
    color: rgb(0, 0, 0); 
    padding-top: 1%;
    padding-bottom: 1%;
    padding-right: 3%;
    padding-left: 3%;
    font-size: 20px; 
    font-family: Arial, sans-serif; 
    border: none; 
    border-radius: 5px; 
    cursor: pointer; 
    transition: background-color 0.3s ease;
}

/* Styles for instruction box */
.custom-textbox {
    position: fixed;
    top: 2%; 
    left: 2%; 
    width: 32%; 
    height: 35%; 
    background-color: rgba(0, 0, 0, 0.5); 
    color: white;
    border: none;
    padding: 10px;
    box-sizing: border-box;
    z-index: 1000; 
    resize: none; 
    pointer-events: none; 
}

/* Media query for screens with width less than 1200px */
@media (max-width: 1200px) {
    .custom-textbox {
        left: unset; 
        right: 2%;
    }

    header, h1, form {
        text-align: left;
        align-items: flex-start;
    }

    header .logo {
        margin-left: 0;
        margin-right: auto;
    }
}

/* Media query for screens with width less than 1100px */
@media (max-width: 1100px) {
    .custom-textbox {
        height: 70%; /* Increase the height for narrower screens */
    }
}

/* Media query for screens with width less than 600px */
@media (max-width: 600px) {
    h1 {
        white-space: pre-line;
    }
}
