/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Firefox */
    scrollbar-width: none;
    /* IE and Edge */
    -ms-overflow-style: none;
    /*Chrome, Safari and Opera */
    : :-webkit-scrollbar display: none;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: hsl(0, 0%, 0%);
}

button {
    background: none;
    border: none;
    font: inherit;
    color: inherit;
}

/* BASE STYLES */

body {
     background-image: linear-gradient(hsla(210, 20%, 17%, 0.15), hsla(210, 20%, 17%, 0.15)), 
    url('../images/backgrounds/netb33.gif');
    font-family: 'trebuchet ms', sans-serif;
    font-size: 16px;
    margin-top: 50px;
    min-height: 150vh;
}


img {
    border: 1.5px solid hsl(0, 0%, 0%);
}

/* NORMAL STYLES */

#minht {
    min-height: initial;
    max-height: 100vh;
}

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

/*TOP BAR NOT USED*/
/*.top-bar {
    background-color: hsl(214, 13%, 41%);
}*/

/*.top-bar__content {
    height: 30px;
    max-width: 1200px;
    padding: 0 30px;
    margin: 0 auto;
    display: flex;
    justify-content: end;
    align-items: center;
    column-gap: 20px;
    font-size: 12px;
    color: hsla(0, 0%, 100%, 0.35);
}*/

/*ICON NOT USED*/
/*.icon {
    margin-right: 30px;
    color: hsla(0, 0%, 100%, 0.17);
}*/

.bottom-bar {
    background-color: hsla(162, 10%, 25%, .5);
}

.bottom-bar__opaque {
    background-color: hsla(162, 10%, 25%, 1);
    z-index: 10;
}

.bottom-bar__transparent {
    background-color: rgba(57, 70, 66, 0);
    z-index: 10;
}

.bottom-bar__content {
    min-height: 50px;
    max-width: 1200px;
    padding: 0 30px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/*LOGO IMG NOT USED*/
/*.logo {
    vertical-align: middle;
    display: flex;
    column-gap: 10px;
    align-items: center;
}*/

/*.logo__img {
    height: 40px;
}*/

.logo__text {
    font-size: 24px;
    color: hsl(0, 0%, 0%);
    font-weight: 500;
    /*letter-spacing: -0.5px;*/
    padding: 7px 14px;
    transition: all 0.2s;
}

.logo__text2 {
    font-size: 24px;
    color: hsl(0, 0%, 0%);
    font-weight: 500;
    /*letter-spacing: -0.5px;*/
    text-shadow: 2px 2px 4px hsla(169, 75%, 67%, 0.6);
    padding: 7px 14px;
    transition: all 0.2s;
}

.nav {
    transition: all 0.3s ease-in-out;
}

.nav__list {
    display: flex;
    column-gap: 20px;
    align-items: baseline;
}

/*NAV__ITEM NOT USED*/
/*.nav__item {}*/

.nav__link {
    color: hsla(169, 76%, 50%, 0.732);
    transition: all 0.2s;
    padding: 7px 14px;
    position: relative;
}

.nav__link:hover,
.logo__text:hover,
.logo__text2:hover,
.nav__link:focus {

    color: hsl(60, 100%, 92%);
    background-color: hsla(178, 30%, 50%, 0.73);
    border-radius: 10px;
}

.dropdown {
    position: relative;
    font-size: 12px;
}

.dropdown:hover .dropdown__list {
    display: block;
}

.dropdown__list,
.submenu__list {
    display: none;
    position: absolute;
    top: 145%;
    left: 0%;
    background-color: hsla(160, 25%, 70%, 1);
    min-width: max-content;
    border-radius: 10px;
    box-shadow: 5px 5px 10px hsla(0, 0%, 0%, 0.9);
    z-index: 10;
}

.dropdown__item,
.submenu__item {
    padding: 10px 15px;
    cursor: pointer;
}

.dropdown__item:hover,
.submenu__item:hover {
    background-color: hsla(60, 100%, 90%, 0.499);
    border-radius: 10px;
}

.submenu {
    position: relative;
}

.submenu:hover .submenu__list {
    display: block;
    /*z-index: 10
    ;*/
}

.submenu__list {
    display: none;
    position: absolute;
    top: 0;
    left: initial;
    left: 100%;
    background-color: hsla(160, 20%, 75%, 0.7);
    min-width: max-content;
    box-shadow: 5px 5px 10px hsla(0, 0%, 0%, 0.9);
}

.btn {
    color: #fff;
    background-color: #0071e3;
    padding: 8px 20px;
    border-radius: 1000px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn:hover {
    background-color: rgb(28, 128, 228);
}

.hamburger {
    cursor: pointer;
    display: none;
}

.bar {
    height: 2px;
    width: 27px;
    background-color: hsla(60, 100%, 92%, 0.80);
    margin: 5px 0;
    opacity: 0.8;
    transition: all 0.3s ease-in-out;
}


/* For JS */

.nav--open {
    left: 50% !important;
}

.hamburger--open .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger--open .bar:nth-child(2) {
    opacity: 0;
}

.hamburger--open .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* MEDIA QUERIES */

@media (max-width: 1470px) {
    .dropdown__list {
        left: initial;
        right: 0;
    }

    .submenu__list {
        left: initial;
        right: 100%;
    }
}


@media (max-width: 750px) {
    .logo__text {
        font-size: 15px;
        font-weight: 500;
    }
}


@media (max-width: 650px) {

    .nav {
        position: fixed;
        top: 50px;
        left: -100%;
        transform: translateX(-50%);
        background-color: hsla(160, 8%, 10%, 0.6);
        width: 100%;
        padding: 10px 0 25px;
        z-index: 10;
    }

    .nav__list {
        flex-direction: column;
        align-items: center;
        row-gap: 20px;
    }

    .nav__link {
        font-size: 14px;
    }

    .btn {
        font-size: 11px;
        padding: 7px 17px;
    }

    .hamburger {
        display: block;
    }

    .logo__text {
        font-size: 24px;
        color: hsl(0, 0%, 0%);
        font-weight: 500;
        letter-spacing: -0.5px;
        padding: 7px 14px;
        transition: all 0.2s;
    }
}


@media (max-width: 360px) {

    .top-bar__content {

        font-size: 10px;
    }
}