:root{
    --text-color : #222;
}

html {
    color: var(--text-color);
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}
/*----------------------------*/

body {
    font-size: 18px;
    font-family: 'Gentium Basic', serif;
    background-color: #fffefa;
}

.wrapper {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.bg-sand {
    background-color: #ffffff;
}


header {
    text-align: center;
}

.footer {
    font-size: 16px;
    text-align: right;
}


.container {
  display: grid;
  margin: 0 auto;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;

}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 10px; /* Small gap/margin between columns */
    padding: 10px; /* Small padding around the grid */
}

.grid-item {
    display: flex;
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
    text-align: center;
}

@media (max-width: 1000px) {
    .grid-container {
        grid-template-columns: 1fr; /* Single column layout on small screens */
    }
}

.text-container {
    display: flex;
    flex-direction: column; /* Stack children vertically */
}





.container3 {
  display: grid;
  margin: 0 auto;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  text-align: center;
}

.row {
    padding: 10px;
}


.full-width-item {
    grid-column: 1 / 3; /* Start at line 1 and span to line 3, covering both columns */
}

.vertical-center-item {
    display: flex;
    align-items: center;   /* Vertically centers content */
    justify-content: center; /* Optionally, horizontally centers content */
}

.nav-container {
    display: grid;
    grid-template-columns: 30% 70%; /* First column 30%, second column 70% */
    gap: 10px; /* Gap between columns */

}

.nav-item1 {
    padding: 10px;
}

.nav-item2 {
    display: flex;
    justify-content: flex-end; /* Align content to the right */
    align-items: center; /* Center content vertically */
    text-align: right;
}


h1 {

    font-size: 60px;
        font-family: 'Open Sans', sans-serif;
}

h2 {

    font-size: 40px;
        font-family: 'Open Sans', sans-serif;;
        text-align: center;
}

h3 {

    font-size: 30px;
        font-family: 'Open Sans', sans-serif;
        padding: 0;
        margin: 0;
}

h4 {
    font-size: 20px;
    margin: 0;
        font-family: 'Open Sans', sans-serif;
}

/* Responsive Breakpoint for Small screens (mobile): 1 column */
@media (max-width: 1200px) {
    .container {
        grid-template-columns: 1fr;
    }
    .container3 {
        grid-template-columns: 1fr;
    }
}

 /* ==========================================================================
   Author's custom styles
   ========================================================================== */

@font-face{
    font-family: "Baar Philos";
    src:url("/fonts/BaarPhilos.ttf");
}

@font-face {
    font-family: 'Gentium Basic';
    font-style: normal;
    font-weight: normal;
    src: url("/fonts/GentiumBasic-Regular.ttf");
}
@font-face {
    font-family: 'Gentium Basic';
    font-style: normal;
    font-weight: bold;
    src: url("/fonts/GentiumBasic-Bold.ttf");
}
@font-face {
    font-family: 'Gentium Basic';
    font-style: italic;
    font-weight: normal;
    src: url("/fonts/GentiumBasic-Italic.ttf");
}
@font-face {
    font-family: 'Gentium Basic';
    font-style: italic;
    font-weight: bold;
    src: url("/fonts/GentiumBasic-BoldItalic.ttf");
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: normal;
    src: url("/fonts/OpenSans-Regular.ttf");
}
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: bold;
    src: url("/fonts/OpenSans-Bold.ttf");
}
@font-face {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: normal;
    src: url("/fonts/OpenSans-Italic.ttf");
}
@font-face {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: bold;
    src: url("/fonts/OpenSans-BoldItalic.ttf");
}

ul {
    padding: 0;
}

li {
    list-style-type: none;
}

.intro-text {
    text-align: left; /* Aligns all text inside the container to the left */
}


img {
    border-radius: 0.5rem; /* Adds rounded corners with a radius of 0.5rem */
    /* Other existing styles for images */
    max-width: 100%;
    height: auto;
    display: block;
     margin-left: auto;
    margin-right: auto;
     margin-bottom: 1rem;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
}

.image-container {
    position: relative;
    display: inline-block;
}

.image-container img {
    display: block; /* Removes bottom space caused by inline elements */
    width: 100%; /* Optional, depending on your design */
    height: auto;
    border-radius: 0.5rem; /* Rounded corners */
}

.image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0.5rem; /* Match the border radius of the image */
    background: linear-gradient(to top, #fffefa 0%, rgba(255, 254, 250, 0) 40%),
                radial-gradient(circle at bottom left, #fffefa 0%, rgba(255, 254, 250, 0) 40%);
    pointer-events: none; /* Allows clicks to pass through */
}


.no-shadow {
    box-shadow: none;
}

dd {
    margin-left: revert;
}

dd, dt {
    line-height: revert;
}

dl {
    margin-top: revert;
    margin-bottom: revert;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in-text {
     display: block;
    opacity: 0; /* Set initial opacity to 0 */
    animation: fadeIn 3s ease-in-out forwards;
}

.fade-in-on-scroll {
    opacity: 0;
    transition: opacity 2s ease-out;
}

.text-center {
    text-align: center;
}

.blue {
     display: inline-block;
    color: #0075aa; /* This sets the font color to blue */
}



/* ========= Navigation styles ========= */

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    height: 50px;
    overflow: hidden;
    position: relative;
}

.navbar-links {
    list-style: none;
    display: flex;
}




nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav li {
    margin-right: 20px;
    position: relative;
}

nav a {
    text-decoration: none;
    color: black;
    position: relative;
    display: inline-block;
    font-size: 25px;
    font-weight: bold;
    padding-bottom: 7px; /* Add space below the element */
}

/* Underline Effect with space below the element */
nav a::before {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #0075aa;
    bottom: -3px; /* Adjust the space below the element */
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease-in-out;
}

nav a:hover::before {
    width: 100%;
}

   




#typing-text {
    display: block;
     min-height: 62px;
    overflow: hidden;
     height: auto;
     margin-bottom: 20px; /* Add space below the typing text */
}


#cursor {
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2px;
  height: 1em; /* Adjust this to match the line height of your text */
  background-color: red; /* Use a background color for visibility */
  opacity: 1; /* Set the opacity to 1 to make the cursor visible */
}


@keyframes blinkCursor {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}


.big {
    font-family: 'Gentium Basic', serif; /* Using Gentium Basic font */
    font-size: 25px; /* Setting the font size to 30px */   
}

.big2 {
    font-family: 'Gentium Basic', serif; /* Using Gentium Basic font */
    font-size: 35px; /* Setting the font size to 30px */   
}

.big3 {
    font-family: 'Gentium Basic', serif; /* Using Gentium Basic font */
    font-size: 35px; /* Setting the font size to 30px */   
    font-weight: bold;
}

.big4 {
    font-family: 'Gentium Basic', serif; /* Using Gentium Basic font */
    font-size: 21px; /* Setting the font size to 30px */   
}

@media screen and (max-width: 1000px) { /* Adjusts for mobile screens */
    .big4 p {
        margin-top: 21px;
        margin-bottom: 0px; /* Decreases bottom margin of the paragraph */
    }
}


.big5 {
    font-family: 'Gentium Basic', serif; /* Using Gentium Basic font */
    font-size: 25px; /* Setting the font size to 30px */   
    font-weight: bold;
}

a {
    color: #0075aa; /* This sets the link color to #465ddb */
}

/* Optional: Style for hover state */
a:hover {
    color: #184d6e/* Some other color for when the mouse hovers over the link */;
}


input,
select,
textarea {
    background-color: #fff;
    border-color: #e0e0e0;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);
    border-width: 1px;
    border-style: solid;
    color: #474e57;
    font-size: 16px;
    font-weight: 400;
    padding: 10px;
    width: 100%;
}

input[type=checkbox],
input[type=radio] {
    width: auto;
}
A2C579
p.foto {
    text-align: right;
}


fieldset {
    margin: 0 0 20px 0;
}

footer{
    font-size: 16px;
    display: flex;
    padding: 10px 0 10px 0;
    justify-content: space-around;
    border-top: 1px solid #aaa
}

.responsive-video iframe,
.responsive-video video {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

.responsive-video {
position: relative;
padding-bottom: 56.25%; /* Default for 1600x900 videos 16:9 ratio*/
padding-top: 0px;
height: 0;
overflow: hidden;
}

.outer {
    display: table;
    position: absolute;
    height: 100%;
    width: 100%;
}

.middle {
    display: table-cell;
    vertical-align: middle;
}

.inner{
    display:table;
    margin:auto;
    width:230px;
}

.footer{
    display:table;
    margin:auto;
}

.table-row{
    display:table-row;
    margin:auto;
}

.table-column{
    display:table-cell;
    margin:auto;
}

.lebenspraxis{
    margin-top: 0px;
}

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


/* I Teach Nothing Styles */
.i-teach-nothing {
    text-align: center;
}
.i-teach-nothing h1 {
    font-family: "Baar Philos";
    text-transform: uppercase;
    font-size: 70px;
    text-align: center;
}

.i-teach-nothing nav li {
    display: inline;
}



/* make keyframes that tell the start state and the end state of our object */

@-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

.fade-in {
    opacity:0;  /* make things invisible upon start */
    -webkit-animation:fadeIn ease-in 1;  /* call our keyframe named fadeIn, use animattion ease-in and repeat it only 1 time */
    -moz-animation:fadeIn ease-in 1;
    animation:fadeIn ease-in 1;

    -webkit-animation-fill-mode:forwards;  /* this makes sure that after animation is done we remain at the last keyframe value (opacity: 1)*/
    -moz-animation-fill-mode:forwards;
    animation-fill-mode:forwards;

    -webkit-animation-duration:1s;
    -moz-animation-duration:1s;
    animation-duration:1s;
}

.fade-in.half {
    -webkit-animation-delay: 0.5s;
    -moz-animation-delay:0.5s;
    animation-delay: 0.5s;
}

.fade-in.two {
    -webkit-animation-delay: 1s;
    -moz-animation-delay:1s;
    animation-delay: 1s;
}

.fade-in.three {
    -webkit-animation-delay: 2s;
    -moz-animation-delay: 2s;
    animation-delay: 2s;
}

.fade-in.three-long {
    -webkit-animation-delay: 2s;
    -moz-animation-delay: 2s;
    animation-delay: 2s;

    -webkit-animation-duration:3s;
    -moz-animation-duration:3s;
    animation-duration:3s;
}

.fade-in.four-long {
    -webkit-animation-delay: 3.5s;
    -moz-animation-delay: 3.5s;
    animation-delay: 3.5s;

    -webkit-animation-duration:3.5s;
    -moz-animation-duration:3.5s;
    animation-duration:3.5s;
}

.darkyellow{
    background-color: var(--darkyellow);
}
.darkgrey{
    background-color: var(--darkgrey);
}
.lightyellow{
    background-color: var(--lightyellow);
}
.lightgrey{
    background-color: var(--lightgrey);
}

.responsive-table {
    display: block;
}

.responsive-table-cell {
    box-sizing: border-box;
    flex-grow: 1;
    list-style: none;
    width: 100%;
}

.os-table-container .responsive-table-cell:nth-child(5n){
    margin-bottom: var(--row-margin);
}

.os-table-container {
    --darkyellow:#FFF0B7;
    --lightyellow:#FFF6D5;
    --darkgrey: #E5E5E5;
    --lightgrey: #F0F0F0;
    --row-margin: 15px;
    width: 100%;
    font-family: 'Open Sans', sans-serif;
    margin-top: 100px;
    margin-bottom: 100px;
}

.os-table-container .os-table-title{
    text-align: center;
}

.os-table-container .responsive-table-cell{
    padding: 30px 10px 30px 10px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ============= Responsive rules ================= */

@media only screen and (min-width: 800px) {
    .wrapper {
        width: 70%; 
        margin: 0 auto;
    }
}

@media only screen and (min-width: 600px) {
    .flex-start-stretch{
        display: flex;
        align-items: flex-start;
        align-content: stretch;
        gap: 12px;
    }

    .column50{
        flex-basis: 50%;
    }

    .os-table-container .responsive-table-cell:nth-child(5n){
        margin-bottom: initial;
    }

    .os-table-container .responsive-table-cell:nth-last-child(n+6){
        margin-bottom: var(--row-margin);
    }


    /* Responsive table*/
    .responsive-table {
        display: flex;
        flex-wrap: wrap;
    }
    
    .responsive-table-2cols > .responsive-table-cell {
        width: 50%;
    }
    .responsive-table-3cols > .responsive-table-cell {
        width: 33.33%;
    }
    .responsive-table-4cols > .responsive-table-cell {
        width: 25%;
    }
    .responsive-table-5cols > .responsive-table-cell {
        width: 20%;
    }
    .responsive-table-6cols > .responsive-table-cell {
        width: 16.6%;
    }
}

/* Narrow single-column reading layout */
@media (min-width: 800px){
    .narrow-read{
        max-width: 600px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 90% !important;
    }
}





/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }

    nav .dropdown-area{
        display: none;
    }
} 