* {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* 📁 NAVIGATION BAR */
nav {
    background-color: #fff;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 4;
}

nav ul {
    width: 100%;
    list-style: none;

    display: flex;
    /* flex-wrap: wrap; */
    justify-content: flex-end;
    align-items: center;
}

nav ul li {
    height: 3rem;
    margin-right: 1.5rem;
}

nav ul li a {
    height: 100%;
    padding: 0 1.5rem;
    text-decoration: none;

    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
}

/* ⭕ Adding cool hover effect on anchor tags */
nav ul li a:hover {
    transition: all 0.4s ease-in-out;
    box-shadow: inset 150px 0 0 0 #2d2d2d;
    color: rgb(55, 235, 251);
    font-weight: 500;
}

/* ⭕ logo navbar */
nav ul li img {
    height: 100%;
    width: 100%;
}

nav li:nth-child(1) {
    margin-right: auto;
}

nav ul li:first-child a {
    background: none;
}

nav li:nth-child(1) a:hover {
    background-color: transparent;
    box-shadow: none;
}

/* ⭕ menu icon for responsive sidebar*/
nav li:last-child a:hover {
    background-color: transparent;
}

/* ⭕ hide the menu open button for computer view (enable in mobile view) -- use media query */
#menuOpen {
    display: none;
}

/* 📁 RESPONSIVE NAVBAR -- SIDEBAR*/
.sidebar {
    position: fixed;
    top: 0;
    right: 0;

    height: 100vh;
    width: 300px;
    z-index: 5;
    background-color: #ffffff57;
    box-shadow: -10px 0px 10px rgba(0, 0, 0, 0.1);
    /* Hide the sidebar all times -- visible only for media queries */
    display: none;

    /* ⭕ Glass effect */
    backdrop-filter: blur(10px);

    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.sidebar li {
    width: 100%;
}


/* 📁 MEDIA QUERIES TABLET*/
@media (max-width: 900px) {

    /* ⭕ Contact list bar -- hide on tablet view */
    .contactlist {
        display: none;
    }

    .contactbar {
        display: flex;
    }

    .social-media-top {
        display: flex;
        justify-content: center;
    }

    /* ⭕ Sidebar */
    /* Hide all the list items for mobile view  */
    .hideOnMobile {
        display: none;
    }

    /* Keep menu open button visible only till 850px */
    #menuOpen {
        display: inline-flex;
    }

    .sidebar a {
        background: none;
    }

    .sidebar a:hover {
        transition: all 0.5s ease-in-out;
        box-shadow: none;
        color: #8a2be2;
        background-color: aliceblue;
    }

    .sidebar li:last-child a:hover {
        transition: all 0.5s ease-in-out;
        box-shadow: none;
        color: #8a2be2;
        background-color: aliceblue;
    }

}



/* 📁 MEDIA QUERIES MOBILE PHONE */
@media (max-width: 550px) {

    /* ⭕ Contact bar -- hide on mobile view */
    .contactbar {
        display: none;
    }

    /* ⭕ Sidebar */
    /* Make sidebar occupy full screen */
    .sidebar {
        width: 100%;
    }

    /* Make the logo centered */
    nav ul li a img {
        height: 80%;
        width: auto;
    }
    
}