@import url('https://fonts.googleapis.com/css2?family=Clicker+Script&family=Itim&family=Poppins:wght@100;200;300;400;500;600;700;800&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Zen+Kurenaido&display=swap');

:root{
--main-color:#111111;
--sub-color:#D9D9D9;
--bg-color:#F5F5F5;
--text-color-gray:#333333;
--text-color-white:#FFFFFF;
}


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* overflow: hidden; */
}

a{
    text-decoration: none;
    color:var(--text-color-gray)
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background: var(--bg-color);
}


.container{
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-rows: 5% 25% 70%;
    grid-template-columns: 1fr;
    border: 1rem solid var(--bg-color);
    border-bottom: none;
    gap:8px;
}



.nav{
grid-row: 1;
grid-column: 1;
display: flex;
justify-content: flex-end;
align-items: center;
z-index: 2;
}

.nav .nav-left{
    text-align: end;
    margin-right: 10px;
}

.nav .nav-left .sub a{
    margin-left: 20px;
    color: var(--text-color-gray);
}

.nav .nav-left .sub a:hover{
    border-bottom: 1px solid var(--text-color-gray);
}


.nav .nav-left .icon i{
    color: var(--text-color-gray);
    margin-left: 10px;
    margin-top: 5px;
    cursor: pointer;
}

.nav .nav-left .icon i:hover{
    color: rgb(252, 130, 17);
}



.nav .nav-right span{
    display: inline-block;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
    user-select: none;
}

.nav .nav-right span.open{
    background: var(--sub-color);
}


.mid{
    grid-row: 2;
    grid-column: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.mid .mid-left{
    display: flex;
    flex:0 0 70%;
    max-width: 70%;
    justify-content: flex-start;
    align-items: flex-start;
}

.mid .mid-left img{
    width: 30vw;
    max-width: 250px;
    min-width: 240px;
    padding:0 25px;
}


.mid .mid-left p{
    width: 60%;
    font-size: clamp(0.5rem,1vw,0.8rem);
    padding: 10px 25px;
    border-left: 1px solid gray;
    display: inline-block;
    color:var(--text-color-gray);
}


.mid .mid-right ul{
    list-style: none;
    writing-mode: vertical-rl;
text-orientation: upright;
}

.mid .mid-right ul li{
    margin-left:20px;
    color:var(--main-color);
}

.mid .mid-right ul li a{
   transition: all 0.3s ease;
   padding: 5px;
   position: relative;
   height: 100%;

}

.mid .mid-right ul li a:hover{
    color: rgb(252, 130, 17);
}


.mid .mid-right ul li a:hover::before{
    content:"🍊";
    position: absolute;
    font-size: 1.5rem;
    transition: all 1s ease-in-out;
    top: -1.6rem;
}


.mid .menu-toggle{
    position: absolute;
    right: 5px;
    width: 50px;
    height: 50px;
    border: 1px solid var(--text-color-gray);
    border-radius: 50%;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 1px 1px 2px var(--text-color-gray);
}

.mid .menu-toggle span{
    display: inline-block;
    width: 30px;
    height: 1px;
    background-color: var(--text-color-gray);
    position: relative;
}

.mid .menu-toggle span::before{
    content:'';
    width: 30px;
    height: 1px;
    position: absolute;
    background-color: var(--text-color-gray);
    bottom:8px;
}

.mid .menu-toggle span::after{
    content:'';
    width: 30px;
    height: 1px;
    position: absolute;
    background-color: var(--text-color-gray);
    top:8px;
}


.mid .mobile-menu{
    position: absolute;
    width: 100%;
    background: rgba(255,255,255,0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transition: all 0.8s ease;
    transform: translateY(0%);

}

.mid .mobile-menu ul{
    width: 100%;
    transition: all 0.8s ease;
}

.mid .mobile-menu ul li{
    width: 100%;
    text-align: center;
}


.mid .mobile-menu ul li a{
    display: inline-block;
    width: 100%;
    border-bottom: 1px solid var(--text-color-gray);
    padding: 10px 0;
}

.mid .mobile-menu ul li.i-menu{
    width: 100%;
    padding: 10px 0;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    border-bottom: 1px solid var(--text-color-gray);
}

.mid .mobile-menu ul li.i-menu i{
    cursor: pointer;
}

.mid .mobile-menu ul li a:hover{
    background: rgba(0,0,0,0.5);
    color: var(--text-color-white);
}

.mid .mobile-menu ul li.lang-menu{
    width: 100%;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lang-menu span{
    display: inline-block;
    width: 50px;
    cursor: pointer;
    margin-right: 10px;
}



.bottom{
    grid-row: 3;
    grid-column: 1;
    position: relative;
    overflow: hidden;
    background: rgb(0, 89, 255);
}



.bottom  img{
    width: 100%;
    min-height: 100%;
    object-fit: cover;
}


.slogen{
 position: absolute;
 left:2.5rem;
 bottom:3rem;
}


.slogen .mobile h1,
.slogen h1,
.slogen h2{
    background: var(--bg-color);
    color: var(--main-color);
    display: inline-block;
    margin-bottom: 10px;
    font-size: clamp(0.3rem,2.1vw,1.5rem);
    text-wrap: nowrap;
    font-family: "Zen Kurenaido",sans-serif;
    padding-left: 15px;
    
}

.slogen .mobile h1{
    display: none;
}


.slogen h1{
    margin-bottom: 25px;
    font-size: clamp(1rem,4vw,3rem);
}




@media (max-width:1400px){
    .mid .menu-toggle,
    .mid .menu-toggle.open{
        display: flex;
        z-index: 3;
    }


    .mid .menu-toggle.open span{
    background: transparent;
    }

    .mid .menu-toggle.open span::before{
        transform: rotate(135deg);
        bottom: 0;
    }

    .mid .menu-toggle.open span::after{
        transform: rotate(45deg);
        top: 0;
    }



    .mid .mobile-menu.open{
        opacity: 1;
        transition: all 0.8s ease;
        z-index: 3;
        transform: translateY(67%);
    }


    .container{
        border: none;
        grid-template-rows: 20% 80%;
        gap:0;
    }
    

    .nav{
        display: none;
    }

    .mid{
        grid-row: 1;
        margin: 0;
    }


    .mid .mid-left{
        flex:0 0 100%;
        max-width: 100%;
        align-items: center;
    }
    
    .mid .mid-left p{
        width: 65%;
    }


    .mid .mid-right{
        display: none;
    }


    .bottom{
      grid-row: 2;
    }


}


@media (max-width:650px){
    .mid .mid-left img{
        width: 250px;
    }
    
    
    .mid .mid-left p{
      display: none;
    }

    .slogen h1,
    .slogen h2{
        display: none;
    }

    .slogen{
        left:1rem;
        bottom:0rem;
       }

    .slogen .mobile h1{
        font-size: 2.5rem;
        display: inline-block;
    }
}