*{
    margin:0;
    padding:0;
    box-sizing: border-box;
    font-family: sans-serif;
}
input{
    display: none;
}
.header1FotoGallery{
    font-weight: normal;
    font-size: 35px;
    position:relative;
    margin:40px 0;
}
.header1FotoGallery::before{
    content:'';
    position:absolute;
    width: 100%;
    height: 3px;
    background-color: crimson;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    animation: animate 4s linear infinite;
}
@keyframes animate {
    0%{
        width:100px;
    }
    50%{
        width:200px;
    }
    100%{
        width:100px;
    }
}
.top-content{
    overflow-x: scroll;
    overflow-y:hidden;
    background-color: rgb(243, 243, 243);
    width: 90%;
    margin: 0 auto 20px auto;
    height:60px;
    display:flex;
    border-radius: 5px;
    box-shadow: 3px 3px 5px lightgray;
}
.header3FotoGallery{
    overflow-wrap: break-word;
    height: 100%;
    background-color: rgb(221, 221, 221);
    line-height: 60px;
    padding: 0 50px;
    color: white;
}
.lblFotoBereich{
    display: inline-block;
    height: 100%;
    margin:0 20px;
    line-height: 60px;
    font-size: 18px;
    color: gray;
    cursor: pointer;
    transition: color .5s;
}
.lblFotoBereich:hover{
    color: black;
}
.photo-gallery{
    width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill,186px);
    column-gap: 20px;
    row-gap: 20px;
}
.pic{
    position: relative;
    height: 230px;
    border-radius: 10px;
    box-shadow: 3px 3px 5px lightgray;
    cursor: pointer;
}
.pic img{
    width: 100%;
    height: 100%;
    border-radius: 10px;
    transition: .5s;
}
.pic::before{
    content: "Rama Innenausbau";
    position:absolute;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 22px;
    font-weight: bold;
    width: 100%;
    margin-top:-100px;
    opacity: 0;
    transition: .3s;
    transition-delay: .2s;
    z-index: 1;
}
.pic:after{
    content:"";
    position: absolute;
    width: 100%;
    bottom: 0;
    left:0;
    border-radius: 10px;
    height: 0;
    background-color: rgba(0, 0, 0,.4);
    transition: .3s;
}
.pic:hover::after{
    height: 100%;
}
.pic:hover::before{
    margin-top: 0;
    opacity: 0.4;
}
#check1:checked ~ .container .photo-gallery .pic{
    opacity: 1;
    transform: scale(1);
    position: relative;
    transition: .5s;
}
#check2:checked ~ .container .photo-gallery .bodenbelaege{
    transform: scale(1);
    opacity: 1;
    position: relative;
    transition: .5s;
}
#check2:checked ~ .container .photo-gallery .trockenbau,
#check2:checked ~ .container .photo-gallery .rohbau,
#check2:checked ~ .container .photo-gallery .spachtel,
#check2:checked ~ .container .photo-gallery .maler,
#check2:checked ~ .container .photo-gallery .wdvs,
#check2:checked ~ .container .photo-gallery .putz{
    opacity: 0;
    transform: scale(0);
    position: absolute;
    transition: 0s;
}

#check3:checked ~ .container .photo-gallery .putz{
    transform: scale(1);
    opacity: 1;
    position: relative;
    transition: .5s;
}
#check3:checked ~ .container .photo-gallery .bodenbelaege,
#check3:checked ~ .container .photo-gallery .rohbau,
#check3:checked ~ .container .photo-gallery .wdvs,
#check3:checked ~ .container .photo-gallery .spachtel,
#check3:checked ~ .container .photo-gallery .maler,
#check3:checked ~ .container .photo-gallery .trockenbau{
    opacity: 0;
    transform: scale(0);
    position: absolute;
    transition: 0s;
}
#check4:checked ~ .container .photo-gallery .spachtel{
    transform: scale(1);
    opacity: 1;
    position: relative;
    transition: .5s;
}
#check4:checked ~ .container .photo-gallery .bodenbelaege,
#check4:checked ~ .container .photo-gallery .putz,
#check4:checked ~ .container .photo-gallery .maler,
#check4:checked ~ .container .photo-gallery .rohbau,
#check4:checked ~ .container .photo-gallery .wdvs,
#check4:checked ~ .container .photo-gallery .trockenbau{
    opacity: 0;
    transform: scale(0);
    position: absolute;
    transition: 0s;
}

#check5:checked ~ .container .photo-gallery .maler{
    transform: scale(1);
    opacity: 1;
    position: relative;
    transition: .5s;
}
#check5:checked ~ .container .photo-gallery .bodenbelaege,
#check5:checked ~ .container .photo-gallery .putz,
#check5:checked ~ .container .photo-gallery .spachtel,
#check5:checked ~ .container .photo-gallery .rohbau,
#check5:checked ~ .container .photo-gallery .wdvs,
#check5:checked ~ .container .photo-gallery .trockenbau{
    opacity: 0;
    transform: scale(0);
    position: absolute;
    transition: 0s;
}

#check6:checked ~ .container .photo-gallery .trockenbau{
    transform: scale(1);
    opacity: 1;
    position: relative;
    transition: .5s;
}
#check6:checked ~ .container .photo-gallery .bodenbelaege,
#check6:checked ~ .container .photo-gallery .putz,
#check6:checked ~ .container .photo-gallery .spachtel,
#check6:checked ~ .container .photo-gallery .wdvs,
#check6:checked ~ .container .photo-gallery .rohbau,
#check6:checked ~ .container .photo-gallery .maler{
    opacity: 0;
    transform: scale(0);
    position: absolute;
    transition: 0s;
}

#check7:checked ~ .container .photo-gallery .wdvs{
    transform: scale(1);
    opacity: 1;
    position: relative;
    transition: .5s;
}
#check7:checked ~ .container .photo-gallery .bodenbelaege,
#check7:checked ~ .container .photo-gallery .putz,
#check7:checked ~ .container .photo-gallery .spachtel,
#check7:checked ~ .container .photo-gallery .maler,
#check7:checked ~ .container .photo-gallery .rohbau,
#check7:checked ~ .container .photo-gallery .trockenbau{
    opacity: 0;
    transform: scale(0);
    position: absolute;
    transition: 0s;
}

#check8:checked ~ .container .photo-gallery .rohbau{
    transform: scale(1);
    opacity: 1;
    position: relative;
    transition: .5s;
}
#check8:checked ~ .container .photo-gallery .bodenbelaege,
#check8:checked ~ .container .photo-gallery .putz,
#check8:checked ~ .container .photo-gallery .spachtel,
#check8:checked ~ .container .photo-gallery .maler,
#check8:checked ~ .container .photo-gallery .wdvs,
#check8:checked ~ .container .photo-gallery .trockenbau{
    opacity: 0;
    transform: scale(0);
    position: absolute;
    transition: 0s;
}
.container{
    width: 100%;
    text-align: center;
}
body {
    font-family: Arial, sans-serif;
}
.hero {
    background: url('img/architectural\ design.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
}
.hero-overlay {
    background: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.navbar {
    background: rgba(0, 0, 0, 0.8) !important;
}
.section-heading {
    margin-bottom: 30px;
    font-weight: bold;
}
.btn-custom {
    background-color: #f8b400;
    border: none;
    padding: 10px 20px;
    font-size: 18px;
}
.reference-logo {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    transition: 0.3s;
}
.reference-logo:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}
body,button,.form-control {
	color: #606368;
	font-family: 'Open Sans', Helvetica, Arial, sans-serif; 
	font-weight: 400;	
}
.hrStyle2{
    border: none;
  height: 2px;
  /* Set the hr color */
  color: #333;  /* old IE */
  background-color: #333;  /* Modern Browsers */
}