@charset "utf-8";


/*------------------------------------------------------------
  HTML5 Reset Stylesheet
------------------------------------------------------------*/
/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
    font-weight: 400;
}

body {
    line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display:block;
}

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;  
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}

/*------------------------------------------------------------
  フォント定義
------------------------------------------------------------*/

@font-face {
    font-family: 'HersheyNoaillesTimesDuplexItalic';
    src: url("../assets/fonts/Hershey-Noailles-Times-Duplex-Italic-Regular.woff2") format("woff2"),
         url("../assets/fonts/Hershey-Noailles-Times-Duplex-Italic-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
  }

@font-face {
    font-family: 'Cutive Mono';
    src: url("../assets/fonts/CutiveMono-Regular.woff2") format("woff2"),
         url("../assets/fonts/CutiveMono-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
  }

/*------------------------------------------------------------
	font style
------------------------------------------------------------*/
p {
    display: block;
    margin-block-start: 0;
    margin-block-end: 1em;
    margin-inline-start: 0;
    margin-inline-end: 1em;
    unicode-bidi: isolate;
    font-family: "Cutive Mono", monospace;
    font-weight: 400;
    font-style: normal;
    font-size: 1rem; 
    line-height: 1.625rem; /* Comfortable for reading */
}

/* Headings */
h1, h2, h3 {
    font-family: 'HersheyNoaillesTimesDuplexItalic', serif;
    color: #111; /* Darker color for emphasis */
}

h1 {
    font-size: 2rem;
    line-height: 2.4rem; /* Tighter line height for headings */
}

h2 {
    font-size: 1.414rem;
    font-family: 'HersheyNoaillesTimesDuplexItalic', serif;
}

h3 {
    font-size: 1.000rem;
}

/* Smaller Section Titles */
h4 {
    font-family: "Cutive Mono", monospace;
    font-size: 0.85rem;
    line-height: 1rem;
    font-weight: 600;
    letter-spacing: 0.05rem;
}

h5 {
    font-family: "Cutive Mono", monospace;
    font-size: 0.500rem;
    line-height: 0.600rem;
}

h6 {
    font-family: "Cutive Mono", monospace;
    font-size: 0.354rem;
    line-height: 0.424rem;
}

/* Enhancing spacing */
.semibold {
    font-weight: 600;
}


/*------------------------------------------------------------
	font style (responsive)
------------------------------------------------------------*/

/* モバイルデバイス向けのスタイル */
@media (max-width: 600px) {
    body {
        font-size: 0.9rem; /* 90%に縮小 */
        line-height: 1.4625rem; /* 比率を維持 */
    }

    h1 {
        font-size: 1.8rem; /* 若干縮小 */
        line-height: 2.16rem;
    }

    h2 {
        font-size: 1.273rem; /* 90%に縮小 */
    }

    h3 {
        font-size: 0.9rem; /* 90%に縮小 */
    }

    h4 {
        font-size: 0.636rem;
        line-height: 0.764rem;
    }

    h5 {
        font-size: 0.45rem;
        line-height: 0.54rem;
    }

    h6 {
        font-size: 0.318rem;
        line-height: 0.382rem;
    }

}

/* タブレット向けのスタイル */
@media (min-width: 601px) and (max-width: 900px) {
    body {
        font-size: 0.95rem; /* 95%に縮小 */
        line-height: 1.54375rem; /* 比率を維持 */
    }

    h1 {
        font-size: 1.9rem; /* 若干縮小 */
        line-height: 2.28rem;
    }

    h2 {
        font-size: 1.344rem; /* 95%に縮小 */
    }

    h3 {
        font-size: 0.95rem; /* 95%に縮小 */
    }

    h4 {
        font-size: 0.671rem;
        line-height: 0.805rem;
    }

    h5 {
        font-size: 0.475rem;
        line-height: 0.57rem;
    }

    h6 {
        font-size: 0.336rem;
        line-height: 0.403rem;
    }

}

/*------------------------------------------------------------
	Base Style
------------------------------------------------------------*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: "Cutive Mono", monospace;
    color: #333; /* Soft dark color for readability */
    height: 100%; /* 画面全体を使用するために高さを100%に */
    display: flex;
    flex-direction: column;
    margin: 0;
    overflow-x: hidden;
}

body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: rgb(251, 248, 248); 
}

/* Layout and Section Spacing */
main {
    flex: 1;
    display: flex;
    justify-content: space-between;
    flex-direction: column; /* 一列に並べるために縦並びに */
    gap: 1rem;
    padding: 3rem; /* More padding for desktop */
}

/* CSS for central alignment and max-width */
#datenschutz {
    max-width: 90rem; /* Maximum width of the content */
    margin: 0 auto; /* Center the content horizontally */
    text-align: left; /* Align the text to the left */
    padding: 1rem; /* Optional: Add some padding for better readability */
}

main#impressum {
    max-width: 90rem; /* Maximum width of the content */
    margin: 0 auto; /* Center the content horizontally */
    text-align: left; /* Align the text to the left */
    padding: 1rem; /* Optional: Add some padding for better readability */
    gap: 2rem;
    padding: 3rem; /* More padding for desktop */
}


section {
    margin-bottom: 1.5rem;
} 

/* Zugriffsdatenリスト */
#zugriffsdaten {
    list-style-type: initial;
    margin-left: 1rem;
}

#zugriffsdaten li {
    margin-bottom: 0.8rem;
}

/* スクロールバーのスタイルをカスタマイズ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

::-webkit-scrollbar-track {
    background-color: rgba(255, 255, 255, 0.3);
}

a {
    color: #333;
    text-decoration: none;
    word-wrap: break-word;
    overflow-wrap: break-word;
    
}

a:hover {
    text-decoration: underline;
}

.sr-only {
    position: absolute;
    width: 1rem;
    height: 1rem;
    padding: 0;
    margin: 1rem;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}


/* Liesl (home)*/
.toggle-btn {
    font-family: 'HersheyNoaillesTimesDuplexItalic', serif;
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: clamp(1rem, 2vw, 2rem);
    background: none;
    border: none;
    cursor: pointer;
    color: #f0a500;
    transition: color 0.3s ease; /* Smooth color transition */
}

/* Change color on hover */
.toggle-btn:hover {
    color: #333; /* Desired color on hover */
}

/* Footer Styles */
footer {
    display: flex;
    justify-content: space-between;
    padding: 0.3rem 1.25rem 0.3rem 1.25rem;
    font-size: 0.875rem;
}

footer p {
    margin: 0;
    font-size: 0.8rem;
    
}

/* タブレット用（1024px以下のデバイス） */
@media (max-width: 1024px) {
    footer {
        font-size: 0.875rem; /* 14px相当 */
        text-align: center;
    }
}

/* モバイル用（768px以下のデバイス） */
@media (max-width: 768px) {
    footer {
        font-size: 0.9rem; /* 14.4px相当 */
        text-align: center;
    }
}


footer a {
    color: inherit;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* レスポンシブ対応: モバイル画面では縦並びにする */
@media (max-width: 768px) {
    footer {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
}

.legal-info {
    margin: 0 0 0.5rem; /* 下部のマージンを0.5remに設定 */
    line-height: 1.5; /* 行間を適度に設定 */
    letter-spacing: 0.05em; /* 文字間隔を少し広げる */
}


