* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-color: #888 #dbdbdb;
    scrollbar-width: thin;
}

/* test styling */
header, body, aside, .content-frame {
    /* border: 1px solid black; */
    padding: 1rem;
}

/* ------------------------- Structure ------------------------- */

body {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.4rem;
    padding-bottom: 0;
    padding-top: 0; 
}
@media screen and (min-width: 640px){
    .flex-container {
        display: flex;
        overflow-y: hidden;
        width: 100%;
    }  
}
.wrapper {
    flex: 1 1 auto;
    max-width: 75rem;
    border-bottom: 1px solid #ED6623;
    border-top: 1px solid #ED6623;
    margin: auto;
}
.content-frame {
    flex: 1;
}
.content {
    height: 100%;
    overflow-y: auto;
    
}

p, li, h4 {
    font-size: .9rem;
}

/* ------------------------- Sidebar ------------------------- */
aside {
    flex: 0 20rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
aside p {
    padding-top: 1rem;
}
ul {
    margin-bottom: 3rem;
    list-style: none;
}
aside ul li {
    padding-bottom: 1rem;
}
aside ul li a, aside ul li a:visited {
    text-decoration: none;
    font-weight: bold;
    color: black;
    transition: 1s ease-in;
}
.current-link {
    color: #ED6623 !important;
    transition-duration: 0.3s;
}
aside ul li a:hover {
    color: #888;
    transition-duration: 0.3s;
}


/* ------------------------- Content ------------------------- */
.content p {
    margin-bottom: 3rem;
}

.orangeText {
    color:#ED6623;
}
.inline-heading{
    float: left;
    padding-right: .25rem;    
}

header, footer {
    display: flex;
    justify-content: center;
    font-size: .85rem;
}

header img {
    height: 4rem;
    margin: 1rem 0;
}


/* ------------------------- Gallery -------------------------- */
#werke {
    display: flex;
    flex-direction: column;
}
.image-gallery {
    flex: 1;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    overflow: auto;
    margin-top: 1rem;
}
.single-image {
    width: 10rem;
    height: 15rem;
    padding: 1rem;
    margin-bottom: 1rem;
    background: white;
    position: relative;
    display: flex;
    align-items: flex-end;
    transition: .6s ease-out;
}
.single-image:hover:before {
    opacity: .75;
    transform: translateY (0);
}
.single-image:hover .desc{
    opacity: 1;
}
.single-image:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: #ED6623;
    transition: 0.5s;
    opacity: 0;
    z-index: 2;
}
.single-image img {
    width: 100%;
    height: 100%;
    position: absolute;
    top:0;
    left: 0;
    object-fit: cover;
}
.single-image .desc{
    position: relative;
    z-index: 3;
    color: white;
    opacity: 0;
    transform: translateY(3.75rem);
    transition: 0.5s;
}



/* ------------------------ Echo Menu ------------------------- */
#echo {
    display: flex;
    flex-direction: column;
}
.echo {
    line-height: 1.2rem;
    color: grey;
    margin-top: 1rem;
    padding-right: .5rem;
    overflow: auto;
}
.echo-item {
    padding-left: 1rem;
    margin-bottom: 2rem;
}
.inline-heading{
    float: left;
    padding-right: .25rem;    
}
.echo h4 {
    font-weight: normal;
}
.echo p{
    margin-bottom: 0;
}
.echo blockquote {
    color: black;
    font-style: normal;
    font-size: .85rem;
}
.echo a {
    text-decoration: none;
    transition: ease-out .5s;
}
.echo a:visited, a:link {
    color: #ED6623;
}
.echo a:hover {
    transition: ease-in .5s;
    color: black;
}



/* ------------------------- Kontaktpage -------------------------- */
#kontakt {
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

    padding-right: 1rem;

}
.contact-item {
    display: flex;
    flex-direction: column;
    width: 48%;
    margin-bottom: 2%;
}
.full{
    width: 100%;
}
label{
    font-size: .9rem;
}
input[type=text], textarea {
    padding: .5rem;
    border: 1px solid #ccc;
    border-radius: .4rem;
    resize: vertical;
    font-size: .9rem;
    font-family: 'Source Sans Pro', sans-serif;
  }

  button[type=submit] {
    background-color: #ed6623;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
button[type=submit]:hover {
    background-color: #d44810;
}

/* form styling */
.hide-robot{
    display:none;
}
.form-invalid {
    border: 2px solid #ED6623 !important;
}


/* --------------------- Interpretariat ---------------------- */
#interpretariat {
    display: flex;
    flex-direction: column;
}
.interpret {
    margin: 0;
    padding-left: 1rem;
    width: 190px;
    color: black;
    font-weight: 400;
}
.alphabet {
    color: #ED6623;
    font-weight: 700;
    padding-bottom: 3rem;
}
.info {
    opacity : 0;
    visibility : hidden;
    transition:opacity .5s, visibility 1s;
    text-align: center;
    display: none;
    padding: .25rem 1rem;
    border-radius: 5px;
    background-color: #ED6623;
    color: white;
}
.name:hover ~ .info { opacity : 1; visibility:visible; display: block;}
.info:hover {opacity: 1; visibility: visible; display: block;}


/* ------------------------ Scrollbar ------------------------- */
/* width */
::-webkit-scrollbar {
    width: 10px;
}
/* Track */
::-webkit-scrollbar-track {
    background: #dbdbdb;
}
/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.hvr-forward {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
  }
  .hvr-forward:hover, .hvr-forward:focus, .hvr-forward:active, .current-link {
    -webkit-transform: translateX(8px);
    transform: translateX(8px);
  }	