/* Table of contents
––––––––––––––––––––––––––––––––––––––––––––––––––
- Base Styles
- Display
- Scrollbar
- Typography
- Links
- Background color
- Input
- Label
- Button
- Card
- Modal
*/

/* Base Styles
–––––––––––––––––––––––––––––––––––––––––––––––––– */
body {
    background-color: white;
    color: black;
}

/* Display
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.inline-block-display {
    display: inline-block;
}

.block-display {
    display: block;
}

.flex-display {
    display: flex;
}

/* Scrollbar
–––––––––––––––––––––––––––––––––––––––––––––––––– */
body::-webkit-scrollbar {
    width: 6px;
}

body::-webkit-scrollbar-thumb {
    background-color: #202029;
}

/* Typography
h1: KJ Wong
h2: title in page title
h3: subtitle in page title
h4: dash in page title
h5: card
h6: version
–––––––––––––––––––––––––––––––––––––––––––––––––– */
h1, h2, h3, h4, h5, h6, p, span, details, li, textarea, tr, td {
    font-family: Source Sans Pro;
}

h1 {
    font-family: Playfair Display;
    font-size: 45px;
    color: #BE9B89;
}

h2 {
    color: #202029;
}

h3 {
    color: #BE9B89;
}

h4 {
    -webkit-text-fill-color: white;
    -webkit-text-stroke-width: 3px;
    -webkit-text-stroke-color: #BE9B89;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

h5 {
    font-weight: bold;
    line-height: 1.2;
    margin: 0;
    margin-bottom: 3px;
    letter-spacing: 0;
}

h6 {
    display: inline-block;
    font-size: 1em;
    line-height: 1.7;
    margin: 2px 0px;
}

th {
    padding: 3px !important;
    font-size: 15px;
}

td {
    padding: 3px !important;
    font-size: 15px;
}

.footer h6, .footer a {
    font-size: 12px;
    line-height: 1;
}

blockquote {
    margin-top: 0;
    margin-bottom: 0;
}

.color-red {
    color: red;
}

@font-face {
font-family: "Cabin Sketch";
src: url("font/CabinSketch-Regular.ttf") format("truetype");
}

.neucha-font {
    font-family: Cabin Sketch, Source Sans Pro, sans-serif;
}

/* Links
–––––––––––––––––––––––––––––––––––––––––––––––––– */
a {
    color: black;
}

a:hover {
    color: #BE9B89;
}

/* Background color
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.background-red, .background-red:hover {
    background-color: #dc3545;
    color: white;
}

.background-orange, .background-orange:hover {
    background-color: #ff7518;
    color: black;
}

.background-yellow, .background-yellow:hover {
    background-color: #ffc107;
    color: black;
}

.background-green, .background-green:hover {
    background-color: #198754;
    color: white;
}

.background-lightblue, .background-lightblue:hover {
    background-color: #0dcaf0;
    color: black;
}

.background-blue, .background-blue:hover {
    background-color: #0d6efd;
    color: white;
}

.background-purple, .background-purple:hover {
    background-color: #9954bb;
    color: white;
}

.background-grey, .background-grey:hover {
    background-color: #6c757d;
    color: white;
}

.background-light, .background-light:hover {
    background-color: #f8f9fa;
    color: black;
}

.background-dark, .background-dark:hover {
    background-color: #212529;
    color: white;
}

/* Input
–––––––––––––––––––––––––––––––––––––––––––––––––– */
input {
    background-color: white !important;
    font-family: Source Sans Pro !important;
    margin-right: 5px !important;
}

/* Label
–––––––––––––––––––––––––––––––––––––––––––––––––– */
label {
    margin-left: 5px !important;
}

/* Button
–––––––––––––––––––––––––––––––––––––––––––––––––– */
button {
    font-family: Source Sans Pro;
    background-color: white;
    border: none;
    border-radius: 15px;
    color: #202029;
    height: 28px;
    line-height: 28px;
    letter-spacing: .05rem;
    margin-top: 10px;
    margin-right: 10px;
}

button:disabled,
button[disabled] {
    background-color: #cccccc;
    opacity: 0.6;
    pointer-events: none;
}

/* Card
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.card-group {
    display: grid;
    justify-content: center;
    gap: 10px;
}

.card {
    display: inline-block;
    height: 30vh;
    vertical-align: top;
    overflow: hidden;
    padding: 10px;
    margin: 2px 1vw;
    border: 2px solid black;
    border-radius: 30px;
}

.card-header {
    text-decoration: underline;
}

/* Modal
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.modal-title {
    font-weight: bold;
}

.modal-body {
    padding: 20px;
}
