@import url('https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@7..60,200;7..60,300;7..60,400;7..60,500;7..60,600;7..60,700;7..60,800&display=swap');

:root {
    --background-color: rgb(244, 242, 234);
    --timeline-background-color: rgb(244, 242, 234);
    --confirmation-background-color: rgb(244, 242, 234);
    --text-color: #4A4A4A;
    --primary-color: #C0A378;
    --font-sans-serif: 'Newsreader', serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans-serif);
    background-color: rgb(244, 242, 234);
    color: var(--text-color);
    text-align: center;
}

h1, h2 {
    font-family: var(--font-sans-serif);
    font-weight: 300;
}

/* Custom Select Wrapper */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-select {
    position: relative;
}

.custom-select__trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    border-radius: 30px;
    font-family: var(--font-sans-serif);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    color: var(--text-color);
    cursor: pointer;
}

.custom-select.open .custom-select__trigger {
    border-radius: 20px 20px 0 0;
}

.arrow {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--primary-color);
    transition: transform 0.2s ease;
}

.custom-select.open .arrow {
    transform: rotate(180deg);
}

.custom-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--background-color);
    border: 1px solid var(--primary-color);
    border-top: 0;
    border-radius: 0 0 20px 20px;
    z-index: 10;
    display: none;
}

.custom-options.open {
    display: block;
}

.custom-option {
    padding: 0.8rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
    text-align: left;
}

.custom-option:not(:last-child) {
    border-bottom: 1px solid rgba(192, 163, 120, 0.3);
}

.custom-option:hover {
    background-color: var(--primary-color);
    color: var(--background-color);
}