@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");
/* Keyframes for sliding background animation */
@keyframes slideBackground {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: -7767px 0;
    }
}

/* Keyframes for fade-in effect */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade {
    opacity: 0;
    animation: fade 1s forwards;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.fade-in-0 {
    animation-delay: 0.5s;
}

.fade-in-1 {
    animation-delay: 1s;
}

.fade-in-2 {
    animation-delay: 1.5s;
}

.fade-in-3 {
    animation-delay: 2s;
}

.fade-in-4 {
    animation-delay: 2.5s;
}

.fade-in-5 {
    animation-delay: 3s;
}

html, body {
    font-family: "Source Sans Pro", sans-serif;
    background: linear-gradient(-45deg, #1b250c, #273b08, #365504);
}

body.loading * {
    -moz-animation: none !important;
    -webkit-animation: none !important;
    -o-animation: none !important;
    -ms-animation: none !important;
    animation: none !important;
}

main {
    background: url('../images/bg.jpg') repeat;
    background-size: cover;
    animation: slideBackground 480s linear infinite;
    color: white;
    text-align: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
}

header {
    text-shadow: 1px 1px 2px black;
    -moz-animation: header 1s 2.25s forwards;
    -webkit-animation: header 1s 2.25s forwards;
    -o-animation: header 1s 2.25s forwards;
    -ms-animation: header 1s 2.25s forwards;
    animation: header 1s 2.25s forwards;
    -moz-backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    position: relative;
    z-index: 1000;
}

header nav {
    margin: 1.5em 0 0 0;
}

a.link {
    background: none;
    display: flex;justify-content: center;align-items: center;
    height: 60px;
    width: 60px;
    border-radius: 50%;
    color: #fff;
    font-size: 2em;
    position: relative;
    border: #fff solid 1px;
    transition: 0.9s;
}

.link i{
    font-size: 1em;
}

.link:hover{
    transform: rotateY(180deg);
    background: rgba(255, 255, 255, 0.356);
}

.logo {
    width: 200px;
    height: auto;
}

.description {
    font-size: 1.2rem;
    margin-top: 20px;
    font-weight: 300;
}

.footer {
    position: absolute;
    bottom: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    width: 100%;
    z-index: 1000;
}

#overlay {
    background-attachment: fixed, fixed;
    background-image: url("../images/overlay-pattern.png"), url("../images/overlay.svg");
    background-position: top left, center center;
    background-repeat: repeat, no-repeat;
    background-size: auto, cover;
    height: 100%;
    left: 0;
    opacity: 0;
    position: fixed;
    top: 0;
    width: 100%;
}