html,
body {
    height: 100%;
    margin: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}

.toast {
    background-color: #333;
    color: white;
    padding: 10px;
    border-radius: 5px;
    opacity: 0.9;
    display: none;
    position: fixed;
    bottom: 6px;
    right: 20px;
    z-index: 1000;
}

.container {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    height: calc(100% - 200px);
}

.container textarea {
    width: 100%;
    height: 100%;
}

h2 {
    text-align: center;
    color: #4b4a4a;
    font-size: 1.2rem;
    margin: .3rem 0;
    font-weight: bold;
}

.column {
    background-color: white;
    border: 1px solid #ccc;
    width: 30%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    /* Stack children vertically */
    height: calc(100% - 55px);
    /* Adjust height to fit within the board */
    border-radius: 10px;
}

input[type="text"] {
    padding: 10px 15px;
    /* Add padding */
    font-size: 16px;
    /* Increase font size */
    border: 1px solid #ccc;
    /* Border color */
    border-radius: 5px;
    /* Rounded corners */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
    transition: border-color 0.3s;
    /* Smooth transition for focus effect */
}

input[type="text"]:focus {
    border-color: #6c63ff;
    /* Change border color on focus */
    outline: none;
    /* Remove default outline */
}

.drop-target {
    background-color: #e0e7ff;
    /* Light blue background for drop target */
    border: 2px dashed #6c63ff;
    /* Dashed border to indicate drop area */
}

.navbar-dark .navbar-brand {
    font-weight: bold;
    font-size: 1rem;
}

.brand-title,
.brand-title:hover {
    text-decoration: none;
    color: inherit;
}

.flex-navbar {
    display: flex;
    color: white;
    font-weight: bold;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.generic-flex {
    display: flex;
    align-items: center;
}

.select-case-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .search-container input[type="text"] {
        width: 100% !important;
        margin: 0 20px;
    }

    #tabbypad {
        padding: 20px 20px 40px 20px !important;
    }

    .custom-modal-content {
        margin: 40% auto !important;
    }

    .custom-modal-content.fullscreen {
        margin: 0 !important;
    }
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.grid-item {
    background-color: #ffffff;
    border: 2px solid #ccc;
    padding: 20px;
    text-align: left;
    cursor: pointer;
    font-size: 0.9em;
    height: 215px;
    overflow: hidden;
    border-radius: 10px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 8;
    transition: filter .2s ease-out;
    box-shadow: 2px 2px 2px 0px #00000014;
}

/* Ensure that the text is wrapped correctly */
.grid-item>div {
    overflow: hidden;
    /* Hide overflow */
    text-overflow: ellipsis;
    /* Show ellipsis */
    display: -webkit-box;
    /* Use box layout for ellipsis */
    -webkit-box-orient: vertical;
    /* Vertical orientation */
    -webkit-line-clamp: 8;
    /* Limit to 8 lines */
}

.grid-item:hover {
    filter: sepia(1);
}

.custom-modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.5);
    /* Background with transparency */
}

.custom-modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    /* Center the modal */
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    /* Default width */
    transition: width 0.3s, height 0.3s;
    /* Smooth transition */
    border-radius: 8px;
}

.custom-modal-content.fullscreen {
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    margin: 0;
    /* Remove margin */
    padding: 20px;
    /* Remove padding */
    border-radius: 0;
    /* Remove border radius */
}

.bg-dark {
    background-color: #1b222d !important;
}

:root {
    --primary-color: #CEA5F1;
    --secondary-color: #A8A5F1;
    --large: 300px;
    --small: 15px;
    --timing: 8s;
}

.main-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: calc(100% - 54px);
    background-color: #0b1215;
    gap: 30px;
}

main,
section {
    height: 300px;
    width: 100vw;
    display: grid;
    justify-content: center;
    align-items: center;
}

section {
    height: auto;

}

.breathing-circle {
    background-color: var(--primary-color);
    width: var(--small);
    height: var(--small);
    border-radius: calc(var(--small) / 2);
    display: inline-block;
    animation: breath var(--timing) ease infinite none running
}

input {
    margin: 10px 0;
    height: 30px;
    width: 200px;
    font-size: 1.25em;
    border-radius: 25px;
    margin: 0 auto;
    color: #CEA5F1;
    opacity: 0.70;
}

.main-container h1,
.main-container p,
.main-container input {
    color: #62748c;
    font-family: 'Prompt', sans-serif;
    text-align: center;
}

label {
    color: #CEA5F1;
    opacity: 0.5;
    font-family: 'Prompt', sans-serif;
    text-align: center;
}

@keyframes breath {

    25%,
    50% {
        background-color: var(--secondary-color);
        width: var(--large);
        height: var(--large);
        border-radius: calc(var(--large) / 2);
    }
}

.stars {
    background: #000 url(http://www.script-tutorials.com/demos/360/images/stars.png) repeat top center;
    z-index: 0;
}

@keyframes move-twink-back {
    from {
        background-position: 0 0;
    }

    to {
        background-position: -10000px 5000px;
    }
}

@media (min-width: 448px) {
    .c-deep-breathing-tool__frame {
        height: 400px;
        width: 400px;
    }
}

.c-deep-breathing-tool__frame {
    background-color: #0a1215;
    margin-bottom: 1.5rem;
    position: relative;
}

.c-deep-breathing-tool__outer-circle {
    background-color: #0a3347;
    height: calc(100vw - 3rem);
    width: calc(100vw - 3rem);
}

.c-deep-breathing-tool__outer-circle,
.c-deep-breathing-tool__inner-circle {
    border-radius: 50%;
}

@media (min-width: 448px) {
    .c-deep-breathing-tool__outer-circle {
        height: 100%;
        width: 100%;
    }
}

.c-deep-breathing-tool__inner-circle {
    background-color: #4b7082;
    -webkit-box-shadow: 0 0 20px 11px #8fadbc;
    box-shadow: 0 0 20px 8px #8fadbc;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    transform: scale(0.4);
    transition: all .05s linear;
    width: 100%;
}

.c-deep-breathing-tool__message {
    font-family: "DM Sans", Helvetica, Arial, sans-serif;
    font-size: calc(1.5rem + 0.3vw);
    font-weight: 700;
    left: 1rem;
    position: absolute;
    right: 1rem;
    text-align: center;
    text-shadow: 0 0 .2em rgb(102 102 102 / 80%), 0 0 .2em rgb(179 179 179 / 80%), 0 0 .2em rgb(96 96 96 / 80%);
    top: 50%;
    transform: translateY(-50%);
    color: white;
}

.c-deep-breathing-tool__inner-circle--breathe-in {
    background-color: #4b7082;
    transform: scale(0.9);
    transition: all 4s linear;
}

.c-deep-breathing-tool__inner-circle--breathe-out {
    background-color: #4b7082;
    transform: scale(0.4);
    transition: all 6s linear;
}

.c-deep-breathing-tool__message--fade {
    animation: fade-in-out 4s infinite;
}

.c-button--yellow {
    background-color: #78c0c8 !important;
    border-color: #027a89 !important;
    box-shadow: 0 6px #027a89 !important;
    text-decoration: none !important;
}

.c-button--yellow:hover {
    color: inherit;
}

.c-button,
.c-contact-details [data-open-chat] {
    background-color: #e0e2ff;
    border: 2px solid #2e3cff;
    border-radius: .5rem;
    box-shadow: 0 6px #2e3cff;
    color: #07091d;
    cursor: pointer;
    display: inline-block;
    font-family: "DM Sans", Helvetica, Arial, sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 6px;
    padding: .75rem 2rem;
    text-align: center;
    text-decoration: none;
}

#startButton, #stopButton {
    width: 300px;
}

#stopButton {
    display: none;
}

#muteButton {
    position: absolute; top: 70px; right: 26px;
}

#speakerIcon {
    display: none;
}

.about-notice {
    --shadow-color: 0deg 0% 67%;
    --shadow-elevation-low: 0.3px 0.5px 0.9px hsl(var(--shadow-color) / 0), 0.9px 1.9px 3.2px hsl(var(--shadow-color) / 0.45);
    background-color: #ecf0ff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow-elevation-low);
}

@keyframes fade-in-out {
    0% {
        opacity: 0;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}