/* ---------------------------------
# START CONFIGURATION
------------------------------------*/

@import url('../fonts/FiraSansCondensed-Regular.ttf');
html,
body {
    font-family: 'Fira Sans Condensed', sans-serif;
    height: 100%;
    margin: 0;
    padding:0;
    width: 100%;
    overflow: hidden;
}
@font-face {
    font-family: 'Backpack Personal Use';
    src: url("../fonts/backpack-personal-use.ttf");
}
@font-face {
    font-family: Impact;
    src: url("../fonts/impact.ttf");
}
@font-face {
    font-family: 'Fira Sans Condensed';
    src: url("../fonts/FiraSansCondensed-Regular.ttf");
}
@font-face {
    font-family: 'Comfortaa-Bold';
    src: url("../fonts/Comfortaa-Bold.ttf");
}
td {
    font-family: 'Fira Sans Condensed', sans-serif;
}

/* ---------------------------------
# NAVBAR
------------------------------------*/
#btn-nav {
    width: 70px;
    float: right;
    margin-right: 10px;
}

#black_hands {
    width: 25px;
    height: 25px;
}

#brand_name {
    font-family: 'Comfortaa-Bold', sans-serif;
    font-weight: 500;
    font-size: 20px;
}

#welcome_header {
    font-family: 'Comfortaa-Bold';
}

#notific {
    font-family: 'Comfortaa-Bold';
}
/* ---------------------------------
# FOOTER
------------------------------------*/
.wrapper {
    min-height: 100%;
    margin-bottom: -40px;
}

.scrollable-content {
    overflow-y: auto; /* Ensures vertical scrollbar appears when content exceeds height */
    max-height: 100vh; /* Sets the maximum height to the viewport height */
}
#footer,
.push {
    height: 40px;
    font-size: 12px;
}

/* ---------------------------------
# LOGIN
------------------------------------*/
#btn-enter {
    width: 90px;
}

/* ---------------------------------
# FrontPage Modal
------------------------------------*/

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 15px;
    border: 2px solid #eee83d;
    width: 90%;
  }

  .modal h4 {
    text-align: center;
  }
  #phoneModal input[type="tel"] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    box-sizing: border-box;
  }

  #phoneModal button {
    width: 100%;
    background-color: #4CAF50;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
  }

  #phoneModal button:hover {
      opacity:0.8;
  }

/* ---------------------------------
# FORMS
------------------------------------*/

.errorlist{
    display:none;
}

.concealed {
    display: none;
}

/* ---------------------------------
# FLIP CLOCK
------------------------------------*/
.clockwrapper h5 {
    text-align: center;
    font-size: 25px;
    text-transform: uppercase;
    font-family: 'Fira Sans Condensed';
    margin: 0 0 10px;
    font-weight: bold;
    color: #fff;
}


/* ---------------------------------
# FRONT PAGE ANIMATION
------------------------------------*/

.zbox {
    position: relative;
    height: 160px;
    transform-style: preserve-3d;
    animation: zanimate 24s linear infinite;    
    font-family: Impact,'Backpack Personal Use', Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-weight:900;

}
@keyframes zanimate
{
    0% {
        transform: rotateX(-20deg) rotateY(360deg);
    }
    100% {
        transform: rotateX(-20deg) rotateY(0deg);
    }
}

.zbox div {
    position: absolute;
    inset : 0;
    transform-style: preserve-3d;
}

.zbox div.zblock span {
    position: absolute;
    left: calc(50% - 80px);
    width: 160px;
    height: 80px;
    background: #36a0dd;
    filter: drop-shadow(0 0 40px#9fc1d4);
    transform: rotateY(calc(90deg * var(--i))) translateZ(80px);
    transition: 0.5s;
    animation: color_change 4s linear infinite;
}

@keyframes color_change
{
    25% {
        background: rgb(217, 255, 0);
        filter: drop-shadow(0 0 40px rgb(217, 255, 0));
    }
    50% {
        background: rgb(255, 0, 0);
        filter: drop-shadow(0 0 40px rgb(255, 0, 0));
    }
    75% {
        background: rgb(240, 243, 244);
        filter: drop-shadow(0 0 40px rgb(238, 241, 242));
    }
}

.zbox div.ztext span {
    position: absolute;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotateY(calc(90deg * var(--i))) translateZ(120px);
    cursor: pointer;
    color: #efe9e9;
    font-size: 3em;
    text-transform: uppercase;
    z-index: 10;
    line-height: 1em;
    -webkit-text-stroke: 1px #121212;
    transform-style: preserve-3d;    
}

/*.zbox div.ztext span:nth-child(1) { 
    font-size: 4em;
}*/
.zbox div.ztext span::before {
    content: attr(data-text);
    position: absolute;
    bottom: 5px;
    transform-origin: bottom;
    transform: rotateX(-90deg);
    color: rgba(0,0,0,0.1);
    -webkit-text-stroke: 0px #000;
    filter: blur(4px);
}

.zbox div.ztext span::after {
    content: '';
    position: absolute;
    top: 80px;
    width: 288px;
    height: 48px;
    background: #36a0dd;
    transform: rotateX(-90deg);
    transition: 0.5s;
    animation: color_change 4s linear infinite;
}