/* Contains style properties for blocks
To see global CSS classes, go to: style.css */

@media (orientation: portrait)  {
    #illustration {
        max-width: 100%;
    }
}

@media (orientation: landscape)  {
    #illustration {
        max-width: 40vw;
    }
}

#me {
    display: flex;

    line-height: 1;
}

#me h1 {
    margin-bottom: 0;
}

#media {
    margin-bottom: 2vh;
}

#media .item {
    margin: 0 1vw 0 1vw;
    padding: .5vw;
    background-color: var(--text-colour);
}

#media .item a {
    color: var(--background-colour);
    text-decoration: none;
}

#media .item a:hover {
    color: var(--background-colour-2);
}

#media .item:first-child {
    margin-left: 0;
}

#media .item:last-child {
    margin-right: 0;
}

#details {
    display: flex;
    width: 100%;
    margin-top: 5vh;
    border-top: .1vh black solid;
}

.article-head {
    background-color: var(--background-colour-3);
    padding: 1em;
}

.article-head div {
    min-width: 50%;
}

@media (orientation: landscape) {
    .article-head img {
        width: calc(50% - 1em);
        object-fit:contain;
    }
}

@media (orientation: portrait) {
    .article-head img {
        display: none;
    }
}

.article-head img {
    margin-left: 1em;
}

.article-content {
    padding-top: 1em;
    max-width: 45em;
}

.article p {
    line-height: 1.5em;
}

.article h1 {
    font-size: 2.5em;
    font-weight: bolder;
    text-align: center;
}

.article h2 {
    text-transform: uppercase;
    text-decoration: underline;
}

.article h3 {
    font-size: 1em;
    margin-top: 1em;
    margin-bottom: 0;
    text-align: center;
    color: var(--title-colour);
}

.article blockquote {
    border-left: solid 3px var(--title-colour);
    padding-left: 1vw;
    font-style: italic;
}

.article blockquote p {
    color: var(--title-colour);
    font-size: 1.5em;
}

.article .caption img {
    width: 100%;
}

.article .caption p {
    font-size: .8em;
}