@charset "utf-8";
/* Danitrio Nav CSS Document */



nav {
    background: var(--blueish_green);
    position: sticky;
    top: -1px;
    z-index: 300;
}
.navigation {
    display: flex;
    justify-content: space-between;
    list-style-type: none;
}
.navigation li {
    position: relative;
    padding: 16px 1.5vw 15px;
}
.navigation li:hover {
    background: var(--red);
}
.navigation li a {
    font-family: 'Gabriela', serif;
    font-size: calc(1.2rem + 0.2vw);
    line-height: 1.2em;
    color: antiquewhite;
    text-align: center;
    display: block;
}

.navigation ul {
    list-style-type: none;
    background: var(--red);
    width: 110px;
    position: absolute;
    top: 47px;
    left: 0;
    z-index: 100;
    max-height: 0;
    overflow: hidden;
    transition: max-height 1s ease;
}
.navigation li:hover ul {
    max-height: 600px;
}
.navigation ul li {
    padding: 5px 0 5px 5px;
    border-top: solid 1px antiquewhite;
}
.navigation ul li:first-child {
    border-top: none;
}
.navigation ul li a {
    font-family: 'Krub', sans-serif;
    font-size: clamp(1.1rem, 0.5vw, 2rem);
    color: antiquewhite;
    text-align: left;
}
.navigation ul li:hover {
    background: var(--gold);
}
.navigation ul li:hover a {
    color: black;
}

    .triangle_mob {
        display: none;
    }

.toggle-label, .toggle {
    display: none;
}


@media(max-width:992px) {
 
}

@media(max-width: 780px) {
    .navigation li a {
        font-size: 1rem;
    }
    .navigation ul {
        top: 40px;
    }
    .navigation ul li a {
        font-size: 0.9em;
    }
}


@media(max-width:576px){
    nav {
	padding: 6px 0 4px 5vw;
	position: relative;
	
}
    .toggle-label {
        display: block;
        cursor: pointer;
        height: 40px;
        width: 45px;
        padding-top:16px;
        }

    .toggle-label span,
    .toggle-label span::before,
    .toggle-label span::after {
        display: block;
        width: 100%;
        border-radius: 2px;
        height: 4px;
        background: white;
        position: relative;
    }
    .toggle-label span::before {
         content: '';
         position: absolute;
         bottom: 10px;
         }
    .toggle-label span::after {
         content: '';
         position: absolute;
         top: 10px;
         }

    .navigation {
        max-height: 0;
        width: 170px;
        background: var(--red);
        flex-flow: column;
        position: absolute;
        z-index: 200;
        top: 50px;
        left: 0;
        overflow: hidden;
        transition: max-height 500ms ease-in-out;
        }
    input:checked + .navigation {
        max-height: 1000px;
        overflow: visible;
        }
    .navigation > li {
        padding: 8px 0;
        position: relative;
    }

    .navigation > li ~ li {
        border-top: solid 1px antiquewhite;
    }
    .navigation > li:hover {
        background: var(--gold);
    }
    .navigation li a {
        font-size: 1.4rem;
    }
    .navigation > li:hover > a {
        color: black;
    }

    .navigation ul {
        font-family: 'Krub', sans-serif;
        overflow: hidden;
        position: absolute;
        max-height: 0;
        background: var(--blueish_green);
        width: 0;
        left: 100%;
        top: -2px;
        transition: all 500ms ease;
    }
    .navigation li:hover ul {
        max-height: 500px;
        width: 110px;

    }
    .navigation ul li {
        padding: 5px 0 5px 8px;
    }
    .navigation ul li a {
        font-size: 1.2rem;
        text-align: left;
        color: white;
    }
    .navigation ul li:hover {
        background: var(--red);
    }
    .navigation ul li:hover a {
        color: white;
    }
    .navigation ul li:first-child {
        border: none;
    } 
    .triangle_desk {
        display: none;
    }
    .triangle_mob {
        display: inline-block;
    }
}











