


main {
    margin-left: 18em;
    padding: 0 0 1.25em 1.25em;
}

header {
    color: rgb(255, 255, 255);
    background: rgb(0, 255, 251);
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 12.5em;
    right: 0;
    height: 4.6875em;
    z-index: 1000;
}

h1 {
    text-align: center;
    margin-top: 5.6em;
    margin-bottom: 1.25em;
}

#menuItems {
    background: rgb(0, 255, 251);
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    padding: 1em;
    height: 100%;
    width: 11em;
}

#menuItems button {
    margin-bottom: 1.25em;
}

#menuItems button:hover {
    background: darkgray;
    color: white;
}

#jumpMenu{
    transition: height 2s, opacity 2s;
    list-style: none;
    overflow: hidden;
    height: 0px;
    width: 8.5em;
    opacity: 0;
    margin: 0px;
    padding: 0px;
}

#jumpMenu a {
    color: rgb(255, 0, 212);
    background: rgb(255, 173, 220);
    text-align: center;
    display: block;
    margin: 10% 0;
    padding-bottom: .6em;
}

#jumpMenu a:hover {
    background: rgb(130, 86, 111);
}

#recentArticles:hover + #jumpMenu,
#jumpMenu:hover {
    height: 30em;
    opacity: 1;
}

#container {
    display: flex;
    align-content: center;
    flex-wrap: wrap;
    flex-direction: row;
    grid-template-columns: repeat(auto-fit, minmax(20em, 1fr));
    display: grid;
    gap: 1em;
}

article {
    transition: color 2s, transform 2s;
    background: rgb(255, 255, 255);
    color: gray;
    transform: scale(1);
    padding: 1em;
}

article:hover {
    color: rgb(0, 0, 0);
    transform: scale(1.1);
}

article p:first-of-type::first-letter{
    font-family: 'Times New Roman', Times, serif;
    font-size: 36px;
}

a[href*="google.com"]::after {
    content: "";
    display: inline-block;
    width: 1.1em;
    height: 1.1em;
    margin-left: .1em;
    background-image: url("arrow.png");
    background-size: contain;
}

#thanks {
    background-color: rgb(255, 0, 191);
    color: rgb(255, 247, 0);
    position: fixed;
    right: 1em;
    bottom: 0em;
    font-size: 1.5em;
    padding: 1em;
}

footer {
    background: lightgray;
    text-align: center;
    margin-top: 1.9em;
    bottom: -5px;
    padding: 1.5em;
}