/* class-based and id-based Stylings */
.ticker {
    background: #000000;
    border-bottom: solid 0.25rem #AD88F2;
    padding: 0;
    margin: 0;
    font-size: 2.5rem;
    border-radius: 0.2rem;
    white-space: nowrap;
    position: sticky;
    top: 0;
    overflow: hidden;
}

#announcements {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    transform: translate(100vw);
    animation: scroll 25s infinite linear;
    width: fit-content;
}

.IN-flag {
    background-image: url("https://knowindia.india.gov.in/assets/images/national_flag_inner.jpg");
    background-repeat: repeat;
    background-size: contain;
    -webkit-background-clip: text;
    color: transparent;
}

.wrapper {
    background: #000000;
}

.grid {
    border: solid 0.25rem #AD88F2;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.postscript {
    font-size: 1rem;
    margin-left: 1rem;
}

.शायरी {
    font-size: 1.25rem;
    white-space: pre-line;
}

.center {
    text-align: center;
}

.short-introduction {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-left: 1rem;
    margin-top: -2rem;
}

.spacer {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.icon {
    font-family: "MiIcon";
    font-size: 2.5rem;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: normal;
}

.xiaomi::before {
    content: "\e663";
}

.redmi::before {
    content: "\e660";
}

.poco::before {
    content: "\e661";
}

.short-introduction .highlight {
    font-size: 3rem;
}

.oppo {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    width: 5rem;
}

.highlight {
    color: #AD88F2;
    font-weight: bold;
}

.gap-top {
    margin-top: 5rem;
}

.gap-bottom {
    margin-bottom: 5rem;
}

.note {
    margin-left: 1.5rem;
    font-weight: bold;
}

.ongoing::before {
    content: "Ongoing";
    font-weight: normal;
    animation: blink 1s infinite;
    z-index: -1;
}

.overlay {
    position: fixed;
    cursor: default;
    background: #000000;
    overflow: hidden;
}

.last-updated {
    display: flex;
    flex-direction: column;
    justify-content: center;
    left: 1rem;
    bottom: 2.5rem;
    border: solid 0.25rem #AD88F2;
    border-radius: 1rem;
    width: 18rem;
    height: 5rem;
    padding: 1rem;
    font-size: 1.5rem;
    z-index: 2;
}

.last-updated p,
.feedback p {
    margin: 0;
    padding: 0;
}

.last-updated p:nth-child(1)::before {
    content: "LAST UPDATED";
}

.last-updated p:nth-child(2) {
    color: #AD88F2;
    font-weight: bold;
}

.feedback {
    display: flex;
    flex-direction: column;
    justify-content: center;
    right: 1rem;
    bottom: 2.5rem;
    border: solid 0.25rem #AD88F2;
    border-radius: 1rem;
    width: 18rem;
    height: 5rem;
    padding: 1rem;
    font-size: 1.25rem;
    z-index: 2;
}

.feedback p:nth-child(1)::before {
    content: "SHARE YOUR THOUGHTS";
}

.feedback a:nth-child(2) {
    color: #AD88F2;
    font-weight: bold;
    text-decoration: none;
}

.mobile {
    display: none;
    right: 1rem;
    bottom: 2.5rem;
    border: solid 0.25rem #AD88F2;
    border-radius: 1rem;
    width: 5rem;
    height: 5rem;
    padding: 1rem;
    z-index: 2;
}

.mobile a {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.invalid-redirect {
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
}

.redirect-container,
.warning {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 2.5rem;
    color: #FFFFFF;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

.redirect-container div {
    display: flex;
    justify-content: center;
}

.redirect-container button {
    outline: none;
    border: none;
    transition: all ease 1s;
    margin: 0.5rem;
    border-radius: 1rem;
    padding: 2rem;
    cursor: pointer;
    background: #FFFFFF;
    color: #000000;
}

.redirect-container a {
    text-decoration: none;
    cursor: pointer;
    color: inherit;
}

.warning p:nth-child(1)::before {
    content: "WARNING";
    color: #FF0000;
    font-size: 5rem;
}

.redirect-container p {
    color: #AD88F2;
    font-size: 2.5rem;
}

.warning p:nth-child(3) {
    font-size: 1.5rem;
    font-weight: bold;
    animation: blink 2s infinite;
}

/* Scrollbar Stylings */
::-webkit-scrollbar {
    width: 1rem;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: #FFFFFF;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #EEEEEE;
}

/* General Stylings */
* {
    font-family: "MiSans Devanagari";
    font-family: "MiSans Latin";
    color: #FFFFFF;
    box-sizing: border-box;
    text-decoration: none;
}

*::selection {
    background: #AD88F2;
    color: #FFFFFF;
}

html {
    overflow-x: hidden;
}

body {
    background-size: 5rem 5rem;
    background-image: radial-gradient(circle, #808F85 0.125rem, #000000 0.1rem);
}

article {
    padding: 7.5rem 50vh 15rem;
    font-size: 1.5rem;
    line-height: 1.75;
}

h1 {
    font-size: 3rem;
}

h3 {
    font-size: 2rem;
}

h6 {
    font-size: 1.5rem;
}

footer {
    border-top: solid 0.25rem #AD88F2;
    font-size: 1rem;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3vh;
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

a:hover {
    text-decoration: underline 0.25rem #FFFFFF;
    transition: text-decoration 100ms ease;
}

/* @media Queries */
@media (max-width: 768px) {
    /* class-based and id-based Stylings */
    .last-updated,
    .feedback {
        display: none;
    }

    .mobile {
        display: flex;
    }

    /* General Stylings */
    html {
        padding: 2rem 0vh 4rem;
    }

    article {
        padding: 7.5rem 0rem 15rem;
    }
}

/* @keyframe Queries */
@keyframes scroll {
    from {
        transform: translate(100%);
    }

    to {
        transform: translate(-100%);
    }
}

@keyframes blink {
    0% {
        opacity: 100%;
    }

    50% {
        opacity: 25%;
    }

    100% {
        opacity: 100%;
    }
}