.ifont {
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid white;
}

.nav-link {
    transition: 0.4 linear;

    >a {
        &:hover {
            color: hsl(213.8deg 56.8% 50.98%) !important;
        }
    }
}

.main {
    background: url(img/hero-banner.jpg);
    width: 100%;
    height: 100vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    padding-top: 150px;

    &::before {
        content: '';
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background-color: rgba(0, 0, 0, 0.614);
        z-index: 0;
    }
}

header,
section {
    position: relative;
    z-index: 2;
}

@media (min-width: 992px) {
    .mysec2 {
        height: 50vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

.mysec3 {
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-link.hover-bg-light {
    transition: 0.3s;
    z-index: 10;
}

.nav-link.hover-bg-light:hover {
    color: hsl(213.8deg 56.8% 50.98%) !important;
}

.myfoot {
    width: 230px;
    height: 230px;
    position: fixed;
    right: 40px;
    bottom: 40px;
    z-index: 100;

    &:hover {

        >img,
        &::before {
            animation-play-state: paused;
        }

        >figcaption {
            bottom: -30px;
            opacity: 1;
        }

        >a {
            right: 150%;
        }
    }

    >img,
    &::before {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }

    >img {
        object-fit: cover;
        animation: fancy1 ease-out infinite alternate 5s;
    }

    &::before {
        content: '';
        background-color: mediumorchid;
        animation: fancy2 ease-out infinite alternate 5s;
    }

    >figcaption {
        position: absolute;
        width: 100%;
        text-align: center;
        font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
        font-size: 23px;
        text-transform: capitalize;
        left: 0;
        bottom: 0;
        opacity: 0;
        transition: 1s;
        color: mediumorchid;
    }

    a {
        font-size: 25px;
        color: mediumorchid;
        position: absolute;
        right: 50%;
        text-decoration: none;
        transition: 1s;

        &:nth-of-type(1) {
            top: 20%;
            transition-delay: 0.2s;
        }

        &:nth-of-type(2) {
            top: 40%;
            transition-delay: 0.4s;
        }

        &:nth-of-type(3) {
            top: 60%;
            transition-delay: 0.6s;
        }

        &:nth-of-type(4) {
            top: 80%;
            transition-delay: 0.8s;
        }
    }
}

@keyframes fancy1 {
    0% {
        border-radius: 51% 49% 25% 75% / 46% 31% 69% 54%;
    }

    50% {
        border-radius: 31% 69% 15% 85% / 68% 64% 36% 32%;
    }

    100% {
        border-radius: 18% 82% 76% 24% / 66% 45% 55% 34%;
    }
}

@keyframes fancy2 {
    0% {
        border-radius: 31% 69% 15% 85% / 68% 64% 36% 32%;
    }

    50% {
        border-radius: 18% 82% 76% 24% / 66% 45% 55% 34%;
    }

    100% {
        border-radius: 51% 49% 25% 75% / 46% 31% 69% 54%;
    }
}