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

body {
    overflow-x: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: white;
}

.raleway {
    font-family: 'Raleway', sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

.neulis {
    font-family: 'nelis-neue', sans-serif;
    font-weight: 900;
    font-style: normal;
}

.yeseva-one-regular {
    font-family: "Yeseva One", serif;
    font-weight: 400;
    font-style: normal;
}

.tiny5-regular {
    font-family: "Tiny5", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 400;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* UI styles */

.UI .topBar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5vh;
    background: #CA5D20;
    z-index: 999;
    padding: 0 20px;
    display: flex;
    align-items: center;
    color: white;
}

.UI .topBar img {
    height: 70%;
    width: auto;
    margin-right: 30px;
    margin-top: 5px;
}

.UI .hiddenContact {
    position: fixed;
    top: -15vh;
    left: 0;
    z-index: 500;
    width: 100%;
    height: 15vh;
    background: white;
    transition: all 0.5s ease;
    color: #CA5D20;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.UI .hiddenContact a {
    padding: 2px;
    color: #CA5D20;
    transition: all 0.5s ease;
}

.UI .hiddenContact a:hover {
    background: #CA5D20;
    color: white;
}

.UI .hiddenContact p {
    margin-left: 2vh;
}

.UI .hiddenContact.active {
    top: 5vh;
}

.UI .cubeIcon {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    height: 5vh;
    width: 5vh;
    background: #B0521C;
    color: white;
    align-items: center;
    justify-content: center;
    display: flex;
    transition: all 0.5s ease;
    overflow: hidden;
    white-space: nowrap;
}

.UI .cubeIcon .icon-text {
    position: absolute;
    transition: all 0.5s ease;
    font-size: 3vh;
}

.UI .cubeIcon #fp {
    opacity: 1;
    left: 50%;
    transform: translateX(-50%);
}

.UI .cubeIcon #scp {
    opacity: 0;
    left: 50%;
    transform: translateX(-50%) translateX(10px);
}

.UI .cubeIcon:hover {
    width: 25vh;
    justify-content: flex-start;
    padding-left: 1.5vh;
}

.UI .cubeIcon:hover #fp {
    opacity: 0;
    transform: translateX(-50%) translateX(-10px);
}

.UI .cubeIcon:hover #scp {
    opacity: 1;
    transform: translateX(-50%) translateX(0);
}

.UI .hiddenInfo {
    position: fixed;
    z-index: 999;
    top: 0;
    right: -25vh;
    height: 100%;
    width: 25vh;
    display: flex;
    flex-direction: column;
    transition: all 0.5s ease;
}

.UI .hiddenInfo.active {
    right: 0;
}

.UI .hiddenInfo .wmlogo {
    height: 5vh;
    width: auto;
    background: #B0521C;
    color: white;
    font-size: 3vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.UI .hiddenInfo .info {
    height: 95vh;
    width: auto;
    background: #5c5c5c;
    display: flex;
    flex-direction: column;
}

.UI .hiddenInfo .info p {
    color: white;
    font-size: 1.5vh;
    margin-top: 3vh;
    margin-left: 1vh;
}

.UI .hiddenInfo .info #engine {
    margin-top: 1vh;
    padding: 5px 10px;
    background: #CA5D20;
    transition: all 0.5s ease;
}

.UI .hiddenInfo .info #loginbtn {
    background: #CA5D20;
    height: 30px;
    width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

.UI .hiddenInfo .info #loginbtn:hover {
    background: white;
    color: #CA5D20;
}

.UI .hiddenInfo .info .bottom {
    font-size: 10px;
    position: absolute;
    bottom: 10px;
    color: #BAB1A9;
    border-top: #BAB1A9 0.5px solid;
}

.UI .hiddenInfo .info #engine:hover {
    color: #CA5D20;
    background: white;
}

.UI .navBar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 5vh;
    background: #5c5c5c;
    z-index: 999;
}

.UI .navBar .nav-buttons {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    transform-origin: center;
    display: flex;
    gap: 0;
}

.UI .navBar .nav-buttons .nav-btn {
    background: none;
    border: none;
    color: white;
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.8rem 1.5rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
    display: block;
}

.UI .navBar .nav-buttons .nav-btn:hover,
.UI .navBar .nav-buttons .nav-btn.active {
    background: white;
    color: #5c5c5c;
}

/* Main styles */

main {
    margin-top: 5vh;
    margin-right: 5vh;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none; 
    -ms-overflow-style: none;

}

main::-webkit-scrollbar {
    display: none;
}

/* Scroll animation */
html {
    scroll-behavior: smooth;
}

/* Adaptaive designs */

@media (max-width: 1100px) {
    .UI .topBar img {
        height: 30px;
        width: auto;
    }

    .UI .hiddenContact p {
        font-size: 15px;
    }


}

@media (max-width: 767px) {
    .UI .topBar img {
        height: 12px;
        width: auto;
    }

    .UI .topBar .placeholdercontact {
        font-size: 10px;
    }

    .UI .hiddenContact p {
        font-size: 10px;
    }

    .UI .hiddenInfo .info .bottom {
        font-size: 7px;
    }



}



@media (max-width: 345px) {
    .UI .topBar .placeholdercontact {
        font-size: 8px;
    }

}

 