* {
    box-sizing: border-box;
    font-family: 'Futura';
}

body {
    margin: 0 auto;
    text-align: center;
    background-image: url('rainbow.png');
    background-position: 400px -300px;
    background-repeat: no-repeat;
}

iframe {
    visibility: hidden;
}

a {
    color: #289eb6;
    text-decoration: none;
    transition: color 0.5s ease-in-out;
}

a:hover {
    color: #f5406c;
    text-decoration: underline;
    transition: color 0.5s ease-in-out;
}

.meta {
    margin: 0;
    border-bottom: 1px solid #ccc;
}

.meta .author {
    display: inline-block;
    margin: 0;
    font-size: 18px;
    color: #ccc;
    padding: 5px 0;
}

.meta .published {
    float: right;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fcbd60;
    background: #0e212cdd;
    padding: 4px 7px;
}

.meta .tags {
    display: inline-block;
}

.meta .tags a {
    margin-right: 7px;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: #ffd466;
    padding: 4px 7px;
}

.meta .tags a::before {
    content: '#';
    color: #999;
}

.left,
.right {
    margin: 27px 0;
}

.left {
    float: left;
    margin-right: 27px;
}

.right {
    float: right;
    margin-left: 27px;
}

.muted {
    color: #999;
}

header {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

header figure {
    flex: 1 1 100%;
    text-align: center;
}

header img {
    width: 200px;
    order: 1;
    columns: 1;
}

header ul {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    margin: 0;
    padding: 27px;
    list-style: none;
    text-transform: uppercase;
    background: #0e212cdd;
}

header ul li {
    display: flex;
    flex-direction: row;
    margin: 0;
    min-width: 270px;
    text-align: center;
    letter-spacing: 2px;
}

header ul li:before,
header ul li:after {
    content: '';
    flex: 1 1;
    border-bottom: 1px solid #ccc;
    margin: 10px 7px;
}

main,
article {
    background: #ffffffdd;
    margin: 0 auto;
    padding: 27px;
    width: 80%;
    text-align: left;
}

main p,
article p {
    font-size: 22px;
    color: #000000bb;
}

main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 27px;
    padding: 27px;
}

main>a,
main>span {
    flex: 1 1 400px;
    position: relative;
    max-width: 100%;
    height: 300px;
    color: #fff;
    opacity: 0.97;
    transition: all 0.5s ease-in-out;
}

main a {
    cursor: pointer;
}

main>a:hover {
    opacity: 1;
    color: #0e212cdd;
    text-shadow: none;
    box-shadow: 1px 1px 10px #00000050;
    transition: all 0.25s ease-in-out;
}

main h1,
main p {
    width: 100%;
    margin: 0;
}

main h2 {
    position: absolute;
    bottom: 0;
    right: 0;
    margin: 0;
    padding: 12px;
    width: 90%;
    background: #ffd465dd;
    text-shadow: 1px 1px 7px #00000050;
}

article figure {
    margin: 27px 0;
    text-align: center;
}

article figure img {
    box-shadow: 1px 1px 10px #00000050;
}

article figure figcaption {
    color: #999;
}

footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    width: 100%;
    padding: 12%;
    padding-top: 27px;
    padding-bottom: 27px;
    background: #0e212cdd;
}

footer figure {
    width: 200px;
}

footer figure img {
    width: 100%;
}

footer div {
    display: flex;
    flex: 2;
    flex-direction: row;
    justify-content: end;
    margin-left: 30%;
}

footer ul {
    width: 50%;
    list-style: none;
    text-transform: uppercase;
}

footer ul li {
    display: flex;
    margin: 0;
    padding: 7px 0;
    text-align: left;
    letter-spacing: 2px;
}

footer a {
    display: flex;
}

footer a svg {
    width: 22px;
    margin-right: 7px;
    fill: #fff;
    vertical-align: middle;
}

footer a svg.instagram {
    fill: #FF0069;
}

footer a svg.youtube {
    fill: #FF0000;
}

footer a svg.tiktok {
    fill: #000000;
}

footer a svg.facebook {
    fill: #0866FF;
}

footer p {
    flex: 1 1 100%;
    text-align: left;
    color: #fff;
    margin-top: 27px;
}

@media screen and (max-width: 1200px) {
    header img {
        width: 100px;
    }

    header ul {
        flex-direction: column;
    }

    header ul li {
        padding: 7px;
    }

    .left,
    .right {
        margin: 27px 0;
    }

    main,
    article {
        width: 100%;
    }

    main a {
        max-width: 100%;
    }

    main span {
        display: none;
    }

    article p {
        width: 100%;
    }

    article figure {
        float: none !important;
        max-width: 800px;
    }

    article figure img {
        width: 100%;
    }

    footer {
        padding: 0;
    }

    footer figure {
        width: 100px;
    }

    footer div {
        margin: 0;
    }

    footer p {
        text-align: center;
    }
}