:root {
    --color-black: hsl(0, 0%, 10%);
    --color-white: hsl(0, 0%, 100%);
    --color-darken: hsl(0, 0%, 20%);

    --color-teal-100: hsl(160, 85%, 87%);
    --color-teal-200: hsl(162, 78%, 77%);
    --color-teal-300: hsl(162, 72%, 65%);
    --color-teal-400: hsl(162, 68%, 54%);
    --color-teal-500: hsl(162, 73%, 46%);
    --color-teal-600: hsl(162, 82%, 40%);
    --color-teal-700: hsl(162, 87%, 35%);
    --color-teal-800: #ee2747;

    --shadow-small: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 -4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-large: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    list-style-type: none;
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

html {
    font-size: 100%;
    box-sizing: inherit;
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-black);
    background: var(--color-white);
}

a,
button {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    text-decoration: none;
}

img,
video {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.nav-container {
    max-width: 75rem;
    height: auto;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.brand {
    width: 11rem;
    padding: 0 1rem;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 4rem;
    margin: 0 auto;
    
}


/* Navbar container */

 



  
.menu {
    position: fixed;
    left: 0;
    bottom: 0;
    display: grid;
    align-content: center;
    width: 100%;
    height: 3.5rem;
    padding: 0 1rem;
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
    background: var(--color-white);
    box-shadow: var(--shadow-medium);
}

.menu-list {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.menu-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: none;
    outline: none;
    color: var(--color-black);
}

.menu-link svg{
    display: none;
}

.menu-link.is-active {
    position: relative;
    color: var(--color-teal-800);
    transition: all 0.35s ease;
}

.menu-icon {
    font-size: 1.35rem;
    line-height: 1;
    color: inherit;
}

.menu-name {
    display: none;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.25;
    visibility: hidden;
    text-transform: capitalize;
}

@media only screen and (min-width: 360px) {
    .menu-name {
        display: block;
        visibility: visible;
    }
}

@media only screen and (min-width: 576px) {
    .menu-list {
        justify-content: center;
        column-gap: 3rem;
    }

    
}

@media only screen and (max-width: 576px) {
    .menu-link span{
        display: none;
    }

    .menu-link svg{
        display: block;
        font-size: 1.7rem;
    }

    
    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        height: 4rem;
        margin: 0 auto;
        background-color: white;
        box-shadow: 0 0px 15px gray;
        justify-content: center;
    }
    
}

@media only screen and (min-width: 768px) {
    .header {
        background: var(--color-white);
        box-shadow: var(--shadow-medium);
        transition: all 0.35s ease-in-out;
        
    }

    .menu {
        position: relative;
        top: 0;
        right: 0;
        width: auto;
        height: auto;
        background: none;
        box-shadow: none;
    }

    .menu-link.is-active::before {
        position: absolute;
        content: "";
        left: 0;
        bottom: 0;
        width: 1.2rem;
        height: 2px;
        border: none;
        outline: none;
        background: var(--color-teal-800);
    }

    

 

    .menu-link:hover {
        color: var(--color-teal-800);
        transition: all 0.35s ease;
    }

    .menu-icon {
        display: none;
        visibility: hidden;
    }

    .menu-name {
        font-size: 1rem;
        font-weight: 500;
        line-height: 1.5;
        margin-bottom: 0.2rem;
    }


}
