﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

/*inter font*/
@font-face {
    font-family: "Inter"; /* Tên bạn muốn đặt cho font */
    src: url('../fonts/inter-regular.woff') format('truetype');
    font-weight: 400; /* Trọng lượng font (Regular) */
    font-style: normal; /* Kiểu font (Normal) */
    font-display:auto;
}

@font-face {
    font-family: "Inter";
    src: url('../fonts/inter-regular.woff') format('truetype');
    font-weight: 400; /* Trọng lượng font (Regular) */
    font-style: italic; /* Kiểu font (Italic) */
    font-display: auto;
}

@font-face {
    font-family: "Inter";
    src: url('../fonts/inter-medium.woff') format('truetype');
    font-weight: 500; /* Trọng lượng font (Medium) */
    font-style: normal;
    font-display: auto;
}

@font-face {
    font-family: "Inter";
    src: url('../fonts/inter-medium.woff') format('truetype');
    font-weight: 600; /* Trọng lượng font (Semi-Bold) */
    font-style: normal;
    font-display: auto;
}

@font-face {
    font-family: "Inter";
    src: url('../fonts/inter-bold.woff') format('truetype');
    font-weight: 700; /* Trọng lượng font (Bold) */
    font-style: normal;
    font-display: auto;
}
/*end- inter font*/

/*sf pro rounded*/
@font-face {
    font-family: "SF-Pro-Rounded-Bold"; /* Tên bạn muốn đặt cho font */
    src: url('../fonts/SF-Pro-Rounded-Bold.ttf') format('truetype');
    font-weight: 400; /* Trọng lượng font (Regular) */
    font-style: normal; /* Kiểu font (Normal) */
    font-display: auto;
}

@font-face {
    font-family: "SF-Pro-Rounded-Bold";
    src: url('../fonts/SF-Pro-Rounded-Bold.ttf') format('truetype');
    font-weight: 400; /* Trọng lượng font (Regular) */
    font-style: italic; /* Kiểu font (Italic) */
    font-display: auto;
}

@font-face {
    font-family: "SF-Pro-Rounded-Bold";
    src: url('../fonts/SF-Pro-Rounded-Bold.ttf') format('truetype');
    font-weight: 500; /* Trọng lượng font (Medium) */
    font-style: normal;
    font-display: auto;
}

@font-face {
    font-family: "SF-Pro-Rounded-Bold";
    src: url('../fonts/SF-Pro-Rounded-Bold.ttf') format('truetype');
    font-weight: 600; /* Trọng lượng font (Semi-Bold) */
    font-style: normal;
    font-display: auto;
}

@font-face {
    font-family: "SF-Pro-Rounded-Bold";
    src: url('../fonts/SF-Pro-Rounded-Bold.ttf') format('truetype');
    font-weight: 700; /* Trọng lượng font (Bold) */
    font-style: normal;
    font-display: auto;
}

.site-wrapper {
    display: flex;
    flex-direction: column;
    height:100vh;  
}

.navbar {
    width:220px!important;
}

.content {
    flex: 1 0 auto;
}

.footer {
    
    flex-shrink: 0;
    
    /* Thêm các kiểu dáng khác cho footer của bạn ở đây nếu cần */
}

#overlay {    
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent black overlay */
    z-index: 999; /* Ensure it's on top of other content */
    display: flex;
    align-items: center;
    justify-content: center;
}

#uploadStatus {
    margin-top: 20px;
    font-weight: bold;
}

/* Thêm các quy tắc @font-face khác cho các trọng lượng và kiểu font khác (ví dụ: Italic) nếu cần */

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}



html, body {
    height: auto !important; /* Đặt chiều cao thành auto để nó chỉ cao bằng nội dung */
    /*overflow-y: auto;*/ /* Đảm bảo vẫn có thể cuộn nếu nội dung dài hơn màn hình */
}

body {
    margin-bottom: 60px;
    font-family: 'SF-Pro-Rounded-Bold','Inter', sans-serif;
    background: #F9F5EB;
    color: #002B5B;
}


.menu-icon {
    display:none;
}

@media (max-width: 767px) {
    .navbar {
        width: 80px !important;
        padding: 10px;
        margin: 0px;
    }   

    .menu-icon {
        display: block;       
    }
    .menu-text {
        display:none;
    }
}

@media (max-width: 400px) {
    .navbar {
        width: 80px !important;
        padding: 10px;
        margin: 0px;
    }
    
    .menu-icon {
        display: block;       
    }
    .menu-text {
        display: none;
    }
}

/* HTML: <div class="loader"></div> */
.loader {
    width: 120px;
    height: 20px;
    -webkit-mask: linear-gradient(90deg,#000 70%,#0000 0) 0/20%;
    background: linear-gradient(#000 0 0) 0/0% no-repeat #ddd;
    animation: l4 2s infinite steps(6);
}

@keyframes l4 {
    100% {
        background-size: 120%
    }
}