/* body */
.body{
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    background: black;
    font-family: "Segoe UI", "Helvetica Neue", "Hiragino Kaku Gothic ProN";
}


/* header */
.header{
    position: relative;
    height: 90px;
    width: 100%;
}

.header_tytle_block{
    position: absolute;
    height: 100%;
    width: 100%;
    text-align: center;
}

.header_tytle{ 
    height: 90%;
    margin-top: auto;
    margin-bottom: auto;
}

.header_border{
    display: block;
    position: absolute;
    width: 90%;
    height: 2px;
    bottom: 0;
    margin-bottom: 3px;
    margin-left: 5%;
    margin-right: 5%;

    background: rgba(200, 200, 200, 1);
    border-radius: 50%;
}


/* sidemenu */ 
.sidemenu input[type=checkbox] {
    display: none;  
}

/*sidemenu hamburger*/
.hamburger{
    position: fixed;
    background: rgba(150, 150, 150, 0.8);
    top: 20px;
    left: 20px;
    height: 50px;
    width: 50px;
    z-index: 5000;
    border-radius: 50%;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;

    cursor: pointer;
    transition: all 0.3s;
}

.hamburger_line{
    height: 4px;
    width: 30px;
    background: rgba(200, 200, 200, 1);
    transition: all 0.3s;
}

.hamburger_line{
    position: relative;
    margin: 2px;
}

.sidemenu_checkbox:checked ~ .hamburger > .hamburger_top_line{
    -moz-transform      : translateY(8px) rotate(135deg);
    -webkit-transform   : translateY(8px) rotate(135deg);
    transform           : translateY(8px) rotate(135deg);
}

.sidemenu_checkbox:checked ~ .hamburger > .hamburger_middle_line{
    -moz-transform      : scale(0);
    -webkit-transform   : scale(0);
    transform           : scale(0);
}

.sidemenu_checkbox:checked ~ .hamburger > .hamburger_bottom_line{
    -moz-transform      : translateY(-8px) rotate(-135deg);
    -webkit-transform   : translateY(-8px) rotate(-135deg);
    transform           : translateY(-8px) rotate(-135deg);
}

/*sidemenu content*/
.sidemenu_content{
    position: fixed;
    margin: 0;
    top: 0;
    left: 0;
    height: 100%;
    width: 250px;
    z-index: 4000;
    
    background: rgba(80, 80, 80, 0.9);
    padding: 0;
    padding-top: 90px;
    
    transform: translateX(-250px);
    transition: all 0.3s ease-in-out;
}

.sidemenu_checkbox:checked ~ .sidemenu_content{
    transform: translateX(0);
}

.sidemenu_content a{
    text-decoration: none;
    cursor: pointer;
}

.sidemenu_item{
    border-top: 2px solid rgba(200, 200, 200, 1);
    
    margin: 0;
    height: 15%;
    max-height: 80px;
    
    display: flex;
    align-items: center;
    
    font-size: 20px;
    font-weight: bold;
    color: rgba(200, 200, 200, 1);
}

.sidemenu_item:hover{
    background: rgba(150, 250, 200, 0.3);
    color: rgba(250, 250, 250, 1);
}


.sidemenu_item_text{
    margin-left: 40px;

}

.sidemenu_about{
    border-bottom: 2px solid rgba(200, 200, 200, 1);
}

/* footer */
.footer{
    position: absolute;
    bottom: 0;
    width: 100%;
}

.footer_contents {
    background-color: #333;
    color: #fff;
    text-align: center;
}

.footer_contents .footer_copyright {
    display: block;
    padding: 10px;
    border-top: 1px solid gray;
    margin: 0 auto;
    color: gray;
}


/* for landscape*/
@media screen and (orientation: landscape) {
    .sidemenu_item{
        height: 15%;        
    }
}


/* for smartphone */
@media screen and (max-width: 480px){

    /* header */
    .header{
        position: relative;
        height: 80px;
        width: 100%;
    }
    
    /* sidemenu */
    /* sidemenu hamburger */
    .hamburger{
        top: 20px;
        left: 20px;
        height: 40px;
        width: 40px;
    }

    .hamburger_line{
        height: 3px;
        width: 25px;
    }

    .sidemenu_checkbox:checked ~ .hamburger > .hamburger_top_line{
        -moz-transform      : translateY(7px) rotate(135deg);
        -webkit-transform   : translateY(7px) rotate(135deg);
        transform           : translateY(7px) rotate(135deg);
    }
    
    .sidemenu_checkbox:checked ~ .hamburger > .hamburger_middle_line{
        -moz-transform      : scale(0);
        -webkit-transform   : scale(0);
        transform           : scale(0);
    }
    
    .sidemenu_checkbox:checked ~ .hamburger > .hamburger_bottom_line{
        -moz-transform      : translateY(-7px) rotate(-135deg);
        -webkit-transform   : translateY(-7px) rotate(-135deg);
        transform           : translateY(-7px) rotate(-135deg);
    }
}