/**
 * COPYRIGHT 2023 Micah De Silva
 */
/* Reset some default browser styles */
/* Basic resets */
body,
h1,
button {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
}

/* Background and Typography */
body {
    background-color: #fff;
    font-family: "Arial", sans-serif;
    font-size: large;
    color: #222;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh; /* Full viewport height */
}

/* General Section Styling */
section {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* Top Buttons */
#top-buttons {
    flex-direction: row;
    flex-wrap: wrap;
}

/* Options */
#options {
    flex-direction: row;
    flex-wrap: wrap;
}

.chord-name {
    display: block;
}

.chord-likelihood {
    display: block;
    font-size: 0.6em;
}

/* Options Buttons */
#options button {
    background-color: #bde0fe;
    color: #333;
}

#options button:hover {
    background-color: #a2d2ff;
}

/* Bottom Buttons */
#bottom-buttons {
    flex-direction: row;
    flex-wrap: wrap;
}

/* Buttons */
button {
    background-color: #ffc8dd;
    color: #333;
    padding: 50px 50px;
    margin: 25px;
    border-radius: 12px;
    font-size: 3em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #ffafcc;
}

/* Feedback */
#feedback {
    font-size: 3em;
    text-align: center;
    margin: 20px;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 10px;
    border: 1px solid #888;
    color: #8ecae6;
    width: 90%;
    border-radius: 12px;
    max-width: 600px;
}

.chord-config {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #cdb4db;
    padding: 15px;
    margin: 5px;
    border-radius: 12px;
    width: calc(50% - 10px);
    box-sizing: border-box;
    cursor: pointer;
    font-size: 2em;
    opacity: 1;
    transition: opacity 0.3s ease;
    color: #222;
}

.chord-config.disabled {
    opacity: 0.4;
}

.chord-config label {
    font-size: 1.8em;
    margin-left: 10px;
}

.chord-config input[type="number"] {
    font-size: 1em;
    text-align: right;
    width: 100px;
}

/* Grid layout for chord options */
#chord-config-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.close {
    color: #000000;
    float: right;
    font-size: 56px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #ffb703;
    text-decoration: none;
    cursor: pointer;
}
