.center .navigation {
    height: 90px;
    display: grid;
    grid-template-columns: repeat(4, auto);
    grid-column-gap: 100px;
    align-content: center;
    justify-self: center;
    font-family: var(--navigation-text);
    color: rgb(255, 255, 255);
    text-transform: uppercase;
    text-align: center;
}

.center .navigation a {
    text-decoration: none;
    color: rgb(255, 255, 255);
}

.center .main-nav {
    height: 90px;
    line-height: 90px;
}

.center .navigation li ul {
    position: absolute;
    top: 95px;
    background-color: rgba(var(--main-color), 0.8);
    text-align: left;
}

.center .sub-nav {
    width: fit-content;
    padding-right: 20px !important;
    max-height: 0px;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, opacity 0.25s ease-in-out;
}

.center .main-nav:hover .sub-nav {
    max-height: 500px;
    opacity: 1;
}

.center .sub-nav li {
    height: 30px;
    line-height: 30px;
    margin: 10px 0px 10px 5px !important;
    transition: transform 0.3s ease-in-out;
}

.center .sub-nav li:first-child {
    margin: 20px 0px 10px 5px !important;
}

.center .sub-nav li:last-child {
    margin: 10px 0px 20px 5px !important;
}

.center .sub-nav li:hover {
    transform: translateX(10px);
}

.center .sub-nav li:before {
    padding-right: 5px;
    content: "\F285";
    font-family: "Bootstrap-icons";
    font-size: 0.75rem;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.center .sub-nav li:hover:before {
    opacity: 1;
}

.sidebar-navigation a {
    font-family: var(--navigation-text);
    color: rgba(var(--white), 0.9);
    text-decoration: none;
}

.sidebar-navigation .main-nav {
    line-height: 50px;
    border-bottom: 1px solid rgba(var(--white), 0.25);
    cursor: pointer;
}

.sidebar-navigation .main-nav a {
    min-width: 300px;
    display: inline-block;
}

.sidebar-navigation .main-nav a:hover {
    color: rgba(var(--white), 1.0);
}

.sidebar-navigation .sub-nav {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
}

.sidebar-navigation .sub-nav.open {
    opacity: 1;
}

.sidebar-navigation .sub-nav li {
    padding-left: 20px !important;
    border-bottom: 1px solid rgba(var(--white), 0.25);
}

.sidebar-navigation .sub-nav li:first-child {
    border-top: 1px solid rgba(var(--white), 0.25);
}

.sidebar-navigation .sub-nav li:last-child {
    border-bottom: none;
}

.sidebar-navigation i {
    display: inline-block;
    transition: transform 0.5s ease-in-out;
}

.sidebar-navigation i.rotate {
    transform: rotate(90deg);
}

/* Breakpoint 1200px and smaller*/
@media (max-width: 1200px) {
    .center .navigation {
        height: 80px;
        grid-column-gap: 50px;
    }

    .center .main-nav {
        height: 80px;
        line-height: 80px;
    }

    .center .navigation li ul {
        top: 85px;
    }
}

/* Breakpoint 992px and larger */
@media (min-width: 992px) {
    .center .navigation i {
        display: none;
    }
}

/* Breakpoint 992px and smaller */
@media (max-width: 992px) {
    .center .navigation {
        display: none;
    }
}

/* Breakpoint 768px and smaller */
@media (max-width: 768px) {
}

/* Breakpoint 576px and smaller*/
@media (max-width: 576px) {
    .sidebar-navigation .main-nav a {
        min-width: 200px;
    }
}