header {
    height: 68px;
    background-color: black;
    display: flex;
    justify-content: space-between;
    font-size: 22px;
}

nav {
    display: flex;
}

.nav-link, .category-name{
    color: white;
    border-right: solid white 1px;
    height: 100%;
    width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    font-weight: bold;
}

.nav-link:hover,  .category-name:hover, .subcategory-nav:hover {
    background-color: white;
    color: black;
}

.dropdown {
    position: relative;
}

.subcategory-list {
  list-style: none;
  width: 250px;
  padding: 0;
  margin: 0;
  background-color: black;
  color: white;
  display: none;

  position: absolute;
  top: 100%;
  animation: .8s menu-appear ease-in-out;
  transform-origin: top;
  z-index: 100;
}

.subcategory-nav {
    height: 55px;
    width: 250px;
    color: white;

    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    overflow: visible;
    box-sizing: border-box;
    cursor: pointer;

    animation: .8s menu-appear ease-in-out;
    transform-origin: top;
}

.subcategory-nav a {
    color: white;
}

@keyframes menu-appear {
    from {
        transform: scaleY(0%);
        transform-origin: top;
    }

    70% {
        transform: scaleY(115%);
        transform-origin: top;
    }

    to {
        transform: scaleY(100%);
        transform-origin: top;
    }
}

.visible {
  display: block;
}



#socials {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
}


@media (max-width: 1700px) {
    header {
        height: 55px;
        font-size: 20px;
    }
    .nav-link, .category-name, .subcategory-list, .subcategory-nav {
        width: 175px;
    }

    .subcategory-nav {
        font-size: 17px;
    }
}