body {
    margin: 0;
    background: center / cover no-repeat url(/images/back.jpg);
    font-family: "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    width: 100vw;
    height: 100vh;
}

.container {
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
    max-width: 290px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: transparent;
}

a {
    border-radius: 5px;
    background-color: #ff0000;
    border: none;
    padding: 14px 28px;
    text-decoration: none;
    position: relative;
}

#main-loan-button {
    min-width: 12em;
    min-height: 1em;
}

a:after {
    content: 'Перейти сразу';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-top: 14px;
    color: white;
    font-size: 14px;
    font-weight: bold;

}

a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    background: #37474f;
    opacity: 0;
    transform: scale3d(0.3, 1, 1);
    transition: transform 0.4s, opacity 0.4s;
    transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}

a:hover::before {
    opacity: 1;
    transform: scale3d(1, 1, 1);
    transition: transform 1s, opacity 1s;
    transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}

p {
    max-width: 280px;
    text-align: center;
    line-height: 1.5;
    color: #ffffff;
    box-sizing: border-box;
}

.header {
    font-size: 18px;
    margin-bottom: 0px;
}

.sub {
    font-size: 16px;
}

.time {
    width: 150px;
    height: 150px;
    background-color: #fff;
    border-radius: 50%;
    border: 4px solid #a32016;
    margin-bottom: 10px;
    margin-top: 30px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    color: #a32016;
}