* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    padding-top: 100px; 
    background-color: #f4f4f4;
}

.bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background-color: #1a1a2e;
    display: flex;
    align-items: center;
    padding: 0 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo img {
    height: 65px;
    width: auto;
    object-fit: contain;
}

.logo h1 {
    color: #ffffff;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.wiki-layout {
    display: flex;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px;
    gap: 50px;
}

.text {
    width: 45vw;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 30px;
}

.text h2 {
    font-size: 26px;
    line-height: 1.5;
    color: #1a1a2e;
}

.text a {
    text-decoration: none;
    align-self: flex-start;
    margin-top: auto;
}

.text button {
    background-color: #2cba42;
    color: #ffffff;
    padding: 20px 45px;
    font-size: 24px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.text button:hover {
    background-color: #1e852e;
}

.wiki-gallery-right {
    flex: 1;
    position: relative;
    min-height: 80vh;
}

.wiki-card {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    width: 260px;
    position: absolute;
}

.wiki-card img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

.card-top {
    top: 0;
    right: 40px;
    transform: rotate(-3deg);
}

.card-middle {
    top: 240px;
    left: 20px;
    transform: rotate(4deg);
}

.card-bottom {
    top: 480px;
    right: 10px;
    transform: rotate(-2deg);
}

@media (max-width: 992px) {
    .wiki-layout {
        flex-direction: column;
        padding: 20px;
    }

    .text {
        width: 100%;
        min-height: auto;
    }

    .wiki-gallery-right {
        width: 100%;
        min-height: auto;
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }

    .wiki-card {
        position: static;
        transform: none !important;
        width: 45%;
    }
}

@media (max-width: 768px) {
    .text h2 {
        font-size: 20px;
    }

    .text button {
        width: 100%;
        font-size: 20px;
        padding: 15px;
    }

    .wiki-card {
        width: 100%;
    }
}