
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
}

/* Header */
#header {
   
    color: white;
    border-bottom: 4px solid black;
    height: 100px;
}

/* Cấu trúc của #top-header */
#top-header {
    width: 80%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding-top: 0; 
    z-index: 1000; 
}

.logo {
    height: 100px;  
     
}




/* Menu */
#menu {
    flex-grow: 1;
}

.main-menu {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
    position: relative;
}

.main-menu li {
    position: relative;
}

.main-menu li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    padding: 10px;
    display: block;
}

.main-menu li:hover > a {
    color: #5b1e1e;
    text-decoration: underline;
}
/* Submenu ẩn mặc định */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    list-style: none;
    background-color: #fefefe;
    padding: 10px 0;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    min-width: 220px;
}

/* Hiện submenu khi hover */
.main-menu li:hover .submenu {
    display: block;
}

/* Style từng item trong submenu */
.submenu li {
    padding: 8px 20px;
    white-space: nowrap;
}

.submenu li a {
    color: gray;
    text-decoration: none;
    font-size: 14px;
}

.submenu li a:hover {
    color: black;
    background-color: #f2f2f2;
}




.main-menu li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    padding: 10px;
}

.main-menu li a:hover {
    color: #5b1e1e;
    text-decoration: none;
}

/* Nút toggle menu */
.menu-toggle {
    display: none;
    cursor: pointer;
    position: absolute;
    right: 30px;
    z-index: 1000;
}

.main-menu {
    display: flex;
}


.menu-toggle img {
    width: 24px;  
    height: 24px;
}

.search-logo img {
    width: 24px;
    height: auto;
}


#search-box {
    position: absolute;
    top: 0;
    right: 40px;
    display: none; 
    z-index: 10;
}

#search-box input {
    border: none;
    outline: none;
    font-size: 16px;
    padding: 8px 12px;
    border-radius: 15px;
    width: 250px;
}





#banner {
    width: 100%;
    height: 650px;
    background-color: black;
    overflow: hidden; 
    position: relative;
}





#banner-video {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center;
    display: block;
}

#container {
    margin-top: 30px;
}


.section {
    width: 80%;
    margin: auto;
    margin-top: 50px;  
    text-align: center;  
  
}




    #container h2 {
        color: goldenrod;
        font-size: 21pt;
    }

    #container p {
        font-size: 15pt;

    }

    .content {
        margin-top: 30px; 
             
    }


 .news-big {
    background-color: aqua;
    height: 250px;
    position: relative;
    overflow: hidden;
    text-align: left;

 }

 .news-big img {
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease-in-out;
 }

 .news-big img:hover {
    cursor: pointer;
    transform: scale(1.1);

 }


 .text-news-big {
    position: absolute;
    bottom: 0 ;
    background-color: rgba(0, 0, 0, 0.5); /* nền mờ */
    color: white;
    padding: 5px;

    font-size: 17px;
    font-weight: bold;
  }







 .news-sm {
    background-color: blue;
    height: 250px;
    position: relative;
    overflow: hidden;
    text-align: left;
 }

 .news-sm img {
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease-in-out;
 }

 .news-sm img:hover {
    cursor: pointer;
    transform: scale(1.1);

 }


 .event {
    background-color: aquamarine;
    height: 300px;
 }

 .event img {
    height: 100%;
    width: 100%;
 }


 .button-event {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 10px;
    white-space: nowrap;
    max-width: 100%;
  }
  
  .btn {
    flex: 0 0 auto;
    padding: 10px 15px;
    font-size: 16px;
    background-color: goldenrod;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .btn:hover {
    background-color: #2980b9;
  }


  #btn-event2 {
    padding: 15px 15px;
    font-size: 15px;
    background-color:maroon;
    color: white;
    border: 1px solid wheat;
    margin-top: 30px;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  #btn-event2:hover {
    background-color: #2980b9;
  }

  #slideshow {
    height: 100%;
    width: 100%;
    background-color:aqua;
  }
  #scl {
    display: block;
    height: 100%;
    width: 100%;
  }

  #scl:hover {
    cursor: pointer;

  }





.tips {
    margin-top: 20px;
    background-color:lightsteelblue;
    height: 150px;
    border-radius: 20px;
}

.tips img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
    margin-top: 15px;;
    transition: transform 0.3s ease;
}

.tips span {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}


/* Hiệu ứng hover */
.tips:hover {
    background-color: #f0f0f0;
    cursor: pointer;
}

.tips:hover img {
    transform: scale(1.1);
}



.news-sm-2 {

    height: 330px;
    position: relative;
    overflow: hidden;
    text-align: left;
 }

 .news-sm-2 img {
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease-in-out;
    border-radius: 15px;;
 }

 .news-sm-2 img:hover {
    cursor: pointer;
    transform: scale(1.1);

 }


 .news-sm-2text {
    position: absolute;
    bottom: 0 ;
    background-color: rgba(0, 0, 0, 0.8); /* nền mờ */
    color: white;
    padding: 5px;

    font-size: 17px;
    font-weight: bold;
    border-radius: 15px;
  }






.shareys{
    background-color: rgb(23, 175, 21);
    height: 250px;

    position: relative;
    overflow: hidden;

 }


    .share-pic {
        width: 100%;
        height: 100%;
        transition: transform 0.4s ease-in-out;
        display: block;
        position: relative;
    }

    .logo-overlay {
        position: absolute;
        bottom: 10px;
        right: 10px;
        width: 40px;         /* tuỳ chỉnh kích thước logo */
        height: 40px;
        opacity: 0.8;        /* logo mờ nhẹ nếu muốn */
      }





    .share-pic:hover {
    cursor: pointer;
    transform: scale(1.1);
    }



 #footer {
    min-height: 300px;
    background-color: rgb(174, 186, 186);
    text-align: center;
    clear: both;
    overflow: hidden;
    border-top: 2px solid black;

 }


 .box {
    width: 60%;
    margin: auto;
 }

 #input {
    height: 40px;
    width: 80%;
    border-radius: 5px;
    margin-left: 25px;
    padding-left: 5px;
 }


 .box button {
    height: 40px;
    width: 80%;
    border-radius: 5px;
    margin-left: 25px;
    margin-top: 10px;

 }

 .box button:hover {
    background-color: #5b1e1e;
   transition: 400ms;
 }


 .box ul {
    list-style-type: none;
    padding-left: 50px; 
    display: flex;
 
 }


 .box li {
    padding: 15px 15px;;
    cursor: pointer;
    transition: background-color 0.3s;
  }

  .box li img {
    height: 30px;
    width: 30px;
  }

 

 




/* Responsive */
@media only screen and (max-width: 768px) {

    /* Header */
    #top-header {   
        height: auto;  /* Đảm bảo header không bị quá cao */
        padding: 10px 0;
    }

    .logo {
        height: 50px;  /* Giảm chiều cao logo cho màn hình nhỏ */
    }

    .search-logo {
        width:24px ;
    }


    #banner {
        height: 270px;
    }


    .box {
        height: 220px;
        width: 100%;
        margin: auto;
        text-align: center;
     }



    /* Menu */
    .main-menu {
        display: none;
        flex-direction: column;
        background-color: white;
        position: absolute;
        top: 100px;
        left: 0;
        width: 100%;
        padding: 10px 0;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    }
    

    .main-menu.active {
        display: flex;
        
    }

    /* Nút toggle */
    .menu-toggle {
        display: block;
    }

 



}


[class*="col-"] {
	width:100%;
	float:left;
	min-height:100px;
	padding:10px;
}




     /*tablet */
@media only screen and (min-width: 768px) {

    .col-s-1 { width: 8.33%; }
    .col-s-2 { width: 16.66%; }
    .col-s-3 { width: 25%; }
    .col-s-4 { width: 33.33%; }
    .col-s-5 { width: 41.66%; }
    .col-s-6 { width: 50%; }
    .col-s-7 { width: 58.33%; }
    .col-s-8 { width: 66.66%; }
    .col-s-9 { width: 75%;   }
    .col-s-10 { width: 83.33%; }
    .col-s-11 { width: 91.66%; }
    .col-s-12 { width: 100%; }
}

@media only screen and (min-width: 1280px) {
    /* Grid System cho màn hình lớn */
    .col-m-1 { width: 8.33%; }
    .col-m-2 { width: 16.66%; }
    .col-m-3 { width: 25%; }
    .col-m-4 { width: 33.33%; }
    .col-m-5 { width: 41.66%; }
    .col-m-6 { width: 50%; }
    .col-m-7 { width: 58.33%; }
    .col-m-8 { width: 66.66%; }
    .col-m-9 { width: 75%; }
    .col-m-10 { width: 83.33%; }
    .col-m-11 { width: 91.66%; }
    .col-m-12 { width: 100%; }
}
