﻿@font-face {
    font-family: 'Roboto';
    src: url('https://giasuinfo.com/fonts/roboto-v49-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

.contact-label {
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    background: linear-gradient(90deg, #007bff, #ff4081, #007bff);
    background-size: 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 4s linear infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0%;
    }

    100% {
        background-position: 300%;
    }
}

.contact-phone {
    font-size: 1.8rem;
    font-weight: bold;
    color: #d00;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    white-space: nowrap; /* tránh xuống dòng */
}

    .contact-phone:hover {
        transform: scale(1.1);
    }

.banner {
    background-color: white;
    min-height: 80px; /* đảm bảo chiều cao cố định */
    transition: none; /* tránh nhảy khi hover hoặc resize */
    padding: 0px 20px;
    font-family: Arial, sans-serif;
}

/* Cột trái */
.banner-left span {
    font-size: 50px;
    font-weight: bold;
    background: linear-gradient(to right, red, orange, yellow, green, cyan, blue, violet);
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 5px 5px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Cột phải */
.banner-right {
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .banner-right .contact-label {
        color: #006699;
        font-size: 29px;
        font-weight: bold;
    }

    .banner-right .contact-phone {
        color: #cc0000;
        font-size: 39px;
        font-weight: bold;
    }

.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 14px 20px;
    margin-top: 4px; /* ⬅️ kéo nút xuống thấp hơn một chút */
    line-height: 1;
}

.img-box {
    position: relative;
    width: 100%;
    padding-bottom: 66.66%; /* 3:2 ratio = 2/3 = 66.66% */
    overflow: hidden;
}

    .img-box img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        top: 0;
        left: 0;
    }

.dklink {
    color: white;
}

textarea, .createtextbox {
    min-width: 79%;
    height: 39px;
}

.main-content {
    margin-left: 5%;
    margin-right: 2%;
}

.zalo {
    position: fixed;
    bottom: 139px;
    left: 30px;
    display: block;
    z-index: 5;
}

/*.protected {
                -moz-user-select: none;
                -webkit-user-select: none;
                user-select: none;
            }*/

#logohead, #sloganhead {
    display: inline;
    float: left;
    min-width: 45%;
}

ul.topnav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #5454a7;
    min-width: 100%;
}

    ul.topnav li {
        float: left
    }

        ul.topnav li a {
            display: inline-block;
            color: #f2f2f2;
            text-align: center;
            padding: 14px 16px;
            text-decoration: none;
            transition: .3s;
            font-size: 20px;
            font-weight: bold;
        }

            ul.topnav li a:hover {
                background-color: #555;
                width: auto !important;
                height: auto !important;
            }

        ul.topnav li.icon {
            display: none
        }

.col-md-3 {
    min-width: 25%;
}

img {
    max-width: 100%;
    /*height: auto*/
}

p, li {
    font-size: 16px;
}

.pagination {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 10px; /* khoảng cách giữa các nút */
}

.pagination li a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: white;
    background-color: #007bff; /* màu nút */
    border-radius: 4px;
    transition: background-color 0.3s;
}

.pagination li a:hover {
    background-color: #0056b3; /* màu khi hover */
}


@media screen and (max-width:979px) {



    textarea, .createtextbox {
        min-width: 95%;
    }


    .main-content {
        margin-left: 2%;
        margin-right: 1%
    }

    ul.topnav li:not(:first-child) {
        display: none
    }

    ul.topnav li.icon {
        float: right;
        display: inline-block
    }

    ul.topnav.responsive {
        position: relative
    }

        ul.topnav.responsive li.icon {
            position: relative;
            right: 0;
            top: 0
        }

        ul.topnav.responsive li {
            float: none;
            display: inline
        }

            ul.topnav.responsive li a {
                display: block;
                text-align: left
            }

    .col-md-3 {
        min-width: 100% !important;
    }
}


/* Giảm kích thước khi màn hình nhỏ */
@media (max-width: 768px) {

    /* Cột trái */
    .banner-left span {
        font-size: 30px;
        align-items: center;
    }

    .banner-right .contact-label {
        font-size: 20px;
        align-items: center;
    }

    .banner-right .contact-phone {
        font-size: 24px;
        align-items: center;
    }
}

.footer a,
.footer a:visited {
    color: #ffffff !important;
    text-decoration: none;
}

    .footer a:hover {
        color: #ffd966 !important;
        text-decoration: underline;
    }

