div,section,p,ul,li,ol,a,span,header,footer,nav,form,dl,dt,dd,table,tr,td,thead,tbody,input,button,select,option{
    box-sizing: border-box;
}
body, html {
    height: 100%; /* ensure full height of the screen */
    margin: 0;
    padding: 0;
}
body{
    font-family: "TTCommonsProRegular","ryo-gothic-plusn", sans-serif;
    background: #242A2C;
    color:#fff;
    font-size: 15px;
}
a{
    display: inline-block;
}

/* Header
============================*/
header {
    position: fixed;
    width: 100%;
    z-index: 1;
}
header .inner{
    display: flex;
    justify-content: space-between;
    padding: 4vw 6vw;
}
header nav li {
    display: inline-block;
}
header nav li a {
    text-decoration: none;
    padding: 0 0 0 30px;
    color: #fff;
}

/* Main Title
============================*/
#main-title {
    position: relative;
    /*min-height: calc(100vh - (var(--safe-area-inset-top, 0px) + var(--safe-area-inset-bottom, 0px))); /* adjust for safe areas on mobile devices */
    height:100vh;
    height: 100dvh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 0 6vw 6vw 0;
    overflow: hidden;
}
#main-title h1,
#main-title p {
    color: #fff; /* adjust text color as necessary */
    text-align: right;
    max-width: 60vw;
}
#main-title h1{
    font-size: 8vw;
    margin:0 0 3vw 0;
}
#main-title h1 span{
    color: #80C039;
    background-image: linear-gradient(106.94deg,#15c064 28.5%,#00d1ff 91.82%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
#main-title p{
    color: #D3D4D4;
    line-height: 1.3;
}
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: -1;
    pointer-events: none;
    opacity: 0.7;
}
#background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    transform: translateX(-50%) translateY(-50%);
    background-size: cover;
}


/* Add any additional styles for h1, p (like font-size, line-height etc.) */

/* Main Title
============================*/
section.contents{
    padding: 20vw 6vw;
}
section.contents h2{
    font-size: 4vw;
    margin: 0 0 3vw 0;
}
section.contents h3{
    font-weight: bold;
    margin: 0 0 10px;
    line-height: 2;
}
section.contents h3:nth-child(n+3){
    margin: 6vw 0 10px 0;
}
section.contents p{
    font-size: 13px;
    line-height: 2;
    max-width: 50vw;
    color: #AEB2B3;
    margin: 0 0 10px 0;
}
section.contents figure img{
    width: 100%;
    margin: 20px 0 0 0;
}
section.contents p:last-child{
    margin: 0;
}
section.contents a{
    color:#fff;
    text-decoration: underline;
}
section.contents ul{
    max-width: 50vw;
}
section.contents ul li {
    display: flex;
    font-size: 13px;
    line-height: 2;
    color: #AEB2B3;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 15px 0;
}
section.contents span{
    display: block;
}
section.contents span:first-child{
    width: 30%;
}

/* Projects
============================*/
section.contents .portfolio {
    padding: 0 0 100px 0;
}
section.contents .portfolio h4 {
    margin-bottom: 10px;
}
section.contents .portfolio-images img{
    width: 100%;
    margin: 0 0 20px 0;
}
section.contents .portfolio-description {
    line-height: 2;
}

/* Footer
============================*/
footer{
    text-align: right;
    padding: 4vw 6vw;
    font-size: 10px;
}

/* Smart Phone
============================*/
@media screen and (max-width: 740px) {
    body{
        font-size: 12px;
    }
    /* Header
    ============================*/
    header .inner{
        padding: 5vw 6vw;
    }
    header nav{
        text-align: right;
    }
    header nav li a {
        text-decoration: none;
        padding: 0 0 0 10px;
        color: #fff;
    }
    
    /* Main Title
    ============================*/
    #main-title h1,
    #main-title p {
        max-width: 80vw;
    }
    #main-title h1{
        font-size: 10vw;
        margin:0 0 3vw 0;
    }
    #main-title p{
        font-size: 11px;
    }
    
    /* Add any additional styles for h1, p (like font-size, line-height etc.) */
    
    /* Main Title
    ============================*/
    section.contents{
        padding: 40vw 6vw;
    }
    section.contents h2{
        font-size: 10vw;
        margin: 0 0 6vw 0;
    }
    section.contents h3:nth-child(n+3){
        margin: 10vw 0 10px 0;
    }
    section.contents p{
        font-size: 12px;
        max-width: 80vw;
    }
    section.contents ul{
        max-width: 80vw;
    }
    section.contents ul li {
        font-size: 11px;
        padding: 10px 0;
        display: block;
    }
    section.contents span{
        word-break:break-all;
    }
    section.contents span:first-child{
        width: 100%;
        color: #fff;
    }
    
    /* Footer
    ============================*/
    footer{
        text-align: right;
        padding: 4vw 6vw;
        font-size: 10px;
    }
}