@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap");

header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: 3px solid var(--underline);
    padding: 23.5px;
}

nav {
    display: flex;
    justify-content: space-around;
    flex-grow: 1;
}

.nav_bar {
    display: flex;
    flex-direction: row;
    outline: solid 1px var(--nav-outline);
    border-radius: 10em;
    cursor: pointer; 
    padding-inline-start: 0px;
    padding-inline-end: 0px; 
}

.nav_bar .current {
    background-color: var(--nav-current-bg);
}

.nav_bar li {
    list-style: none; 
    border-radius: 10em;
    padding: 10px;
}

.nav_bar li a {
    display: flex;
    justify-content: space-between;
    color: var(--heading);
    text-decoration: none;
}

.nav_bar :hover {
    background-image: linear-gradient(to right, rgb(251, 107, 11) , rgb(195, 12, 251));
    color: aqua;
    transform: scale(1.05);
    transition: 0.1s;
}

/* drop down menu toggle section*/
.hamburger_icon {
    /* margin: auto 0; */
    display: none;
    cursor: pointer;
    padding: 15px;
}
 
.hamburger_icon div {
    width: 35px;
    height: 5.5px;
    background-color: var(--heading);
    margin: 3.5px 0;
    transition: 0.4s;
    border-radius: 20px;
    margin-left: auto;
    margin-right:auto;
}
 
/*how the hamburger sign reacts when clicked */
.open .bar1 {
    -webkit-transform: rotate(-45deg) translate(-6px, 6px);
    transform: rotate(-45deg) translate(-6px, 6px);
  }
 
.open .bar2 {
    opacity: 0;
  }
 
.open .bar3 {
    -webkit-transform: rotate(45deg) translate(-6px, -8px);
    transform: rotate(45deg) translate(-6px, -8px);
  }
 
/* mobile menu section */
.open .mobile_menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-left: unset;
    transition: 0.2s;
}
 
.mobile_menu {
    display: none;
    top: 50px;
    left: 0;
    transition: 0.2s;
    /* height: calc(80vh - 50px); */
    /* width: 100%; */
}
 
.mobile_menu ul {
    color: var(--heading);
    list-style: none;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
  }
 
.mobile_menu li {
    color: var(--heading);
    font-size: 30px;
    padding: 5px;
    margin-left: 10px;
    list-style: none;
    border-radius: 10em;
    text-decoration: underline 2.5px solid var(--underline);
  }
 
.mobile_menu li a {
    color: var(--heading);
    text-decoration: none;
}
 
.mobile_menu li:hover {
    transform: scale(1.1);
    transition: 0.3s;
    background-image: linear-gradient(to right, rgb(251, 107, 11) , rgb(195, 12, 251));
}
 
.mobile_menu li a:hover {
    color: white;
}
 
@media only screen and (max-width: 600px) {
    header .nav_bar {
        display: none;
    }
    .hamburger_icon {
        display: block;
    }
    .head {
        flex-direction: column;
        align-items: center;
    }
    .mobile_menu {
        transition: 0.4s;;
    }
    header nav:first-child { 
        justify-content: flex-end;
    }
    .theme-switch {
        top: 3rem;;
    }
}
 
.drop_down_menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.breadcrumb {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1em;
    list-style: none;
}

@media only screen and (max-width: 600px) {
    .breadcrumb {
        display: flex;
        flex-direction: column;
    }
}
.breadcrumb li {
    list-style: none;
    font-size: 20px;
    border-radius: 10em;
}

.breadcrumb li a {
    color: var(--heading);
    text-decoration: none;
}

.breadcrumb li :hover {
    color: var(--hover-text);
}

.breadcrumb li+li ::before {
    color: var(--link-visited);
    font-size: 20px;
    content: ">";
    padding-right: 1em;
}

.footer {
    display: flex;
    justify-content: center;
    gap: 2em;
    border-top: solid 3px var(--underline);
    padding: 2em;
}

.footer a {
    color: var(--link-visited);
    font-size: xx-large;
}