@import url('https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900');

:root {
    --header-bg-color: white;
    --footer-bg-color: #191919;
    --text-color: black;
    --link-color: cornflowerblue;
    --footer-text-color: white;
}

header {
    font-family: 'Poppins', Arial, sans-serif;
    background-color: var(--header-bg-color);
    color: var(--header-bg-color);
    height: 80px;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    margin-top: auto;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .logo-text {
    color: var(--text-color);
    font-weight: 700;
    margin-left: 50px;
}

.active {
    color: var(--link-color) !important;
    font-weight: 500;
}

.header-normal {
    margin-left: auto;
    margin-right: 50px;
}

.header-normal ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.header-normal ul li {
    display: inline-block;
    margin-right: 10px;
    position: relative;
}

.header-normal ul li:last-child {
    margin-right: 0;
}

.header-normal ul li.dropdown {
    position: relative;
}

.header-normal ul li.dropdown ul {
    position: absolute;
    top: calc(100%);
    left: 0;
    display: none;
    flex-direction: column;
    background-color: var(--header-bg-color);
    width: 150px;
    padding: 10px;
    border-radius: 5px;
    transition: 0.5s;
}

.header-normal ul li.dropdown:hover ul {
    display: block;
}

.header-normal ul li.dropdown ul li:hover {
    margin-left: 5px;
    transition: 0.5s;
}

.header-normal ul li.dropdown ul li {
    display: block;
    transition: 0.5s;
}

.header-normal li a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.2em;
    transition: 0.5s;
    position: relative;
}

.header-normal li a:hover {
    color: var(--link-color);
    transition: 0.5s;
}

.header-normal li:not(.dropdown) a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -3px;
    width: 0;
    height: 2px;
    background-color: var(--link-color);
    transition: width 0.5s ease, left 0.5s ease;
}

.header-normal li:not(.dropdown) a:hover::after {
    left: 0;
    width: 100%;
}

.header-normal li.dropdown a::after {
    display: none;
}

.header-normal li p ion-icon {
    transform: translateY(3px);
    margin-left: 3px;
}

.header-mobile {
    display: none;
}

.header-mobile .menu-item ion-icon{
    transform: translateY(3px);
    font-size: xx-large;
    color: var(--text-color);
}

.header-mobile ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.header-mobile .dropdown-menu {
    display: none;
    background-color: var(--header-bg-color);
    padding: 10px;
    border-radius: 5px;
    position: absolute;
    top: calc(100%);
    width: 100%;
    left: 0;
}

.header-mobile .dropdown-menu li {
    text-align: center;
}

.header-mobile .dropdown-menu li a {
    color:var(--text-color);
    font-size: 1.2em;
    text-decoration: none;
    transition: color 0.5s;
}

.header-mobile .dropdown-menu li:hover a {
    color: var(--text-color);
    transition: color 0.5s;
}

.colored-text {
    background: linear-gradient(var(--clr) 50%, #202731);
    -webkit-background-clip: text;
    color: transparent;
    filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.4));
}

@media only screen and (max-width: 850px) {
    /* .header-normal {
        display: none;
    }

    .header-mobile {
        color: black;
        display: flex;
        margin-left: auto;
        margin-right: 50px;
    }

    .header-mobile .menu-item:hover .dropdown-menu {
        display: block;
    }*/

    .header-normal {
        font-size: 0.7em;
    }
}