*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}


body{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

/* html{
    overflow-x: hidden;
} */

header{
    width: 100%;
    background-color: rgb(38, 36, 42);
    position: sticky;
    top: 0;
    /* border-bottom: solid 1px #fff; */
    box-shadow: 0px 3px 11px 0px rgb(209, 209, 209);

    z-index: 1;
}

.navbar{
    width: 90%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#logo-container{
    flex-grow: 0;
    height: 80%;
}

.logo{
    width: 12rem;
    cursor: pointer;
    transition: 0.2s;
    padding-top: .8rem;
    padding-bottom: .8rem;
    flex-grow: 0;
}

.logo:hover{
    -webkit-filter: drop-shadow(1px 1px 5px rgb(255, 255, 255));
    filter: drop-shadow(1px 1px 5px rgb(255, 255, 255));
}

.navbar ul li{
    list-style: none;
    display: inline-block;
    margin: 0 1.25rem;
    position: relative;
}

.navbar ul li:first-child{
    margin-top: 0;
}

.navbar ul li a{
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

.navbar ul li::after{
    content: '';
    height: 0.19rem;
    width: 0;
    background: rgb(255, 255, 255);
    position: absolute;
    left: 0;
    bottom: -0.3rem;
    transition: 0.5s;
}

.navbar ul li:hover::after{
    width: 100%
}

.fixed-navline{
    width: 100%;
}

.hidden-navline{
    width: 0;
}

.navigation{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    transition: 0.5s;
}

.hamburger-container{
    position: relative;
}

.hamburger{
    position: relative;
    width: 2rem;
    height: 0.2rem;
    background: #fff;
    border-radius: 1rem;
    cursor: pointer;
    transition: 0.3s;
    z-index: 2;
}

.hamburger:before,
.hamburger:after {
    content: "";
    position: absolute;
    height: 0.2rem;
    width: 2rem;
    border-radius: 1rem;
    right: 0;
    background: #fff;
    transition: 0.3s;
    z-index: 2;
}

.hamburger:before{
    top:.8rem;
}

.hamburger:after{
    top:-.8rem;
}

.toggle-menu {
    position: absolute;
    width: 2rem;
    height: 2rem;
    z-index: 10;
    cursor: pointer;
    z-index: 3;
    opacity: 0;
    user-select: none;
}

.hamburger,
.toggle-menu {
    display: none;
}

.navigation input:checked ~ .hamburger{
    background: transparent;
}

.navigation input:checked ~ .hamburger:before{
    top: 0;
    transform: rotate(-45deg);
}

.navigation input:checked ~ .hamburger:after{
    top: 0;
    transform: rotate(45deg);
}



main{
    width: 100%;
    /* background-color: rgb(38, 36, 42); */
    background: linear-gradient(to bottom, rgb(38, 36, 42), #5f6876, rgb(38, 36, 42));

    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-inline: auto;
    z-index: 0;
    padding-bottom: 1rem;
}

.content{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.sub-section{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    scroll-margin-top: 5rem;
}

.intro-head{
    color: #ffffff;
    text-align: center;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.head-span{
    /* background-color: rgb(64, 64, 78); */
    /* background: linear-gradient(to right, rgb(64, 64, 78), #5f6876, rgb(38, 36, 42)); */
    text-align: center;
    padding: 0.3rem;
    /* padding-left: 2rem; padding-right: 2rem; */
    /* margin: 1rem; */
    border-radius: 2rem;
    /* border: 1px solid rgb(148, 146, 146); */
}

/* .intro-head h1{
    position: relative;
} */

/* .head-span h1::before{
    content: "";
    display: block;
    width: 50%;
    height: 1px;
    background: rgb(148, 146, 146);
    position: absolute;
    left: 0;
    top: 50%;
    z-index: -1;
    margin-left: 0.63rem;
}

.head-span h1::after{
    content: "";
    display: block;
    width: 50%;
    height: 1px;
    background: rgb(148, 146, 146);
    position: absolute;
    right: 0;
    top: 50%;
    z-index: -1;
    margin-right: 0.63rem;
} */


.intro-section{
    width: 100%;
    padding: 0 0.63rem;
    margin: -0.63rem 0;
    flex-grow: 0;
    /* background-color: rgb(87, 87, 97); */

}

.intro-banner{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.section-note{
    text-align: center;
    color: #fff;
    padding-bottom: 0.63rem;
}

.img{
    width: 100%;
    height: 100%;
    z-index: -1;
    -webkit-filter: grayscale(70%);
    filter: grayscale(70%);
    border-radius: 2rem 1rem;

}

.box-2{
    background-color: rgb(38, 36, 42);
    color: #fff;
    text-align: center;
    width: 12.5rem;
    height: auto;
    margin: 0.63rem;
    border: 0.035rem solid rgb(38, 36, 42);
    border-radius: 2rem 1rem;
    flex-grow: 1;
    position: relative;
    cursor: pointer;
    transition: 0.5s;

}

.box-2::after{
    content: "";
    position: absolute;
    z-index: -1;
    bottom: 0;
    right:20px;
    height: 10%;
    width: 70%;
    box-shadow: 25px -4px 4px 0px rgba(0, 0, 0, 0.75);
    transform: skewX(-60deg);
}

.box-2:hover{
    border: .5px solid #fff;

}

.box-2:hover img{
    -webkit-filter: grayscale(50%);
    filter: grayscale(50%);
}


.box-2 h1{
    position: absolute;
    display: flex;
    color:rgb(255, 255, 255);
    width: 95%;
    min-height: 25%;
    top: 80%;
    align-items: center;
    justify-content: center;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-backdrop-filter: blur(20rem);
    backdrop-filter: blur(20rem);
    border-radius: 4rem 2rem;
    /* border-bottom-left-radius: 2rem;
    border-bottom-right-radius: 2rem; */
    transition: 0.5s;
}

.box{
    width: auto;
    margin: 1.25rem;
    padding: 0.63rem;
    border: .5px solid rgb(255, 255, 255);
    border-radius: 0.32rem;
    box-shadow: 5px 5px 10px rgb(71, 71, 71);
    flex-grow: 1;
    flex-shrink: 1;
}

.full-box{
    width: 100%;
    margin: 1.25rem;
    padding: 0.63rem;
    border: .5px solid rgb(255, 255, 255);
    border-radius: 0.32rem;
    box-shadow: 5px 5px 10px rgb(71, 71, 71);
}

.full-box a{
    color: #fff;
}

.box-1{
    color: #fff;
}

.box-1 h1, h3{
    margin: 1.25rem;
    color: rgb(255, 255, 255);
}

.box-1 p{
    margin: 1.25rem;
}

.box-1 ul{
    padding-left: 5%;
    padding-right: 5%;
    list-style: none;
    font-size: large;
    color: #fff;
}

.box-1 ul li{
    padding: 0.3rem;
}



.box-1 ul li::before{
    content: "\2713\00A0";
    font-weight: bold;
    color:#008037;
}

.box-1 .ul-2{
    padding-left: 5%;
    list-style: none;
    font-size: small;
    color: rgb(174, 174, 177);
}

.box-1 .ul-2 li::before{
    content: "\279C"; 
    color:rgb(174, 174, 177);
    padding-right: 0.3rem;
}

.box-button{
    margin: auto;

}

.img-plus-text{
    display: flex;
    width: 80%;
    border: 1px solid #fff;
    /* background-color: #008037; */
}

.small-img{
    width: 10%;
    height: auto;
}


.p2{
    color: rgb(255, 255, 255);
}

.a-box{
    margin: 1.25rem;
    margin-top: 0;
    padding: 0.62rem;
    flex-grow: 1;
    flex-shrink: 1;
}

.bio-box{
    display: flex;
    margin: 1.25rem;
    color: #fff;
    width: 100%;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1rem;
    gap: 1.56rem;
}

.bio-text{
    flex-grow: 1;
    padding: 1rem;
    background-color: rgb(122, 122, 102);
    border-radius: 0.32rem;
    border: 1px solid #fff;
    box-shadow: 5px 5px 10px rgb(0, 0, 0);

}

.bio-text p {
    margin-top: 1.25rem;
}

.bio-img {
    width: 30%;
}

.bio-img img{
    border-radius: 0.32rem;
    width: 100%;
    height: auto;
    border: 1px solid #fff;
    box-shadow: 5px 5px 10px rgb(0, 0, 0);

}

.text-404{
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.text-404 form{
    align-items: flex-end;
}

.text-404 p{
    margin:0;
}

.about-box{
    color:#fff;
    margin: 1.25rem;
}

.h1-paddingtop{
    padding-top: 1.25rem;
    font-size: large;
}

.about-flex{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.table-about-1{
    text-align: left;
    border-collapse: collapse;
}


.table-about-1 td{
    vertical-align: top;
    padding: 0.625rem;
    border-left: 1px solid #fff;
}

.table-about-1 td:first-child{
    border-left: none;
    text-align: right;
    width: min-content;
    white-space: nowrap;
}

.project-table{
    margin-top: 1.5rem;
}

.project-table td:first-child{
    border-left: none;
    text-align: left;
    width: min-content;
    white-space: nowrap;
    font-weight: bold;

}

.sub-data{
    max-width: 50%;
}

.sub-data td{
    font-size: small;
    padding: 0;
    padding-left: 0.625rem;
}

.sub-data-title{
    font-style: italic;
    color: #fff;
    font-size: small;
}

.sub-data-title ul{
    list-style:circle;
    padding-left: 1rem;
}

.text-link{
    color: #fff;
}

.send-box{
    color:#fff;
    margin: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    position: relative;


}

.send-img{
    width: 20%;
    padding: 1rem;
    filter: drop-shadow(1px 1px 0px rgb(57, 68, 57));
}

.send-box p{
    text-align: center;
}

.button-1{
    width: 18.5rem;
    padding: 1rem;
    text-align: center;
    font-weight: bold;
    font-size: x-large;
    background: rgb(69, 86, 71);
    cursor: pointer;
    overflow: hidden;
    position: relative;
    z-index: 0;
    color: #fff;
    box-shadow: 5px 5px 10px rgb(28, 29, 28);
    border: 1px solid #fff;
    border-radius: 0.32rem;
    transition: 0.5s;
}

.span-1{
    background: rgb(0, 128, 55);
    height: 100%;
    width: 0;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: -1;
    transition: 0.5s;
}

.button-1:hover .span-1{
    width: 100%;
}

.button-1:hover {
    border: 1px solid rgb(73, 176, 38);
}

.contact{
    width: 80%;
    margin-inline: auto;
    padding: 1.25rem;
}

.contact-form{
    width: 100%;
    padding: 1.25rem;
    border: 1px solid rgb(123, 119, 119);
    border-radius: 0.32rem;
}

.contact-form > *{
    margin-bottom: 1.25rem;
    width: 100%;
    padding: 1.1rem;
    font-size: 1.25rem;
    border-radius: 0.32rem;
}

.contact-form > input {
    border: 1px solid #fff;

}
.accept{
    color: #fff;
    box-shadow: none;
}

.accept > a{
    color: #fff;
    box-shadow: none;
}

.contact-form > p{
    color: #fff;
    box-shadow: none;
}

.textarea-cf{
    height: 12.5rem;
}

footer{
    width: 100%;
    background-color: rgb(38, 36, 42);
    border-top: solid 1px #fff;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    position: relative;
    display: flex;
    justify-content: space-evenly;
}

.footer-content{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    color: #fff;
}

.footer-info{
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 1rem;
    row-gap: .5rem;
}

.footer-info > a{
    color: #fff;
}

.impressum{
    color: #fff;
}

.impressum h1{
    font-size: xx-large;
    padding-bottom: 1rem;
    padding-top: 1rem;
}

.box-impressum{
    width: 70%;
}

.box-impressum p{
    padding: 0.32rem;
}

.box-impressum a{
    color: #fff;
}

.sources{
    list-style: square;
    margin-left: 1.25rem;
}

.content-login{
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    margin-inline: auto;
    text-align: center;
}

.login-form{
    width: auto;
    border: solid 2px black;
    margin-bottom: 0.625rem;
    display: flex;
    flex-direction: column;
}

.content-register{
    display: flex;
}

.register-form{
    width: 18.75rem;
    height: auto;
    border: solid 2px rgb(108, 108, 108);
    margin-bottom: 0.625rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #fff;
    padding: 1.25rem;
    border-radius: 0.32rem;
}

.register-form > *{
    margin-top: 1.25rem;
    width: 100%;
    box-shadow: 0px 0px 5px  #00000050;
    padding: 1.25rem;
    font-size: 1.25rem;
}

.login-form >*{
    margin-top: 1.25rem;
    width: 100%;
    box-shadow: 0px 0px 5px  #00000050;
    padding: 1.25rem;
    font-size: 1.25rem;
}

.section-header{
    display: flex;
    align-items: center;
}


.slide-box{
    background-color: rgb(18, 16, 21);
    color: #fff;
    width: 100%;
    height: auto;
    min-height: 30%;
    overflow: hidden;
    margin-top: 20px;
}

.slide-box figure{
    position: relative;
    width: 500%;
    height: 100%;
    margin: 0;
    left: 0;
    animation: 20s slide-box infinite;
}

.slide-div{
    scale:1;
    width: 20%;
    float: left;
    height: 100%;
}

.slides img{
    filter: grayscale(100%);
    width: 100%;
    object-fit: fill;
    position: absolute;
    z-index: -1;
    animation: 20s image-vert infinite;


}

.slides h1{
    font-size: 10vh;
    padding: 20px;
    z-index: 1;
}

.slides ul{
    right: 0;
}

.index-slide{
    flex-grow: 1;
    flex-shrink: 0;
}

.enum{
    display: flex;
    align-items: center;
    justify-content: space-between;
    bottom: 0;
}

.enum ul li{
    list-style: none;
    display: inline-block;
    margin: 5px 20px;
    position: relative;
}

.enum ul li a{
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

.hidden {
    visibility: hidden;
}

.hidden2{
    display: none;
}

.viewer-info h1{
    text-align: center;
}

.viewer-img{
    width: 90%;
    background-color: #2f2d3b;
    border-top-right-radius: 1rem;
    border-top-left-radius: 1rem;
    /* box-shadow: 5px 5px 10px rgb(0, 0, 0); */

}

.viewer-text{
    margin: 2rem;
}

.viewer-text p {
    margin: 0;
}

.bg-color{
    background-color: #1f1f35;
}

.version-info td{
    padding-left: 1rem;
    padding-right: 1rem;
}

.img-text-viewer{
    flex-grow: 0;
    flex-shrink: 1;
}

.features-box{
    background-color: #1f1f35;
    width: 90%;
    border-bottom-right-radius: 1rem;
    border-bottom-left-radius: 1rem;
    margin-bottom: 1rem;
    /* box-shadow: 5px 5px 10px rgb(0, 0, 0); */

}

.td-description{
    color: #818386;
}

.grey-text{
    color: #939396;
}

.bug-box{
    border: none;
    box-shadow: none;
}

.ref-box{
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
    position: relative;
    /* flex-direction: row; */
    /* gap: auto; */
}


.ref-img{
    width: 80%;
    height: auto;
    /* border-radius: 1rem; */
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
    box-shadow: 5px 5px 10px rgb(71, 71, 71);

}

.ref-img1{
    max-width: 50%;
    /* height: auto; */
    border-radius: 1rem;
    margin: 1.25rem;
    flex-grow: 1;
    flex-shrink: 1;

    box-shadow: 5px 5px 10px rgb(71, 71, 71);

}

.small-ref-img{
    width: 100%;
    height: auto;
    box-shadow: 5px 5px 10px rgb(71, 71, 71);
    border-radius: 1rem;



}

.img-container .small-ref-img{
    cursor: pointer;
    overflow: hidden;
    transition: .2s linear;
}



.img-container{
    width: 30%;
    height: auto;

    border-radius: 1rem;

    margin-top: 1rem;

}

.single-img{
    width: 80%;
}

.img-container .small-ref-img:hover{
    transform: scale(1.01);
}

.img-descr{
    margin-top: 0.5rem;
    font-size: small;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}

.project-description{

    margin: 1rem;
    color: #fff;
    width: 40%;
    height: auto;
    flex: 1;
    /* transition: max-height 0.5s; */
}
.block-text{
    text-align: justify;
}

.news-descr{
    width: 60%;
}

.side-text{
    width: 30%;
    /* position: relative;
    right: 0; */
}

.news-container{
    display: flex;
    justify-content: space-evenly;
}


.ref-head1{
    color: #fff;
    font-size:xx-large
}

.single-p{
    margin-top: 1rem;
}

.ref-head2{
    color: #fff;
    font-size: medium;
}

.ref-text{
    /* top: 0;
    left: 25%; */
    margin-right: 2rem;
    background-color: #fff;
    border-top-right-radius: 5rem;
    border-bottom-right-radius: 2rem;
    padding: 1rem;
    box-shadow: 5px 5px 10px rgb(71, 71, 71);
    border-left: .5rem solid rgb(49, 110, 143);
    display: flex;
    flex-direction: column;

}

.right-border{
    border-left: none;
    border-right: .5rem solid rgb(49, 110, 143);

    border-top-right-radius: 0;
    border-bottom-right-radius: 0;

    border-top-left-radius: 5rem;
    border-bottom-left-radius: 2rem;

    margin-left: 2rem;
    margin-right: 0;

    margin-top: 3rem;


    background-color: #eee7ca;
}



.ref-text h1{
    margin-bottom: 1rem;
    margin-top: 1rem;
    padding: 2rem;
    color: rgb(49, 110, 143);

}

.box-3{
    background-color: rgb(123, 185, 221);
    width: 100%;
    text-align: center;
    
}

.root-box{
    /* width: auto; */
    margin: 1.25rem;
    /* padding: 0.63rem; */
    /* border: .5px solid rgb(255, 255, 255); */
    /* box-shadow: 5px 5px 10px rgb(71, 71, 71); */
    flex-grow: 0;
    flex-shrink: 0;
    /* flex-wrap: wrap; */
    /* background-color: #bec5d1; */
}

.root-box-2{
    width: auto;
    margin: 1.25rem;
    /* padding: 0.63rem; */
    border: .5px solid rgb(255, 255, 255);
    border-radius: 1rem;
    box-shadow: 5px 5px 10px rgb(71, 71, 71);
    flex-grow: 0;
    flex-shrink: 1;
    background-color: #3e4c64;
    color: #1f1f35;
}

.ref-ul{
    color: #1f1f35;
}

.slideshow-container {
    max-width: 30%;
    position: relative;
    margin: 0 auto;
}

.slides2{
    display: none;
}

.project-content{
    /* background-color: #3e4c64; */
    /* margin: 1.25rem; */
    /* background: linear-gradient(to bottom, rgb(38, 36, 42), #5f6876, rgb(38, 36, 42)); */
    display: flex;
    align-items: flex-start;
    /* flex-wrap: wrap; */
}

.project-content a {
    color: #fff;
}

.ref-text a{
    color: rgb(49, 110, 143);
    /* margin-top: 1rem; */
}


.td-pset {
    /* border-top: 1px solid rgb(207, 207, 207);
    border-bottom: 1px solid rgb(207, 207, 207); */

    /* background-color: rgb(53, 53, 65); */
    text-align: left;
    cursor: pointer;
    /* font-size: small; */
    user-select: none;
    /* font-weight: bold; */
    /* vertical-align: top; */
    /* display: inline-block; */
    /* padding-left: 30px; */
    /* display: none; */
    
}

.td-pset:hover{
    color: #858585;
}

.td-pset::before {
    content: "\276F";
    /* vertical-align: top; */
    margin-right: 10px;
    margin-left: 5px;
    display: inline-block;
    transform: rotate(90deg);
        /* transition: transform .15s ease; warum diese?*/
        transition-duration: 0.15s;
        transition-timing-function: ease;
        transition-delay: 0s;
    /* transition properties taken from dalux.com */
    /* position: absolute; */
    color: rgb(255, 255, 255);
    font-weight: bold;
}

.td-pset-up::before {
    transform: rotate(0deg);
}

/* .hide-on-mobile{
    display: block;
} */

.td-1{
    transition: 1s;
}

.else-hide{
    display: none;
    font-weight: normal;
}

#no-border{
    border-left: none;
}

.popup-image{
    position: fixed;
    top: 0; left: 0;
    background: rgba(0, 0, 0, 0.9);
    height: 100%;
    width: 100%;
    z-index: 100;
    display: none;
}

.popup-image span{
    position: absolute;
    top: 20%; right: 1rem;
    font-size: 3rem;
    font-weight:bold;
    color: #fff;
    cursor: pointer;
    z-index: 100;
    /* transform: translate(100%, 100%); */
}

.popup-image img{
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    /* width: 80%; */
    max-width: 95%;
    max-height: 70%;

}

.smaller-text{
    /* font-size: smaller; */
    /* background-color: #5a6b88; */
    /* padding: 1rem; */
    border-radius: 1rem;
    color: rgb(93, 87, 87);
    font-style: italic;
}

.right-descr{
    font-size: small;
    font-style: italic;
    text-align: end;
    padding-top: .5rem;
}

/* .footer-info{
    display: flex;
    justify-content: space-between;
    gap: 5rem;
}


.footer-icon{
    max-height: 2rem;
} */

.news {
    flex-direction: row;
}

.news-descr1{
    width: 90%;
}

@keyframes image-vert {
    0%{
        top: -50%;
    }

    20% {
        top: 1%;
    }
    25%{
        top: -50%;
    }
    45% {
        top: 1%;
    }
    50% {
        top: -50%;
    }
    70% {
        top: 1%;
    }
    75% {
        top: -50%;
    }
    95% {
        top: 1%;
    }
    100% {
        top: -50%;

    }
}

@keyframes image-vert-2 {
    0%{
        top: 0;
    }

    20% {
        top: 20%;
    }
    25%{
        top: 0;
    }
    45% {
        top: 20%;
    }
    50% {
        top: 0;
    }
    70% {
        top: 20%;
    }
    75% {
        top: 0;
    }
    95% {
        top: 20%;
    }
    100% {
        top: 0;

    }
}

@keyframes slide-box{
    0%{
        left:0;
    }
    20% {
        left:0;
    }
    25%{
        left: -100%;
    }
    45% {
        left: -100%;
    }
    50% {
        left:-200%;
    }
    70% {
        left: -200%;
    }
    75% {
        left: -300%;
    }
    95% {
        left: -300%;
    }
    100% {
        left: -400%;
    }
}

@media only screen and (max-width: 1000px) {
    .bio-img{
        width: 50%;
    }
    .popup-image img{
        width: 95%;
    }

}

@media only screen and (max-width: 1400px) {
    .ref-img1{
        border-radius: 0;
        max-width: 100%;
        margin: 0;
    }
    .project-description{
        width: 100%;
    }
}

@media only screen and (max-width: 1122px) {
    .box-2{
        width: 30%;
    }

}

@media only screen and (max-width: 900px) {
    .box-2{
        width: 40%;
    }
    .ref-box{
        flex-direction: column;
    }
    .news {
        flex-direction: column;
    }
    .img-container{
        width: 100%;
    }
    .news-descr{
        width: 100%;
    }
    .side-text{
        width: 100%;
    }
    .news-container{
        flex-direction: column;
    }

}

@media only screen and (max-width: 500px) {
    .box-2{
        width: auto;
    }

}

@media only screen and (max-width: 700px) {
    .html{
        font-size: 50px;
    }
    .contact{
        width: 100%;
    }
    .slides img{
        animation: 20s image-vert-2 infinite;

    }
    .slide-div h1{
        font-size: xx-large;
    }
    .slide-box{
        height: 30vh;

    }
    .bio-img{
        width: 100%;
    }
    .full-box{
        width: 100%;
    }
    .hide-on-mobile{
        display: none;
    }
    .highlight-on-mobile{
        font-weight: bold;
        font-size: x-large;
    }
    .else-hide{
        display: table-cell;
        font-weight: normal;
    }
    .ref-text{
        margin-right: 0;
    }

}



@media only screen and (min-width: 400px){
    .bio-text{
        width: 50%;
    }
    .bio-header{
        width: 80%;
        margin: auto;
    }
}

.navigation input:checked ~ .menu{
    opacity: 1;
    display: flex;
}

@media screen and (max-width: 900px){
    .hamburger,
    .toggle-menu{
    display: block;
    }
    .menu{
        justify-content: start;
        flex-direction: column;
        align-items:baseline;
        position: fixed;
        gap: 2rem;
        top: 0;
        right: 0;
        background-color: rgb(26, 18, 41);
        width: auto;
        height: 100%;
        padding-top: 10rem;
        opacity: 0;
        display: none;
    }
    .menu li a{
        font-size: larger;
    }
}

@media screen and (min-width: 600px){
    .img-text-viewer{
        width: 40%;
    }
}

@media screen and (min-width: 900px){
    .img-text-viewer{
        width: 30%;
    }
}


/* montserrat-100 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 100;
    src: url('../fonts/montserrat-v25-latin-100.eot'); /* IE9 Compat Modes */
    src: url('../fonts/montserrat-v25-latin-100.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/montserrat-v25-latin-100.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/montserrat-v25-latin-100.woff') format('woff'), /* Modern Browsers */
         url('../fonts/montserrat-v25-latin-100.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/montserrat-v25-latin-100.svg#Montserrat') format('svg'); /* Legacy iOS */
  }
  /* montserrat-100italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 100;
    src: url('../fonts/montserrat-v25-latin-100italic.eot'); /* IE9 Compat Modes */
    src: url('../fonts/montserrat-v25-latin-100italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/montserrat-v25-latin-100italic.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/montserrat-v25-latin-100italic.woff') format('woff'), /* Modern Browsers */
         url('../fonts/montserrat-v25-latin-100italic.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/montserrat-v25-latin-100italic.svg#Montserrat') format('svg'); /* Legacy iOS */
  }
  /* montserrat-200 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 200;
    src: url('../fonts/montserrat-v25-latin-200.eot'); /* IE9 Compat Modes */
    src: url('../fonts/montserrat-v25-latin-200.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/montserrat-v25-latin-200.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/montserrat-v25-latin-200.woff') format('woff'), /* Modern Browsers */
         url('../fonts/montserrat-v25-latin-200.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/montserrat-v25-latin-200.svg#Montserrat') format('svg'); /* Legacy iOS */
  }
  /* montserrat-200italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 200;
    src: url('../fonts/montserrat-v25-latin-200italic.eot'); /* IE9 Compat Modes */
    src: url('../fonts/montserrat-v25-latin-200italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/montserrat-v25-latin-200italic.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/montserrat-v25-latin-200italic.woff') format('woff'), /* Modern Browsers */
         url('../fonts/montserrat-v25-latin-200italic.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/montserrat-v25-latin-200italic.svg#Montserrat') format('svg'); /* Legacy iOS */
  }
  /* montserrat-300 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/montserrat-v25-latin-300.eot'); /* IE9 Compat Modes */
    src: url('../fonts/montserrat-v25-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/montserrat-v25-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/montserrat-v25-latin-300.woff') format('woff'), /* Modern Browsers */
         url('../fonts/montserrat-v25-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/montserrat-v25-latin-300.svg#Montserrat') format('svg'); /* Legacy iOS */
  }
  /* montserrat-300italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 300;
    src: url('../fonts/montserrat-v25-latin-300italic.eot'); /* IE9 Compat Modes */
    src: url('../fonts/montserrat-v25-latin-300italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/montserrat-v25-latin-300italic.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/montserrat-v25-latin-300italic.woff') format('woff'), /* Modern Browsers */
         url('../fonts/montserrat-v25-latin-300italic.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/montserrat-v25-latin-300italic.svg#Montserrat') format('svg'); /* Legacy iOS */
  }
  /* montserrat-regular - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/montserrat-v25-latin-regular.eot'); /* IE9 Compat Modes */
    src: url('../fonts/montserrat-v25-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/montserrat-v25-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/montserrat-v25-latin-regular.woff') format('woff'), /* Modern Browsers */
         url('../fonts/montserrat-v25-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/montserrat-v25-latin-regular.svg#Montserrat') format('svg'); /* Legacy iOS */
  }
  /* montserrat-italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 400;
    src: url('../fonts/montserrat-v25-latin-italic.eot'); /* IE9 Compat Modes */
    src: url('../fonts/montserrat-v25-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/montserrat-v25-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/montserrat-v25-latin-italic.woff') format('woff'), /* Modern Browsers */
         url('../fonts/montserrat-v25-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/montserrat-v25-latin-italic.svg#Montserrat') format('svg'); /* Legacy iOS */
  }
  /* montserrat-500 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/montserrat-v25-latin-500.eot'); /* IE9 Compat Modes */
    src: url('../fonts/montserrat-v25-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/montserrat-v25-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/montserrat-v25-latin-500.woff') format('woff'), /* Modern Browsers */
         url('../fonts/montserrat-v25-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/montserrat-v25-latin-500.svg#Montserrat') format('svg'); /* Legacy iOS */
  }
  /* montserrat-500italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 500;
    src: url('../fonts/montserrat-v25-latin-500italic.eot'); /* IE9 Compat Modes */
    src: url('../fonts/montserrat-v25-latin-500italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/montserrat-v25-latin-500italic.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/montserrat-v25-latin-500italic.woff') format('woff'), /* Modern Browsers */
         url('../fonts/montserrat-v25-latin-500italic.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/montserrat-v25-latin-500italic.svg#Montserrat') format('svg'); /* Legacy iOS */
  }