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

body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
}

/* LAYOUT */
#container {
    display: flex;
    min-height: 100vh;
}

/* SIDEBAR */
#sidebar {
    width: 220px;
    background: black;
}

.menu {
    list-style: none;
}

.nav-item {
    background: blue;
    color: white;
    padding: 15px;
    cursor: pointer;
    border-bottom: 1px solid black;
    width: 100%;
    display: block;
}

.nav-item:hover {
    background: goldenrod;
}

/* DROPDOWN */
.submenu {
    display: none;
    list-style: none;
    background: goldenrod;
}

.recent:hover .submenu {
    display: block;
}

.submenu li a {
    display: block;
    padding: 10px;
    color: blue;
    text-decoration: none;
}

.submenu li a:hover {
    background: blue;
    color: white;
}

/* MAIN CONTENT */
#content {
    flex: 1;
    padding: 30px;
}

/* HEADER */
#header {
    background: red;
    color: black;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

#header h1 {
    font-size: 3rem;
}

/* CENTER + BIG + BOLD TITLE (Recent Journal Articles) */
#content > h2 {
    text-align: center;
    font-family: "Times New Roman", Times, serif;
    font-size: 56px;
    font-weight: 800;
    margin: 25px 0 35px 0;
}

/* ARTICLES GRID */
.articles {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

/* ARTICLES */
.article {
    background: #f2f2f2;
    padding: 20px;
    color: #b5b5b5;
    transition: color 2s ease, transform 2s ease;
}

.article:hover {
    color: #333;
    transform: scale(1.05);
}

/* FIRST LETTER */
.article p::first-letter {
    font-family: "Times New Roman", serif;
    font-size: 36px;
}

/* GOOGLE ARROW */
.article a[href*="google"]::after {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 6px;
    background-image: url("https://upload.wikimedia.org/wikipedia/commons/6/6b/Arrow_right.svg");
    background-size: contain;
    background-repeat: no-repeat;
}

/* THANK YOU BOX */
#thank-you {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #8fd0f0;
    padding: 20px;
    border: 2px solid black;
    font-size: 24px;
}
