.heading {
    font-family: "Roboto Slab", serif;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: #ffffff;
    text-transform: uppercase;
}

.nav__icon {
    width: 2rem;

    filter: brightness(0) invert(1);

    transition: all 0.3s ease;
}
.nav__icon:hover {

    transform: scale(1.12);

    filter: brightness(0) invert(1)
            drop-shadow(0 0 8px rgba(255,255,255,0.7));

    cursor: pointer;
}
.navbar {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 28px;
    background: rgba(10, 15, 35, 0.92);
    border-bottom: 1px solid rgba(255,255,255,0.15);
}
.navele {
    margin: 0;
}
.infoCard {
    font-family: Poppins, sans-serif;
    font-size: 15px;
    text-align: left;
    width: 520px;
    max-width: 90%;
    padding: 24px;
    background-color: #f8f8f8;
    border-radius: 28px;
    position: fixed;
    top: 100px;
    left: 100%;
    transform: translateX(-50%);
    z-index: 999;
    box-shadow: 0 10px 40px rgba(0,0,0,0.35);
    max-height: 80vh;
    overflow-y: auto;
    animation: popupSlide 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.hidden {
    display: none;
}
.example__img {
    width: 20rem;
}
.words {
    margin: auto;
    padding: 10px;
}

.container{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
}

.item{
    padding: 5% 4%;
}

.inputBox {
    width: 50px;
    height: 50px;
    caret-color: transparent;
    font-size: 25px;
    font-weight: bold;
    text-align: center;
    border: solid 2px rgb(182, 182, 182);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    transition: all 0.2s ease;
    background: rgba(255,255,255,0.95);

    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}
.inputBox:hover {
    transform: scale(1.05);
}
.inputBox:focus {
    transform: scale(1.08);
}
.button {
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    background: #f8fafc;
    width: 40px;
    height: 60px;
    padding: 10px;
    margin: 2px;
    border-style: none;
    border-radius: 5px;
    background-color: rgb(221, 220, 220);
    font-weight: bold;
}
.button:hover {
    transform: translateY(-3px) scale(1.05);
    background: #dbeafe;
    box-shadow: 0 6px 20px rgba(255,255,255,0.2);
}
.keyboard {
    margin: auto;
}

.buttonRow2 {
    margin: auto;
}
.enter {
    width: 80px;
}
.backspace {
    width: 50px;
    font-size: 18px;
}
.message {
    position: absolute;
    left: 50%;
    top: 20%;
    transform: translate(-50%, -50%);
    text-align: center;
    background-color: black;
    color: white;
    font-size: 20px;
    border-radius: 10px;
    padding: 9px 12px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}
.cross {
    font-weight: 900;
    border: none;
    background-color: white;
}
.cross:hover,
.button:hover,
.nav__icon:hover {
    cursor: pointer;
}
.yellow {
    background-color: #eab308;
    border-color: #eab308;
    color: white;
}

.green {
    background-color: #22c55e;
    border-color: #22c55e;
    color: white;
}
.grey {
    background-color: #6b7280;
    border-color: #6b7280;
    color: white;
}

@media screen and (max-width: 568px) {
    .heading {
        font-family: "Roboto Slab", serif;
        font-size: 1.5rem;
    }
    .popup {
        width: 70%;
        left: 8%;
    }
    .infoCard {
    width: 90%;
    top: 90px;
    padding: 18px;
    border-radius: 18px;
    }
    .example__img {
        width: 80%;
    }
    .nav__icon {
        width: 1.5rem;
    }
    .button {
        width: 28px;
        height: 45px;
        padding: 3px;
        margin: 1px;
        font-weight: 550;
    }
    .backspace {
        font-weight: 600;
    }
    .enter {
        width: 55px;
    }
    .backspace {
        width: 40px;
        font-size: 18px;
    }
    .inputBox {
        width: 40px;
        height: 45px;
        font-size: 20px;
    }
    .navbar {
        padding: 1rem 2rem;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    }
}
@media screen and (min-width: 1024px) {
    .infoCard {
        width: 30%;
        left: 34%;
    }
}
/* .info {
    padding-left: 0px;
    padding-right: 30em;
    width: 30px;
}
.stats {
    padding-left: 30rem;
    padding-right: 0px;
    width: 30px;
}
.navbar {
    text-align: center;
}
.navbar li {
    display: inline-block;
}
.navele {
    display: block;
}

.crossOuter {
    padding: 0;
    margin: 0;
    text-align: right;
}
#eximg {
    width: 80%;
}
#stats,
#result {
    font-size: 20px;
    text-align: center;
}
.mini {
    font-size: 10px;
} */


 /*Added Animated CSS*/
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    height: 100vh;
    width: 100%;
    background: linear-gradient(135deg, #0f172a, #16213e, #2b2f77);    
    background-size: 300%,300%;
    animation: color 12s ease-in-out infinite;
}
@keyframes color{
    0%{
        background-position: 0 50%;
    }
    50%{
        background-position: 100% 50%;
    }
    0%{
        background-position: 0 50%;
    }
}

@keyframes popupSlide {

    0% {
        opacity: 0;
        margin-top: -80px;
    }

    100% {
        opacity: 1;
        margin-top: 0px;
    }

}
#reset {
    border-radius: 14px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    background: #f8fafc;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

#reset:hover {
    transform: translateY(-3px) scale(1.02);
    background: #dbeafe;
}