@media (orientation: portrait) {
    .overlay {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 1);
        color: white;
        justify-content: center;
        align-items: center;
        text-align: center;
        font-size: 1.5em;
        z-index: 1001;
    }
}

@media (orientation: landscape) {
    .overlay {
        display: none;
    }
}

body {
    font-family: Helvetica, sans-serif;
    background-color: white;
}

header {
    display: flex;
    align-items: center;
    background-color: white;
    position: fixed;
    height: 120px;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 1000;
    border-bottom: 10px solid crimson;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.logo {
    margin-left: 20%;
}

main {
    display: flex;
    padding-top: 125px;
}

.menu {
    padding: 0;
    width: 20%;
    background: none;
    height: fit-content;
    position: relative;
    text-align: center;
    left: 20%;
    margin-top: 75px;
}

.cults-exposed {
    width: 100%;
    height: auto;
    bottom: 0;
    padding-bottom: -3px;
}

nav {
    background-color: #f1f1f1;
    padding: 0;
    margin: 0;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    color: black;
}

nav ul li button {
    font-family: Helvetica, sans-serif;
    width: 100%;
    padding: 15px 10px 15px;
    font-size: 1em;
    background: none;
    border: none;
    border-bottom: 5px solid crimson;
    cursor: pointer;
    text-align: left;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.2;
}

nav ul li a {
    color: inherit !important;
    text-decoration: none;
}

nav ul li button:hover {
    color: crimson;
}

.content {
    width: 43%;
    padding: 20px;
    margin-left: 22%;
    margin-top: 55px;
    position: relative;
}

.content article {
    margin-bottom: 20px;
    line-height: 1.5;
}

.content p {
    font-size: 1.1em;
    margin-top: 0;
    z-index: 1;
}

.altruists {
    border-bottom: 17px solid crimson;
    padding-bottom: 15px;
}

.content h1 {
    font-size: 1.8em;
    color: black;
    font-weight: normal;
    margin-top: 0;
    white-space: below;
    word-wrap: normal;
    clear: both;
}

.content h2 {
    color: crimson;
    font-weight: normal;
    line-height: 1.3;
    margin-top: 0;
}

figure {
    padding: 0;
    width: 300px;
    text-align: center;
    float: right;
    margin: 20px 0 20px 20px;
    z-index: 1;
}

figure img {
    max-width: 100%;
    height: auto;
    float: right;
}

.ads {
    margin-top: 25px;
}

.ads img {
    border: 5px solid gray;
    width: calc(100% - 10px);
    margin-bottom: 10px;
}

.ads img.last {
    margin-bottom: auto;
}

.small-margin {
    margin-bottom: 5px;
}