* {
    margin: 0;
    padding: 0;
}


body {
    width: 100%;
    height: 100%;
    background: #fff;
    color: #000;
    overflow-x: hidden;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background-color: #111;
    margin-top: 5%;
}

.search-input {
    display: flex;
    align-items: center;
    width: 75%;
    position: relative;
    margin-left: 5%;
}

    .search-input input {
        width: 100%;
        padding: 10px 15px 10px 40px;
        font-size: 16px;
        border-radius: 25px;
        border: none;
        background-color: #999595;
        color: #fff;
        outline: none;
    }

        .search-input input::placeholder {
            color: #ccc;
            font-size: 1em;
            font-family: "Maven Pro";
        }

    .search-input::before {
        content: '\f002';
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #ccc;
        font-size: 1.2em;
    }

.PreButton {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    margin-right: 5%;
    rotate: 180deg;
}

    .PreButton i {
        font-size: 1.7em;
    }

    .PreButton:hover {
        background-color: #555;
    }

.container {
    column-count: 3;
    column-gap: 2px;
    margin-top: 5%;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: #212121;
}

.container img {
    width: 100%;
    margin-bottom: -2px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s;
}

    .popup-overlay.visible {
        visibility: visible;
        opacity: 1;
    }

.popup {
    background: #000;
    border-radius: 10px;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    animation: scale-in 0.3s ease-out;
}

@keyframes scale-in {
    from {
        transform: scale(0.8);
        opacity: 0.5;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.popup img {
    width: 100%;
    border-radius: 0px;
    margin-bottom: 15px;
}

.popup .popup-content {
    text-align: center;
}

.popup .close-btn {
    position: absolute;
    transform: rotate(180deg);
    top: 10px;
    left: 10px;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 1.8em;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
}


.PopupHearder {
    width: 100%;
    height: 50px;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 0.5px solid grey;
}

    .PopupHearder p {
        text-align: center;
        font-family: "Maven Pro";
        font-weight: 500;
        font-size: 1.2em;
    }

.ThongTinContainer {
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
}

.ThongTinAva {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-left: 2%;
}

.TenNguoiDung {
    font-size: 0.9em;
    font-family: "Maven Pro";
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-left: 2%;
    margin-top: -5%;
}

.footer {
    display: flex;
    justify-content: space-evenly;
    text-align: center;
    gap: 10%;
}

    .footer a {
        color: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
    }

        .footer a i {
            font-size: 1.6em;
        }
