body {
        background-color: #000000;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        radial-gradient(circle, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px, 15px 15px; /* Two layers for varied grain */
    background-position: 0 0, 1px 1px; /* Offset for better randomness */
    background-repeat: repeat;
    color: #ffffff;
      animation: grain 8s steps(10) infinite;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    margin: 0px;
    overflow-x: hidden;
    overflow-y: hidden;
}

h1, h2, h3, p {
    margin: 0;
    padding: 10px;
}

nav{
    max-height: 0px;
    padding-top: 24px;
    position: fixed;
}

section{
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(100vh);
}



.red{
    color: #ff0000;
}

.header-branding h3{
    transform: translateY(-20px);
}

.header-branding h3 span{
    font-style: italic;
    color: red;
    font-family: 'Courier New', Courier, monospace;
    font-weight: 100;
}

.header-branding{
    text-align: center;
}

#headerflip{
    color: red;
    font-weight: 100;
}


.centerheader {
  /* No special centering styles needed on the child itself */
  width: 100vw;
  height: 74vh;
  color: white;
  display: flex; /* To center text inside if needed */
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.headerTxt{
    padding: 20px;
    text-align: center;
    width: 400px;
}

.headerTxt h1{
    font-size: 2.5rem;
}


.branding-txticon{
  border: solid 1px white;
  width: fit-content;
  margin: 12px 42px;
}

.headerclickbtn, .nmbtn{
    border: solid 1px white;
    border-radius: 24px;
    padding: 12px 24px;
    cursor: pointer;
    transition: border-radius 0.5s ease-in-out, padding 0.5s ease-in-out;
    width: fit-content;
}

.headerclickbtn:hover, .nmbtn:hover{
    border-radius: 0px;
    padding: 12px 58px;
}

.scrolldownreminder{
    position: absolute;
    bottom: 24px;
    font-size: 1.2em;
}

.dummy{
    height: 100vh;
}

.hidden{
    display: none;
}

.learnmore{
    display: flex;
    width: 100vw;
}

.leftbar{
    height: 100vh;
    width: 10vw;
    min-width: 160px;
}

.rightbar{
    height: 99vh;
    margin-top: 1vh;
    width: 100%;
    border: solid 1px black;
    border-radius: 8px 0px 0px 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url('/bg.avif');
    background-size: cover;
}



.downtransmove{
    transform: translate(8px, 36px);
}

.card{
    backdrop-filter: blur(8px);
    color: black;
    border: solid 1px black;
    border-radius: 8px;
    padding: 12px;
    margin: 12px;
    width: 40vw;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.5);
    text-align: center;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-weight: bold;
}

.bagde-container{
    display: flex;
}

@media screen and (max-width: 1200px) {
    .card {
        width: 90vw;
    }
    .leftbar{
        display: none;
    }
    .rightbar{
        height: 100vh;
        margin-top: 0vh;
        border-radius: 0px;
    }
    body{
        overflow-y: auto;
    }
}

@media screen and (max-width: 540px) {
    .header-branding{
        font-size: 0.6rem;
    }
    .card{
        width: 94vw;
    }
}

@media screen and (max-width: 510px) {
    .bagde-container{
        display: block;
    }
    .mobile-card{
        display: flex;
    }
}


.card-title{
    letter-spacing: 24px;
    padding: 24px 0px 4px 0px;
}

.card hr{
    border: none;
    border-top: 1px solid #888888;
    margin: 12px 0px;
}

.card-subtitle{
    margin-top: 0px;
    padding-top: 0px;
    letter-spacing: 12px;
}

.badge{
    background-color: #4b4b4b48;
    color: white;
    border-radius: 4px;
    height: 44px;
    width: 44px;
    margin: auto;
    align-items: center;
    justify-content: center;
    display: flex;
}

.badge i{
    color: white;
    font-size: 24px;
}

.flex{
    display: flex;
    align-items: center;
    justify-content: center;
    justify-content: space-evenly;
}   

.badge-item{
    margin: 12px;
    width: 100%;
}

.card-text{
    text-align: justify;
}

.nmbtn{
    margin: auto;
}
