@font-face {
    font-family: "Mitr";
    src: url('/fonts/Mitr/Mitr-Regular.ttf');
    font-weight: 400;
}
@font-face {
    font-family: "Mitr";
    src: url('/fonts/Mitr/Mitr-SemiBold.ttf');
    font-weight: 500;
}
@font-face {
    font-family: "Mitr";
    src: url('/fonts/Mitr/Mitr-Bold.ttf');
    font-weight: 700;
}
@font-face {
    font-family: "Mali";
    src: url('/fonts/Mali/Mali-Regular.ttf');
    font-weight: 400;
}
@font-face {
    font-family: "Mali";
    src: url('/fonts/Mali/Mali-SemiBold.ttf');
    font-weight: 500;
}
@font-face {
    font-family: "Mali";
    src: url('/fonts/Mali/Mali-Bold.ttf');
    font-weight: 700;
}

/* Setup Header */
body{
    width: 100vw;
    display: flex;
    justify-content: center;
    overflow-x: hidden;
}
*{
    font-family: "Mali", cursive;
    font-size: calc(10px + 0.4vw);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: rgb(56, 56, 56) !important;
    scroll-behavior: smooth;
    font-weight: 500;
}
a{
    text-decoration: none !important;
}
.preload-page{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    background-color: #FFFFFF;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
}
.preload-page p{
    font-size: calc(22px + 0.5vw);
    font-weight: 700;
    text-align: center;
}
.preload-page img{
    min-width: 350px;
    min-height: 350px;
    width: 20vw;
    height: 20vw;
}
img{
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    pointer-events: none;
}
svg{
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    pointer-events: none;
}

/* Content */
div.container-content{
    overflow-x: hidden;
    height: 100vh;
}
nav{
    width: 100%;
    position: sticky;
    top: 0px;
    z-index: 3;
}
nav div.marquee{
    width: 100%;
    height: 56.69px;
    display: flex;
    align-items: center;
    background-color: #90f8ff;
}
p.marquee-content{
    width: 100%;
    font-size: calc(20px + 0.1vw);
    font-weight: 700;
    text-wrap: nowrap;
    animation: marquee 30s linear infinite;
    margin: 0px !important;
}
@keyframes marquee {
    from { transform: translateX(100%); }
    to { transform: translateX(-50%); }
}
div.option{
    width: 100%;
    padding: 5px 0px;
    height: 56.69px;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    background-color: #faa8f4;
}
div.option a, li.products{
    font-weight: 700;
    transition: 0.1s;
    font-size: calc(15px + 0.1vw);
}
div.option li svg{
    vertical-align: -5px;
    width: calc(15px + 0.5vw);
    height: calc(15px + 0.5vw);
}
div.option a:hover, li.products:hover{
    color: rgb(211, 82, 250) !important;
}
ul.left-option, ul.right-option{
    list-style: none;
    display: flex;
    align-items: center;
    gap: calc(5px + 1vw);
    margin: 0 !important;
}
ul.sub_products{
    position: absolute;
    padding: 10px 20px;
    top: 55px;
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 0px 3px 3px #00000010;
    z-index: 1;
    opacity: 0;
    transform: translateX(-20px) translateY(-20px);
    transition: 0.5s;
    pointer-events: none;
}
ul.sub_products.active{
    opacity: 1;
    transform: translateX(0px) translateY(0px);
    transition: 0.5s;
    pointer-events: all;
}
li.products{
    display: flex;
    align-items: center;
    gap: calc(3px + 0.2vw);
    cursor: pointer;
}
li.products svg{
    margin-top: 1px;
    min-width: 9.5px;
    min-height: 9.5px;
    width: 0.8vw;
    height: 0.8vw;
    transition: 0.5s;
}
li.products svg.active{
    transform: rotate(180deg);
}
/* Header Container */
header{
    width: 100%;
    position: relative;
}
.logo-container a{
    position: absolute;
    top: 20px;
    left: 20px;
    transition: 0.5s;
}
header .logo-container img{
    width: calc(45px + 2vw);
    height: calc(45px + 2vw);
    border-radius: 50%;
    box-shadow: 0px 0px 3px 3px #00000010;
    animation: rotate_logo 5s infinite;
}
.logo-container a:hover{
    transform: scale(1.2);
    transition: 0.5s;
}
@keyframes rotate_logo {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(35deg); }
    50% { transform: rotate(-35deg); }
    75% { transform: rotate(15deg); }
    100% { transform: rotate(0deg); }
}
header .select-language{
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: calc(3px + 0.5vw);
    background-color: #FFFFFF;
    border-radius: 5px;
    box-shadow: 0px 0px 5px 3px #00000030;
}
.select-language a{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: calc(2px + 0.2vw);
}
header .select-language img{
    width: calc(10px + 1vw);
    height: calc(10px + 1vw);
}
header .header-img{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
header .header-img img{
    min-width: 130px;
    min-height: 110px;
    width: 25%;
    height: 25%;
}

@media (max-width: 500px) {
    div.option a, li.products{
        font-size: calc(12px + 0.1vw);
    }
}
