/* Example CSS file */ 
@font-face {
    font-family: 'Zodiac';
    src: url('../../assets/fonts/Zodiak-Regular.woff2') format('woff2'),
    url('../../assets/fonts/Zodiak-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Zodiac';
    src: url('../../assets/fonts/Zodiak-Italic.woff2') format('woff2'),
    url('../../assets/fonts/Zodiak-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Sono';
    src: url('../../assets/fonts/Sono-SemiBold.woff2') format('woff2'),
    url('../../assets/fonts/Sono-SemiBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

body{
    margin: 0;
    width:100%;
    height:100%;
    box-sizing: border-box;
    overflow:hidden;
}

::-webkit-scrollbar {
  width: 12px;               /* width of the entire scrollbar */
}

::-webkit-scrollbar-track {
  background: white;        /* color of the tracking area */
}

::-webkit-scrollbar-thumb {
  background-color: var(--link_font_color);    /* color of the scroll thumb */
}

::-webkit-scrollbar-thumb:active { 
  background-color: var(--default_font_color);
}  

::-webkit-scrollbar-thumb:hover { 
  background-color: var(--default_font_color);
}  

:root{
    --default_font_color: #434242;
    --link_font_color: #996666;
    --left-margin : 40px;
    --full-height : 100%;
    scrollbar-color: var(--link_font_color) white;   /* scroll thumb and track */ 
}

a:hover{
  color:#ffcc66;
}

.right_image{
    width:100%;
}

.text_content{
  padding-bottom:80px;
}

.introduction{
    font-family: Sono;
    font-size: 24px;
    line-height: 31px;
    position:relative;
    top:61px;
    margin-right:40px;
    margin-left:40px;
    color:var(--default_font_color);
    padding-bottom:80px;
}

.introduction p{
    margin-bottom:10px;
}

.right_image:last-child{
  margin-bottom:100px;
}

.right_image:first-child{
    margin-top:200px;
}

html{
    width:100vw;
    height:var(--full-height);
}

header{
    width:100%;
    height:70px;
    display:flex;
    align-items: center;
    position:fixed;
    z-index:20;
    background-color:white;
    font-family: Sono;
}

.project_content{
    margin-left: var(--left-margin);
    margin-right: var(--left-margin);
    margin-top: 90px;
    position:relative;
    margin-bottom:90px;
}

.project_infos{
    position: absolute;
    top:7px;
    color: var(--default_font_color);
    font-family: Zodiac;
}

.project_date{
    font-size:40px;
    margin-top:0px;
    margin-bottom:5px;
    
}

.project_desc{
    font-size:20px;
    margin:0;
    max-width:80px;
}

.project_content h1{
    font-family:Sono;
    color : var(--default_font_color);
    text-align: center;
    font-size:60px;
    max-width: 500px;
    margin-left:auto;
    margin-right:auto;
    margin-bottom:0;
    line-height: 60px;
}

.project_content h2{
    font-family:Zodiac;
    font-size:50px;
    font-style:italic;
    max-width:500px;
    margin-left:auto;
    margin-right:auto;
    color : var(--default_font_color);
    text-align: center;
    margin-top:0;
    line-height:50px;
}

.title_content{
    font-size: 40px;
    color: var(--link_font_color);
    font-family: Sono;
    font-weight:bold;
}

.site_title{
    margin-left:70px;
}

.notice {
    font-size: 17px;
    color : var(--default_font_color);
    font-family: Zodiac;
}

.main_nav_container{
    position: absolute;
    right: 60px;
    z-index:99;
    top:0;
    pointer-events: all;
    
}

.main_nav_container ul > li{
    display:inline-block;
    margin-right:20px;
    
}

#main_page{
  position:relative;
  height: var(--full-height);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.navigation{
    width:100%;
    position:absolute;
    height: 125px;
    top:0;
    transition : all 0.6s ease-out;
    background-color: rgba(255,255,255, 0.8);
    pointer-events: all;
}

.annexes_content p:first-child{
    font-family: Sono;
    font-size:30px;
    color:var(--default_font_color);
    line-height:38px;
}

.introduction p:first-child{
  font-family: Zodiac;
}

.annexes_content{
    margin-right:40px;
    position:relative;
    top:174px;
    margin-bottom:20px;
    padding-bottom:50px;
}

h3{
    font-family: Sono;
}

.navigation ul{
    padding-left:0;
    margin-bottom:0;
    margin-top:0;
    height: calc(var(--full-height) - 115px);
    overflow:hidden;
}

#nosafari{
  position:fixed;
  width:100%;
  height:100%;
  z-index:999;
  background-color: white;
  display:none;
}

#nosafari p{
  font-family: Sono;
  font-size:200%;
  margin-left:40px;
  margin-right:40px;
}

.hidden_input{
    position:absolute;
    top:-1000px;
}

#summary:checked ~ .navigation{
    height:var(--full-height);
    
}

#summary:checked ~ .navigation > label > p::after{
    content:"▲";
}

#slide:checked ~ .page_container{
   margin-left: calc(-100vw + 60px);  
}

#slide:checked ~ .page_container > .left_part > #right_side > .right_section > .slide_action p::after{
    content:"◀";
 }

#nav_container{
    width:50%;
    position:absolute;
    z-index:15;
    right:0;
    height: 100%;
    min-height: 100vh;
    top:0;
    pointer-events:none;
}

.text_content{
    font-size: 22px;
    color: var(--default_font_color);
    line-height:31px;
    font-family: Zodiac;
}

.vertical_container{
    width:40px;
    float:left;
}

#menu_name {
    bottom: 10px;
    z-index: 11;
    font-size: 36px;
    font-family: Sono;
    font-weight: bold;
    color: var(--default_font_color);
    margin-top: 14px;
    margin-bottom: 0;
  }

.arrow_down{
    font-size:40px;
    margin-left:10px;
    margin-bottom:0;
    margin-top:0;
    font-family: Sono;
    color: var(--link_font_color);
    line-height:55px;
}

.arrow_down::after{
    content: "▼";
    
}


.sub_header{
    width:100%;
}

.left_part{
    width:50%;
    height:100%;
    position:relative;
    float:left;
}

.right_part{
    width:100vw;
    height: var(--full-height);
    position:relative;
    float:left;
    background-size: cover;
    background-repeat: no-repeat;
}


.nav_expander{
    width:100%;
    height:60px;
    background-color: #00ff99;
    position: absolute;
    bottom:0;
    z-index:1;
    cursor:pointer;
    display:block;
}

.right_section{
    height:100%;
    width:100%;
    background-size: cover;
    overflow: hidden;
}

#right_content{
    width: calc(100% - 60px);
    height:100%;
    position:relative;
    float:left;
    overflow:auto;
}

.slide_action{
    height:100%;
    width:60px;
    position:relative;
    float:left;
    background-color: #ffcc66;
    right:0;
    z-index:25;
    cursor:pointer;
    display:flex;
    align-items: center;
    justify-content: center;
}

.slide_action p{
    font-size:40px;
    color:var(--link_font_color);
}

.slide_action p::after{
    content:'▶'
}

.page_container{
    width:200%;
    height:calc(100% + 70px);
    transition : all 0.6s ease-out;
}

.page_section{
    width:50%;
    height:var(--full-height);
    position:relative;
    float:left;
    overflow: auto;
    
}

a{
   color: var(--link_font_color);
   text-decoration: none;
}

li {
    list-style: none;
    font-family: Sono;
    line-height: 37px;
    font-weight: bold;
    font-size: 36px;
  }

  .navigation li{
    font-size:32px;
  }

li > a:hover{
    color: #ffcc66; 
}

@media screen and (max-width:1500px){

  .introduction {
    font-size: 22px;
    line-height: 29px;
  }

  .annexes_content p:first-child {
    font-size: 25px;
    line-height: 31px;
  }

    .navigation li {
        font-size: 28px;
      }

    .project_content h1{
        font-size:45px;
        max-width:350px;
        line-height:45px;
    }

    .project_date {
        font-size: 25px;
    }

    .project_desc {
        font-size: 17px;
    }

    .text_content {
        font-size: 19px;
        line-height: 27px;
    }

    .notice {
        font-size: 16px;
    }

    li {
        line-height: 35px;
        font-size: 27px;
      }

      .title_content {
        font-size: 35px;
      }

      .project_content h2 {
        font-size: 40px;
        max-width: 350px;
        line-height: 40px;
      }
      

      .main_nav li{
        font-size:36px;
      }

      .nav_expander {
        height:50px;
      }

      .slide_action {
        width:50px;
      }

      #right_content {
        width: calc(100% - 50px);
      }

      .navigation {
        height: 110px;
      }

      #slide:checked ~ .page_container{
        margin-left: calc(-100vw + 50px);  
     }

     .navigation ul {
        height: calc(var(--full-height) - 107px);
      }
}

@media screen and (max-width:1000px){
  .right_image:last-child{
    margin-bottom:0;
  }

  .introduction {
    font-size: 25px;
    line-height: 32px;
  }
  .annexes_content {
    margin-right: 40px;
    margin-left:40px;
  }

  #nav_container {
    width: 100%;
    position: fixed;
    z-index: 1;
    top: 65px;
    height: calc(100% - 65px);
    min-height:unset;
  }

      #menu_name {
        margin-left:40px
      }

      .navigation ul {
        padding-left: 40px;
        height: calc(var(--full-height) - 107px);
      }

      

      .arrow_down {
        margin-left:40px;
      }

      #summary:checked ~ .navigation{
        height:var(--full-height);
        
    }
    .slide_action {
        width: 30px;
      }

      .page_section {
        width: 100%;
        height:auto;
        overflow:unset;
      }

      .page_section:first-child{
        margin-top:150px;
      }

      #right_content {
        overflow: unset;
      }

      .right_section {
        overflow:unset;
      }

      .right_image:first-child{
        margin-top:0;
      }

      .slide_action {
        width: 40px;
        position: fixed;
        left: calc(50% - 40px);
        top: 0;
        height:var(--full-height);
      }

      #slide:checked ~ .page_container{
        margin-left: -100vw;
     }

     body{
        overflow:auto;
     }

     

     .page_container{
        width:auto;
     }

     .left_part {
        width: 100%;
        float:none;
      }

      .main_nav_container {
        position: fixed;
        right:40px;
        background-color:white;
      }

      .slide_action{
        display:none;
      }

      .right_part{
        width:100%;
      }

      #right_content{
        width:100%;
      }

      .project_date {
        font-size: 28px;
      }

      .project_infos{
        top:6px;
      }

      .project_desc {
        font-size: 18px;
        line-height:23px;
      }

      .text_content {
        font-size: 22px;
        line-height: 31px;
      }

      .notice {
        font-size: 17px;
      }

      .site_title{
        margin-left:40px;
    }
      
}

@media screen and (max-width:580px){
  .introduction {
    font-size: 19px;
    line-height: 24px;
  }

  .introduction p:first-child {
    font-size:17px;
    hyphenate-character: "";
  }
  
    .main_nav_container{
        right: unset;
        top:60px;
        z-index: 99;
      }

      #nav_container {
        top: 120px;
        height:calc(100% - 134px);
        min-height: unset;
        
      }

      .page_section:first-child {
        margin-top: 200px;
      }

      #summary:checked ~ .navigation{
        height:var(--full-height);
        
    }

    .title_content {
        font-size: 30px;
      }

      .site_title{
        margin-left:40px;
    }
    

      .main_nav li {
        font-size: 30px;
      }

      #menu_name {
        font-size: 30px;
      }

      li {
        line-height: 28px;
        font-size: 24px;
        margin-bottom:8px;
      }

      .navigation{
        position:relative;
        height:90px;
      }

      .navigation ul {
        padding-left: 40px;
        width: calc(100% - 80px);
      }

      .navigation li {
        font-size: 26px;
        line-height:29px;
      }

      .project_infos {
        position:relative;
        top:0;
      }

      .notice {
        font-size: 14px;
      }

      .project_content h1 {
        font-size: 40px;
        line-height: 43px;
      }

      .project_content h2 {
        font-size: 35px;
        line-height: 37px;
      }

      .text_content {
        font-size: 17px;
        line-height: 23px;
      }

      .main_nav_container {
        height: 74px;
        width: 100%;
      }

      .navigation ul{
        height: calc(var(--full-height) - 90px);
        overflow:auto;
      }

      #slide{
        display:none;
      }
}

@media (orientation:portrait){
  .right_part {
    background-size: 100% auto;
    height:100vw;
  }
}

@media screen and (max-height:800px) {
  .navigation ul{
    overflow:auto;
  }
  
}