/* Import Font Awesome */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');

/* Import custom font */
@font-face {
    font-family: 'Quinquefive-ALoRM';
    src: url('Quinquefive-ALoRM.ttf') format('truetype');
}

/* Use custom font for all elements */
body {
    font-family: 'Quinquefive-ALoRM', sans-serif;
    font-size: 14px; /* Adjust default font size */
}

/* Logo styles */
.logo {
    display: block;
    margin: 20px auto; /* Center the logo */
}

/* Loading animation styles */
@keyframes loading {
    0% { width: 0; }
    50% { width: 50%; }
    100% { width: 100%; }
}

/* Styles for the container */
.container1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
}

/* Styles for the giveaway items */
.giveaway-item {
    width: calc(33.333% - 20px); /* 3 items per row on desktop */
    margin-bottom: 20px;
    border: 1px solid #ddd; /* Add border */
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Add transition effect */
}

@media screen and (max-width: 1024px) {
    .giveaway-item {
        width: calc(50% - 20px); /* 2 items per row on smaller desktop screens */
    }
}

@media screen and (max-width: 768px) {
    .giveaway-item {
        width: calc(50% - 20px); /* 2 items per row on tablets */
    }
}

@media screen and (max-width: 576px) {
    .giveaway-item {
        width: calc(100% - 20px); /* 1 item per row on mobile devices */
    }
}

.giveaway-item:hover {
    transform: translateY(-5px); /* Add hover effect */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); /* Add box shadow on hover */
}

.giveaway-image {
    position: relative;
}

.giveaway-image img {
    width: 100%;
    display: block;
}

/* Expired badge */
.expired-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
}

/* Adjust the size of the expired badge */
.expired-badge img {
    width: 50px;
    height: auto;
}

/* Styles for the giveaway details */
.giveaway-details {
    padding: 10px;
    font-size: 12px; /* Adjust font size */
}

/* Styles for the Open Giveaway button */
.open-giveaway-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ffffff; /* White background */
    color: #171a21; /* Dark text color */
    border: 1px solid #171a21; /* Dark border */
    border-radius: 4px;
    font-size: 14px; /* Adjust font size */
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-top: 10px; /* Add margin top */
    text-transform: uppercase;
    font-weight: bold;
}

.open-giveaway-button:hover {
    background-color: #f2f2f2; /* Slightly darker background on hover */
}



/* Platform favicon styles */
.platform-icon {
    margin-right: 5px;
    font-size: 20px; /* Increase font size for favicon */
}
