/* ===========================================
   Penguin.co
   2005 Style
=========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#d9d9d9;
    font-family:Tahoma, Verdana, Arial, sans-serif;
    font-size:13px;
    color:#222;
}

a{
    color:#003399;
    text-decoration:none;
}

a:hover{
    text-decoration:underline;
}

#wrapper{
    width:1000px;
    margin:20px auto;
    background:#ffffff;
    border:1px solid #808080;
}

/* ================= HEADER ================= */

header{
    padding:15px;
    border-bottom:1px solid #bdbdbd;
}

#navbar{
    margin-bottom:15px;
}

#navbar a{
    display:inline-block;
    padding:5px 12px;
    margin-right:6px;
    background:#ececec;
    border:1px solid #999;
    color:#000;
}

#navbar a:hover{
    background:#dcdcdc;
}

#logo{
    text-align:center;
    font-size:34px;
    font-weight:normal;
    color:#444;
}

/* ================ SLIDESHOW ================ */

#slideshow{
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
}

#previous,
#next{

    width:40px;
    height:40px;

    font-size:22px;

    border:1px solid #888;

    background:#eeeeee;

    cursor:pointer;
}

#previous:hover,
#next:hover{

    background:#dcdcdc;
}

#slideLink{

    margin:0 15px;
}

#slideImage{

    width:650px;
    height:280px;

    border:1px solid #888;

    object-fit:cover;

    display:block;
}

/* ============== BUTTON ROW ================ */

#buttonRow{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:10px;

    padding:10px 20px 25px;
}

#buttonRow a{

    display:block;
}

#buttonRow img{

    width:64px;
    height:64px;

    border:1px solid #888;

    background:#f4f4f4;

    image-rendering:auto;

    transition:.15s;
}

#buttonRow img:hover{

    border-color:#003399;

    transform:translateY(-2px);
}

/* ============== LOWER AREA ================= */

#bottom{

    display:grid;

    grid-template-columns:2fr 1fr;

    gap:20px;

    padding:20px;
}

/* Left */

#featuredContainer{

    border:1px solid #999;

    padding:10px;

    background:#f8f8f8;
}

#featuredImage{

    width:100%;

    height:300px;

    object-fit:cover;

    display:block;

    border:1px solid #999;
}

/* Right */

#communityPanel{

    display:flex;

    flex-direction:column;

    gap:20px;
}

.communityBox{

    border:1px solid #999;

    padding:10px;

    background:#f8f8f8;
}

.communityBox h2{

    text-align:center;

    font-size:15px;

    margin-bottom:10px;

    font-weight:bold;
}

.communityBox img{

    width:100%;

    height:120px;

    border:1px solid #888;

    object-fit:cover;

    display:block;
}

/* ================= FOOTER ================= */

footer{

    border-top:1px solid #bdbdbd;

    background:#efefef;

    text-align:center;

    padding:12px;

    margin-top:20px;
}

footer p{

    color:#666;
}

/* ================= LINKS ================= */

img{

    user-select:none;

    -webkit-user-drag:none;
}

/* Optional XP-style button press */

button:active{

    transform:translateY(1px);
}