* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    height: 100vh;
    overflow: hidden;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/1.jpg') no-repeat;
    background-size: cover;
    background-position: 0 -360px;
    z-index: -1;
}

.content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 360px);
    margin-top: 360px;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 20px;
}

.card {
    width: 300px;
    height: 180px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card a {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.card a:hover {
    background: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
    .background {
        background-size: cover;
        background-position: center top;
    }
    
    .content {
        padding-top: 0;
        align-items: flex-start;
        padding-top: 50px;
        margin-top: 0;
        height: auto;
    }
    
    .card-container {
        flex-direction: column;
        align-items: center;
    }
}
