@import url('https://fonts.cdnfonts.com/css/ocr-a-std');

/* Style for Batman-Themed Portfolio */
body {
    font-family: 'OCR A Std', sans-serif;
    background-color: #1a1a1a;
    color: #a83232;
    margin: 0;
    padding: 0;
}

.hero {
    position: relative;
    text-align: center;
    padding: 100px 20px;
    color: red;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://codehs.com/uploads/77dbdc2a71bdd661b3fbb839fffb9a3a') no-repeat center center/cover;
    filter: blur(5px);
    z-index: -1;
    opacity: 0.8;
}

.btn {
    display: inline-block;
    background-color: rgb(51, 51, 51);
    color: red;
    cursor: pointer;
    margin: 10px;
    padding: 10px 20px;
    border-width: initial;
    transition: transform 0.3s;
    border-style: none;
    border-color: initial;
    border-image: initial;
    text-decoration: none;
}
.btn:hover {
   transform: translateY(-2px);
}

.about, .skills, .projects, .contact {
    padding: 50px 20px;
    text-align: center;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.skill-item {
    background-color: #333;
    color: #a83232;
    margin: 5px;
    padding: 10px 20px;
    border-radius: 5px;
}

.project {
    background-color: #333;
    padding: 20px;
    margin: 10px 0;
    border-radius: 8px;
}

footer {
    background-color: #000;
    color: #ffde00;
    padding: 10px;
    text-align: center;
}

/* Responsive styling */

@media (max-width: 1200px) {
    .hero {
        text-align: center;
        padding: 40px;
    }
    .about, .skills, .projects, .contact {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .btn {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
    .skill-list {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }
    .project {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 0.9rem;
    }
    .hero h1 {
        font-size: 1.5rem;
    }
    .hero p {
        font-size: 0.8rem;
    }
    .btn {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    header, .about, .skills, .projects, .contact {
        padding: 15px;
    }
}


/* IST Clock styling for footer */
footer {
    position: relative;
}

.clock-container {
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    color: #d9181180;
    text-align: right;
}

.clock-time {
    font-family: 'OCR A Std', sans-serif;
    color:#d9181180;
    font-weight: bold;
    font-size: 12px;
}

.clock-label {
    font-size: 9px;
    opacity: 0.7;
    margin-top: 1px;
}

@media (max-width: 768px) {
    .clock-container {
        position: static;
        margin-top: 10px;
        text-align: center;
        font-size: 10px;
    }
    
    .clock-time {
        font-size: 14px;
    }
}
