:root {
    --navVertPadding: 10px;
    --navBorderRadius: 6px
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* cursor: wait; */
}

@font-face {
    font-family: 'Varela'; /*a name to be used later*/
    src: url('../../resources/fonts/Varela.ttf') format("truetype")
}

.nav {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    height: 42px;
    background: rgb(78, 78, 78);

    z-index: 99;
}   

.dropdown {
    width: 80%;
    height: 100%;

    margin: auto;

    background: rgb(78, 78, 78, 0.7);
    display: flex;

    align-items: center;
    justify-content: space-around;
}

.dropdown div .title::before {
    content: "";
    background-color: blue;
    width: 100px;
    height: 100px
}

.dropdown .title a {
    text-decoration: none;
    color: black;
}

.dropdown > div {
    margin-top: 11px;
    top: 100px;
}

.dropdown ul {
    position: absolute;
    top: 42px;
    overflow: hidden;

    transform: translateY(-12px);

    visibility: hidden;
    opacity: 0; 

    width:  120px;
    height: auto;

    list-style: none;
    
    transition: 300ms opacity ease, 250ms transform ease, 300ms visibility ease; /*stack voerflow now*/
}

.dropdown ul li a {
    padding-top: var(--navVertPadding);
    padding-bottom: var(--navVertPadding);

    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    padding-left: 10px;

    font-family: 'Varela';
    font-size: 14px;

    background-color: rgba(83, 83, 83, 0.63);

    transition: 500ms background-color;
}

.dropdown ul li {
    border-bottom: 3px solid black;
    background-color: rgba(83, 83, 83, 0.63);
    overflow: hidden;
}

.dropdown ul li:last-child {
    border-bottom: none;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.dropdown ul li:hover a, .dropdown ul li:hover {
    background-color:  rgba(48, 48, 48, 0.63);
}

.dropdown .title:hover ~ ul, .dropdown ul:hover {
    opacity: 1.0;
    transform: translateY(0px);
    visibility: visible;
}

.dropdown ul a {
    color: black;
    text-decoration: none;
}

.dropdown .title {
    background: none;
    color: black;
    border-radius: 5px;
    border: none;

    padding: 8px;

    align-items: center;
    justify-content: center;

    font-size: 16px;
    font-family: 'Varela';
    font-weight: bold;
    text-transform: capitalize;

    height: 50px;
}

.dropdown .title a {
    cursor: pointer;
}
 
.dropdown .title::after {
    content: '';
    display: block;

    position: relative;

    background-color: black;
    border-radius: 10px;

    width:  0%;
    height: 3px;

    transition: 300ms width ease, 400ms background-color ease 1500ms;
}

.dropdown .title:hover::after {
    width: 101%;
    background-color: rgb(243, 29, 214)
}