/*******************************************************
*                                                     *
*    *********************************************    *
*    *                                           *    *
*    *       CSS designed by:                    *    *
*    *                                           *    *
*    *           Kawka Paweł                     *    *
*    *           from DiabloDesign.eu            *    *
*    *                                           *    *
*    *********************************************    *
*                                                     *
*       Bringing creativity and style to design       *
*******************************************************/



/* Styl dla menu vmenu */
.vmenu-1 {
    overflow: hidden;
}

.vmenu-1 h3 {
    font-family: "Caveat", sans-serif;
    font-size: 26px;
    font-weight: 600;
    color: #333;
    margin: 0;
    padding: 5px;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
}

.vmenu-1 h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 60%;
    height: 1px;
    background-color: #ff8c00;
}

.vmenu-1 ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vmenu-1 li {
    font-family: "Caveat", sans-serif;
    font-size: 22px;
    border-bottom: 1px solid #e0e0e0;
}

.vmenu-1 li:last-child {
    border-bottom: none;
}

.vmenu-1 a {
    display: block;
    padding: 5px 20px 5px 35px;
    color: #333;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.vmenu-1 a:hover,
.vmenu-1 a.active {
    background-color: #f8f8f8;
    color: #ff8c00;
}

.vmenu-1 a.active {
    border-left: 0 solid #ff8c00;
    padding-left: 26px;
}

.vmenu-1 ul ul {
    max-height: 0;
    overflow: hidden;
    background-color: #f9f9f9;
    transition: max-height 0.3s ease-out;
}

.vmenu-1 ul ul a {
    padding-left: 50px;
    font-size: 90%;
    color: #666;
}

.vmenu-1 > ul > li > a::before,
.vmenu-1 ul ul a::before {
    content: "▸";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    transition: all 0.3s ease;
}

.vmenu-1 > ul > li > a:hover::before,
.vmenu-1 ul ul a:hover::before {
    color: #ff8c00;
    left: 17px;
}

.vmenu-1 > ul > li > a:not(:only-child)::after {
    content: "▸";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.vmenu-1 > ul > li.open > a:not(:only-child)::after {
    transform: translateY(-50%) rotate(90deg);
}

.vmenu-1 > ul > li.open > ul {
    max-height: 1000px;
}

/* Styl dla efektu spadającego kodu */
#background-container,
#foreground-container {
    position: absolute;
    overflow: hidden;
}

#background-container {
    z-index: 1;
}

#foreground-container {
    z-index: 2;
}

.code-line {
    position: absolute;
    font-size: 14px;
    opacity: 0.3;
    white-space: nowrap;
}

.keyword {
    color: #569cd6;
}

.property {
    color: #9cdcfe;
}

.value {
    color: #ce9178;
}

.punctuation {
    color: #d4d4d4;
}
