@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

body {
    background-image: url("https://eu1.imagehub.host/files/bg.png");
    background-color: #1f1f27;
    font-family: Inter, sans-serif;
    user-select: none;
    overflow: auto;
    transition: 1s;
    background-position: 0px 0px;
    animation: bg 25s infinite linear;
    height: 100%;
}


ul {
    display: flex;
    justify-content: center;
}

.nav {
    display:flex;
    justify-content: center;
}

.nav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    margin-top: 1vh;
    font-size: 1.2rem;
}

.li {
    display: inline;
    margin-top: 1vh;
}

li {
    list-style-type: none;
}

.navlink {
    color: #c5c5c5;
    margin-left: 1vw;
    text-decoration: none;
    transition: 0.3s;
}

.navlink:hover {
    color: #fff;
    text-decoration: none;
}

.navlinkActive {
    margin-left: 1vw;
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 510;
}


@keyframes bg {
    0% {
        background-position: 1000px 1000px;
    }
}

.card {
    position: absolute;
    top: 70%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    background-color: #2c2f33;
    box-shadow: 0px 0px 40px rgb(10, 10, 10);
    width: auto;
    height: auto;
    border-radius: 30px;
    padding: 20px;
    text-align: center;
    font-size: 40px;
    font-weight: 300;
    color: white;
    animation-name: slidein;
    animation-duration: 1s;
    animation-iteration-count: 1;
    transition: 0.2s;
}

@keyframes slidein {
    0% {
        transform: translate(-50%, 100%);
    }
    100% {
        transform: translate(-50%, -50%);
    }
}

@keyframes fadein {
    0% {
        filter: opacity(0%);
    }
    50% {
        filter: opacity(0%);
    }
    100% {
        filter: opacity(100%);
    }
}

.fancybutton {
    background-color: rgb(30, 30, 30);
    padding: 10px;
    border-style: solid;
    font-family: Roboto;
    color: white;
    border-radius: 10px;
    border-color: orange;
    transition: 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding-left: 25px;
    padding-right: 25px;
    text-align: center;
}

.fancybutton:hover {
    border-color: greenyellow;
    padding-left: 75px;
    padding-right: 75px;
    transform: scale(1.2);
}

.card-container {
    display: flex;
    justify-content: center;
}

.gallery-card {
    height: auto;
    background: #36454F;
    height: 400px;
    width: 270px;
    margin: 10px;
    border-radius: 12px;
    overflow-wrap: break-word;
}

.card-image {
    background-color: rgb(30, 30, 30);
    height: 190px;
    margin-bottom: 15px;
    background-size: cover;
    border-radius: 12px 12px 0 0;
}

.img1 {
    background-image: url('https://source.unsplash.com/random')
}
.img2 {
    background-image: url('https://source.unsplash.com/random')
}
.img3 {
    background-image: url('https://source.unsplash.com/random')
}