/* RMIT University Vietnam
Course: COSC2430 Web Programming
Semester: 2023A
Assessment: Assignment 1
Author: Nguyen Thach Khanh Dzi
ID: s3980883
Acknowledgement: Acknowledge the resources that you use here. */

/* NAVBAR STYLING STARTS */
.hamburger {
    text-align: center;
    width: 80px;
    height: 80px;
    padding: 5px;
    font-size: 20px;
    background-color: #4c9e9e;
    font-size: 50px;
    color: darkslategray;
    display: none;
}

header {
    background-color: #4c9e9e;
    font-family: 'century gothic';
}

.navbar {
    border-color: aquamarine;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: auto;
    background-color: #4c9e9e;
    color: #fff;
    height: 95px;
    border-bottom: solid;
    border-top: solid;
    border-color: darkcyan;
}

.menu ul {
    display: flex;
}



/* LOGO */
.logo img {
    margin-left: 1.5%;
    height: 60px;
}

.logo {
    display: flex;
    font-family: courier;
    font-size: 60px;
    gap: 2%;
}

.logo a {
    color: darkslategrey;
    transition: 0.3s ease;
}
.logo a:hover{
    color: aquamarine;
}

/* NAVBAR MENU */
.menu {

    display: flex;
    gap: 1em;
    padding: 20px 10px;
}

.menu li:hover {
    background-color: #4c9e9e;
    border-radius: 5px;
    transition: 0.3s ease;
}

.menu li {
    padding: 5px 14px;
}

/* Style the header links */
.menu a {
    float: left;
    color: darkslategray;
    text-align: center;
    padding: 12px;
    text-decoration: none;
    font-size: 30px;
    line-height: 25px;
    border-radius: 4px;
}


.menu a {
    transition: 0.2s ease;
}

.menu a:hover {
    background-color: aquamarine;
    color: black;
}

@media screen and (max-width: 991px) {
    .hamburger {
        display: block;


    }

    .hamburger:hover+.menu {
        display: block;
    }

    .logo {
        display: flex;
        justify-content: center;
    }

    .navbar {
        display: flex;
        height: auto;
        flex-direction: column;

    }


    .menu {
        display: none;
    }

    .navbar img {
        display: none;
    }

    .menu:hover {
        display: block;
    }

    .logo {
        left: 32%;
    }

    .menu ul {
        flex-direction: column;
    }

    .menu li {
        margin-right: 0px;
    }
}