/* noto-sans-jp-regular - latin */
@font-face {
    font-family: 'Noto Sans JP';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/noto-sans-jp-v28-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('fonts/noto-sans-jp-v28-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/noto-sans-jp-v28-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('fonts/noto-sans-jp-v28-latin-regular.woff') format('woff'), /* Modern Browsers */
         url('fonts/noto-sans-jp-v28-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('fonts/noto-sans-jp-v28-latin-regular.svg#NotoSansJP') format('svg'); /* Legacy iOS */
  }
html {
    scroll-behavior: smooth;
}
body {
    margin: 0px;
    padding: 0px;
    font-family: 'Noto Sans JP', sans-serif;
    background-color: 	#F5F5F5;
}
ul {
    position: absolute;
    position: fixed;
    top: 0px;
    width: 100%;
    height: 1.7em;
    background-color:#0e1111;
    margin-top: 0px;
    box-shadow:
    0 0.7px 2px rgba(0, 0, 0, 0.018),
    0 1.7px 4.7px rgba(0, 0, 0, 0.026),
    0 3.1px 8.9px rgba(0, 0, 0, 0.031),
    0 5.6px 15.9px rgba(0, 0, 0, 0.037),
    0 10.4px 29.7px rgba(0, 0, 0, 0.045),
    0 25px 71px rgba(0, 0, 0, 0.07);
    font-size: 1.9em;
    z-index: 10;
    list-style: none;
    padding-left: 0.5em; 
}
a {
    color: white;
    text-decoration: none;
    text-align: center;
    padding: 1%;
}
.other_nav {
    padding-left: 1.5%;
    padding-right: 1.5%;
}

#home {
    padding-left: 0px;
    margin-left: 0px;
    padding-right: 1%;
}
.other_nav:hover, #home:hover{
    background-color: #FFC00F;
    color: black;
}

#social {
    float: right;
    width: 5.1em;
    margin: 0;
    padding: 0;
    margin-right: 1.3em;
}
#follow {
    float: left;
    margin: 0px;
    padding: 0px;
    font-size: 0.6em;
    margin-top: 0.65em
    
}
#logo{  
    float: right;
    margin-top: 0.3em;
    min-width: 29px;
    min-height: 29px;
    width: 1.2em;
    height: 1.2em;
}

main {
    width: 100%;
    margin-left: 0%;
    float: left;
}
h1 {
    position: absolute;
    left: 50%;
    top: 2.1em;
    transform: translate(-50%, -50%);
    font-family: 'Noto Sans JP', sans-serif;
    width: fit-content;
    padding-left: 1%;
    padding-right: 1%;
    font-size: 1.9em;
    margin: 0px;
    margin-top: 1em;
    background-color: #FFC00F;
    text-align: center;
}
#photo {
    display: block;
    background-image: url("düsseldorf/header_phone.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 12.8em;
    width: 100%;
}

.arrow{
    position: absolute;
    bottom: 1.5%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: none;
}
.arrow span{
    display: block;
    width: 15px;
    height: 15px;
    border-bottom: 5px solid #FFC00F;
    border-right: 5px solid #FFC00F;
    transform: rotate(45deg);
    margin: -10px;
    animation: animate 2s infinite;
}
.arrow span:nth-child(2){
    animation-delay: -0.2s;
}
.arrow span:nth-child(3){
    animation-delay: -0.4s;
}




@keyframes animate {
    0%{
        opacity: 0;
        transform: rotate(45deg) translate(-20px,-20px);
    }
    50%{
        opacity: 1;
    }
    100%{
        opacity: 0;
        transform: rotate(45deg) translate(20px,20px);
    }
}

#sidebar {
    float: right;
    width: 20%;
    height: 100%;
    
}

.post_header {
    display: block;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.7em;
    text-align: center;
    margin-top: 1.5em;
    width: 90%;
    line-height: 1.2;
}

.info_text {
    width: 80%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: 25px;
    font-family: 'Open Sans', sans-serif;
    font-weight: normal;
    font-size: 0.9em;
    width: 90%;
}


.collapsible, .maps {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
    margin-top: 0.5%;
    display: block;
    background-color: #0e1111;
    color: white;
    cursor: pointer;
    padding: 2px;
    margin-left: auto;
    margin-right: auto;
    width: 92%;
    border: none;
    text-align: left;
    outline: none;
}
  
.active, .collapsible:hover {
    background-color: #0e1111;
}
  
.collapsible:after {
    content: url('arrow-right.svg');
    color: white;
    font-weight: bold;
    float: right;
    margin-left: 0px;
}
  
  .active:after {
    content: url('arrow-down.svg');
}
  
.content {
    padding-top: 1%;
    margin-left: auto;
    margin-right: auto;
    width: 82.5%;
    text-align: left;
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: #eeeeee;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9em;
}

.link {
    color:blue; 
    padding: 0px; 
    text-decoration: underline;
}

.maps:after {
    content: url('arrow-right.svg');
    float: right;
    opacity: 0;
}
.post_picture {
    width: 80%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    cursor: pointer;
}

.post_portrait_picture {
    width: 60%;
    height: auto;
}

.first_post {
    padding-top: 1px;
    padding-bottom: 40px;
}
.seconde_post {
    background-color: rgb(228, 228, 228);
    padding-top: 1px;
    padding-bottom: 28px;
} 

.third_post {
    padding-top: 1px;
    padding-bottom: 40px;
}

footer {
    width: 100%;
    height: 6em;
    background-color: #0e1111;
    margin-top: 5em;
}

#nav_footer {
    padding-top: 0.5em;
}

@media only screen and (min-width: 44em) {

    #photo {
        height: 17em;
        background-image: url("düsseldorf/header.jpg");
    }

    .arrow {
        display: none;
    }
    
    h1 {
        font-size: 3.8em;
        text-align: center;
        margin-top: 3.5%;
    }

    .first_post , .seconde_post , .third_post {
        padding-bottom: 8em;
    }

    .info_text {
        width: 95%;
        font-size: 1.1em;
    }

    .post_picture {
        width: 80%;
    }

    .post_portrait_picture {
        width: 50%;
        height: auto;
    }

    .collapsible, .maps {
        font-size: 1.55em;
        padding: 12px;
    }

    .post_header {
        font-size: 2.2em;
    }

    .content {
        font-size: 1.1em;
    }

    footer {
        height: 6em;
        margin-top: 5em;
    }
}


@media only screen and (min-width: 64em) {

    #photo {
        height: 26em;
    }

    .arrow {
        display: none;
    }
    
    h1 {
        font-size: 5.5em;
        text-align: center;
        margin-top: 0;
    }

    .post_picture {
        width: 45%;
    }

    .info_text {
        width: 95%;
        font-size: 1.25em;
    }

    .post_picture {
        width: 60%;
    }

    .post_portrait_picture {
        width: 42%;
        height: auto;
    }

    .collapsible, .maps {
        font-size: 1.55em;
        padding: 12px;
        width: 90%;
    }

    .post_header {
        font-size: 3.4em;
    }

    .content {
        font-size: 1.1em;
        width: 87.8%;
    }
}

 

@media only screen and (min-width: 100em) {

    #logo {
        float: right;
        margin-top: 0.3em;
        margin-right: 3%;
        width: 48px;
        height: 48px;
    }
    
    #social {
        width: 5.2em;
    }
    
    #photo {
       height: 100%; 
    }

    .arrow {
        display: inherit;
    }
    
    h1 {
        font-size: 6.5em;
        text-align: center;
        margin-top: 6.3%;
    }
  
    .post_picture {
        width: 55%;
    }

    .post_portrait_picture {
        width: 35%;
        height: auto;
    }

    .info_text {
        width: 95%;
        font-size: 1.4rem;
        margin-bottom: 2em;
        margin-top: 3em;
    }

    .collapsible, .maps {
        font-size: 1.55em;
        padding: 12px;
    }

    .post_header {
        font-size: 3.7em;
        margin-top: 2em;
    }

    .content {
        font-size: 1.1em;
    }

    ul {
        height: 1.7em;
        font-size: 2.9rem;
    }
}