@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
* {
    font-family: "Montserrat", sans-serif;
}
.btn {
    padding: .8rem;
    text-transform: uppercase;
    border-radius: 4rem;
    color: white;
    font-weight: 600;
}
.btn:hover {
    color: white;
}
.alert {
    background: rgba(233, 221, 81, 0.986) center;
    text-align: left;
    font-size: 10px;
    padding: .8rem;
    transition: 0.1s ease-in-out;
}
body {
    background-color: rgb(254, 255, 245);
    margin-top: 3rem;
    margin-bottom: 3rem;
    margin-left: 5%;
    margin-right: 5%;
}
header img {
    display: block;
    margin-right: auto;
    margin-left: auto;
    transition: 0.2s ease-in-out;
}
header img:hover {
    transform:scale(1.05)
}
nav ul {
    text-align: center;
    padding: 1rem 1rem 1rem 1rem;
    background-color: #a2e4df;
    list-style-type: none;
    margin-bottom: 0rem;
}
nav li {
    display: inline-block;
    margin: 1rem 3rem .5rem;
    padding: 0.1rem;
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
}
a:link, a:visited {
    color: black;
    text-decoration: none;
}
section {
    display: flex;
    padding: 10px;
    justify-content: center;
}
article {
    flex: 1;
}
.mainAd {
    text-align: center;
    align-content: center;  
    color: rgb(247, 247, 237);
    padding-top: 0rem;
    height: 100%;
    max-height: 100%;
    background: url(/Lucky-Shrub-logos/banner.png) no-repeat center/cover;
}
.mainAd article {
    margin: auto 30px auto 30px;
    font-size: 1.2rem;
    border-radius: .5rem;
    padding: 10px;
    width: 100%;
    max-width: 500px;
    justify-content: center;
}
.mainBlog {
    padding: 50px 10px 10px 10px;
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.mainBlog > article {
    flex-basis: 50rem;
    max-width: 20rem;
    padding: 10px;
    transition: 0.2s ease-in-out;
}
.mainBlog > article:hover {
    filter: drop-shadow(0 0 0.75rem black);
    background-color: rgb(1, 70, 1);
    color: white;
}
.mainBlog article img {
    width: 100%;
}
.mainBlog article p {
    font-weight: 350;
}
.mainBlog .promo {
    width: 100%;
    max-width: 10rem;
    height: 2rem;
    max-height: 100%;
    align-items: center;
    position: absolute;
    color: black;
    background-color: #fdff88;
}
@media screen and (max-width: 600px) {
    .mainBlog {
        gap: 1.5rem;
    }
    .alert {
        display: none;
    }
}
footer {
    display: flex;
    align-items: left;

}
footer div {
    flex: 1;
}