/*
    Name: [Your Name]
    Date: [Current Date]
    File Name: styles.css
*/

/* CSS Reset */
html, body, header, nav, main, footer, h1, h2, h3, p, ul, li, a, div {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* Responsive Images */
img {
    max-width: 100%;
    display: block;
    border-radius: 10px; /* Rounded corners for images */
}

/* Header Styles */
header {
    background-color: #2c3e50; /* Dark blue */
    color: #ecf0f1; /* Light gray */
    padding: 20px;
    text-align: center;
    font-family: 'Lobster', cursive;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2rem;
    font-family: 'Roboto', sans-serif;
}

/* Navigation Styles */
nav ul {
    list-style-type: none;
    padding: 10px;
    background-color: #34495e; /* Slightly lighter blue */
    text-align: center;
}

nav ul li {
    display: block;
    margin: 10px 0;
}

nav ul li a {
    color: #ecf0f1; /* Light gray */
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
}

nav ul li a:hover {
    color: #1abc9c; /* Turquoise */
}

/* Main Content Styles */
main {
    padding: 20px;
    font-family: 'Roboto', sans-serif;
    background-color: #ecf0f1; /* Light gray */
}

#main-content {
    background-color: #ffffff; /* White */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h2, h3 {
    color: #16a085; /* Greenish turquoise */
    font-family: 'Lobster', cursive;
}

p {
    color: #2c3e50; /* Dark blue */
    line-height: 1.6;
}

/* Footer Styles */
footer {
    background-color: #2c3e50; /* Dark blue */
    color: #ecf0f1; /* Light gray */
    text-align: center;
    padding: 10px;
    font-family: 'Roboto', sans-serif;
}

footer a {
    color: #1abc9c; /* Turquoise */
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Mobile-specific styles */
.mobile-only {
    display: block;
}

.tablet-only, .desktop-only {
    display: none;
}

/* Tablet Media Query - min-width: 768px */
@media screen and (min-width: 768px) {
    /* Hide mobile-specific content */
    .mobile-only {
        display: none;
    }

    /* Show tablet-specific content */
    .tablet-only {
        display: block;
    }

    /* Adjust navigation for tablets */
    nav ul li {
        display: inline;
        margin: 0 15px;
    }

    /* Increase font size for better readability */
    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }
}

/* Desktop Media Query - min-width: 1024px */
@media screen and (min-width: 1024px) {
    /* Hide mobile and tablet-specific content */
    .mobile-only, .tablet-only {
        display: none;
    }

    /* Show desktop-specific content */
    .desktop-only {
        display: block;
    }

    /* Adjust layout for desktop */
    #main-content {
        max-width: 1200px;
        margin: 0 auto;
        padding: 40px;
    }

    /* Dynamic pseudo-class for desktop */
    nav ul li a:hover {
        color: #e74c3c; /* Red for hover effect */
        transition: color 0.3s ease;
    }

    /* Increase font size for better readability */
    h2 {
        font-size: 2.5rem;
    }

    h3 {
        font-size: 2rem;
    }
}

/* Additional Mobile-friendly classes */
.mobile-center {
    text-align: center;
}

.mobile-padding {
    padding: 10px;
}