.banner {
    background-image: url("../img/Optimised/Blog/banner-image.jpg");
    background-repeat: no-repeat;
    background-position: center;
    height: 95vw;
    max-height: 1108px;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 1366px) {
    .banner {
      background-image: url("../img/Optimised/Blog/1366/banner-image.jpg");
    }
  }
  @media (max-width: 768px) {
    .banner{
      background-image: url("../img/Optimised/Blog/768/banner-image.jpg");
    }
  }

.banner-text {
    padding: 1rem 3rem;
    font-family: Philosopher;
    color: white;
    font-size: clamp(2rem, 5vw, 520%);
    backdrop-filter: blur(4px);
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 5px;
}

.blog-list-container {
    width: 75%;
    margin: 3em auto;
}

.blog-list-container > h2 {
    font-family: Philosopher;
    font-size: 1.8em;
    text-transform: uppercase;
    margin: 1rem 0;
}

.blog-card {
    padding: 2rem;
    margin-left: -1em;
    overflow: auto;
    position: relative;
    padding-bottom: 2em;
    margin-bottom: 2em;
    user-select: none;
    cursor: pointer;
    border-radius: 5px;
    color: black;
    transition: 0.3s;
}

.blog-card:hover {
    box-shadow: 0px 0px 20px 3px lightgray;
}

.blog-card::after {
    content: "";
    position: absolute;
    width: 85%;
    height: 1px;
    background-color: var(--gray);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.blog-card > img {
    float: left;
    margin-right: 2em;
    margin-bottom: 1em;
}

.blog-card > .title {
    font-family: Philosopher;
    font-size: 1.6em;
    font-weight: bold;
    display: block;
    margin-bottom: 1rem;
}

.blog-card p {
    margin-bottom: 2em;
    font-family: "Open sans";
    font-weight: 400;
}

.blog-card button.secondary {
    margin-left: auto;
    font-size: 1em;
    font-weight: bold;
    align-self: flex-end;
}

.blog-footer {
    display: flex;
}

.blog-footer > img {
    margin: 1em;
    width: 11%;
    border-radius: 50%;
}

.blog-footer > span {
    font-family: "Open sans";
    padding: 1em;
    box-sizing: border-box;
}

.blog-footer .key {
    font-style: italic;
}

.blog-footer .value {
    font-weight: bold;
}

#check {
    display: none;
}

.checkbtn {
    font-size: 30px;
    color: var(--green);
    float: right;
    line-height: 64px;
    margin-right: 40px;
    /* display: none;  */
}

button.primary {
    color: white;
    background-color: var(--green);
    border: 1px solid var(--green);
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    height: 2em;
    padding: 1em 0.5em;
    box-sizing: border-box;
    align-items: center;
    justify-content: space-evenly;
    min-width: 200px;
}

button.secondary {
    color: var(--green);
    background-color: transparent;
    border: 1px solid var(--green);
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    height: 2em;
    padding: 1em 0.5em;
    box-sizing: border-box;
    align-items: center;
    justify-content: space-evenly;
    min-width: 200px;
}
@media screen and (max-width: 494px) {
    .blog-footer > img {
        margin: 1em;
        width: 21%;
        border-radius: 50%;
        height: 57px;
    }
}
