html {
    height: 100%;
}

body {
    position: relative;
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family: filson-pro, sans-serif;
    color: #231f20;
    background-color: #fff;
    overflow-x: hidden;
}

body::before,
body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    pointer-events: none;
    z-index: -1;
    background-image: url('../img/widget-border.png');
    background-repeat: no-repeat;
    background-size: 125px auto;
    background-position: top right;
}

body::after {
    transform: rotate(180deg);
}

.visually-hidden {
    width: 1px;
    height: 1px;
    position: absolute;
    top: auto;
    left: -9999px;
    overflow: hidden;
}

header {
    padding: 20px 20px 10px;
}

header .logo {
    width: 100%;
    height: auto;
    max-width: 280px;
}

main {
    padding: 0 20px 20px;
}

.intro {
    margin: 0 0 15px;
    padding: 10px 15px;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 700;
    color: #330072;
    background-color: #fff5d7;
}

.links ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.links ul li {
    margin: 0 0 15px;
}

.links ul li:last-child {
    margin-bottom: 0;
}

.links a {
    display: block;
    margin: 0;
    padding: 8px 10px;
    font-size: 17px;
    font-weight: 500;
    color: #ffe18d;
    background-color: #5e4298;
    text-decoration: none;
    text-align: center;
    transition-property: background-color;
    transition-timing-function: ease;
    transition-duration: .2s;
}

.link-icon {
    display: inline-block;
    width: 10px;
    height: 14px;
    margin-bottom: -1px;
    margin-left: 10px;
    background-image: url('../img/link-icon.svg');
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: left center;
    transition-property: transform;
    transition-timing-function: ease;
    transition-duration: .2s;
}

.links a:hover,
.links a:focus,
.links a:active {
    background-color: #7353b5;
}

.links a:hover .link-icon,
.links a:focus .link-icon,
.links a:active .link-icon {
    transform: translateX(3px);
}

.links .urgent-help {
    color: #fff;
    background-color: #cc1e3f;
}

.links .urgent-help .link-icon {
    filter: brightness(0) invert(1);
}

.links .urgent-help:hover,
.links .urgent-help:focus,
.links .urgent-help:active {
    background-color: #8a1538;
}