/*not updated (header overflow)*/
@import url('https://fonts.googleapis.com/css2?family=Pixelify+Sans:wght@400..700&display=swap');

:root{
    --bg-primary:#000000;
    --header-scrolled:#474747c2;
    --main-txt-color:#ffffff;
    --pages-bottom-border: #8d8d8d48;
    --sub1-txt-shadow:#00c2cb50;
    --sub1-title1-txt-shadow:#ffffff50;
    --home-sub1-title1-before: #ffffff;
    --about-us-outer:#1A1A1A;
    --about-us-content:#323232;
    --about-us-txt-color:#ffffff;
    --product-title3-span:#808080;
    --product-list-item:#2D2D2D;
    --product-list-item-div:#4d4d4d;
    --product-list-button:#ffffffd0;
    --product-list-button-active:#323232;  
    --color-primary: #f6aca2;
    --color-secondary: #f49b90;
    --color-tertiary: #f28b7d;
    --color-quaternary: #f07a6a;
    --color-quinary: #ee6352; 
    --product-txt-color:#ffffff;
    --card-bg-color:#111;
    --product-word-last: #ffffff;
    /*activities and following pages not done*/
}

.light-mode{    
    --bg-primary:#f8f4e9;
    --header-scrolled:#d3d3d3c2;
    --main-txt-color:#775c55;
    --home-sub1-title1-before: #ffffff;
    --about-us-outer:#423b3a;
    --about-us-txt-color:#fffaeb; 
    --about-us-content:#706663;
    --product-txt-color:#d3c2bd;
    --card-bg-color:#423b3a;
    --product-word-last :#423b3a;
}
html,body{
    height:100%;
    width:100vw;
    background-color:var(--bg-primary);
    padding:0;
    margin:0;
    min-height: 100vh;
    scrollbar-width: 0;
    -ms-overflow-style: none;
    position:absolute;
    font-family:"Pixelify Sans", sans-serif;
    max-width: 100vw;
    display: flex;
    justify-content: center;
}
body::-webkit-scrollbar {
    display: none;
}

/*header*/

/*.line{
    z-index:10000;
    width:0.1px;
    height:100%;
    background-color: white;
    position:fixed;
    right:50%;
}*/
header{
    display:flex;
    width:100vw;
    justify-content: space-between;
    align-items:center;
    min-height:5vh;
    position:fixed;
    z-index:1000;
    margin-top:30px;
    max-width:1400px;
    background:transparent;
    overflow:hidden;
    transition: width 0.1s ease-out;
}
header.scrolled{
    width:400px;
    min-height: 40px;   
    background:var(--header-scrolled);
    border-radius:40px; 
    justify-content: center;
    transition: width 0.1s ease-out;
}
header .logo{
    border-radius: 50%;
    height:40px;
    aspect-ratio: 1/1;
    background-color:var(--main-txt-color);
    margin-left:30px;
    animation-name: ChangeHeaderDisplay;
    animation-timeline: scroll(root);
    animation-range:entry;
}
header .logo.scrolled{
    display:none;
}
header .nav-links{
    display:flex;
    align-items: center;
    /*margin-right:3px;*/
    gap:40px;
}
header .items{
    color:var(--main-txt-color);
    text-decoration: none;
    font-weight:bold;
    font-size:small;
}
header button{
    border-radius:40px;
    height:46px;
    aspect-ratio: 2.7/1;
    background:transparent;
    color:var(--main-txt-color);
    border: 2px solid var(--main-txt-color);
    margin-right:30px;
}

header .fa-bars{
    display:none;
}

header .sidebar{
    display:none;
}

.toggle-wrapper {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 40px;
    margin-right: 30px;
    animation-name: ChangeHeaderDisplay;
    animation-timeline: scroll(root);
    animation-range: entry;
}
.toggle-wrapper.scrolled{
    display:none;
}
.toggle-input {
    display: none;
}
        
.toggle-label {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #2a2a2a, #3d3d3d);
    border-radius: 50px;
    cursor: pointer;
    box-shadow: inset 3px 3px 8px rgba(0, 0, 0, 0.3),
                inset -3px -3px 8px rgba(80, 80, 80, 0.2);
    transition: all 0.4s ease;
    overflow: hidden;
}
        
body.light-mode .toggle-label {
    background: linear-gradient(145deg, #cfcfcf, var(--main-txt-color));
    box-shadow: inset 3px 3px 8px rgba(0, 0, 0, 0.1),
                inset -3px -3px 8px rgba(255, 255, 255, 0.8);
}
        
.toggle-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 4px;
    width: 32px;
    height: 32px;
    background: linear-gradient(145deg, #3d3d3d, #2a2a2a);
    border-radius: 50%;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3),
                -3px -3px 8px rgba(80, 80, 80, 0.2);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fbff00;
    font-size: 16px;
}
        
body.light-mode .toggle-button {
    left: 44px;
    background: linear-gradient(145deg, var(--main-txt-color), #e6e6e6);
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.1),
                -3px -3px 8px rgba(255, 255, 255, 0.8);
    color: #eb7d00;
}
body .toggle-button #moon {
    display: block;
}
body .toggle-button #sun {
    display: none;
}
body.light-mode .toggle-button #moon {
    display: none;
}
body.light-mode .toggle-button #sun {
    display: block;
}

.container{
    width:100vw;
    height:auto;
    background-color:var(--bg-primary);
}
/*home*/
.home{
    padding-top:calc(5vh + 30px);
    min-height:calc(95vh - 30px);
    display:block flex;
    flex-direction: column;
    border-bottom:1px solid var(--pages-bottom-border);
    height:auto;
    background:transparent;
}

.home .sub1{
    width:100%;
    height:calc(35vh);
    justify-content: center;
    color:var(--main-txt-color);
    display:flex;
    flex-direction: column;
    align-items:center;
    /*text-shadow: 0px 0px 10px var(--sub1-txt-shadow), 0px 0px 20px var(--sub1-txt-shadow);*/
    margin-bottom:0;
}
.home .sub1 .title1{
    font-size:14vh;
    margin-bottom:2vh;
    text-shadow: 0px 0px 10px var(--sub1-title1-txt-shadow), 0px 0px 20px var(--sub1-title1-txt-shadow);
    position:relative;
}

.home .sub1 .title1::before {
    content: "";
    position: absolute;
    top: 75%;
    left: 0;
    height: 100%;
    width: 100%;
    background: var(--home-sub1-title1-before);
    transform: perspective(15px) rotateX(10deg) scale(1, 0.2);
    filter: blur(1em);
    opacity: 0.5;
}
.home .sub1 .title1:active{
    color: var(--main-txt-color);
    text-shadow: 0px 0px 5px var(--main-txt-color), 0px 0px 10px var(--main-txt-color);
}
.home .sub1 .title1:active::before{
    opacity: 1;
}
.home .sub1 .title1:hover{
    color: var(--main-txt-color);
    text-shadow: 0px 0px 5px var(--main-txt-color), 0px 0px 10px var(--main-txt-color);
}
.home .sub1 .title1:hover::before{
    opacity: 1;
}

.home .sub1 .content1{
    /*text-shadow: 0px 0px 10px var(--main-txt-color), 0px 0px 0px 15px var(--main-txt-color);*/
    font-weight:900;
}
.home .sub2{
    display: flex;
    justify-content: center;    
    align-items: center;
    height:auto;
    max-height:55vh;    
    position: relative;
    gap:15vw;
}

.home .sub2 .fire-dragon,
.home .sub2 .ice-dragon {
    position: relative;
    z-index: 1; 
}
.home .sub2 .fire-dragon{   
    /*transform:scale(70%,70%) translateX(1vw);*/
    width:450px;
    aspect-ratio: 1/1;
}
.home .sub2 .ice-dragon{
    width:450px;
    aspect-ratio: 1/1;
    transform: scaleX(-1);
}
.home .sub2 .enter{
    display:none;
}

/*@media (max-height:1000px) {
    .home .sub2 .fire-dragon{
        transform:scale(70%,70%) translateX(1vw);
    }
    .home .sub2 .ice-dragon{
       transform:scale(-70%,70%) translateX(1vw);
    }
}
@media (max-height:600px) {
    .home .sub2 .fire-dragon{
        transform:scale(50%,50%) translateX(1vw);
    }
    .home .sub2 .ice-dragon{
       transform:scale(-50%,50%) translateX(1vw);
    }
}*/


/*about us*/
.aboutus{
    background-color:var(--bg-primary);
    width:100%;
    justify-content: start;
    display: block flex;
    min-height:160vh;
    flex-direction: column;
    align-items:center;
    overflow-x:hidden;
    overflow-y:hidden;
    border-bottom:1px solid var(--pages-bottom-border);
    height:auto;
}
.aboutus .outer{
    width:70%;
    background-color:var(--about-us-outer);
    display:flex;
    justify-content: start;
    flex-direction:column;
    align-items: center;
    border-radius: 40px;
    max-width:1200px;
    min-height:100vh;
    flex-shrink: 0;
    height:auto;
    margin-bottom: 40px;
}
.aboutus .title2{
    font-size:6vh;
    color:var(--about-us-txt-color);
    font-weight:900;
    margin-top: 1.5em;
    margin-bottom:1em;
    align-self: flex-start;
    margin-left:11%;
}
.aboutus .content1 , .aboutus .content2{
    background-color:var(--about-us-content);
    width:80%;
    border-radius: 40px;
    color:var(--about-us-txt-color);
    align-items: center;
    padding-bottom:5vh;    
    height:auto;
}
.aboutus .content2{
    margin-bottom:10%;
}
.aboutus hr{
    width:80%;
    margin-top:5%;
    margin-bottom:5%;
}
.aboutus .content1 h1, .aboutus .content2 h1{
    font-size:5vh;
    margin-bottom:30px;
}
.aboutus .content1 p, .aboutus .content2 p{
    height:80%;
    width:80%;
    font-size: 3vh;
    line-height:150%;
    margin-left:50px;
}
.aboutus .content2 p span{
    font-size: 4vh;
    font-weight:900;
}
.aboutus .content2 p{
    line-height:160%;
}
.aboutus .content1 h1, .aboutus .content2 h1{
    margin-top:50px;
    margin-left:50px;   
}
.aboutus{
    padding-top:none;
}
.aboutus .phone-content{
    display:none;
}


/*Product*/
.product{               
    min-height:100vh;
    display:block flex;
    flex-direction: column;
    align-items: center; 
    border-bottom:1px solid var(--pages-bottom-border);
    height:auto;
    background-color:var(--bg-primary);
}
.product .sub1{ 
    width:100%;
    justify-content: left;
    height:auto;    
}
.product .title3{
    color:var(--main-txt-color);
    font-weight:bold;
    margin-left:4vw;
    font-size: 5vh;
    font-weight:900;
}
.product .title3 span{
    color:var(--product-title3-span);
}
.product .list{
    height:auto;
    min-height:50vh;
    width:100%;
    background:transparent;
    display:flex;
    flex-direction:row;
    align-items:stretch;
    margin-top:3vh;
    -ms-overflow-style: none;
    scrollbar-width: 0;
    overflow:hidden;
    margin-bottom:40px;
}   

.product .list .item{
    min-width:24vw;
    height:auto;
    background-color:var(--product-list-item);
    padding: 2vw;
    border-radius:40px;
    margin-left:4vw;
    transition:all 0.2s linear;
}   
.product .list .item h1{
    font-size:4.5vh;
    color:var(--product-txt-color);
    font-weight:900;
    margin-top:0;
    margin-bottom: 1vw;
}

.product .list .item div{
    /*background-color:var(--product-list-item-div);*/
    /*aspect-ratio:1/1;*/
    height:auto;
    width: 100%;
    display:flex;
    align-items:center;
    justify-self:center;
}

.product .list .item div .back{
    z-index:1;
    position:relative;
    transform: translate(-10%,10%);
}

.product .list .item div .back{
    z-index:1;
}

.product .list .item button{
    position: relative;
    width:50%; 
    height:20%;
    background-color: transparent;
    border-color:white;
    color:white;
    border-radius:10px;
    font-family:"Pixelify Sans", sans-serif;
    font-size:larger;
    cursor: pointer;
    overflow: hidden;
    transition: color 0.3s ease;
    z-index: 1;
}

.product .list .item button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: -1;
}

.product .list .item button:active{
    color:#000000;
    border-color:black;
}

.product .list .item button:active::before {
    transform: scaleX(1);
}

.product .left, .product .right{
    position:absolute;
    border-radius:50%;
    border-width:0;
    width:3vw;
    height:3vw;
    background-color:var(--product-list-button);
    color:black;
    transform: translateY(50vh);
}
.product .right{
    right:0.5vw;
}
.product .left{
    left:0.5vw;
}   
.product button:active{
    background-color:var(--product-list-button-active);
}
.product .word-last{
    color:var(--product-word-last);
    margin-left:5vh;
    font-size:10vh;
    align-self: center;
    white-space: nowrap;
    transition:all 0.2s linear;
}

/*Activities*/

.activities{
    min-height:100vh;
    padding: 4vw 4vw;
    color:var(--main-txt-color);
    border-bottom:1px solid var(--pages-bottom-border);
}
.activities .title4{
    margin-bottom:0.5em;
    font-size:6vh;
}

.activities .hl{
    position:relative;
    height:3px;
    background-color:var(--main-txt-color);
    margin-bottom:0;
    width: 60%;
    left:0px;
}
.activities .vl{
    height:20vh;
    width:2px;
    background-color: var(--main-txt-color);
    position:absolute;
    right:50%;
}

/*Policy*/
.policy{
    background:transparent;
    min-height:100vh;
    display:flex;
    align-items:center;
    flex-direction: column;
    height:auto;
    background-color:var(--bg-primary);
}
.policy .sub1{
    width:100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items:center;
}
.policy .sub1 .title4{
    color:var(--main-txt-color);
    font-size:8vh;
    margin-bottom:0;
}

.policy .sub1 .subtitle{
    color:grey;
    font-size:3vh;
    margin-bottom:0;
}

.policy .sub2{
    display:flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    width:100%;
    height:auto;
    gap:3vw;
}
.policy .sub2 .line1, .policy .sub2 .line2{
    display:flex;
    margin:0;
    padding:0;
    flex-direction: row;
    gap: 3vw;
}
.policy .sub2 .card{
    background-color: var(--card-bg-color);
    width: 15vw;
    color:white;
    padding: 40px 20px 10px 20px;
    border-radius: 20px;
    transition: all 0.4s ease;
    height:auto;
    overflow:hidden;
}

.policy .sub2 .card.active{
    box-shadow: 0 20px 35px #ffffff7e;
}

.policy .sub2 .card:hover:not(.active){
    transform:translateY(-10px);
    box-shadow: 0 20px 35px #ffffff7e;
}

.policy .sub2 .card .icon{   
    font-size:5vh;
    margin-bottom: 30px;
    text-align: center;
    color:white;
}
.policy .sub2 .card h1{
    font-size:3vh;
    padding-bottom:20px;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px solid #333;
}
.policy .sub2 .card .container{
    margin-left:3%;
    display:flex;
    flex-direction: row;
    background-color: transparent;
}
.policy .sub2 .card .container div{
    display:flex;
    flex-direction: row;
    background-color: transparent;
}
.policy .sub2 .card ul{
    color:white;
    font-size:2vh;
    line-height:5vh;
    align-items: center;
    white-space: nowrap;
}
.policy .sub2 .card img{
    width:40%;
    aspect-ratio: 1;
}
.policy hr{
    width:80vw;
    background-color: #333;
    border:none;
    height:1px;
    margin-bottom: 50px;
    margin-top:50px;
}
.policy .sub2 .card .more-content{
    display:none;
    margin-left: 4%;
}
.policy .sub2 .card.active .more-content{
    display:block;
    color:white;
}

/*Comment*/
.comment{
    width:100%;
    min-height:50vh;
    color:var(--main-txt-color);
    display:flex;
    flex-direction: column;
    align-items: center;
    border-bottom:1px solid var(--pages-bottom-border);
    background-color:var(--bg-primary);
}
.comment .title5{
    font-size:7vh;
    margin-bottom:0;
    font-weight:100;
}
.comment .subtitle{
    color:grey;
    font-size:5vh;
    margin-top:0;
    font-weight:100;
}
.comment .log-in-bt{
    background-color:white;
    color:rgb(0,0,0,0.54);
    border:none;
    width:345px;
    height:54px;
    font-size: 20px;
    border-radius: 10px;
    text-align: left;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap:15px;
}
.comment .log-in-bt img{
    width: 24px;
    height: 24px;
}

/*footer*/
footer{
    min-height:30vh;
    color:var(--main-txt-color);
    display:flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: start;
    background-color:var(--bg-primary);
}
footer .column1 h1{
    font-size:5vh;
    margin-top: 10px;
}
footer .column2 h1{
    font-size:4vh;
    margin-top: 15px;
}
footer .column3 h1{
    font-size:4vh;
    margin-top: 15px;
}
footer .column2 ul img{
    width:20px;
    height:20px;
}
footer .column2 ul li a{
    text-decoration:none;
    color:var(--main-txt-color);
}


