body {font-family: Helvetica, sans-serif;
    margin:0;
    padding:0;
}
/* Desktop and Tablet*/
@media (min-width:900px) {
    #logo{
        text-decoration: none;
        color:white;   
        font-size: 55px;
        font-weight:normal;
        margin-left: 50px;
        line-height: 0.5cm;
    }
    #menu{
        display: none;
    }
    #menu_line{
        display: none;
    }
    #show_menu img{
        display: none;
    }
    #texttitle{
        font-size: 23px;
        font-weight: normal;
        text-decoration: none;
        color: black;
        padding-left: 80px;
        margin-top: -14px;
        white-space: nowrap;
    }
    #texttitle2{
        font-size: 23px;
        color: black;
        padding-left: 80px;
        margin-top: 380px;
        margin-bottom: 45px;
    }
    #labtitle{
        cursor: pointer;
        font-size: 23px;
        font-weight: normal;
        text-decoration: none;
        color: black;
        margin-left: 80px;
        margin-top: 73px;
        white-space: nowrap;
    }
    #texttitleCV{
        font-size: 20px;
        font-weight: normal;
        margin-left: 80px;
        margin-top: 80px;
        margin-bottom: 5px;
    }
    #texttitleCV2{
        font-size: 20px;
        font-weight: normal;
        margin-left: 80px;
        margin-top: 40px;
        margin-bottom: 5px;
    }
    #text{
        margin-top: 80px;
        margin-left: 80px;
        text-align: left;
        border-collapse: separate;
        white-space: nowrap;
        line-height: 3px;
        width: 60%;
        font-size: 17px;
    }
    #text2{
        margin-top: 40px;
        margin-left: 80px;
        text-align: left;
        border-collapse: separate;
        white-space: nowrap;
        line-height: 3px;
        width: 60%;
        font-size: 17px;
    }
    #mobiletext{
        display: none;
    }
    #cvtabelle {
        border-collapse: separate;
        border-spacing: 5px;
        margin-left: 95px;
        font-size: 17px;
    }
    #infotext{
        margin-top: -18px;
        margin-left: 80px;
        margin-bottom: 37px;
        text-align: left;
        width: 80%;
        font-size: 17px;
    }
    #contact {
        color: black;
        text-decoration: none;
        margin-left: 80px;
        margin-top: 75px;
        line-height: 10px;
    }
    #news {
        color: black;
        font-size: 25px;
        text-decoration: none;
        margin-left: 10px;
    }
    #news:hover, #news:active {
        background-color: rgb(160, 160, 160);
    }
    #works {
        color: black;
        font-size: 25px;
        text-decoration: none;
        margin-left: 20%;
        line-height: 45px;
    }
    #works:hover, #works:active {
        background-color: rgb(160, 160, 160);
        color: black;
    }
    #cv {
        color: black;
        font-size: 25px;
        text-decoration: none;
        margin-left: 20%;
        text-align: center;
    }
    #cv:hover, #cv:active {
        background-color: rgb(160, 160, 160);
    }
    #contact-menu {
        color: black;
        font-size: 25px;
        text-decoration: none;
        margin-left: 20%;
    }
    #contact-menu:hover, #contact-menu:active {
        background-color: rgb(160, 160, 160);
    }
    #contact a {
        color: black;
        text-decoration: none;
        border-spacing: 5px;
        font-size: 17px;
    }
    #contact a:hover {
        color: rgb(160, 160, 160);
    }
    .gallery img {
        transition: 0.1s;
        padding: 15px;
        width: 400px;
    }
    .gallery img:hover{
        filter: opacity(80%);
    }
    .Chat{
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        margin-left: 0px;
        margin-top: 20px;
    }
    #profile img{
        display: none;
    }
    #bubble img{
        display: none;
    }
    #Wires img{
        transition: 0.1s;
        padding: 15px;
        width: 400px;
    }
    #Pergola img{
        transition: 0.1s;
        padding: 15px;
        width: 400px;
    }
    #Fence img{
        transition: 0.1s;
        padding: 15px;
        width: 400px;
    }
    .gallery {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        margin: 10px 50px;
        margin-left: 67px;
        margin-top: -20px;
    }
    .Research_gallery {
        align-items: center;
        flex-wrap: nowrap;
        position: absolute;
        margin-left: 80px;
    }
    .Research_gallery img {
        transition: 0.1s;
        margin-right: 20px;
        width: 350px;
        border-radius:10px;
    }
    .Research_gallery img:hover{
        width:352px;
        box-shadow: 0px 5px 8px 6px #d9d9d9;
    }
    #news-banner{
        font-size: 20px;
        background-color:rgb(251, 177, 219);
        position:absolute;
        top: 0;
    }
    .news-gallery{
        float: left;
        margin: 10px 50px;
        margin-left: 67px;
        margin-top: 44px;
    }
    .news-gallery img {
        transition: 0.1s;
        padding: 15px;
        width: 400px;
    }
    .news-gallery img:hover{
        filter: opacity(80%);
    }
    #news-title{
        font-size: 20px;
        font-weight: normal;
        text-decoration: none;
        color: black;
        padding-left: 80px;
        margin-top: 139px;
        white-space: nowrap;
        line-height: 139px;
    }
    #works:hover, #works:active {
        text-decoration: none;
        color: black;
    }
    #news-text{
        margin-left: 95px;
        font-size: 17px;
        margin-top: -50px;
        line-height: 3px;
        border-collapse: separate;
        text-align: left;
    }
    #news-text-with-image{
        margin-left: 95px;
        font-size: 17px;
        margin-right: 45%;
        font-size: 17px;
        margin-top: 25px;
        border-collapse: separate;
        text-align: left;
    }
    #news-img{
        color: gray;
        margin-left: 95px;
        font-size: 17px;
        margin-top: -50px;
        line-height: 3px;
        border-collapse: separate;
        text-align: left;
        white-space: nowrap;
    }
    #footer {
        margin-bottom: 10px;
        margin-top: 20px;
        text-align: center;
    }
}
/* Tablet*/
@media (max-width:900px){
        #logo {
        text-decoration: none;
        color:white;   
        font-size: 50px;
        font-weight:normal; /* oder margin-left: 65px*/
        text-align: center;
        line-height: 0.5cm;
    }
    #news-banner{
        font-size: 20px;
        background-color:rgb(115, 247, 197);
        position:absolute;
        top: 0;
    }
    #menubar {
        display: none;
    }
    #show_menu img{
        width: 50px;
        display: block;
        margin: auto;
        margin-bottom: 30px;
    }
    #show_menu img:hover{
        filter: opacity(45%);
    }
    #menu_line{
        color: black;
        text-decoration: none;
        font-size: 22px;
        line-height: 45px;
        display: block;
        text-align: center;
        margin: auto;
        margin-top: -18.5px;
        border-bottom: solid;
        border-color: black;
        border-width: 1.5px;
    }
    #menu a:hover{
        color: rgb(160, 160, 160);
    }
    .Research_gallery {
        width: 85%;
        margin-left: calc(9.5% - 10px);
        overflow-x: auto;
        white-space: nowrap;
        align-items: center;
        cursor: grab;  /* Indicates draggable area */
        display: flex;
        align-items: center;
        scrollbar-width: none; /* Hide scrollbar for Firefox */
        -ms-overflow-style: none;
        position: absolute; /* Hide scrollbar for IE and Edge */
    }
    /* Hide scrollbar for WebKit browsers (Chrome, Safari) */
    .Research_gallery::-webkit-scrollbar {
        display: none;
    }
    .Research_gallery_content {
        display: inline-flex;
        margin-left: 10px;
        margin-bottom: 15px;
        margin-right: 15px;
        gap: 20px;
    }
    .Research_gallery_content img {
        width: 320px;
        border-radius: 10px;
        transition: 0.1s;
    }
    .Research_gallery_content img:hover{
        width: 322px;
        box-shadow: 0px 5px 8px 6px #d9d9d9;
    }
    #text{
        display: none;
    }
    #text2{
        display: none;
    }
    #mobiletext{
        margin-top: 60px;
        margin-left: 9.5%;
        margin-right: 9.5%;
        font-size: 17px;
        text-align: left;
    }
    #texttitle{
        font-size: 23px;
        font-weight: normal;
        text-decoration: none;
        color: black;
        margin-left: 9.5%;
        margin-top: -40px;
        white-space: nowrap;
    }
    #labtitle{
        cursor: pointer;
        font-size: 23px;
        font-weight: normal;
        text-decoration: none;
        color: black;
        margin-left: 9.5%;
        margin-top: 55px;
        white-space: nowrap;
    }
    #texttitle2{
        font-size: 23px;
        font-weight: normal;
        text-decoration: none;
        color: black;
        margin-left: 9.5%;
        margin-top: 350px;
        margin-bottom: 40px;
        white-space: nowrap;
    }
    #infotext{
        margin-top: -18px;
        margin-left: 9.5%;
        margin-bottom: 35px;
        text-align: left;
        width: 80%;
        font-size: 17px;
    }
    #texttitleCV{
        font-size: 20px;
        font-weight: normal;
        margin-left: 9.5%;
        margin-top: 80px;
        margin-bottom: 5px;
    }
    #texttitleCV2{
        font-size: 20px;
        font-weight: normal;
        margin-left: 9.5%;
        margin-top: 40px;
        margin-bottom: 5px;
    }
    #cvtabelle {
        border-spacing: 5px;
        margin-left: calc(9.5% + 15px);
        margin-right: 9.5%;
        font-size: 17px;
    }
    #date {
        white-space: nowrap;
        border-spacing: 5px;
        margin-left: 95px;
        font-size: 17px;
        vertical-align: top;
    }
    #activity {
        white-space: normal;
        border-spacing: 5px;
        margin-left: 95px;
        font-size: 17px;
    }
    #news-title{
        font-size: 20px;
        font-weight: normal;
        text-decoration: none;
        color: black;
        margin-left: 9.5%;
        white-space: nowrap;
        line-height: 70px;
    }
    #news-text{
        margin-top:-25px;
        line-height: 22px;
        border-collapse: separate;
        margin-left: calc(9.5% + 15px);
        margin-right: 9.5%;
        font-size: 17px;
    }
    #news-text-with-image{
        margin-left: calc(9.5% + 15px);
        margin-right: 9.5%;
        font-size: 17px;
        margin-top: 25px;
        text-align: left;
    }
    #news-img{
        color: gray;
        margin-left: calc(9.5% + 15px);
        margin-top: -20px;
        font-size: 17px;
        line-height: 3px;
        text-align: left;
    }
    .Chat{
        margin-left: -7px;
        margin-top: 20px;
        margin-bottom: 50px;
    }
    #profile img{
        display: block;
        transition: 0.1s;
        width: 15%
    }
    #bubble img{
        display: block;
        margin-left: 37%;
        margin-top: 30px;
        width: 60%;
        transition: 0.1s;
    }
    #Wires img{
        display: block;
        margin-left: 7%;
        margin-top: 25px;
        margin-bottom:15px;
        transition: 0.1s;
        width: 40%;
    }
    #Pergola img{
        display: block;
        margin-left: 7%;
        transition: 0.1s;
        width: 50%;
    }
    #Fence img{
        display: block;
        margin-top: 15px;
        margin-left: 7%;
        transition: 0.1s;
        width: 48%;
    }
    .gallery {
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
        margin-top: -20px;
        margin-left: 9.5%;
        margin-right: 7.5%;
    }
    .gallery img {
        transition: 0.1s;
        padding-top: 15px;
        padding-right: 15px;
        width: 300px;
    }
    .gallery img:hover{
        filter: opacity(80%);
    }
    #Wirespc img{
        display: none
    }
    #Profilepc img{
        display: none
    }
    #Pergolapc img{
        display: none
    }
    #contact {
        color: black;
        text-decoration: none;
        margin-left: 9.5%;
        border-spacing: 5px;
        font-size: 17px;
        margin-top: 60px;
        line-height: 10px;
    }
    #contact a {
        color: black;
        text-decoration: none;
        border-spacing: 5px;
        font-size: 17px;
    }
    #contact :hover {
        color: rgb(160, 160, 160);
    } 
    #footer {
        margin-bottom: 10px;
        margin-top: 20px;
        text-align: center;
    }
}
/* smartphone*/
@media (max-width:500px){
        #logo {
        text-decoration: none;
        color:white;   
        font-size: 45px;
        font-weight:normal; /* oder margin-left: 65px*/
        text-align: center;
        line-height: 0.5cm;
    }
    #news-banner{
        font-size: 20px;
        background-color:rgb(255, 255, 0);
        position:absolute;
        top: 0;
    }
    #menubar {
        display: none;
    }
    #show_menu img{
        width: 40px;
        display: block;
        margin: auto;
        margin-bottom: 30px;
    }
    #show_menu img:hover{
        filter: opacity(45%);
    }
    #menu_line{
        color: black;
        text-decoration: none;
        font-size: 22px;
        line-height: 45px;
        display: block;
        text-align: center;
        margin: auto;
        margin-top: -18.5px;
        border-bottom: solid;
        border-color: black;
        border-width: 1.5px;
    }
    #menu a:hover{
        color: rgb(160, 160, 160);
    }
    .Research_gallery {
        width: 90%;
        margin-top: -10px;
        margin-left: calc(7% - 10px);
        overflow-x: auto;
        white-space: nowrap;
        align-items: center;
        cursor: grab;  /* Indicates draggable area */
        display: flex;
        align-items: center;
        scrollbar-width: none; /* Hide scrollbar for Firefox */
        -ms-overflow-style: none;
        position: absolute; /* Hide scrollbar for IE and Edge */
    }
    /* Hide scrollbar for WebKit browsers (Chrome, Safari) */
    .Research_gallery::-webkit-scrollbar {
        display: none;
    }
    .Research_gallery_content {
        display: inline-flex;
        margin-left: 10px;
        margin-bottom: 15px;
        margin-right: 15px;
        gap: 20px;
    }
    .Research_gallery_content img {
        width: 300px;
        border-radius: 10px;
        transition: 0.1s;
    }
    .Research_gallery_content img:hover{
        width: 302px;
        box-shadow: 0px 5px 8px 6px #d9d9d9;
    }
    #text{
        display: none;
    }
    #text2{
        display: none;
    }
    #mobiletext{
        margin-top: 55px;
        margin-left: 7%;
        margin-right: 7%;
        font-size: 17px;
        text-align: left;
    }
    #texttitle{
        font-size: 23px;
        font-weight: normal;
        text-decoration: none;
        color: black;
        margin-left: 7%;
        margin-top: -50px;
        white-space: nowrap;
    }
    #texttitle2{
        font-size: 23px;
        font-weight: normal;
        text-decoration: none;
        color: black;
        margin-left: 7%;
        margin-top: 330px;
        margin-bottom: 30px;
        white-space: nowrap;
    }
    #labtitle{
        cursor: pointer;
        font-size: 23px;
        font-weight: normal;
        text-decoration: none;
        color: black;
        margin-left: 7%;
        margin-top: 50px;
        margin-bottom: 35px;
        white-space: nowrap;
    }
    #infotext{
        margin-top: -30px;
        margin-left: 7%;
        margin-bottom: 50px;
        text-align: left;
        width: 80%;
        font-size: 17px;
    }
    #texttitleCV{
        font-size: 20px;
        font-weight: normal;
        text-align: left;
        margin-left: 7%;
        margin-top: 55px;
        margin-bottom: 5px;
    }
    #texttitleCV2{
        font-size: 20px;
        font-weight: normal;
        margin-left: 7%;
        margin-top: 40px;
        margin-bottom: 5px;
    }
    #cvtabelle {
        margin-left: calc(7% - 4px);
        margin-right: 7%;
        font-size: 17px;
    }
    #date {
        white-space: nowrap;
        font-size: 17px;
        vertical-align: top;
    }
    #activity {
        white-space: normal;
        border-spacing: 5px;
        margin-left: 95px;
        font-size: 17px;
    }
    #news-title{
        font-size: 20px;
        font-weight: normal;
        text-decoration: none;
        color: black;
        margin-left: 7%;
        white-space: nowrap;
        line-height: 65px;
    }
    #news-text{
        margin-top: -25px;
        line-height: 23px;
        text-align: left;
        margin-left: 7%;
        margin-right: 7%;
        font-size: 17px;
    }
    #news-text-with-image{
        margin-left: 7%;
        margin-right: 7%;
        font-size: 17px;
        margin-top: 25px;
        text-align: left;
    }
    #news-img{
        color: gray;
        margin-left: 7%;
        margin-top: -25px;
        font-size: 15px;
        line-height: 3px;
        text-align: left;
    }
    .Chat{
        margin-left: -4%;
        margin-top: -10px;
        margin-bottom: 50px;
    }
    #profile img{
        display: block;
        transition: 0.1s;
        width: 19%
    }
    #bubble img{
        display: block;
        margin-left: 33%;
        margin-top: 20px;
        margin-bottom: -10px;
        width: 65%;
        transition: 0.1s;
    }
    #Wires img{
        display: block;
        margin-left: 8%;
        transition: 0.1s;
        width: 45%;
    }
    #Pergola img{
        display: block;
        margin-left: 8%;
        margin-top: -15px;
        transition: 0.1s;
        width: 55%;
    }
    #Fence img{
        display: block;
        margin-left: 8%;
        margin-top: -0.5px;
        transition: 0.1s;
        width: 51%;
    }
    .gallery {
        margin-top: -20px;
        display: flex;
        justify-content: center;
    }
    .gallery img {
        transition: 0.1s;
        margin-top: 8px;
        width: 300px;
    }
    .gallery img:hover{
        filter: opacity(80%);
    }
    #contact {
        color: black;
        text-decoration: none;
        margin-left: 7%;
        border-spacing: 5px;
        font-size: 17px;
        margin-top: 55px;
        line-height: 13px;
    }
    #contact a {
        color: black;
        text-decoration: none;
        border-spacing: 5px;
        font-size: 17px;
    }
    #contact :hover {
        color: rgb(160, 160, 160);
    } 
    #footer {
        margin-bottom: 10px;
        margin-top: 20px;
        text-align: center;
    }
}
