* {
    box-sizing: border-box;
}

@font-face {
    font-family: 'Adamina';
    src: url('./fonts/Adamina-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MonotypeCorsiva';
    src: url('./fonts/MonotypeCorsiva.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SFPro';
    src: url('./fonts/SF-Pro-Display-Semibold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'RosebaySlab';
    src: url('./fonts/RosebaySlab-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'STIXTwoText';
    src: url('./fonts/STIXTwoText-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Rosseville';
    src: url('./fonts/Rosseville.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('./fonts/OpenSans-Semibold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html {
    tab-size: 4;
    scroll-behavior: smooth;
    /* scroll-snap-type: y mandatory; */
}

body {
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    color: black;
    background-color: oklch(0.85 0.1 240);
    margin: 0;
}

section {
    /* width: 100%; */
    /* scroll-snap-align: start; */
    margin: 0;
    padding: 1rem;
}

/* #section-header {
    background-color: oklch(0.85 0.1 140);
} */

/* This was for logo image near coffe page */
#top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

#top-row h1 {
    flex: 1;
    /* Make the h1 take up the remaining space */
    text-align: center;
    /* Center the text within the h1 */
    margin-bottom: 0;
}

#dropdown-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.df-section {
    padding: 0;
}

.gradient-background {
    background: linear-gradient(to bottom, white, grey);
    ;
    background-size: contain;
    background-attachment: fixed;
    background-repeat: no-repeat;
    /* scroll-snap-stop: always; */
}

#welcome-text {
    text-align: center;
    font-family: -apple-system, 'Adamina', Helvetica, sans-serif;
    font-size: 2.5rem;
    margin: 0;
    /* overflow-wrap: break-word; */
}

.Rainbow-Animation {
    font-weight: bold;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    /* MediaKit Gradient
    background-image: linear-gradient(-130deg, #db55aa, #db55aa, #e76b61, #258ed8, #45af99, #45af99);
    background-size: 600% 600%; */
    background-image: linear-gradient(to right, #EE7752, #ec4899, #8b5cf6, #0094FF);
    background-size: 600% 300%;
    /* transition: all 2s ease-out; */
    animation: rainbow-animation 19s ease infinite;
}

@keyframes rainbow-animation {
    0% {
        background-position: 0 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0 50%;
    }
}

.gradient-text {
    color: transparent;
    background-clip: text;
    line-height: 1;
}

.company-title {
    font-family: 'MonotypeCorsiva', Helvetica, sans-serif;
    color: black;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0;
    margin-top: 0;
}

/* h2.by-Rachel {
    font-family: 'MonotypeCorsiva', Helvetica, sans-serif;
    color: black;
    font-size: 2.5rem;
    text-align: center;
    margin: 0;
}  */

a {
    text-decoration: none;
}

hr {
    border: 0.09rem solid grey;
    border-radius: 9999px;
    margin: 0.1rem;
    box-shadow: #0f172a 1px;
}

.button-v2 {
    display: inline-block;
    padding: 10px 15px;
    border-radius: 7px;
    cursor: pointer;
    text-decoration: none;
    color: white;
    margin: 8px 7px 7px 0px;
    transition-duration: 0.3s;
    transition-property: transform;
}

.button-v2:hover {
    transform: scale(1.06);
}

ion-icon {
    padding-right: 4px;
    margin-bottom: -2px;
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: #0f172a;
        /* dark slate-950 */
        color: oklch(84% 46.25% 202.63 / 1);
    }

    #bzh {
        color: black;
    }

    .company-title,
    .by-Rachel {
        color: whitesmoke;
    }

    .df-section {
        background-color: #0f172a;
    }
}

/* for computers */
@media (min-width: 640px) {
    #welcome-text {
        font-size: 3rem;
    }

    .company-title {
        font-size: 3rem;
    }

    .banner {
        padding-left: 0.875rem;
        padding-right: 0.875rem
    }

    .banner::before {
        content: "";
        flex: 1 1 0%;
    }

    .carousel-cell img {
        border-radius: 12px;
    }
    .carousel {
        margin: 5px;
    }
}

button {
    cursor: pointer;
    text-transform: none;
    background-image: none;
}

button:hover {
    filter: brightness(0.8);
}

#bzh {
    position: fixed;
    top: 10px;
    right: 15px;
    z-index: 10000;
    font-size: 1.2rem;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 0.2em 0.5em;
}

.banner {
    position: sticky;
    top: 5px;
    z-index: 100;
    isolation: isolate;
    overflow: hidden;
    background: #ebf8ff;
    padding: 0.625rem 1.5rem;
    column-gap: 1.5rem;
    /* border-bottom: solid black 0.5px; */
    margin: 5px;
    border-radius: 12px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    opacity: 97%;
}

#pre-release_banner {
    display: flex;
    align-items: center;
}

.banner .close {
    display: flex;
    flex: 1 1 0%;
    justify-content: flex-end
}

.banner .close button {
    margin: -0.75rem;
    padding: 0.75rem;
    color: black;
    background-color: transparent;
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: #e5e7eb;
}

.banner .close button:focus {
    outline-offset: -4px
}

.banner-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 1rem;
    font-size: 0.875rem;
    line-height: 1.5rem;
    color: #1f2937;
}

.banner-content p {
    margin: 0;
    padding: 0;
    text-align: center;
}

.banner-content a {
    margin: 0;
}

.banner-link {
    background-color: #1f2937;
    border-radius: 9999px;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
    color: white;
    display: inline;
    flex: none;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25rem;
    padding: 0.25rem 0.875rem;
    text-decoration: none;
    transition: background-color 0.1s;
}

.banner-link:hover {
    background-color: #374151;
}

.banner-link:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

strong {
    font-weight: 600;
}

.pretty-button {
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    /* Additional properties to ensure no outline and custom ring */
    outline: none;
    transition: filter 0.1s, box-shadow 0.2s;
    cursor: pointer;
    text-transform: none;
    background-image: none;
    text-decoration: none;
}

.pretty-button:focus {
    /* outline: none; */
    /* Just to ensure */
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.4),
        /* outer ring */
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        /* original shadow */
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    /* original shadow */
    outline: 2px solid red;
    outline-offset: 2px;
}

.pretty-button:hover {
    filter: brightness(0.8);
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
    vertical-align: middle;
}