@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
}

.noScroll,
html.noScroll {
    overflow: hidden;
}

.liquidGlass {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* ############################## logo & title ############################## */

.blogMenu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin: 0 auto;
    width: 95%;
    height: 80px;
}

.blogMenu div {
    margin: 9px 0 0 0;
    padding: 0;
}

.blogMenu a {
    cursor: pointer;
}

.blogMenu img {
    height: 40px;
    width: 44px;
}

/* nav */
#menuBarsContainer {
    display: inline-block;
    cursor: pointer;
    margin: 0;
}

#menuBarsContainer .menuBar3 {
    margin: 0;
}

#menuBarsContainer .menuBar2 {
    margin: 4px 0;
}

#menuBarsContainer .menuBar1 {
    margin: 0;
}

.menuBar1,
.menuBar2,
.menuBar3 {
    width: 25px;
    height: 4px;
    background-color: #333;
    margin: 0;
    transition: 0.4s;
}

.change .menuBar1 {
    transform: translate(0, 9px) rotate(-46deg);
}

.change .menuBar2 {
    opacity: 0;
}

.change .menuBar3 {
    transform: translate(0, -7px) rotate(44deg);
}

nav {
    position: fixed;
    top: 80px;
    right: 0;
    width: 200px;
    height: calc(100vh - 60px);
    background-color: rgb(13, 13, 174);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    padding: 30px 0;
    box-sizing: border-box;
    z-index: 101;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.navIsOpen {
    transform: translateX(0);
}

.navPageLink {
    color: yellow;
    text-decoration: none;
    font-size: 120%;
    font-weight: 500;
}

.navPageLink:hover {
    color: white;
}

#biggerScreenMenu {
    display: none;
}

/* ############################## blog cards ############################## */

#blogContainer {
    width: 90%;
    margin: 20px auto;
    display: grid;
    gap: 20px;
}

#blogContainer .blogCard {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

#blogContainer .blogCard:hover {
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

.allTextContainer {
    position: absolute;
    bottom: 0;
    font-size: 90%;
    padding: 0 10px 10px 10px;
}

.blogCardDateClubDiv {
    display: flex;
    justify-content: space-between;
    color: red;
    margin: 5px 0 0 0;
    font-weight: 300;
    font-size: 90%;
}

.allTextContainer h2 {
    margin: 5px 0;
    padding: 0;
    font-size: 130%;
}

.allTextContainer p {
    margin: 0;
    padding: 0;
}

.allTextContainer button {
    background-image: linear-gradient(92.88deg, #6278f3 9.16%, #3d59fc 43.89%, #0026ff 64.72%);
    box-shadow: rgba(0, 0, 255, 0.5) 0 1px 10px;
    border-radius: 10px;
    border-style: none;
    box-sizing: border-box;
    color: yellow;
    cursor: pointer;
    flex-shrink: 0;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    height: fit-content;
    text-align: center;
    text-shadow: rgba(0, 0, 0, 0.25) 0 3px 8px;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    padding: 0.5rem 0.7rem;
}

.allTextContainer button:hover {
    background-image: linear-gradient(92.88deg, rgb(245, 245, 153) 9.16%, rgb(249, 249, 43) 43.89%, yellow 64.72%);
    box-shadow: rgba(0, 0, 255, 0.5) 0 1px 30px;
    color: #0026ff;
    cursor: pointer;
}

.allTextContainer button span {
    margin-left: 10px;
}

/* ########################################## MEDIA QUERIES ########################################## */

/* For larger phones and smaller tablets */
@media (min-width: 480px) {
    .blogMenu {
        width: 90%;
    }

    .blogMenu div {
        margin: 11px 0 0 0;
    }

    #blogContainer {
        gap: 25px;
        width: 85%;
        margin: 30px auto;
    }

    .allTextContainer {
        font-size: 100%;
        padding: 0 20px 20px 20px;
    }

    .blogCardDateClubDiv {
        font-size: 100%;
    }

    .allTextContainer h2 {
        font-size: 150%;
    }
}

/* For tablets and small laptops */
@media (min-width: 768px) {

    .blogMenu div {
        margin: 14px 0 0 0;
    }

    .blogMenu img {
        height: 48px;
        width: 52px;
    }

    #blogContainer {
        gap: 25px;
        width: 80%;
        margin: 30px auto;
        grid-template-columns: repeat(2, 1fr);
    }

    .blogCardDateClubDiv {
        font-size: 95%;
    }

    .allTextContainer h2 {
        font-size: 130%;
    }
}

/* For desktops and large screens */
@media (min-width: 1024px) {
    .blogMenu div {
        margin: 15px 0 0 0;
    }

    /* hiding small screen menu */
    #menuBarsContainer {
        display: none;
    }

    /* displaying bigger screen menu */
    #biggerScreenMenu {
        display: flex;
        justify-content: space-between;
        width: 450px;
        font-size: 110%;
        font-weight: 600;
        text-decoration: none;
    }

    #biggerScreenMenu a {
        text-decoration: none;
        color: #0026ff;
        cursor: pointer;
    }

    #biggerScreenMenu a:visited {
        text-decoration: none;
        color: #0026ff;
        cursor: pointer;
    }

    #biggerScreenMenu a:hover {
        text-decoration: none;
        color: rgba(0, 38, 255, 0.4);
        cursor: pointer;
    }

    #blogContainer {
        grid-template-columns: repeat(3, 1fr);
    }

    .blogCardDateClubDiv {
        font-size: 85%;
    }

    .allTextContainer h2 {
        font-size: 120%;
    }
}

/* xl screens */
@media (min-width: 1366px) {

    .blogMenu img {
        height: 52px;
        width: 56px;
    }

    #biggerScreenMenu {
        width: 550px;
    }

    #blogContainer {
        grid-template-columns: repeat(4, 1fr);
    }
}