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

body {
    height: 100%;
    width: 100%;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

nav {
    height: auto;
    width: 100%;
    background-color: black;
    color: white;
    text-align: center;
    padding: 1rem;
}

nav h1 {
    font-size: 3rem;
}

nav .updates {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.main-box {
    height: auto;
    width: auto;
    display: flex;
    align-items: start;
    justify-content: center;
}

section {
    height: 100%;
    width: auto;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 1rem;
    flex-direction: column;
}

.sidebar {
    height: 100%;
    width: 20%;
}

.sidebar button {
    border: 1px solid rgba(130, 130, 130, 0.300);
    height: auto;
    width: 100%;
    padding: 0.5rem;
    background-color: black;
    color: white;
    cursor: pointer;
}

.active-category {
    border: 2px solid black !important;
    background-color: white !important;
    color: black !important;
}

#news-feed {
    border-left: 1px solid rgba(130, 130, 130, 0.300);
    border-right: 1px solid rgba(130, 130, 130, 0.300);
    height: 100%;
    width: 60%;
}

#news-feed .search-box {
    height: auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.search-box input {
    height: auto;
    width: 50%;
    padding: 0.5rem;
    outline: none;
}

#indian-news {
    position: relative;
}

.spinner {
    font-size: 28px;
    position: relative;
    display: inline-block;
    width: 1em;
    height: 1em;
}

.spinner.center {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

.spinner .spinner-blade {
    position: absolute;
    left: 0.4629em;
    bottom: 0;
    width: 0.074em;
    height: 0.2777em;
    border-radius: 0.0555em;
    background-color: transparent;
    -webkit-transform-origin: center -0.2222em;
    -ms-transform-origin: center -0.2222em;
    transform-origin: center -0.2222em;
    animation: spinner-fade9234 1s infinite linear;
}

.spinner .spinner-blade:nth-child(1) {
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
}

.spinner .spinner-blade:nth-child(2) {
    -webkit-animation-delay: 0.083s;
    animation-delay: 0.083s;
    -webkit-transform: rotate(30deg);
    -ms-transform: rotate(30deg);
    transform: rotate(30deg);
}

.spinner .spinner-blade:nth-child(3) {
    -webkit-animation-delay: 0.166s;
    animation-delay: 0.166s;
    -webkit-transform: rotate(60deg);
    -ms-transform: rotate(60deg);
    transform: rotate(60deg);
}

.spinner .spinner-blade:nth-child(4) {
    -webkit-animation-delay: 0.249s;
    animation-delay: 0.249s;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.spinner .spinner-blade:nth-child(5) {
    -webkit-animation-delay: 0.332s;
    animation-delay: 0.332s;
    -webkit-transform: rotate(120deg);
    -ms-transform: rotate(120deg);
    transform: rotate(120deg);
}

.spinner .spinner-blade:nth-child(6) {
    -webkit-animation-delay: 0.415s;
    animation-delay: 0.415s;
    -webkit-transform: rotate(150deg);
    -ms-transform: rotate(150deg);
    transform: rotate(150deg);
}

.spinner .spinner-blade:nth-child(7) {
    -webkit-animation-delay: 0.498s;
    animation-delay: 0.498s;
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.spinner .spinner-blade:nth-child(8) {
    -webkit-animation-delay: 0.581s;
    animation-delay: 0.581s;
    -webkit-transform: rotate(210deg);
    -ms-transform: rotate(210deg);
    transform: rotate(210deg);
}

.spinner .spinner-blade:nth-child(9) {
    -webkit-animation-delay: 0.664s;
    animation-delay: 0.664s;
    -webkit-transform: rotate(240deg);
    -ms-transform: rotate(240deg);
    transform: rotate(240deg);
}

.spinner .spinner-blade:nth-child(10) {
    -webkit-animation-delay: 0.747s;
    animation-delay: 0.747s;
    -webkit-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg);
}

.spinner .spinner-blade:nth-child(11) {
    -webkit-animation-delay: 0.83s;
    animation-delay: 0.83s;
    -webkit-transform: rotate(300deg);
    -ms-transform: rotate(300deg);
    transform: rotate(300deg);
}

.spinner .spinner-blade:nth-child(12) {
    -webkit-animation-delay: 0.913s;
    animation-delay: 0.913s;
    -webkit-transform: rotate(330deg);
    -ms-transform: rotate(330deg);
    transform: rotate(330deg);
}

@keyframes spinner-fade9234 {
    0% {
        background-color: #69717d;
    }

    100% {
        background-color: transparent;
    }
}

#articles-container {
    min-height: 500px;
    width: 100%;
    display: flex;
    align-items: start;
    justify-content: center;
    flex-wrap: wrap;
}

section article {
    border: 1px solid rgba(130, 130, 130, 0.300);
    height: auto;
    width: 50%;
    padding: 1rem;
}

article img {
    height: auto;
    width: 100%;
}

article hr {
    margin: 0.5rem 0;
}

article p {
    font-size: 15px;
}

#indian-news-container {
    min-height: 500px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 1rem;
    flex-direction: column;
}

#indian-news-container article {
    border: 1px solid rgba(130, 130, 130, 0.300);
    height: auto;
    width: 100%;
    padding: 1rem;
}

footer {
    height: auto;
    width: 100%;
    background-color: black;
    color: white;
    padding: 3rem;
}

footer a {
    color: white;
}

footer a:hover {
    color: white;
}

footer h1 {
    font-size: 1rem;
}

footer .links,
.social-links {
    height: 1rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 0.5rem;
    margin: 1rem 0;
}

.links .link {
    font-size: 13px;
    cursor: pointer;
}

.links .link:hover {
    text-decoration: underline;
}

.social-links img {
    height: 100%;
    width: auto;
    cursor: pointer;
}

footer p {
    margin-top: 3rem;
    text-align: center;
}