* {
    box-sizing: border-box;
}

html, body {
    padding: 0;
    margin: 0;
}

body {
    width: 100%;
    height: 100vh;
    font-family: "Open Sans", serif;
    font-size: 1em;
    overflow-x: hidden;
    overflow-y: scroll;
    background-image: url('http://wowtop.ru/images/bg.jpg');
    background-color: #211510;
    background-repeat: repeat;
    color: #ebdec2;
}

main {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px;
}

.expansion-card {
    display: inline-block;
    width: calc((100% - 200px)/3);
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 7px;
    margin-right: 100px;
    margin-bottom: 100px;
    box-shadow: 0 0 20px rgba(0, 0, 0, .1);
    overflow: hidden;
}
.expansion-card.active {
    border-color: orange;
    box-shadow: 0 0 20px rgba(255, 165, 0, .25);
}

.expansion-card:nth-of-type(1),
.expansion-card:nth-of-type(2) {
    width: calc((100% - 100px)/2);
    aspect-ratio: 4/3;
}

.expansion-card.wotlk {
    background-image: url('https://lichking.ru/images/lichking.webp');
    background-size: auto 100%;
}

.expansion-card:nth-of-type(3n + 2) {
    margin-right: 0;
}

.expansion-card div:first-of-type {
    width: 100%;
    aspect-ratio: 3/2;
    display: flex;
    text-align: center;
    vertical-align: middle;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .3);
}

.expansion-card:nth-child(1) div:first-of-type,
.expansion-card:nth-child(2) div:first-of-type {
    aspect-ratio: 16/9;
}

.expansion-card div:first-of-type span {
    display: inline-block;
    width: 100%;
    font-size: 200%;
    line-height: 133%;
    font-weight: bold;
    color: white;
    text-shadow:
        0 0 3px rgba(0, 0, 0, 1),
        0 0 5px rgba(0, 0, 0, 0.75),
        0 0 10px rgba(0, 0, 0, 0.5)
    ;
}

.expansion-card div:last-child {
    width: 100%;
    aspect-ratio: 3;
    padding: 20px;
    display: flex;
    text-align: center;
    justify-content: center;
    vertical-align: middle;
    align-items: center;
    background: rgba(0, 0, 0, .75);
}

.expansion-card:nth-child(1) div:last-child,
.expansion-card:nth-child(2) div:last-child {
    aspect-ratio: 16/3;
}

.expansion-card div:last-child span {
    width: 100%;
    text-align: center;
    font-weight: bold;
    font-size: 120%;
}

a.button {
    padding: 10px 20px;
    background-color: orange;
    color: black;
    text-decoration: none;
    border-width: 2px;
    border-style: solid;
    border-radius: 5px;
    border-color: transparent;
    white-space: nowrap;
}

a.button:hover {
    color: white;
    background-color: #0e5cbe;
    border-color: transparent;
}

a.muted-button {
    background-color: rgba(0, 0, 0, .33);
    color: white;
    border-color: orange;
}