@font-face 
{
    font-family: 'arcadeFont';
    src: url("/Resources/Fonts/ARCADE_R.TTF");

    font-weight: 1000;
}

@font-face 
{
    font-family: 'mainFont';
    src: url("/Resources/Fonts/PTSans-Regular.ttf");
}

@font-face 
{
    font-family: 'titleFont';
    src: url("/Resources/Fonts/ArchivoBlack-Regular.ttf");
}

*
{
    margin: 0;
    padding: 0;
    
    font-family: mainFont;


    --white-color-1: #ffffff;
    --white-color-2: #f0f3f4;;
    --white-color-3: #99a1ba;
    --black-color: #161616;
    --black-color-2: #2c2c2c;
    --black-color-3: #4b4b4b;
    --blue-1: #3498DB;
    --blue-2: #2874A6;
    --dark-blue: #252d3a;
    --light-blue: #edf0fb;
}

html, body
{
    min-height: 100%;
}

body
{
    display: flex;
    flex-direction: column;

    background-color: var(--white-color-1);
}

body::-webkit-scrollbar {
    width: 6px;
}
  
body::-webkit-scrollbar-track {
    background: var(--blue-2);
}
  
body::-webkit-scrollbar-thumb {
    background: var(--blue-1);
}

.button_type1, .button_type2 
{
    position: relative;

    width: 300px;
    
    padding: 4px;
    margin: 8px;

    border: 4px solid var(--blue-1);

    cursor: pointer;

    font-size: 18px;
    font-weight: 1000;

    overflow: hidden;

    transition: all 25ms ease-in-out;
}

.button_type1
{
    background-color: var(--blue-1);
    color: var(--white-color-1);
}

.button_type2 
{
    background-color: transparent;
    color: var(--blue-1);
}

.button_type1:hover
{
    border: 4px solid var(--blue-2);
    background-color: var(--blue-2);
}

.button_type2:hover
{
    border: 4px solid var(--blue-2);
    color: var(--blue-2);
}

/* header */

header
{
    display: flex;
    justify-content: space-between;

    width: 100%;
    height: 50px;
    padding: 0 60px;

    box-sizing: border-box;

    position: fixed;
    top: 0;
    left: 0;

    z-index: 100;

    background-color: var(--black-color);
}

#divBtn
{
    display: flex;
}

header ul 
{
    list-style-type: none;
    display: flex;
}

.btnHeader2
{
    width: 50px;
    height: 50px;

    padding: 10px;

    box-sizing: border-box;
}

.btnHeader2:hover
{
    border: 1px solid var(--white-color-2);
}

.imgBtnHeader
{
    width: 100%;
    height: 100%;
}

.text-warn
{
    font-size: 16px;
    margin: 8px;
}

#notif::before, #friend::before
{
    position: absolute;

    background-color: red;
    color: var(--white-color-1);
    border-radius: 16px;

    content: "0";
    
    text-align: center;

    width: 20px;
    height: 20px;

    margin-left: 16px;
    margin-top: -2px;
}

.menu
{
    box-sizing: border-box;
    position: absolute;

    display: none;
    flex-direction: column;
    align-items: center;

    width: 90%;

    top: 50px;
    left: 5%;

    background-color: var(--white-color-1);
    border: 0;
    border-radius: 0 0 5px 5px;

    box-shadow:0px 2px 5px var(--black-color);
    z-index: 101;
}

.menu2
{
    position: absolute;

    display: none;
    flex-direction: column;
    align-items: center;

    width: 350px;
    height: 600px;

    top: 50px;
    margin-left: -300px;

    background-color: var(--black-color);
    border: 0;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;

    box-shadow:0px 2px 5px var(--blue-1);
    
    overflow-y: auto;

    z-index: 100;
}

.menu2 *
{
    color: var(--white-color-1);
}

.menu3
{
    position: absolute;

    display: none;
    flex-direction: column;
    align-items: center;

    width: 350px;
    height: 600px;

    top: 50px;
    margin-left: -500px;

    background-color: var(--white-color-1);
    border: 0;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;

    box-shadow:0px 2px 5px var(--black-color);

    overflow-y: auto;

    z-index: 99;
}

#searchDiv
{
    background-color: var(--white-color-2);

    display: flex;
}

.inMenu2 input[type="search"]
{
    flex: 1;

    margin: 8px;
    padding: 8px;

    background-color: var(--white-color-1);
    border: solid 2px var(--blue-1);
    border-radius: 16px;

    outline: 0;
}

.friend
{
    display: flex;
    align-items: center;

    border-bottom: 1px solid var(--black-color);

    padding-bottom: 4px;
    margin: 4px;
}

.friend:hover
{
    cursor: pointer;

    background-color: var(--white-color-2);
}

.imgFriend
{
    width: 40px;
    height: 40px;

    margin-right: 4px;
}

.friend p
{
    font-size: 20px;
    flex: 1;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.friend .btnDivFriend
{
    display: flex;
    align-items: center;
    height: 100%;
}

.friend .btnDivFriend div, .friend .btnDivFriend div img
{
    width: 30px;
    height: 30px;

    margin-right: 5px;
}

.menu2 h3
{
    font-size: 20px;
    margin: 8px;
}

.menu2::-webkit-scrollbar {
    width: 6px;
}
  
.menu2::-webkit-scrollbar-track {
    background: var(--blue-2);
}
  
.menu2::-webkit-scrollbar-thumb {
    background: var(--blue-1);
}

.logo
{
    height: 40px;

    margin: 5px;

    cursor: pointer;
}

.btnHeader
{
    width: 200px;
    height: 50px;

    font-family: titleFont;
    color: var(--white-color-1);

    margin-left: -4px;
}

.btnHeader:hover
{
    color: var(--black-color);
    background-color: var(--white-color-1);
}

.btnHeader:first-child
{
    margin-left: 0;
}

.btnHeader, .btnHeader2
{
    outline: none;

    background-color: transparent;
    border: 0;

    cursor: pointer;
}

.inMenu
{
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.inMenu button
{
    margin: auto;
}

.inMenu2
{
    display: flex;
    flex-direction: column;
    width: 100%;
}

.inMenu2 button
{
    margin: auto;
}

.catMenu
{
    display: flex;
    flex-direction: column;

    margin: 10px;
}

.catMenu h3
{
    font-size: 12px;
    font-weight: 1000;

    border-bottom: 1px solid var(--black-color);
    margin-bottom: 20px;
    padding-bottom: 4px;
}

.cat-text a
{
    margin: 8px;
    margin-top: 0;
    margin-bottom: 16px;
    cursor: pointer;

    color: var(--black-color);
    text-decoration: none;
}

.cat-text a:hover
{
    font-weight: 1000;
}

.cat-text a:has(> img)
{
    flex: 1;
}

.cat-text a img
{
    width: auto;
    height: 350px;
}

.catMenu .list-news
{
    display: grid;
    grid-template-columns: repeat(2, 50%);;
    grid-template-rows: repeat(3, 120px);;
    grid-gap: 8px;
    grid-auto-flow: column;
}

.catMenu .list-news .in-list-news
{
    display: flex;

    color: var(--black-color);
    text-decoration: none;

    cursor: pointer;
}

.catMenu .list-news .in-list-news .list-news-img
{
    width: 220px;
    margin-right: 8px;

    object-fit: cover;
}

.catMenu .list-news .in-list-news div
{
    display: flex;
    flex-direction: column;
}

.catMenu .list-news .in-list-news .p-date
{
    width: 120px;
    padding: 2px;
    padding-left: 0;

    font-size: 12px;
    color: var(--black-color);

    text-align: left;
}

.catMenu .list-news .in-list-news p
{
    font-size: 20px;
}

.catMenu .list-news .in-list-news .p-title
{
    flex: 1;
    overflow: hidden;
}

.catMenu .list-news .in-list-news:hover .p-title
{
    font-weight: bolder;
}

#user-info
{
    display: flex;
    margin: 8px;
    padding-bottom: 8px;

    border-bottom: 1px solid var(--black-color);
}

#user-info img
{
    width: 80px;
    height: 80px;
    margin-right: 8px;
}

#user-info div
{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#user-info div h3
{
    margin: 0;

    font-size: 26px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#user-info div p
{
    margin: 0;

    font-size: 16px;
}

.notif
{
    margin: 8px;
    padding-bottom: 8px;

    border-bottom: 1px solid var(--black-color);

    cursor: pointer;
}

.notif:hover
{
    background-color: var(--white-color-2);
}

.notif h3
{
    margin: 0;
    font-size: 26px;
}

.notif p
{
    font-size: 16px;
}

.transiUserInfo
{
    border-bottom: 1px solid var(--black-color-3);
    margin-left: 10px;
    margin-right: 10px;
    box-sizing: border-box;
}

#listButtonUser
{
    margin-top: 10px;
    display: flex;
    flex-direction: column;
}

#listButtonUser button
{
    flex: 1;

    margin: 0;
    padding: 10px;

    background-color: var(--black-color-2);
    border: 0;
    border-bottom: var(--black-color) 3px solid;
    border-radius: 0;
    color: var(--white-color-1);

    cursor: pointer;

    font-size: 14px;
    text-align: start;
}

#listButtonUser button:hover
{
    background-color: var(--black-color-3);
}

#FavUser
{
    width: 100%;
    display: flex;
    flex-direction: column;
}

#FavUser h3
{
    font-size: 18px;
    margin: 10px;
}

#listFav
{
    width: 100%;
    height: 160px;

    display: flex;
    flex-direction: row;
    align-items: center;

    background-color: var(--black-color-2);
    margin-bottom: 10px;

    overflow-x: auto;
    overflow-y: hidden;
}

#listFav::-webkit-scrollbar {
    width: 6px;
}
  
#listFav::-webkit-scrollbar-track {
    background: var(--blue-2);
}
  
#listFav::-webkit-scrollbar-thumb {
    background: var(--blue-1);
}

#listFav p
{
    width: 100%;
    color: var(--white-color-2);

    text-align: center;
    font-size: 12px;
}

.fav
{
    height: 140px;
    max-width: 110px;

    margin: 10px;
    
    cursor: pointer;
    object-fit: cover;
}

/* footer */

footer
{
    display: grid;
    justify-items: center;
    grid-template-columns: auto auto auto;
    grid-template-rows: auto auto;
    column-gap: 16px;
    row-gap: 16px;

    background-color: var(--black-color);

    padding: 20px 60px;
}

footer img
{
    height: 64px;
}

footer a
{
    color: var(--white-color-1);
    text-decoration: none;
    font-family: titleFont;
}

footer a:hover
{
    cursor: pointer;
    font-weight: 1000;
    text-decoration: underline;
}

footer div
{
    display: flex;
    flex-direction: column;
}