:root {
    --bg-dark: #000000;

    /* TEXT */
    --text-primary: #FFFFFF;
    --text-secondary: #E0E0E0;
    --text-light: #dbdbdbc9;

    --maxw: 1400px;
}

::selection {
    background: #d67063;
    color: white;
}


* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    line-height: 1.5;
    scroll-behavior: smooth;
    color: var(--text-primary);
    background-color: var(--bg-dark);
}

/* CONTAINER AND TYPOGRAPHY */
.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 2rem 0.5rem;
}

h1 {
    font-size: 3.5rem;
    line-height: 1;
    color: var(--text-primary);
    margin: 0 0 1rem 0;

}

h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin: 0 0 0.75rem 0;
    letter-spacing: 3px;

}

h3 {
    font-size: 1.35rem;
    color: var(--text-secondary);
    margin: 0 0 0.5rem 0;
    letter-spacing: 2px;
}

p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 0 0 0.5rem 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

b {
    letter-spacing: 1px;
}

main{
    background-image: radial-gradient(125% 125% at 50% 10%, #000000 40%, #010133 100%);
}


/* HEADING */
.notices-heading {
    margin-top: 90px;
    position: relative;
    height: 380px;
    background: url('/images/school-image-1.JPG') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.notices-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .5);
}

.notices-inner {
    position: relative;
    z-index: 1;
    color: #fff;
    padding: 0 .5rem;
}

.notices-inner .subtitle {
    font-size: 1.1rem;
    opacity: 0.8;
}


/* NOTICE CONTAINER */
.notice-container {
    max-width: var(--maxw);
    margin-inline: auto;
    padding: 2rem 1rem;

}

.notice-card {
    margin-top: 30px;
    background: #000000;
    border: 1px solid #eeeeee36;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .03);
    border-left: 4px solid rgb(0, 112, 187);
}

time {
    opacity: .7;
    font-size: .8rem;
}

.description {
    opacity: .9;
    margin-block: 5px;
    word-wrap: break-word;
}

.notice-card a{
    color: rgb(38, 0, 255);
    font-size: 1.1rem;
}


/* LOAD MORE BUTTON*/
.load-more {
    max-width: var(--maxi);
    padding: 2rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.load-more-btn {
    border: none;
    display: inline-block;
    background-color: #fff;
    color: #111;
    padding: .8rem 1.2rem;
    border-radius: 12px;
    margin: .25rem;
    cursor: pointer;
}


.nboard {
    font-size: 20px;
    text-align: center;
    color: #fff;
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid burlywood;
}

.load-more-btn {
    transition-duration: 0.5s;
}

.load-more-btn:hover {
    box-shadow: 0 0 10px 1px #65faff;
}


/* RESPONSIVENESS */
@media (max-width: 800px) {
    body {
        line-height: 1.4;
    }

    .container {
        padding: 1rem .5rem;
    }

    h1 {
        font-size: 3rem;
        line-height: 1;
    }


    h3 {
        font-size: 1.2rem;
        margin-bottom: .5rem;
    }

    p {
        font-size: 1rem;
    }
}

@media (max-width: 700px) {
    .notices-heading {
        margin-top: 70px;
    }
}

@media (max-width: 500px) {
    body {
        line-height: 1.3;
    }

    h1 {
        font-size: 2rem;
        line-height: 1;
    }

    h2 {
        font-size: 1.5rem;
    }

    p {
        font-size: 1rem;
    }

    .btn {
        padding: .5rem .8rem;
        border-radius: 10px;
    }
}


@media (max-width: 400px) {
    body {
        line-height: 1.3;
    }

    h1 {
        font-size: 1.5rem;
        line-height: 1;
    }

    h3 {
        font-size: 1.1rem;
    }

    p {
        font-size: 1rem;
    }

}