* {
    margin: 0;
}

html {
    background-color: #181818;
    background-image: url("../images/homebanner.jpg");
    overflow-x: hidden;
}

@font-face {
    font-family: 'Bebas';
    src: url('bebas_neue.otf') format('opentype');
}
@font-face {
    font-family: 'Mermaid';
    src: url('mermaid.ttf') format('truetype');
}
@font-face {
    font-family: 'DOGMA DEMO Regular';
    src: url('DOGMA.OTF') format('opentype');
}

@keyframes slide {
    from {
        transform: translateX(0);
    } to {
        transform: translateX(-100%);
    }
}

@keyframes nav_slide {
    from {
        transform: translateX(100);
    }
    to {
        transform: translateX(-5%);
    }
}

@keyframes fade-down {
    0% {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translateY(0px) scale(1); 
    }
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes shake {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(5deg); }
  50% { transform: rotate(0deg); }
  75% { transform: rotate(-5deg); }
  100% { transform: rotate(0deg); }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0)
}

.firstDiv {
    position: relative;
    background-image: url("../images/homebanner2.jpg");
    min-height: 30em;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    align-items: center;     
    justify-content: center;  
    padding: 0 10px;         
}

.firstDiv h1 {
    background: -webkit-linear-gradient(141deg, rgb(255, 255, 255) 0%, rgb(248, 190, 135) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.151));
    font-size: 12vw; 
    text-align: center;
    font-family: DOGMA DEMO Regular, Arial, Helvetica, sans-serif;
    padding-top: 0.4em;
    font-weight: 200;
    word-break: break-word;
    margin: 0; 
}

.secondDiv {
    position: relative;
    background-image: url("../images/homebanner.jpg");
    padding: 4vw 2vw 6vw 2vw;
    min-height: 20em;
    font-family: Mermaid, Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

.secondDiv img {
    position: relative;
    display: block;
    margin: 2em auto 0 auto;
    max-width: 90vw;
    height: auto;
    bottom: 0;
    transition: 0.5s;
}

.lmsLogo img:hover {
    transition: 0.5s;
    transform: scale(1.03);
    filter: drop-shadow(0 0 15px rgba(255, 65, 17, 0.384));
}

.lmsRow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2em;
    max-width: 95vw;
    margin: 2em auto;
}

.lmsRow p {
    flex: 1 1 0;
    color: rgb(255, 113, 113);
    font-family: '8-bit Fortress Regular', monospace;
    font-size: 1.5em;
    font-weight: 550;
    animation: fade-up 0.7s;
    filter: drop-shadow(0 0 10px rgba(255, 68, 68, 0.603));
    text-align: left;
    margin: 0;
    max-width: 32em;
}

.lmsRow .lmsGameplay img {
    height: 30em;
    border-radius: 15px;
    filter: drop-shadow(0 0 10px rgba(255, 143, 143, 0.548));
    margin: 0;
    display: block;
}

.lmsRowBottom {
    display: flex;
    flex-direction: row-reverse; 
    align-items: center;
    justify-content: center;
    gap: 2em;
    max-width: 95vw;
    margin: 2em auto;
}

.lmsRowBottom p {
    flex: 1 1 0;
    color: rgb(187, 255, 131);
    font-family: '8-bit Fortress Regular', monospace;
    font-size: 1.5em;
    font-weight: 550;
    animation: fade-up 0.7s;
    filter: drop-shadow(0 0 10px rgba(91, 255, 91, 0.603));
    text-align: left;
    margin: 0;
    max-width: 32em;
}

.lmsRowBottom .lmsGameplayWinter img {
    height: 30em;
    border-radius: 15px;
    filter: drop-shadow(0 0 10px rgba(165, 253, 153, 0.534));
    margin: 0;
    display: block;
}

.soldiers {
    position: static;
    display: flex;
    justify-content: center;
    margin: 2em 0 0 0;
    filter: drop-shadow(0 0 10px rgba(251, 255, 240, 0.082));
}

.playOn img {
    position: static;
    display: block;
    margin: 2em auto 0 auto;
    transition: 0.5s;
}

.playOn img:hover {
    filter: drop-shadow(0 0 10px rgba(75, 243, 83, 0.471));
    transition: 0.5s;
    transform: scale(1.03);
}

.thirdDiv {
    position: relative;
    background-image: url("../images/homebanner2.jpg");
    padding: 4vw 2vw 4vw 2vw;
    min-height: 30em;
    box-sizing: border-box;
}

.calenvisorLogo img {
    display: block;
    margin: 0 auto;
    max-width: 580px;  
    height: auto;
    transition: 0.5s;
}

.calenvisorLogo img:hover {
    filter: drop-shadow(0 0 20px rgba(58, 135, 236, 0.432));
    transform: scale(1.03);
    transition: 0.5s;
}

.calenvisorColumn {
    width: 100%;       
    max-width: 900px;   
    min-width: 220px;
    box-sizing: border-box;
    padding: 1vw 1vw;
    animation: fade-up 0.7s;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 12px;
    margin-top: 2em;
}

.calenvisorColumn img {
    width: 100%;
    max-width: 600px; 
    height: auto;
    display: block;
    margin: 0 auto 1em auto;
    border-radius: 10px;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.678));
}

.row {
    display: flex;
    flex-direction: column;   
    align-items: center;   
    gap: 2vw;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.row::after {
    content: "";
    clear: both;
    display: table;
}

.row figcaption {
    color: rgb(226, 226, 226);
    font-family: Bebas, Arial, Helvetica, sans-serif;
    font-size: 1.2em;
    text-align: center;
    max-width: 24em;      /* Set a shorter maximum width */
    margin: 0.2em auto 0 auto; /* Center the figcaption horizontally */
    width: 100%;
}

.thirdDiv h2 {
    color: #8298fc;
    text-align: center;
    font-size: 7vw;
    margin-top: 0.1em;
    font-family: DOGMA DEMO Regular, Arial, Helvetica, sans-serif;
    font-weight: 300;
    animation: fade-up 0.7s;
    filter: drop-shadow(0 0 8px rgba(84, 72, 252, 0.438));
}

.thirdDiv p {
    color: #ffffff;
    text-align: left;
    font-size: 1.6em;
    margin-top: 1em;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
    max-width: 50em;
    margin-left: auto;
    margin-right: auto;
}

.calenvisorLang {
    text-align: center;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.2em;
    animation: fade-up 0.7s;
    margin-bottom: 1em;
}

.calenvisorLang i {
    color: #7997fb;
}

.video {
    margin-top: 3em;
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 100vw; 
}

.video iframe {
    transition: 0.5s;
    max-width: 98vw;   
    width: 900px;     
    height: 506px;     
    border: none;
    border-radius: 10px;
}

.video iframe:hover {
    filter: drop-shadow(0 0 15px rgb(117, 94, 250));
    transition: 0.5s;
}

.fourthDiv {
    position: relative;
    background-image: url("../images/homebanner.jpg");
    padding: 4vw 2vw 5vw 2vw;
    min-height: 30em;
    font-family: mermaid, Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

.dbmsLang {
    text-align: center;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.2em;
    animation: fade-up 0.7s;
    margin-bottom: 1em;
}

.dbmsLang i {
    color: #ff6767;
}

.ED {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 0.7em;
    width: 100%;
    max-width: 90vw;
    margin: 2em auto 0 auto;
    flex-wrap: wrap; 
}

.ED h1 {
    color: rgb(251, 59, 59);
    filter: drop-shadow(0 0 3px rgba(243, 58, 58, 0.623));
    font-size: 5.5vw;
    font-family: BEBAS, Arial, Helvetica, sans-serif;
    text-align: left;
    margin: 0 0 0 0.7em;
    min-width: 2em;
    flex-shrink: 0;
}

.ED p {
    background: -webkit-linear-gradient(rgb(255, 255, 255), rgb(255, 255, 255));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 500;
    font-size: 1.6em;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 28em;
    margin: 0;
    padding: 0 1em;
    text-align: left;
    flex: 1 1 0;
}

.dbmsLogo img {
    transition: 0.5s;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1em auto;
}

.dbmsLogo img:hover {
    transition: 0.5s;
    transform: scale(1.03);
    filter: drop-shadow(0 0 15px rgba(228, 228, 228, 0.349));
}

.slideshow-container img {
    filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.623));
    display: block;
    margin: 1em auto;
    width: 98vw;        
    max-width: 100em;   
    height: auto;
    border-radius: 10px;
    transition: 0.5s;
}

.slideshow-container {
    max-width: 55em;
    position: relative;
    margin: auto;
    margin-top: 4em;
}

.mySlides {
    display: none;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60%;       
    min-width: 60px;          
    max-width: 440px;
    padding: 0;
    color: transparent;
    font-weight: bold;
    font-size: 2em;
    transition: 0.3s ease;
    user-select: none;
    background: transparent;
    z-index: 2;
    border: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90%;   
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

.slideshow-container:hover img {
    filter: drop-shadow(0 0 15px rgba(252, 226, 218, 0.233));
    transition: 0.5s;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 6px;
    background-color: #8a8a8a;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
    margin-top: 22px;
}

.dot.active, .dot:hover {
    background-color: #e2e2e2;
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

.fifthDiv {
    background-image: url("../images/homebanner2.jpg");
    padding: 2vw 2vw 4vw 2vw;
    min-height: 30em;
    box-sizing: border-box;
}

.fifthDiv h1 {
    color: rgb(248, 58, 58);
    padding-top: 0.2em;
    font-family: DOGMA DEMO Regular, Arial, Helvetica, sans-serif;
    font-weight: 100;
    font-size: 7vw;
    text-align: center;
    filter: drop-shadow(0 0 9px rgba(255, 14, 14, 0.599));
}

.projectRow {
    display: flex;
    flex-direction: column;    
    align-items: center;       
    gap: 0.1vw;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.firstColumn,
.secondColumn {
    width: 100%;        
    max-width: 900px;   
    min-width: 220px;
    box-sizing: border-box;
    padding: 1vw 1vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 12px;
    margin-top: 2em;
}

.firstColumn img,
.secondColumn img {
    width: 100%;
    max-width: 600px; 
    height: auto;
    display: block;
    margin: 0 auto 1em auto;
    border-radius: 10px;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.678));
}

.fifthDiv figcaption {
    color: rgb(226, 226, 226);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.3em;
    font-weight: 500;
    text-align: left;
    max-width: 30em;      
    margin: 0.1em auto 0 auto; 
    width: 100%;
}

.firstColumn b,
.secondColumn b {
    font-family: DOGMA DEMO Regular, Arial, Helvetica, sans-serif;
    color: rgb(243, 61, 61);
    filter: drop-shadow(0 0 5px rgba(248, 58, 58, 0.449));
    font-size: 1.4em;
}

.sixthDiv {
    height: 7.5em;
    background-image: url("../images/homebanner.jpg");
}

.copyright {
    color: #fff;
    font-family: DOGMA DEMO Regular, Arial, Helvetica, sans-serif;
    text-align: center;
    padding-top: 2em;
}

.socials {
    text-align: center;
}

.socials a {
    text-decoration: none;
    color: #fff;
}

.socials li {
    font-size: 2em;
    padding: 20px;
    overflow-wrap: break-word;
    display: inline-block;
    vertical-align: top;
    padding-right: 10px;
}

.socials a:hover {
    color: orange;
    transition: 0.3s;
    animation: shake 0.5s ease-in-out;
}

#nav_menu ul li a.projects {
    color: orange;
    text-decoration: underline;
    transition: 1s;
}

#nav_menu ul li a.projects:hover {
    color: #ffd29f;
}

#nav_menu ul li {
    list-style: none;
    width: 10%;
    display: inline-block;
}

#nav_menu ul {
    text-align: right;
    width: 22em;
    display: flex;
    flex-direction: column;
    flex-basis: 60%;
    list-style-type: none;
    padding: 0;
    margin: 0;
    position: fixed;
    background-image: url("../images/NavBan.jpg");
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.925));
    z-index: 4;
}

#nav_menu ul li a:hover, ul li a:focus {
    color: rgb(231, 43, 43);
    transition: 0.5s;
}

#nav_menu ul li a {
    width: 100%;
    text-align: center;
    display: block;
    text-decoration: none;
    padding: 1em 0;
    color: #fff;
    font-family: DOGMA DEMO Regular, Arial, Helvetica, sans-serif;
    font-weight: 100;
    transition: 1s;
}

#nav_menu ul {
    width: 100%;
    margin: 0;
    padding: 0;
    margin-top: 0;
    display: inline-block;
}

#mobile-nav-bar img {
    width: 7.5em;
    padding: 13px;
    display: block;
    position: absolute;
    position: fixed;
    z-index: 5;
    animation: fade-down 1s;
}

#mobile-nav-toggle {
    display: none;
    position: fixed;
    top: 1.5em;
    right: 0.8em;
    z-index: 1100;
    background: transparent;
    color: rgb(255, 255, 255);
    filter: drop-shadow(0 0 8px rgb(0, 0, 0));
    border: none;
    font-size: 2em;
    padding: 0.2em 0.4em;
    border-radius: 8px;
    cursor: pointer;
}

#mobile-nav-toggle .bar {
    display: block;
    width: 1.8em;
    height: 0.25em;
    margin: 0.4em auto;
    background: white;
    border-radius: 2px;
    transition: 0.4s;
    position: relative;
}

#mobile-nav-toggle.open .bar:nth-child(1) {
    transform: translateY(0.65em) rotate(45deg);
}

#mobile-nav-toggle.open .bar:nth-child(2) {
    opacity: 0;
}

#mobile-nav-toggle.open .bar:nth-child(3) {
    transform: translateY(-0.65em) rotate(-45deg);
}

@media (max-width: 1024px) {

    #mobile-nav-toggle {
        display: block;
        font-size: 1em;
        top: 1em;
        right: 1em;
        width: 2.5em;
        height: 2.5em;
    }

    #nav_menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 70vw;
        height: 100vh;
        z-index: 1000;
        pointer-events: none;
    }

    #mobile-nav-bar img {
        display: none;
    }

    #nav_menu ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 0;
        right: 0;
        width: 70vw;
        height: 100vh;
        margin: 0;
        opacity: 0;
        transform: translateX(100%);
        pointer-events: none;
        transition:
            opacity 0.5s cubic-bezier(0.77,0,0.175,1),
            transform 0.5s cubic-bezier(0.77,0,0.175,1);
    }

    #nav_menu ul.open {
        opacity: 1;
        transform: translateX(0);
        pointer-events: auto;
    }

    #nav_menu ul li {
        width: 100%;
        text-align: center;
        margin: 0;
        padding: 0;
    }

    #nav_menu ul li a {
        font-size: clamp(1.5em, 6vw, 3em);
        padding: 1em 0;
        display: block;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .firstDiv h1{
        font-size: clamp(5em, 10vw, 5em);
    }

    .secondDiv {
        padding: 14vw 5vw 27vw 5vw;
        min-height: 40em;
    }

    .secondDiv p {
        font-size: clamp(5em, 10vw, 5em);
    }

    .playOn img {
        padding: 11vw 0 0 0;
        min-height: 10vw;
        width: 30vw;
        max-width: 300px;
    }

    .soldiers img {
        width: 80vw;
        max-width: 500px;
        background-color: rgba(255, 255, 255, 0.027);
        border-radius: 15px;
    }

    .firstDiv {
        display: none;
    }

    .thirdDiv {
        padding: 10vw 5vw 23vw 5vw;
        min-height: 40em;
    }

    .fourthDiv {
        padding: 12vw 5vw 23vw 5vw;
        min-height: 40em;
    }

    .fifthDiv {
        padding: 12vw 5vw 23vw 5vw;
        min-height: 40em;
    }

    .calenvisorColumn,
    .firstColumn,
    .secondColumn {
        width: 100vw;
        max-width: 1000px;
        min-width: 0;
        padding: 1vw 0.5vw;
    }

    .calenvisorColumn img,
    .firstColumn img,
    .secondColumn img {
        width: 90vw;
        max-width: 1000px;
        height: auto;
    }

    .fifthDiv figcaption,
    .thirdDiv figcaption {
        width: 90vw;
        max-width: 1000px;
        height: auto;
        font-size: clamp(1em, 3.5vw, 5em);
    }

    .slideshow-container {
        max-width: 98vw;
    }

    .thirdDiv h2 {
        font-size: clamp(4.5em, 12vw, 9em);
    }

    .thirdDiv p {
        font-size: clamp(1em, 4vw, 2.5em);
        padding: 0 1em;
    }

    .ED {
        flex-direction: column;
        align-items: center;
        gap: 1em;
    }

    .ED h1 {
        font-size: clamp(4.5em, 13vw, 9em);
        margin-bottom: 0.1em;
        text-align: right;
    }

    .ED p {
        font-size: clamp(1em, 4vw, 2.5em);
        padding: 0 1em;
        order: 0;
    }

    .calenvisorLang,
    .dbmsLang {
        font-size: clamp(1em, 3vw, 1.5em);
    }

    .fifthDiv h1 {
        font-size: clamp(4.5em, 10vw, 6em);
    }

    .lmsRow,
    .lmsRowBottom {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2em;
        padding: 0 1em;
    }

    .lmsRow p,
    .lmsRowBottom p {
        order: 1;
        text-align: center;
        max-width: 25em;
        width: 100%;
        font-size: clamp(1em, 3vw, 2em);
    }

    .lmsRow .lmsGameplay img,
    .lmsRowBottom .lmsGameplayWinter img {
        order: 2;
        width: 100%;
        max-width: 900px;
        height: auto;
    }

    .video iframe {
        width: 98vw;
        height: 56vw;
        max-width: 100vw;
    }

    .lmsLogo img,
    .playOn img,
    .calenvisorLogo img,
    .dbmsLogo img {
        width: 100%;
        max-width: 500px;
        height: auto;
        margin: 0 auto;
    }

    .copyright p {
        font-size: clamp(0.8em, 2vw, 2em);
    }

    .socials li {
        font-size: clamp(1.5em, 6vw, 3em);
        padding: 15px;
    }
}




















