header {
    /* background-color: #333; */
    padding: 20px 200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
    width: 100%;
}

.logo img {
    max-height: 100%;
    width: auto;
}

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

nav ul li {
    margin-left: 20px;
    padding: 0px 60px;
}

nav ul li:first-child {
    margin-left: 0;
}

nav a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    font-size: 20px;
}

.hover-underline-animation {
    display: inline-block;
    position: relative;
    color: #000;
}

.hover-underline-animation:after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #fc1616;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.hover-underline-animation:hover:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Responsive styles for header */

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    header {
        display: flex;
        flex-direction: column;
    }

    .logo {
        width: unset;
    }

    nav ul li {
        margin-top: 10px;
        padding: 10px;
    }

}