@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;400;500;600;700&family=Inter:wght@300;400;500;600;700;800&display=swap')
html,
body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    /* font-size: 15px; */
    font-family: "Inter", Arial, sans-serif; 
    line-height: 24px;
}

main > .container, main > .container-fluid {
    padding: 0 !important;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container, .footer > .container-fluid {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th,
.grid-view td:last-child {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.navbar form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .navbar form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.navbar form > button.logout:focus,
.navbar form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.navbar form > button.logout:focus {
    outline: none;
}

/* style breadcrumb widget as in previous bootstrap versions */
.breadcrumb {
    background-color: var(--bs-gray-200);
    border-radius: .25rem;
    padding: .75rem 1rem;
}

.breadcrumb-item > a
{
    text-decoration: none;
}

.site-index {
    width: 100vw;
    min-height: 85vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.amita-home-bg {
    width: 100vw;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url('/images/amita-overview.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    margin: 0;
    padding: 0;
}

.amita-store-buttons {
    margin-bottom: 32px;
    display: flex;
    gap: 16px;
    justify-content: center;
}

.amita-store-buttons img {
    height: 48px;
    width: auto;
}

.amita-coming-title {
    font-size: 48px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.site-contact, .site-support, .site-privacy, .site-terms, .site-delete-account {
    padding: 5% 0 !important;
    max-width: 1440px;
    margin: 0 auto;
}
.glass-nav {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

@media (max-width: 600px) {
    .amita-coming-title {
        font-size: 32px;
    }
    .amita-store-buttons img {
        height: 36px;
    }
}

@media (min-width: 1920px) {
    main > .container, main > .container-fluid {
        max-width: 1920px;
    }
}

/* Story section styles */
#story-text {
    transition: opacity 0.5s ease-in-out;
    opacity: 1;
}

#story-text.opacity-0 {
    opacity: 0;
}

#typing-container {
    text-align: left;
    position: relative;
    display: inline-block;
    vertical-align: baseline;
}

/* Sử dụng ::before để tạo chiều cao cố định ngay cả khi text rỗng */
#typing-text {
    display: inline-block;
    vertical-align: baseline;
    position: relative;
}

#typing-text::before {
    content: '\00a0'; /* Non-breaking space để giữ chiều cao */
    display: inline-block;
    width: 0;
    visibility: hidden;
}

#typing-cursor {
    display: inline-block;
    vertical-align: baseline;
}

/* Hero title với chiều cao cố định */
.hero-title-container h1 {
    line-height: 1.2;
}

@media (max-width: 768px) {
    #typing-container {
        min-width: 160px;
    }
}