@media (max-width:576px) and (orientation: portrait) {
    /* Light blue area: contains page title, messages */
    .inner-header {
        width: 100%;
        height: auto;
        border-radius: .8rem;
        margin-top: -3rem;
        padding: 1rem;
        margin-bottom: 1rem;
        color: #020203;
    }
    h1.page-title {
        font-size: 1.8rem;
    }
    h2.message-join {
        font-size: 1.4rem;
    }
    .message-detail {
        font-size: .8rem
    }
    .steps>li {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    .grid {
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 1rem;
    }
    /* Placeholder */
    .event.placeholder {
        min-height: 70vw;
        background-size: cover;
        display: none;
    }
    .event-header {
        font-size: 1.05rem;
    }
    .btn-event {
        padding: .5rem 0 .4rem 0;
        margin: .3rem;
        width: 8.5rem;
        font-size: 1rem;
    }
    /* =========================== */
    /* Social, Subscription etc */
    .social {
        padding: 1rem;
        border-radius: 1rem 1rem 0 0;
    }
    .social .col-sm-6 {
        padding: 0;
    }
    .social-title {}
    .subscribe, .join-us {
        width: 100%;
        height: 100%;
        margin: 0;
    }
    .subscribe {
        float: left;
        border-radius: 0;
        padding: 1rem;
    }
    .txt-subscribe {
        font-size: 1rem;
        line-height: 1.25em;
        font-weight: 500;
        text-align: right;
        text-transform: uppercase;
        margin-bottom: 0;
        float: right;
    }
    .btn-subscribe img {
        width: auto;
        height: 3.75rem;
        float: right;
        margin-left: 1rem;
        margin-right: calc(50% - 8rem);
    }
    /* Social exits */
    .join-us {
        float: none;
        padding-top: 1.5rem;
        border-radius: 0;
    }
    .join-us h5 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    .social-exit {
        display: inline-block;
    }
    .social-icon {
        width: auto;
        height: 2.5rem;
        margin: 0 1rem 1rem 1rem;
    }
    /* =========================== */
    /* Footer */
    footer {
        background: var(--blue);
        color: #fff;
        padding: 1rem;
        text-align: center;
        font-size: .83rem;
    }
    .stay-safe-message {
        font-size: 1.5rem;
    }
    .footer-legal a {
        color: var(--light-blue)
    }
    .footer-uni {
        width: 8rem;
    }
    .footer-copyright {
        font-size: .6rem;
    }

    .legal{
        font-size: xx-small;
    }
    .legal a{
        /* display: block; */
        margin: 0.15rem;
    }
}

@media (max-device-width: 767.98px) and (orientation: landscape) {
    /* @media only screen and (min-device-width: 480px) and (max-device-width: 640px) and (orientation: landscape) { */
    html, body {
        overflow: hidden;
    }
    body::before {
        content: '';
        position: fixed;
        display: block;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: url(../img/rotate-device.jpg) no-repeat center/cover;
        pointer-events: none;
        z-index: 999;
    }
}