@keyframes downUp {
    from {
        transform: translateY(-40px);
    }
    to {
        transform: translateY(-50px);
    }
}

@keyframes upDown {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(10px);
    }
}

* {
    box-sizing: border-box;
}

html, body {
    font-family: sans-serif;
}

body {
    margin: 0;
}

.page {
    min-height: 100vh;
    /* background-color: #f2f2f2; */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.page-hero {
    padding: 60px 40px 20px;
    /* border: 4px solid #8A1E00;
    border-radius: 10px; */
}

.logo {
    display: block;
    max-width: 300px;
}

h1 {
    font-family: "Encode Sans Condensed", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 24px;
    text-align: center;
    margin: 0;
    color: #009aa4;
}

h1 .name {
    text-transform: unset;
    color: #1a1a1a;
}

h1 .label {
    text-transform: uppercase;
}

.page__inner {
    width: 100%;
    padding: 60px 40px;
    max-width: 1024px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.screens {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
}

.screens .screen {
    position: relative;
    max-height: 600px;
    transition: 1s;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-direction: alternate;
}

.screens .main {
    z-index: 10;
    left: -45px;
    animation-name: upDown;
}

.screens .dashboard {
    z-index: 1;
    right: -45px;
    animation-name: downUp;
}

@media only screen and (max-width: 768px) {
    .screens .screen {
        max-height: 400px;
    }

    .screens .main {
        left: -35px;
    }

    .screens .dashboard {
        right: -35px;
    }
}

@media only screen and (max-width: 525px) {
    .page__inner {
        padding: 40px 20px;
    }

    .screens .screen {
        max-height: 360px;
        max-width: 100%;
    }

    h1 {
        margin-top: 10px;
    }
}

