@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alice&Nunito:wght@200;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alice&family=Nunito:wght@200;600;700;800&family=Raleway:wght@100&family=Sarabun&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alice&family=Noto+Serif+JP&family=Nunito:wght@200;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;600;700;800&family=Sarabun&display=swap');
*{
    margin: 0;
    padding: 0;
    outline: none;
}
body, html {
    width: 100%;
    height: 100%;
    display: block;
    float: left;
    /* min-width: 720px;
    min-height: 420px; */
}
body {
    background-color: rgb(255, 255, 255);
    font-family: Trebuchet MS, Helvetica;
    z-index: 1;
}
#header {
    position: absolute;
    width: 99%;
    padding: 0px 0.5% 0px 0.5%;
    background: rgb(255, 255, 255);
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0);
    transition: .6s;
    float: left;
    z-index: 5;
}
#headerContent
{
    width: 1160px;
    margin: 0 auto;
}
#logo
{
    background-color: rgb(255, 255, 255);
    float: left;
    transition: .6s;
    width: max-content;
    height: 50px;
    margin-top: 5px;
    margin-left: 5px;
    transition: .5s;
    margin-bottom: -30px;
    color: rgb(255, 0, 100);
    cursor: pointer;
}
#mainLogo
{
    width: max-content;
    font-size: 1.2em;
    font-family: Sarabun;
    transition: .5s;
}
#FirstLogoText
{
    float: left;
    max-width: 150px;
    color: #2b2b2b;
    transition: .5s;
}
#SecondLogoText
{
    font-family: 'Noto Serif JP';
    float: left;
    max-width: 100px;
    color: #2b2b2b;
    transition: .5s;
}


#about {
    text-align: right;
    line-height: 40px;
    margin-bottom: 10px;
    float: right;
    width:230px;
    margin-top: 10px;
    font-size:1em;
    cursor: pointer;
    overflow:hidden;
    transition: .5s;
}

#about a
{
    text-decoration: none;
    color: rgb(77, 77, 77);
    font-size:1em;
    font-family: 'Nunito', serif;
    font-weight: 600;
}
#topProj
{
    text-align: center;
    margin: 15px 5% 10px 0;
    transform: translate(-20% 20%);
    width: 100px;
    cursor: pointer;
    overflow:hidden;
    color: rgb(77, 77, 77);
    transition: .6s;
    border-right: 2px solid transparent;
    padding: 2px 30px 2px 0;
}
#topProj:hover
{
    color: #cc2b5e;
    transition: .6s;
}

header.fixed #logo
{
    color:rgb(255, 0, 100);
}
#topMenuArrow
{
    color: rgb(77, 77, 77);
    line-height: 10px;
    margin: 0 3px 2px 0;
    font-family: 'Noto Serif JP';
    transition: .6s;
    writing-mode:vertical-rl;
    transform: rotateZ(-90deg);
    padding: 0;

}
#topProj:hover #topMenuArrow
{
    color: #cc2b5e;
    transform: rotateZ(0deg);
    transition: .6s;
    
} 
#topMenu
{
    margin-bottom: 10px;
    margin-top: 15px;
    cursor: pointer;
    overflow:hidden;
    color: rgb(77, 77, 77);
    transition: .6s;
    padding: 2px 6% 2px 0;
    border-right: 2px solid transparent;
}
#topMenu:hover {
    color:rgb(223, 147, 163);
    transition: .6s;
    background: linear-gradient(90deg, transparent 20%, rgba(255,0,100,0.2));
    border-right: 2px solid rgb(255, 0, 100);
}
#topSubMenu
{
    -webkit-backdrop-filter: blur(5px);/********************/
    backdrop-filter: blur(5px);
    background-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0px 3px 5px rgba(2, 2, 2, 0.1);
    border-radius: 10px;
    border-right: 2px #cc2b5e;
    height: 0px;/***********************/
    display: flex;
    opacity: 0;
    flex-direction: column;
    position: absolute;
    line-height: 40px;
    padding: 0px 10px 5px 10px ;
    margin: -10px 0px 0px 0px; /***********************/
    color: #292929;
    cursor: pointer;
    overflow:hidden;
    border-bottom: 1px solid rgb(255, 0, 100);
    transition: .5s;
}
#topSubMenu:hover
{
    opacity: 1;
    height: 125px;/***********************/
    transition: .5s;
    border-bottom: 1px solid rgb(255, 0, 100);
}
#topSubMenu > a:hover
{
    color: #cc2b5e;
    transition: .5s;
}
#topProj:hover ~#topSubMenu
{
    display: flex;
    opacity: 1;
    height: 125px;/***********************/
    transition: .5s;
}

#threeModel
{
    position: absolute;
    
    left: 50%;
    right: 0;
    float: left;
    width: auto;
    aspect-ratio: 1/1;
    background-color: rgba(179, 32, 32, 0);
    z-index: 0;
    transition: .5s;
}
.main 
{
    position: absolute;
    left: 0;
    right: 0;
    float: left;
    margin: 60px auto;
    width: 1160px;
    height:fit-content;
    color:#292929;
    font-size: 1.3em;
    -webkit-backdrop-filter: blur(10px);/********************/
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.2);
    transition: .5s;
}
.main img
{
    max-width: 20px;
}
#UpperImages
{
    margin-top: 10%;
}
#Triangle1
{
    float:right;
    padding-top: 50px;
    padding-right: 30%;
    transition: .5s;
}
#Square2
{
    float: right;
    padding-right: 10%;
}

#MyName 
{
    font-family: 'Alice';
    font-size: 1.9em;
    max-width: 300px;
    float: left;
    padding-top: 8%;
    padding-left: 24%;
    transition: .5s;
}
#LineDrawing2
{
    margin-left: 100px;
    margin-top: 4%;
    background-color: #cc2b5e;
    width: 15%;
    height: 5px;
    transition: .5s;
}
#MiddleImages
{
    margin-top: 5%;
    float: right;
    width: 40%;
    padding-bottom: 5%;
    display: flex;
    flex-direction: column;
}
#LineDrawing1
{
    background-color: #cc2b5e;
    width: 50%;
    height: 40px;
    margin-left: 30%;
    float: right;
    transition: .5s;
}
#Circle1 
{
    padding-top: 10%;
    float: right;
}


#LineDrawing3
{
    float:  left;
    background-color: #cc2b5e;
    width: 40%;
    height: 2px;
    transition: .5s;
}
#BelowImage
{
    float:  left;
    width: 80%;
    height: 1%;
}
#BelowImage1 
{
    float:  left;
    margin-left: 80%;
}
#BelowImage2 
{
    float:  left;
    margin-right: 70%;
    
}
#BelowImage3
{
    float:  left;
    margin-left: 70%;
}
#Description
{
    padding-top: 20px;
    width: 50%;
    float:  left;
    padding-left: 20%;
    margin-bottom: 10.5%;
    transition: .5s;
}
#MainText
{
    text-align: center;
    font-size: 1em;
    font-family: 'Raleway';
    color:#858585;
    max-width: 600px;
    transition: .5s;
}
#Contact
{
    display: flex;
    margin:0 auto;
    width: 70%;
    justify-content: space-evenly;
}
@media (min-width: 1280px) {
    #threeModel
    {
    left: 50%;  /*******************/
    transition: .5s;/*******************/
    }
}
/* ##########################################
MEDIA WHEN WINDOW < 1280 
##############################################*/
@media (max-width: 1280px) {
    #headerContent {
        width: 920px; /*******************/
        margin: 0 auto;
    }
    #logo {
        background-color: rgb(255, 255, 255);
        float: left;
        transition: .6s;
        height: auto;/********************/
        margin-top: 5px;
        margin-left: 5px;
        transition: .5s;
        margin-bottom: -30px;
        color: rgb(255, 0, 100);
        cursor: pointer;
    }

    #mainLogo {
        font-size: 1em;/********************/
        transition: .5s;
    }
    #mainLogo h2/********************/
    {
        float: left;
        max-width: 150px;
        color: #2b2b2b;
        transition: .5s;
    }
    #SecondLogoText {/********************/
        font-family: 'Noto Serif JP';
    }


    #about {
        width: 200px;/*******************/
        margin-top: 0px;/********************/
        transition: .5s;
    }

    #about a {
        font-size: .8em;/*******************/
    }


    #topSubMenu {
        line-height: 30px;/********************/
        transition: .5s;
    }

    #topSubMenu:hover {
        height: 95px;/********************/
        transition: .5s;
    }

    #topProj:hover~#topSubMenu {
        height: 95px;/********************/
        transition: .5s;
    }
    #threeModel
    {
    left: 40%;  /*******************/
    transition: .5s;/*******************/
    }

    .main {
        width: 920px;/********************/
        -webkit-backdrop-filter: blur(7px);/********************/
        backdrop-filter: blur(7px);/********************/
        transition: .5s;
    }

    .main img {
        max-width: 16px;/********************/
    }

    #UpperImages {
        margin-top: 6%; /*******************/
    }

    #MyName {
        font-size: 1.5em;/********************/
        transition: .5s;
    }

    #LineDrawing2 {
        height: 2px;/********************/
        transition: .5s;
    }

  

    #LineDrawing1 {
        height: 30px;/********************/
        transition: .5s;
    }

    #Description {
        margin-bottom: 7%;/********************/
        transition: .5s;
    }
    #MainText {
        font-size: 0.7em;/********************/
        transition: .5s;
    }
   
}
/* ##########################################
MEDIA WHEN WINDOW < 950
##############################################*/
@media (max-width: 950px) {
    #headerContent {
        width: 720px; /*******************/
    }
    
    #mainLogo {
        font-size: .7em;/*******************/
        transition: .5s;
    }
    

    #about {
        width: 180px;/*******************/
        transition: .5s;
    }

    #about a {
        font-size: .7em;/*******************/
    }

    #topProj {
        margin: 5px 5% 5px 0;/*******************/
        transition: .6s;
    }

    #topMenuArrow {
        line-height: 4px;/*******************/
        transition: .6s;

    }


    #topMenu {
        margin-bottom: 5px;/*******************/
        margin-top: 5px;/*******************/
    }
    #topSubMenu {
        line-height: 25px;/********************/
        transition: .5s;
    }

    #topSubMenu:hover {
        transition: .5s;
        height: 75px;/********************/
    }

    #topProj:hover~#topSubMenu {
        height: 75px;/********************/
    }
    #threeModel
    {
    left: 35%;  /*******************/
    transition: .5s;/*******************/
    }

    .main {
        width: 720px; /********************/
        -webkit-backdrop-filter: blur(4px);/********************/
        backdrop-filter: blur(4px);/********************/
        transition: .5s;
    }

    .main img {
        max-width: 10px;/********************/
    }

    #UpperImages {
        margin-top:1%;/********************/
    }

    #MyName {
        font-size: 1em;/********************/
        max-width: auto;/********************/
        transition: .5s;
    }

    #LineDrawing2 {
        height: 2px;/********************/
        transition: .5s;
    }

    
    #Circle1 {
        padding-top: 2%; /********************/
    }

    #MainText {
        font-size: 0.6em;/********************/
        transition: .5s;
    }
    
}


/* ##########################################
MEDIA WHEN WINDOW < 720
##############################################*/
@media (max-width: 720px) {
    
    #headerContent {
        width: auto; /*******************/
    }
    #threeModel
    {
    left: 30%;  /*******************/
    transition: .5s;/*******************/
    }
    .main {
        width: auto; /********************/
        -webkit-backdrop-filter: blur(2.5px);/********************/
        backdrop-filter: blur(2.5px);/********************/
        transition: .5s;
    }


    #MyName {
        max-width: auto;/********************/
        transition: .5s;
    }

    #Circle1 {
        padding-top: 2%; /********************/
    }
    
    #Description {
        padding-top: 10px;/********************/
        padding: 10px 0 0 0;
        width: 100%;
        transition: .5s;
    }
    #MainText {
        font-size: 0.6em;/********************/
        width:65%;
        display: block;
        margin: auto;
        transition: .5s;
    }
    
}
/* ##########################################
MEDIA WHEN WINDOW < 500
##############################################*/
@media (max-width: 500px) {
    
    
    #threeModel
    {
    left: 20%;  /*******************/
    transition: .5s;/*******************/
    }
    #MainText {
        font-size: 0.6em;/********************/
        width: 90%;
        display: block;
        margin: auto;
        transition: .5s;
    }
    
}


