header {
    position: absolute;
    padding: 0 4%;
    width: 100%;
    height: 10%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
    /*Unselectable text*/
    -webkit-user-select: none;
    /* Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE10+/Edge */
    user-select: none;
    /* Standard */
}

.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 5%;
    /* Styles for phones */
    font-size: 3vh;
}

.logol {
    width: 4vh;
    /* Adjust width as needed */
    aspect-ratio: 1/1;
    /* Adjust height as needed */
    border-radius: 50%;
    /* Makes the background a circle */
    display: flex;
    align-items: center;
    align-content: center;
    justify-items: center;
    justify-content: center;
    background-color: var(--secondary-color);
    /*font-family: 'Luckiest Guy';*/
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: var(--primary-color);
}

.current-page {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    text-align: center;
}

.cu-layout {
    height: 2vh;
    font-size: 2vh;
    overflow: hidden;
    margin-bottom: 0.5vh;
    
}

.cu-layout-text {
    transform: translateY(0);
    transition: none;
}

.cu-layout-text.active {
    transform: translateY(-50%);
    transition: none;
}

.cube {
    z-index: -1000;
    position: relative;
    width: 100%;
    /* Width of the bar */
    height: 0.2vh;
    /* Height of the bar */
    transform-style: preserve-3d;
    transition: transform 0.2s ease-in-out;
    justify-content: center;
}

.face {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: white;
}

.front {
    transform: rotateY(0deg) translateZ(3.5vh);
    /* Front face of the cube */
}

.right {
    /* Color of the right side */
    transform: rotateY(-90deg) translateZ(3.5vh);
    /* Right side of the cube */
}

.current-page:hover .cube {
    transform: rotateY(90deg);
    /* Rotate the cube to the right */
}

@media (hover: none) {
    .current-page:hover .cube {
        /* Disable hover effect for touch devices */
        transform: none; 
    }
}