body,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Raleway", sans-serif
}

.separator {
    display: block;
}

body,
html {
    height: 100%;
    line-height: 1.8;
    background-color: #05002c;
}

.w3-bar .w3-button {
    padding: 16px
}

.dcd-hover-bluebg:hover {
    color: #48def0 !important;
    background-color: #001436 !important
}

.dcd-color-blue {
    color: #05002c
}

.dcd-bgcolor-blue {
    background-color: #05002c
}

.dcd-color-face {
    color: #0d688a
}

.dcd-bgcolor-face {
    background-color: #0d688a
}

.dcd-color-line {
    color: #38cee0
}

.dcd-bgcolor-line {
    background-color: #38cee0
}

.dcd-color-riser {
    color: #123456
}

.dcd-bgcolor-riser {
    background-color: #123456
}

.hero-tagline {
    background-color: rgba(18, 52, 86, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 0.5rem;
    text-shadow: 0 0 20px rgba(56, 206, 224, 0.4);
    display: inline-block;
}

/* Responsive hero tagline - smaller and lower on mid-size screens */
@media (max-width: 1400px) and (min-width: 601px) {
    .hero-tagline {
        font-size: 2rem !important;
        margin-top: 300px !important;
    }
}

@media (max-width: 1000px) and (min-width: 601px) {
    .hero-tagline {
        font-size: 1.5rem !important;
        margin-top: 350px !important;
    }
}

.dcd-sidebar {
    right: 0;
    height: 100%;
    width: 200px;
    background-color: #fff;
    position: fixed !important;
    z-index: 1;
    overflow: auto
}

.dcd-sidebar {
    position: relative;
    animation: animateright .4s
}

@keyframes animateright {
    from {
        right: -300px;
        opacity: 0
    }

    to {
        right: 0;
        opacity: 1
    }
}

.dcd-logo-overhands {
    display: flex;
    align-items: flex-end;
    min-height: calc(100vh - 50px);
    box-sizing: border-box;
}

.dcd-page-section {
    padding: 96px 5% 50px;
}

@media (min-width: 800px) {
    .dcd-page-section {
        padding-left: 10%;
        padding-right: 10%;
    }
}

@media (min-width: 1200px) {
    .dcd-page-section {
        padding-left: 15%;
        padding-right: 15%;
    }
}

@media (min-width: 1600px) {
    .dcd-page-section {
        padding-left: 20%;
        padding-right: 20%;
    }
}

.dcd-navbar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.dcd-navbar-flex .w3-bar-item {
    flex: 1 1 auto;
    text-align: center;
    min-width: 100px; /* Adjust as needed for responsiveness */
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
    margin-left: 5%;
    margin-right: 5%;
}

.product-grid-overlap {
    margin-top: -120px;
    position: relative;
    z-index: 10;
}

.product-grid-overlap > .product-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.product-card {
    padding: 2rem;
    position: relative;
    cursor: pointer;
    transition: transform 0.15s ease;
    border-radius: 1rem;
}

.product-card:hover {
    transform: translateY(-3px);
}

.product-card.grid-filler {
    cursor: default;
}

.product-card.grid-filler:hover {
    transform: none;
}

.product-card .card-link {
    text-decoration: none;
    color: inherit;
}

.product-card .card-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.product-card h5 a {
    position: relative;
    z-index: 1;
}

/* Grid filler - visibility controlled by JavaScript */
.grid-filler {
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid-filler.hidden {
    display: none;
}

/* Product page styling */
.product-title {
    color: #38cee0;
    text-align: center;
    font-size: 3rem;
    margin-bottom: 0.25rem;
    text-shadow: 0 0 10px rgba(56, 206, 224, 0.3);
}

.product-tagline {
    color: #48def0;
    text-align: center;
    font-style: italic;
    font-weight: 300;
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}
