@font-face{
    font-family: "theHeart";
    src: url("theHeart.ttf");
}

@font-face{
    font-family: "mahindra";
    src: url("mahindra.ttf");
}

*{
    margin: 0;
    padding: 0;
    color: lightgrey;
    font-size: 13pt;
    font-family: "mahindra";
}

a {
    color: lightyellow;
}
a:hover{
    color: #ff5b4c;
    text-decoration: none;
}

body{
    width: 100%;
    height: 100%;
    scroll-behaviour: smooth;
}

h2{
    font-size: 16pt;
    color: white;
}

img{
    /* width: calc(100% - 20px); */
    /* height: calc(100%- 20px); */
    /*border: 10px solid white;*/
    width: 100%;
    height: 100%;
}

a.title{
    text-decoration: none;
    color: white;
}

#map{
    position: relative;
    height: calc(100vh - 28vh - 40px);
    width: calc(100% - 10px);
    z-index: 202;
    color: black;
}
#map *{
    font-family: Arial, Helvetica, sans-serif;
    color: black;
}

#background{
    display: block;
    background: url(bg.jpg); 
    background-repeat: no-repeat; 
    background-size: cover;
    background-position: center; 
    position: fixed;
    width: 130%;
    height: 130%;
    margin-left: -15%;
    margin-top: -15%;
    z-index: -1;
    filter: none;
    
}

#titlecontainer{
    position: fixed;
    top: 0;
    width: 100%;
    height: 20%;
    z-index: 100;
}

#icon{
    position: absolute;
    transition: all 2s;
    left: 50%;
    top: 20pt;
    margin-left: -40pt;
    width: 80pt;
    height: 80pt;
    border: none;
}

.upper-box{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    fill: rgba(30,30,30,.6);
}

#title{
    position: absolute;
    transition: all 2s;
    top: 80pt;
    left: 50%;
    width: 100%;
    text-align: center;
    margin-left: -50%;
    font-family: "theHeart";
    color: white;
    font-size: 70pt;
    font-weight: normal;
    overflow: hidden;
}

#title a{
    font-family: "theHeart";
    font-size: 70pt;
    text-decoration: none;
}
#title a:hover{
    color: lightgrey;
}

#menu{
    position: absolute;
    top: 0;
    left: 52%;
    margin-left: -50%;
    width: 100%;
    text-align: center;
    font-size: 14pt;
}
#menu span{
    margin-left: 50px;
    margin-right: 50px;
}
#menu span a{
    text-decoration: none;
}
#menu span a:hover{
    color: lightgrey;
}
#mobilenav{
    display: none;
}

#impressum{
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 100;
}
#impressum *{
    color: grey;
    font-size: 8pt;
}
h1{
    font-size: 18pt !important;
    color: white;
}

.onepage{
    position: relative;
    padding-top: 28vh;
    padding-left: 80px;
    padding-right: 80px;
    min-height: calc(100vh - 28vh);
    overflow: hidden;
    z-index: 80;
}

.onepage * img{
    object-fit: cover;
    height: calc(100% - 40px);
}

#grundriss{
    position: relative;
    height: 70vh;
    text-align: center;
}
#grundriss svg{
    display: inline;
    object-fit: contain;
    margin-left: 2vw;
    margin-bottom: 10px;
    height: calc(100% - 80px);
    width: 100%;
}

.half{
    position: relative;
    width: 50%;
    margin-left: 25%;
}

.lefthalf{
    width: 48%;
    height: calc(100% - 40px);
    float: left;
    overflow-y: auto !important;
}

.righthalf{
    width: 48%;
    height: calc(100% - 20px);
    float:right;
    overflow-y: auto !important;
}
.fader{
    background: linear-gradient(rgba(0,0,0,0) 0%, rgba(0,0,0,.4) 100%);
    height: 30vh;
    overflow: hidden;
    z-index: 80;
}
.dark{
    background: rgba(0,0,0,.5);
    /*box-shadow: 0px 0px 300px 140px rgba(0,0,0,.2);
    -webkit-box-shadow: 0px 0px 300px 140px rgba(0,0,0,.2);*/
}

#scrollme{
    fill: white;
    width: 64px;
    height: 64px;
    position: absolute;
    bottom: 10px;
    left: 50%;
    margin-left: -32px;
    transition: bottom .5s;
    z-index: 98;
}
#scrollme:hover{
    transition: bottom .5s;
    bottom: 15px;
    cursor: pointer;
    fill: lightgrey;
}

.lightbox{
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 199;
    background: rgba(0,0,0,.3);
    text-align: center;
}
.lightbox .imgContainer{
    position: relative;
    margin-top: 10vh;
    display: inline-block;
    z-index: 200;
}
.lightbox .imgContainer .prevImg{
    position: relative;
    float: left;
    width: 50px;
    margin-right: -50px;
    height: 80vh;
    background-color: rgba(0,0,0,.3);
    background-image: url(back.png);
    background-position: 50% 50%;
    background-repeat: no-repeat;
    cursor: pointer;
    z-index: 202;
}
.lightbox .imgContainer .prevImg:hover{
    background-color: rgba(0,0,0,.2)
}
.lightbox .imgContainer img{
    border: none;
    position: relative;
    float: left;
    /*width: auto;*/
    height: 80vh;
    z-index: 201;
}
.lightbox .imgContainer .nextImg{
    position: relative;
    float: right;
    width: 50px;
    margin-left: -50px;
    height: 80vh;
    background-color: rgba(0,0,0,.3);
    background-image: url(next.png);
    background-position: 50% 50%;
    background-repeat: no-repeat;
    cursor: pointer;
    z-index: 202;
}
.lightbox .imgContainer .nextImg:hover{
    background-color: rgba(0,0,0,.2)
}
.lightbox .closebutton{
    position: fixed;
    width: 30px;
    height: 30px;
    right: 10px;
    top: 10px;
    border: none;
    cursor: pointer;
}

.highlight{
    font-weight: bolder;
    color: #ff5b4c;
}

.highlightgreen{
    color: #12B359;
}


#message-form{
    
}
#message-form * {
    background: transparent;
}
#message-form input{
    border: 1px solid grey;
    padding: 2px;
    margin: 2px;
    background: rgb(74, 74, 74);
    width: 90%;
}
#message-form input[type="submit"]{
    width: 90.75%;
}
#message-form textarea{
    border: 1px solid grey;
    width: 90%;
    margin: 2px;
    padding: 2px;
    background: rgb(74, 74, 74);
    height: 200px;
}
