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

@font-face {
  font-family: "Kalpurush";
  src: url("../assets/fonts/Kalpurush.ttf") format("truetype");
}

#upNav {
    position: sticky;
    top: 0;
    z-index: 999;
}

body {
    font-family: 'Kalpurush', 'Noto Serif Bengali', serif;
}

a {
    text-decoration: none;
}


header {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgb(233, 244, 240);
}

header h1 {
    font-size: 35px;
}

header h2 {
    font-size: 23px;
}


.notification {
    display: flex;
    justify-content: center;
    padding: 5px;
    padding-left: 20px;
    background-color: rgb(216, 255, 225);
    margin-bottom: 10px;
}

.notification p {
    font-size: 18px;
    text-align: center;
}

.stories-container {
    display: grid;
    grid-template-rows: repeat(10, auto);
    grid-template-columns: repeat(5, 1fr);
    grid-auto-flow: column;
    gap: 6px;
    padding: 8px;
}

.stories-container a {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 5px 5px 5px 20px;
    font-size: 20px;
    color: black;
    padding: 12px;
    background-color: rgb(216, 245, 255);
    border: 1px solid rgb(132, 132, 255);
    border-radius: 5px;
}

.stories-container a:hover {
    background-color: rgb(121, 221, 255);
    border: 1px solid rgb(121, 221, 255);
}

@media (max-width: 1024px) {
    .stories-container {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(17, auto);
    }

    .stories-container a {
        font-size: 18px;
    }

}

@media (max-width:600px){
    .stories-container{
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(25, auto);
    }

    .stories-container a {
        font-size: 16px;
    }
}


.page-switch {
    display: flex;
    flex-direction: column;
    padding: 15px;
} 

.page-switch .upper-switch {
    padding: 20px;
}

.page-switch .upper-switch a {
    padding: 15px 40px;
    background-color: rgb(184, 233, 194);
    border-radius: 5px;
    margin-right: 10px;
    color: black;
}

.page-switch .lower-switch {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
}

.page-switch .lower-switch a {
    padding: 10px 30px;
    background-color: rgb(238, 218, 188);
    border-radius: 3px;
    margin-right: 15px;
    color: black;
}



/* Responsive Area */

@media (max-width: 1000px) {
    header h1 {
        font-size: 30px;
    }

    header h2 {
        font-size: 20px;
    }

    .notification p {
    font-size: 16px;
}
}


@media (max-width: 600px) {
    header h1 {
        font-size: 28px;
    }

    header h2 {
        font-size: 18px;
    }

    .notification p {
    font-size: 14px;
}
}







/* .

@media (max-width: 1000px) {

}


@media (max-width: 600px) {

}

. */