* {
    margin: 0;
    padding: 0;
    border: none;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

a, a:hover, a:focus, a:visited {
    /*color: white;*/
    text-decoration: none;
}

html {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-weight: bold;
    line-height: 1.4;
    color: white;
    text-transform: uppercase;
}

.inc {
    font-size: 130%;
}
.dec {
    font-size: 90%;
}

.layout {
    font-size: 80%;
}

@media screen and (min-width: 375px) {
    .layout {
        font-size: initial;
    }
}

video {
    object-fit: cover;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: #301b7a;
}

.layout {
    position: relative;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.layout__item {
    padding: 10px;
    text-align: justify;
    text-align-last: justify;
}

.header {
    text-align: center;
    text-align-last: center;
    background: rgba(114, 71, 148, .8);
}
.footer {
    background: rgba(61, 35, 80, .8);
}

.footer {
    text-align: center;
    text-align-last: center;
}

.logo {
    width: 100%;
    margin: 0 auto;
}

.buttons {
    flex-grow: 1;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.btn {
    color: white;
    text-decoration: none;
    text-align: center;
    text-align-last: center;
    background: #333;
    width: 256px;
    padding: 10px;
    margin: 10px;
    border: white solid 1px;
}

.text-wrapper {
    max-width: 355px;
    margin-right: auto;
    margin-left: auto;
}

.tel {
    color: deepskyblue;
}

/* https://codepen.io/jeffdfarr/pen/gejrdx */
.phone svg {
    width:18px;
    height:18px;
    float:left;
    margin-top:2px;
    /*margin-right:10px;*/
}
.phone svg path {
    fill: #ffffff;
}
.phone svg path:nth-child(2) {
    -webkit-animation: header-phone 1s infinite cubic-bezier(.1, .57, .5, 1);
    animation: header-phone 1s infinite cubic-bezier(.1, .57, .5, 1);
}
.phone svg path:nth-child(3) {
    -webkit-animation:header-phone2 1s infinite cubic-bezier(.1, .57, .5, 1);
    animation:header-phone2 1s infinite cubic-bezier(.1, .57, .5, 1);
}

/* Animate phone */

@-webkit-keyframes header-phone {
    0%,30% {opacity:0; -webkit-transform:translate3d(-20px, 20px, 0); transform:translate3d(-20px, 20px, 0)}
    80% {opacity:1; -webkit-transform:translate3d(0, 0, 0); transform:translate3d(0, 0, 0)}
    100%{opacity:0}}
@keyframes header-phone {
    0%,30%{opacity:0; -webkit-transform:translate3d(-20px, 20px, 0); transform:translate3d(-20px, 20px, 0)}
    80%{opacity:1; -webkit-transform:translate3d(0, 0, 0); transform:translate3d(0, 0, 0)}
    100%{opacity:0}}
@-webkit-keyframes header-phone2 {
    0%{opacity:0; -webkit-transform:translate3d(-20px, 20px, 0); transform:translate3d(-20px, 20px, 0)}
    70%,90%{opacity:1; -webkit-transform:translate3d(0, 0, 0); transform:translate3d(0, 0, 0)}
    100%{opacity:0}}
@keyframes header-phone2 {
    0%{opacity:0; -webkit-transform:translate3d(-20px, 20px, 0); transform:translate3d(-20px, 20px, 0)}
    70%,90%{opacity:1; -webkit-transform:translate3d(0, 0, 0); transform:translate3d(0, 0, 0)}
    100%{opacity:0}}
