@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --colorBG: #000b14;
    --colorBase: #f2f2f2;
    --colorB: #32edf2;
    --colorC: #1f8eff;
    --colorD: #53fc18;
    --colorE: #FF1F8E;
    --color_spotify_green: #1db954;
    --colorSoft: rgba(0, 27, 48, 0.55);
    --colorInput: #31ebf21a;
}

body {
    font-family: "Poppins", sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: var(--colorBG);
    color: var(--colorBase);
}

a, a:visited {
    color: var(--colorE);
    text-decoration: none;
}

h2 {
    line-height: 1.25;
}

h5 {
    margin: .5em 0;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 2;
}

form {
    display: flex;
    flex-direction: column;
    background: var(--colorSoft);
    align-items: center;
    padding: 2em 1.5em;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

form img {
    width: 250px;
}

input, select {
    display: block;
    margin: 5px 0;
    padding: 10px;
    width: 100%;
    background-color: var(--colorInput);
    color: var(--colorB);
    border: none;
    border-radius: 4px;
    box-shadow: none;
}

input.input_disabled {
    background-color: rgba(0, 0, 0, 0.55);
    user-select: none;
}

input.input_disabled::placeholder {
    color: rgba(55, 55, 55, 0.5);
}

select {
    background-color: var(--colorInput); /* This ensures the dropdown background color is set */
    color: var(--colorB);
    border: none;
    border-radius: 4px;
    padding: 10px;
    width: 100%;
    appearance: none; /* This removes the default browser arrow */
    -webkit-appearance: none; /* For Safari */
    -moz-appearance: none; /* For Firefox */
    background-image: url('data:image/svg+xml;utf8,<svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M5 2L9 6L5 10L1 6L5 2Z" fill="%23333"/></svg>'); /* Example of a custom arrow */
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    background-size: 10px;
}

select option {
    background-color: #000910;
    color: var(--colorB); /* Text color for options */
}

button {
    background-color: var(--colorE);
    color: white;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 320px;
    font-weight: 600;
}

button:hover {
    background-color: var(--colorC);
}

.btn_submit {
    margin-top: 1em;
}

.form_header {
    margin-bottom: 1em;
}

footer {
    flex-shrink: 0;
    text-align: center;
    padding: .75em 0;
    width: 100%;
    position: relative;
    bottom: 0;
    font-size: .9em;
}

.center {
    text-align: center;
}

.colorB {
    color: var(--colorB);
}

.colorC {
    color: var(--colorC);
}

.colorE {
    color: var(--colorE);
}

.colorSpotify {
    color:var(--color_spotify_green);
}

.weight-300 {
    font-weight: 300;
}

.weight-400 {
    font-weight: 400;
}

.weight-500 {
    font-weight: 500;
}

.weight-600 {
    font-weight: 600;
}

/* Modal styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    display: flex;
    flex-direction: column;
    gap: 1em;
    background-color: var(--colorBG);
    margin: 15% auto; /* 15% from the top and centered */
    padding: 2em;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 500px; /* Optional: maximum width */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.modal-content svg {
    fill: var(--colorBase);
    height: 2em;
}

.modal-content p {
    font-size: 1.2em;
}

/* The Close Button */
#modal-close-btn {
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    margin: 0 auto;
    margin-top: 1em;
}
