/* General */
body {
    overflow-x: hidden;
    overflow-y: auto;
    font-family: 'Roboto', sans-serif;
}

/* Preloader */
.animationload {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    z-index: 999999;
}

.loader {
    width: 200px;
    height: 200px;
    font-size: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    background-image: url(../images/loader.gif);
    background-repeat: no-repeat;
    background-position: center;
    margin: -100px 0 0 -100px;
}

/* Home / Countdown styles */
.logo {
    padding-bottom: 5%;
}

.brand-title {
    color: rgba(255, 255, 255, 0.75);
    font-size: clamp(1.2rem, 4vw, 3.5rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    padding: 0 0.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.75), rgba(240, 240, 240, 0.65));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 3s ease-in-out infinite alternate;
    word-wrap: break-word;
    white-space: normal;
    line-height: 1.2;
    width: 100%;
    box-sizing: border-box;
}

@keyframes glow {
    from {
        text-shadow: 0 0 2px rgba(255, 255, 255, 0.5), 0 0 4px rgba(255, 255, 255, 0.5);
    }
    to {
        text-shadow: 0 0 4px rgba(255, 255, 255, 0.5), 0 0 6px rgba(255, 255, 255, 0.5);
    }
}

.logo p {
    color: rgba(255, 255, 255, 0.7);
    padding-top: 20px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.6rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#home .large-header {
    background-image: url("../images/pattern.png"), url('../images/img-1 (2).jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    min-height: 100vh;
    width: 100%;
    height: 100%;
}

#home .large-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

#home .content {
    position: relative;
    z-index: 2;
    height: 100vh;
    width: 100%;
}

.home-main {
    position: absolute;
    margin: 0;
    padding: 0 1rem;
    text-align: center;
    top: 50%;
    left: 50%;
    -webkit-transform: translate3d(-50%,-50%,0);
    transform: translate3d(-50%,-50%,0);
    width: 100%;
    max-width: 1200px;
    z-index: 5;
}

#countdown_dashboard {
    display: block;
    margin: 0px auto;
    overflow: hidden;
}

.dash {
    padding-bottom: 10px;
    position: relative;
    opacity: 1;
}

.dash_title {
    font-size: 16px;
    width: 100%;
    color: rgba(187, 187, 187, 0.75);
    display: block;
    clear: both;
}

.digit {
    color: rgba(249, 249, 249, 0.7);
    font-size: 60px;
    font-weight: 300;
    display: inline-block;
    overflow: hidden;
    text-align: center;
    height: 110px;
    line-height: 110px;
    position: relative;
    vertical-align: middle;
}

/* Social Icons */
.mt-5 {
    margin-top: 3rem;
    position: relative;
    z-index: 10;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 2rem;
    position: relative;
    z-index: 15;
}

a.social-icon {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff !important;
    text-decoration: none !important;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    pointer-events: auto;
}

a.social-icon i {
    font-size: 1.6rem;
    transition: transform 0.3s ease, color 0.3s ease;
    pointer-events: none;
}

a.social-icon:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

a.social-icon:hover i {
    transform: scale(1.2);
}

a.social-icon:hover .fa-facebook-f {
    color: #1877f2 !important;
}

a.social-icon:hover .fa-instagram {
    color: #e4405f !important;
}

a.social-icon:hover .fa-envelope {
    color: #ea4335 !important;
}

#demo-canvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Responsive styles */
@media(max-height: 360px) {
    #home .large-header {
        background-size: cover;
        background-position: center center;
    }
    .digit {
        font-size: 30px;
        height: 50px;
        line-height: 50px;
    }
}

@media(max-width: 560px) {
    #home .large-header {
        background-size: cover;
        background-position: center center;
    }
    #countdown_dashboard {
        min-width: 300px;
    }
    .digit {
        font-size: 30px;
        height: 60px;
        line-height: 60px;
    }
    .social-icons {
        gap: 1.5rem;
    }
    a.social-icon {
        width: 3.5rem;
        height: 3.5rem;
    }
    a.social-icon i {
        font-size: 1.4rem;
    }
    .home-main {
        width: 100%;
        padding: 0 0.5rem;
    }
    .brand-title {
        font-size: clamp(1rem, 3.5vw, 1.8rem);
        padding: 0 0.25rem;
        letter-spacing: 0.5px;
    }
    .copyright {
        padding: 0.75rem;
        gap: 0.25rem;
    }
    
    .copyright p {
        font-size: 0.8rem;
    }
    
    .designer-credit {
        font-size: 0.7rem;
    }
}

@media(min-width: 561px) and (max-width: 1024px) {
    #home .large-header {
        background-size: cover;
        background-position: center center;
    }
    .digit {
        font-size: 40px;
        height: 80px;
        line-height: 80px;
    }
    .home-main {
        width: 90%;
        padding: 0 0.75rem;
    }
    .brand-title {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
        padding: 0 0.5rem;
    }
}

/* Copyright */
.copyright {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.copyright p {
    color: #fff;
    margin: 0;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.designer-credit {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.designer-credit a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.designer-credit a:hover {
    color: #fff;
}

.designer-credit a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: rgba(255, 255, 255, 0.9);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

.designer-credit a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
} 