:root {
    --primary-color: #0892D0;
    --secondary-color: #0783bb;
    --accent-color: #e9ecef;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
    color: #212529;
    font-family: "Roboto", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 15px;
}

.header {
    background-color: var(--primary-color);
    color: var(--accent-color);
    margin-bottom: 2rem;
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    animation: header-animation 10s infinite;
}

.section {
    padding: 0.5rem 2rem 1rem 2rem;
    border-radius: 0.25rem;
    transition: background-color 0.15s ease-in-out;
}

.section:hover {
    background-color: #e9ecef;
}

h1 {
    font-family: "Montserrat", sans-serif;
    font-size: 2.4rem;
    color: #fff;
    margin-bottom: 20px;
    padding: 1rem 0.5rem;
    transition: color 0.15s ease-in-out, transform 0.15s ease-in-out;
}

h2 {
    color: #0892D0;
}

h1:hover {
    color: #e9ecef;
    transform: scale(1.1);
}

button,
input[type=“submit”] {
    background-color: var(--primary-color);
    border: 1px solid transparent;
    border-radius: 0.25rem;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.5;
    padding: 0.375rem 0.75rem;
    text-align: center;
    transition: background-color 0.15s ease-in-out;
    cursor: pointer;
}

button:hover,
input[type=“submit”]:hover {
    background-color: var(--secondary-color);
}

input[type=“text”] {
    line-height: 1.8;
    width: 50%;
    padding: 0.375rem 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: background-color 0.15s ease-in-out;
}

input[type=“text”]:hover {
    background-color: #e9ecef;
}

.navbar {
    background-color: #0892D0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.navbar-brand {
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
}

.navbar-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.navbar-nav .nav-link {
    color: #fff;
    font-weight: 500;
    margin-right: 15px;
    padding: 5px 10px;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

.navbar-nav .nav-link:hover {
    color: #e9ecef;
    background-color: var(--secondary-color);
}

@media screen and (max-width: 1024px) {
    .container {
        max-width: 80%;
    }

    .header {
        padding: 1.5rem 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    input[type="text"] {
        width: 60%;
    }

}

@media screen and (max-width: 768px) {
    .container {
        max-width: 90%;
    }

    .header {
        padding: 1rem 0.5rem;
    }

    h1 {
        font-size: 1.6rem;
    }

    input[type="text"] {
        width: 80%;
    }

    .navbar-nav {
        flex-direction: column;
        margin: 10px 0;
    }

    .navbar-nav .nav-link {
        margin: 5px 0;
    }

}

@keyframes header-animation {
    0% {
        background-color: var(--primary-color);
    }

    50% {
        background-color: var(--secondary-color);
    }

    100% {
        background-color: var(--primary-color);
    }

}
