/*
Theme Name: Acid Eaters
Author: Martin Brommer
Description: Classic theme recreating the layout of the original acideaters.com (2006-2008) band site.
Version: 1.1
Requires at least: 7.1
Requires PHP: 8.1
Text Domain: acid-eaters
*/

* {
    box-sizing: border-box;
}

body {
    background-color: #454545;
	background-image: url(img/sidebar-tail.png), url(img/sidebar-tail-left.png);
    background-repeat: repeat-y, repeat-y;
    background-position-y: top, top;
	background-position-x: calc(50% - 265px), calc(50% + 425px);

    color: #E8E8E8;
    font-family: arial, verdana, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    padding: 20px 16px 40px;
}

a,
a:visited {
    color: #99CC33;
    text-decoration: none;
}

a:hover,
a:focus,
.current {
    color: #B86ED4;
}

a:focus-visible {
    outline: 2px solid #99CC33;
    outline-offset: 2px;
}

strong {
    color: #99CC33;
    font-weight: normal;
}

.label {
    color: #99CC33;
}

.tinyText {
    font-size: 0.8rem;
}

/* ---------- site grid ---------- */

.site {
    max-width: 780px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 251px 1fr;
    grid-template-areas:
        "logo    logo"
        "sidebar nav"
        "sidebar main";
    align-items: start;
}

.site-logo {
    grid-area: logo;
    display: block;
    height: auto;
    margin: 0;
}

.site-sidebar {
    grid-area: sidebar;
    background-image: url(img/girl.jpg);
    background-repeat: no-repeat;
    background-position: top center;
    min-height: 400px;
    align-self: stretch;
}

.site-nav {
    grid-area: nav;
    
    padding-bottom: 10px;
}

.menuList {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 0;
}

.menuList li {
    display: inline;
}

.menuList li:not(:last-child)::after {
    content: "::";
    margin-left: 4px;
    margin-right: 4px;
    color: #99CC33;
}

.site-main {
    grid-area: main;
}

/* ---------- content box ---------- */

.contentContainer {
    background-color: #616161;
    border: 1px solid #99CC33;
    min-height: 372px;
}

.contentDiv {
    padding: 10px 14px 20px;
    overflow: auto;
}

h3.title {
    color: #99CC33;
    font-weight: normal;
    font-size: 1.1rem;
    margin-top: 10px;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

h3.subtitle {
    color: #99CC33;
    font-weight: normal;
    font-size: 1.05rem;
    margin-top: 0;
    margin-bottom: 8px;
}

.headsUp {
    margin-bottom: 14px;
}

/* ---------- random heads box ---------- */

.divWithHeads {
    float: right;
    display: grid;
    grid-template-columns: repeat(2, 71px);
    gap: 6px;
    margin: 0 0 12px 12px;
}

.head {
    border: 1px solid #99CC33;
    width: 71px;
    height: 70px;
    background-color: #454545;
    overflow: hidden;
}

.head img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- responsive: collapse to a single column ---------- */

@media (max-width: 780px) {
    .site {
        grid-template-columns: 1fr;
        grid-template-areas:
            "logo"
            "nav"
            "main";
    }

    .site-sidebar {
        display: none;
    }

    .site-logo {
        max-width: 100%;
        margin-bottom: 12px;
    }

    .divWithHeads {
        float: none;
        justify-content: center;
        margin: 0 auto 14px;
    }
}
