/*
Theme Name: myowncode
Theme URI: http://www.srikrishnaniketan.com/myowncode/
Author: Kumar Sameer
Author URI: http://www.kumarsameer.com
Description: A custom theme based on my VS Code design.
Version: 1.0
License: GPL2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: myowncode
*/

* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
}
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #004080;
    color: white;
    padding: 10px 20px;
}
.logo {
    height: 60px;
}
nav {
    background: #0066cc;
    padding: 10px 0;
}
nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
}
nav ul li {
    margin: 0 15px;
}
nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}
#slider {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
}
.slides {
    display: flex;
    width: 300%;
    animation: slide 40s infinite;
}
.slides img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
@keyframes slide {
    0% { transform: translateX(0%); }
    33% { transform: translateX(-100%); }
    66% { transform: translateX(-200%); }
    100% { transform: translateX(0%); }
}
.social-links {
    margin: 20px 0;
}
.social-links a {
    margin: 0 10px;
    font-size: 24px;
    color: #004080;
}
.map a {
    display: block;
    margin-top: 10px;
    text-decoration: none;
    color: #0066cc;
    font-size: 18px;
}
footer {
    background-color: #004080;
    color: white;
    padding: 30px 0;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section {
    width: 30%;
    text-align: left;
}

.footer-section h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #ffcc00;
}

.footer-section p {
    margin: 5px 0;
}

.social-icons {
    margin-top: 15px;
}

.social-icons a {
    color: white;
    margin-right: 15px;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: #ffcc00;
}

.copyright {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .top-header {
        flex-direction: column;
        padding: 10px;
        text-align: center;
    }
    
    .top-header h1 {
        font-size: 20px;
        margin: 10px 0;
    }
    
    .logo {
        height: 50px;
    }
    
    /* Navigation menu for mobile */
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 8px 0;
    }
    
    /* Footer responsive layout */
    .footer-content {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-section {
        width: 90%;
        margin-bottom: 20px;
        text-align: center;
    }
}

/* For very small screens */
@media screen and (max-width: 480px) {
    .top-header h1 {
        font-size: 18px;
    }
    
    .logo {
        height: 40px;
    }
}