/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

body {
    background-image: url('https://images.unsplash.com/photo-1485470733090-0aae1788d5af?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1517&q=80');
    background-size: cover;
    background-position: center;
}

header {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 20px 0;
    text-align: center;
    position: relative;
}

header h1 {
    font-size: 2em;
    margin-bottom: 10px;
    animation: fadeIn 2s ease-in-out;
}

nav {
    position: relative;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
    position: relative;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2em;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    padding: 5px;
    border-bottom: 2px solid transparent;
}

nav ul li a:hover {
    color: #f0a500;
    border-bottom: 2px solid #f0a500;
}

#contact-form {
    padding: 20px;
    text-align: center;
}

#contact-form h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #fff;
    animation: fadeIn 2s ease-in-out;
}

#contact-form form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#contact-form input[type="text"], #contact-form input[type="email"], #contact-form textarea {
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
    width: 50%;
}

#contact-form button[type="submit"] {
    background: #f0a500;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#contact-form button[type="submit"]:hover {
    background: #ff007f;
}

footer {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    text-align: center;
    padding: 20px;
    position: relative;
    bottom: 0;
    width: 100%;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.contact-info {
    margin: 10px;
    flex: 1;
    max-width: 300px;
    text-align: left;
    animation: fadeIn 2s ease-in-out;
}

.contact-info h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #f0a500;
}

.contact-info p, .contact-info ul {
    margin-bottom: 10px;
}

.contact-info a {
    color: #f0a500;
    text-decoration: none;
}

.contact-info a:hover {
    color: #ff007f;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer li {
    margin-bottom: 10px;
}

/* Responsive styles */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.5em;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }

    nav ul li a {
        font-size: 1em;
    }

    #contact-form h2 {
        font-size: 1.5em;
    }

    #contact-form input[type="text"], #contact-form input[type="email"], #contact-form textarea {
        width: 80%;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.2em;
    }

    nav ul li a {
        font-size: 0.9em;
    }

    #contact-form h2 {
        font-size: 1.2em;
    }
}

/* Keyframes for animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2em;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    padding: 5px;
    border-bottom: 2px solid transparent;
}

/* Increase the font size of the nav bar items on mobile screens */
@media (max-width: 768px) {
    nav ul li a {
        font-size: 1.1em; /* Increase font size on tablets and small screens */
    }
}

@media (max-width: 480px) {
    nav ul li a {
        font-size: 1.1em; /* Further increase font size on very small screens */
    }
}