:root {
    --vp-width-mobile: 100vw;
    --vp-height-mobile: 100vh;
    --vp-width-desktop: 700px;
    --vp-height-desktop: 550px;
}

body {
    font-family: sans-serif;
    background-color: #222;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.viewport {
    width: var(--vp-width-mobile);
    height: var(--vp-height-mobile);
    overflow: hidden;
    position: relative;
    background-color: #4569a7;
    color: #fff;
    border-radius: 7px;
}

.v {
    display: flex;
    flex-direction: column;
    position: absolute;
    width: var(--vp-width-mobile);
    left: 0;
    top: 0;
}

.h {
    display: flex;
    height: var(--vp-height-mobile);
    position: absolute;
    left: 0;
    top: 0;
}

.c {
    width: var(--vp-width-mobile);
    height: var(--vp-height-mobile);
    position: relative;
    padding: 2rem;
    background-color: #4569a7;
    z-index: 1;
}

a:link, a:visited {
    color: white;
}

.c > a.next, .c > a.prev {
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    background-image: url(down.svg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
}

.h > .c > a.next {
    transform: rotate(-90deg);
    bottom: 1rem;
    right: 1rem;
}

.h > .c > a.prev {
    transform: rotate(90deg);
    bottom: 1rem;
    left: 1rem;
}

.v > .c > a.next {
    bottom: 1rem;
    right: 1rem;
}

.v > .c > a.prev {
    transform: rotate(180deg);
    top: 1rem;
    right: 1rem;
}

.top-right {
    transform: rotate(180deg) !important;
    top: 1rem !important;
    right: 1rem !important;
    bottom: auto !important;
    left: auto !important;
}


h1 {
    font-size: 1.8rem;
}

h2 {
    font-size: 1.4rem;
}

.icon-1 {
    height: 4rem;
    max-width: 90%;
}

@media (min-width: 767.98px) {

    .viewport {
        width: var(--vp-width-desktop);
        height: var(--vp-height-desktop);
    }

    .c {
        width: var(--vp-width-desktop);
        height: var(--vp-height-desktop);
    }

    .v {
        width: var(--vp-width-desktop);
        top: calc(--vp-height-desktop + 1px);
    }

    .h {
        var(--vp-height-desktop);
    }
}