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

html, body {
    height: 100%;
    font-family: Sans-serif, cursive;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    color: #333;
    overflow-x: hidden;
}

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

.container {
}

/* NavBar */

.NavBar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0a2740;
    color: #fff;
    padding: 10px 20px;
    position: relative;
    z-index: 10;
    height: 20vh;
    width: 100vw;
}

.NavItem1 {
    display: flex;
    align-items: center;
}

.NavItem1 .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    animation: typingText 3s steps(20)  forwards;
    width: 0;
    margin-right: 10px;
    font-family: cursive, Sans-serif ;

}


.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}
/* above fadein is used with fadeIn.js, fancy*/


.NavItem1 .owl {
    width: auto;
    height: 10vh;
}

.NavItem {
    display: flex;
    align-items: center;
}

.login{
    font-size: 1em;
}
.loginH2{
    transition: 2s;
    font-size: 1rem;
    font-weight: bold;
}

.desktop_choices {
    list-style: none;
    display: flex;
    gap: 20px;
}

.desktop_choices li a {
    color: #fff;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background 0.3s;
}

.login h2:hover {
    transform: scale(1.2);
}

.ham {
    background: none;
    border: none;
    cursor: pointer;
    display: none;
    padding: 5px;
}

.ham img {
    width: 30px;
    height: 30px;
}

/* Mobile Navigation */

#mobile-menu {
    list-style: none;
    background-color: #0a2740;
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    display: none;
    flex-direction: column;
    padding: 10px;
}

.mobile_choices.active{
    display: flex;
  }

#mobile-menu li a {
    color: #fff;
    display: block;
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

#mobile-menu li a:hover {
    background-color: #154162;
}

/* Container for page content */

.container1 {
    padding: 20px;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Footer */

footer {
    text-align: center;
    background-color: #0a2740;
    color: #fff;
    padding: 15px 10px;
    margin-top: 30px;
    font-size: 0.9rem;

}

/* Responsive */

@media (max-width: 768px) {
    .desktop_choices {
        display: none;
    }
    .ham {
        display: block;
    }
    #mobile-menu{
        display: none;
        flex-direction: column;
        align-items: space-around;
        height: 100%;
        transition: 3s;
        width: 30vw;
        margin-right: 10px;
    }
    #mobile-menu.active{
        display: flex
    }

}



@keyframes typingText {
  0% {
    width: 0;
    border-right: 3px solid #00aaff;
  }
  99% {
    width: 100%;
    border-right: 3px solid #00aaff; /* Keep cursor visible until the very end */
  }
  100% {
    width: 100%;
    border-right: none;
  }
}