* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: url('../images/bg_login.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #333;
    min-height: 100vh;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

.header {
    text-align: center;
    margin: 30px 0;
}

.header h1 {
    color: white;
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 50px 0 80px;
}

.module {
    height: 230px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
}

.module:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.module-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.5s ease;
}

.module:hover .module-bg {
    transform: scale(1.05);
}

.module-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.module-content {
    position: relative;
    z-index: 3;
    padding: 35px;
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.module span {
    font-size: 26px;
    margin-bottom: 12px;
    color: #1479EC;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
}

.module p {
    color: #111111;
    line-height: 1.5;
    font-size: 14px;
}

.footer {
    text-align: center;
    padding: 20px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}

.copyright {
    font-size: 1rem;
    color: #888;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
}

@media (max-width: 900px) {
    .module-content {
        width: 65%;
    }
}

@media (max-width: 768px) {
    .gallery {
        grid-template-columns: 1fr;
    }
    
    .header h1 {
        font-size: 2.2rem;
    }
    
    .module {
        height: 250px;
    }
    
    .module-content {
        width: 60%;
    }
}

@media (max-width: 480px) {
    .module-content {
        width: 75%;
    }
    
    .module h3 {
        font-size: 1.4rem;
    }
}