@import "./fonts";
$primary: #ffc560;
$primary-bg-subtle: #000000;
$secondary: #dfb572;
$white: #ffffff;
$black: #000000;

$spacer: 1rem;
$spacers: (
    0: 0,
    1: $spacer * 0.25,
    2: $spacer * 0.5,
    3: $spacer,
    4: $spacer * 1.5,
    5: $spacer * 2,
    6: $spacer * 3,
);

@import "bootstrap/scss/functions";
@import "bootstrap/scss/variables";
@import "bootstrap/scss/mixins";
@import "bootstrap/scss/bootstrap";
@import "@fortawesome/fontawesome-free/css/all.css";
@import "./music";

:root {
    --font-family: "Candara", sans-serif;
    --font-family-headline:
        "Angsana", "Times New Roman", "TH Sarabun New", serif;
    --font-family-receiver: "Freestyle Script", cursive;
    --font-family-chinese:
        "YuGothib", "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC",
        "WenQuanYi Micro Hei", sans-serif;
    --font-family-couple: "Pristina", cursive;
    --font-family-title: "Bona Nova", sans-serif;
}

body {
    font-family: var(--font-family);
    overflow-y: hidden;
    color: var(--bs-white);
}

.font-headline {
    font-family: var(--font-family-headline);
    text-transform: uppercase;
}

.font-receiver {
    font-family: var(--font-family-receiver);
}

.font-chinese {
    font-family: var(--font-family-chinese);
}

.font-couple {
    font-family: var(--font-family-couple);
}

.font-title {
    font-family: var(--font-family-title);
}

.font-date {
    width: 8rem;
    text-align: center;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    font-size: 1.8rem;
}

.min-h-full {
    min-height: calc(100vh - 11rem);
}

.bg-image {
    width: auto;
    //max-width: 40vh;
    height: 100%;
    position: absolute;
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.bg-image-top {
    top: 50%;
    left: 50%;
}

.main-container {
    max-width: 768px;
    margin: auto;
    box-shadow:
        rgba(0, 0, 0, 0.25) 0px 54px 55px,
        rgba(0, 0, 0, 0.12) 0px -12px 30px,
        rgba(0, 0, 0, 0.12) 0px 4px 6px,
        rgba(0, 0, 0, 0.17) 0px 12px 13px,
        rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

.content-container {
    width: 100%;
    height: 100%;
    margin: auto;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.bg-container {
    width: 100%;
    z-index: 0;
    margin: auto;
    position: relative;
    background-color: var(--bs-primary-bg-subtle);
    height: 100vh !important;
}

.bg-transparent {
    width: 98%;
    padding: 3rem;
    //box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 5px, rgba(0, 0, 0, 0.23) 0px 3px 5px !important;
    z-index: 3;
    height: auto;
}

.bg-transparent#section1-container {
    min-height: 98%;
}

.bg-transparent-1 {
    //background-color: rgba(0, 0, 0, 0.4) !important;
}
.bg-transparent-2 {
    //background-color: rgba(0, 0, 0, 0.7) !important ;
}

#section1 {
    height: 100vh;
}

.w-60 {
    width: 60% !important;
}
.w-45 {
    width: 45% !important;
}
.w-15 {
    width: 15% !important;
}

// Lock scroll initially
.scroll-locked {
    overflow: hidden;
}

.scroll-hidden {
    &::-webkit-scrollbar {
        display: none;
    }
    scrollbar-width: none;
    -ms-overflow-style: none;
}

// Button
.btn-primary,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus,
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:active,
.btn-secondary:focus {
    color: var(--bs-white);
}

.countdown-item {
    font-size: 1.5rem;
    background-color: var(--bs-black);
    color: var(--bs-white);
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    width: calc(min(100vw, 768px) / 6);
}

.countdown-number {
    font-size: 3rem;
    font-family: var(--font-family-receiver);
    line-height: 1.1;
}

.card {
    border-color: var(--bs-primary);
    background-color: transparent;
    color: var(--bs-white);
}

.font-title {
    font-size: 2.5rem;
}

.diamond-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
}

.diamond-divider::before,
.diamond-divider::after {
    content: "";
    height: 2px;
    flex: 1;
    background: currentColor;
}

.diamond {
    display: block;
    flex: 0 0 auto;
    background: currentColor;
    transform: rotate(45deg);
}

.diamond.small {
    width: 6px;
    height: 6px;
}

.diamond.big {
    width: 10px;
    height: 10px;
}

.form-control, .form-control:active, .form-control:focus {
    background-color: transparent;
    color: var(--bs-white);
    border-color: var(--bs-primary);
    //border-top: 0px;
    //border-left: 0px;
    //border-right: 0px;
}

.form-control:focus{
    color: var(--bs-white);
    box-shadow: 0 2px 4px 0.25rem rgba(255, 197, 96, 0.25);
}

@media (min-width: 768px) {
    .scale-wrapper {
        transform: scale(0.5);
        transform-origin: top center;
    }

    .bg-container {
        height: 200vh !important;
    }

    .bg-image {
        max-width: 80vh;
    }
}

#wishes-list {
    max-height: 250px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--bs-primary) transparent;
}

/* Chrome, Edge, Safari */
#wishes-list::-webkit-scrollbar {
    width: 6px;
}

#wishes-list::-webkit-scrollbar-track {
    background: transparent;
}

#wishes-list::-webkit-scrollbar-thumb {
    background: rgba(255, 197, 96, 0.25);
    border-radius: 10px;
}

#wishes-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 197, 96, 0.25);
}

.btn-primary{
    color: var(--bs-black);
}
