/* General Styles */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: white;
    text-align: center;
}

/* Navbar */
.navbar {
    background: #1f1f1f;
    padding: 15px;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* Main Container */
.container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 50px 20px;
}

/* Flex Cards */
.card {
    width: 250px;
    height: 350px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0px 10px 20px rgba(255, 255, 255, 0.3);
}

/* Card Overlay (Text) */
.card-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    border-radius: 0 0 15px 15px;
}

.backuplinks a{
    background: rgba(80, 79, 79, 0.6);
    color: white;
    text-decoration: none;
    
}

.backuplinks a:hover {
    background: rgba(255, 255, 255, 0.8);
    color: #121212;
    text-decoration: underline;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Background Images */
.card:nth-child(1) { background-image: url('resources/hentai00125.gif'); }
.card:nth-child(2) { background-image: url('resources/123.gif'); }
.card:nth-child(3) { background-image: url('resources/233842.gif'); }
.card:nth-child(4) { background-image: url('home_appliances.jpg'); }

/* Footer */
footer {
    margin-top: 50px;
    padding: 20px;
    background: #1f1f1f;
}

/* Responsive - Mobile View */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
        height: 250px;
    }
}
