.navbar {
    background-color: var(--main);
    /*opacity: 0.8;*/
    position:fixed;
    top: 0;
    height: fit-content;
    width: calc(100% - 100px);
    display: flex;
    flex-direction: row;
    text-align: center;
    padding-left: 50px;
    padding-right: 50px;
}

.navbar-title {
    font-family: var(--font);
    text-align: center;
    font-weight: bolder;
    font-size: 40px;
    color: var(--text-color-main);
    margin: 10px;
    text-decoration: none;
}

.navbar-spreader {
    margin-right: auto;
}

.navbar-element {
    display:table;
    margin-left: 10px;
    margin-right: 10px;
    text-decoration: none;
    color: var(--text-color-main)
}

.navbar-text {
    display: table-cell;
    font-family: var(--font);
    vertical-align: middle;
    margin-top: 50px;
    font-size: 18px;
    text-decoration: none;
    color: var(--text-color-main)
}

.text-main {
    margin-top: 100px;
    font-family: var(--font);
    color: var(--text-color-main);
    margin-left: 20px;
}

a {
    color: var(--main);
    text-decoration: none;
}

.surprise {
    animation-name: rainbow;
    animation-duration: 5s;
    animation-iteration-count: infinite;
}

@keyframes rainbow {
    0% {
        color: rgba(255, 0, 0, 1)
    }
    10% {
        color: rgba(255, 154, 0, 1)
    }
    20% {
        color: rgba(208, 222, 33, 1)
    }
    30% {
        color: rgba(79, 220, 74, 1)
    }
    40% {
        color: rgba(63, 218, 216, 1)
    }
    50% {
        color: rgba(47, 201, 226, 1)
    }
    60% {
        color: rgba(28, 127, 238, 1)
    }
    70% {
        color: rgba(95, 21, 242, 1)
    }
    80% {
        color: rgba(186, 12, 248, 1)
    }
    90% {
        color: rgba(251, 7, 217, 1)
    }
    100% {
        color: rgba(255, 0, 0, 1)
    }
}
