* {
    margin: 0px;
    padding: 0px;
}

@font-face {
    font-family: agil-nix;
    src: url(..//agil-nix.otf);
}

@font-face {
    font-family: agil-solala;
    src: url(..//agil-solala.otf)
}

@font-face {
    font-family: mingle-unmingled;
    src: url(..//mingle-unmingled.otf);
}

@font-face {
    font-family: agil-ziemlich;
    src: url(..//agil-ziemlich.otf);
}

@font-face {
    font-family: agil-voll;
    src: url(..//agil-voll.otf);
}

@font-face {
    font-family: agil-hyper;
    src: url(..//agil-hyper.otf);
}

a {
    font-family: agil-nix;
    color: black;
    text-decoration: none;
}

.text-link {
    text-decoration: underline;
}

.text-link:hover {
    color: gray;
}


body {
    overflow-y: hidden;
}

.no-scroll {
    overflow: hidden;
}

/*in class ändern*/
/*div {
    overflow: clip;
}*/

canvas {
    display: block;
}

.big-container {
    max-height: 500px;
}

.wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100vh;
    height: 100vh;
}

.wrapperSideBySide {
    display: flex;
    flex-wrap: wrap;
    width: 100vw;
    height: 100vh;
}

.item {
    flex-basis: fit-content;
}

.wrapper-web {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: calc(100vw - 1px);
    height: 100vh;
    margin-top: -100px;
}

.item-web {
    flex-basis: fit-content;
    overflow: clip;
}

.intro {
    display: flex;
    flex-wrap: wrap;
}

.logo {
    height: 35px;
    max-width: 100%;

}

.logogif {
    height: 40px;
    max-width: 100%;
}

/* navigationsleiste */
.nav {
    margin: 4.5% 5% 0px 5%;
    position: sticky;
    top: 45px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.home {
    display: flex;
    justify-content: flex-start;
}

.options {
    display: flex;
    font-family: agil-nix;
    row-gap: 4.5pt;
    font-size: 12pt;
}

.invert {
    color: white;
}

.option-item {
    line-height: 1;
    margin-left: 50px;
    cursor: pointer;
    margin-top: 3px;
    /* align-self: center; */
}

.next {
    align-self: center;
}

.dropdown {
    position: relative;
    /* display: inline-block; */
    border: solid black;
    border-width: 1px;
}

.dropdown-btn {
    width: 300px;
    padding: 12px 0px 12px 12px;
    font-family: agil-nix;
    font-size: 12pt;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    width: 300px;
    /* margin-top: -260%; */
    /* box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2); */
    padding-top: 10px;
    padding-right: 0px;
    padding-bottom: 10px;
    padding-left: 12px;
    z-index: 1;
    /* the next line opens to the top, to open to the bottom write "top:100%" */
    bottom: 100%;
    border: solid black;
    border-width: 1px;
    transform: translateX(-1px);
}

.dropdown-content a {
    /* font-family: mingle-unmingled; */
    font-family: agil-nix;
    line-height: 1.6;
    /* font-size: 10px; */
    font-size: 12pt;
    margin-top: 8px;
    /* margin-left: 5px; */
}

.arrow {
    border: solid black;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
}

.up {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    /* transform: translateY(-1px); */
}

.dropdown:hover .dropdown-content {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.dropdown-content-item {}

.dropdown-content-item:hover {
    /* transform: translateY(-2px); */
    color: gray;
}

.button-modal {
    border: none;
    font-family: agil;
    color: black;
    margin: 0;
    padding: 0;
}

.option-item:hover {
    /* transform: translateY(-2px); */
    color: gray;
}

.footer-nav {
    margin: -4.5% 5% 0px 5%;
    position: sticky;
    top: calc(100vh -50px);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background: none;
}

.footer-nav-item {
    display: flex;
    justify-content: space-between;
}

.footer-nav-item:hover {
    /* transform: translateY(-2px); */
    color: gray;
    cursor: pointer;
}

.footer-title {
    font-family: mingle-unmingled;
    font-size: 10px;
    align-self: center;
    background-color: #ffffff;
    cursor: pointer;
}

.flex-container {
    display: flex;
}

.project {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    scroll-snap-align: center;
    max-height: 50%;
    column-gap: 40px;
    row-gap: 50vh;
    background-color: yellow;
}

.project-modal {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 25px;
    padding-bottom: 40px;
}

.project-modal-img-container {
    flex: 1;
}

.project-modal-text {
    text-transform: lowercase;
    flex: 1;
}

.project-modal-img {
    object-fit: contain;
    height: auto;
    width: 100%;
}

.project:first-child {
    margin-top: 50vh;
}

.project:last-child {
    margin-bottom: 50vh;
}

.project-img {
    display: flex;
    justify-content: center;
    align-content: center;
    width: auto;
}

.project-img img {
    height: auto;
    width: 100%;
    object-fit: cover;
    align-content: center;

}

.project-text {
    text-transform: lowercase;
}

button {
    /* font-family: mingle-unmingled; */
    font-family: agil-nix;
    font-size: 15px;
    line-height: 1.6;
    cursor: pointer;
    /* text-decoration: underline; */
    /* border: none; */
    display: inline-block;
    border-radius: 5px;
    color: gray;
    background: transparent;
    border: 1px solid gray;
    /* margin: 8px 0; */
    /* border: 1px transparent; */
    /* width: 15%; */
}

button:hover {
    /*background: black;
    color: white;*/
    /* transform: translateY(-2px); */
    color: white;
    background: gray;
    /*alternative look: 
    box-shadow: 4px 4px 0 black;
    transform: translateY(-2px);
    */
}

/* The Modal (background) */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: scroll;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.2);
    /* Black w/ opacity */
    font-family: agil-nix;
    /* font-size: 14.5pt; */
    font-size: 12pt;
    line-height: 1.6;
    cursor: default;
}

/* Modal Content/Box */
.modal-content {
    display: flex;
    flex-direction: column;
    background-color: white;
    margin: 10% auto;
    /* 15% from the top and centered */
    padding: 25px;
    /* border: 1px solid #888; */
    width: 80%;
    /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
    color: black;
    align-self: flex-end;
    font-size: 20px;
    font-weight: bold;
    padding: 0 0 25px 0;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
    /* transform: translateY(-2px); */
    color: gray;
}

/* Carousel */

.swiper {
    width: 50vw;
    height: 100%;
    object-fit: contain;
}

/* .swiper-slide {
    height: 50vh;
} */

/* .adjust img,
video {
    width: auto;
    height: 100%;
    max-height: 60vh;
} */

.swiper-button-prev,
.swiper-button-next {
    top: 0px;
    margin: 0px;
    height: 100%;
    width: 40%;
}

.swiper-button-prev {
    left: 0px;
}

.swiper-button-next {
    right: 0px;
}

.swiper-button-next:hover {
    cursor: e-resize;
}

.swiper-button-prev:hover {
    cursor: w-resize;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    display: none
}

.contact {
    overflow: scroll;
    margin: -4.5% 5% 0px 5%;
    display: flex;
    flex-direction: column;
    row-gap: 36px;
    font-family: agil-nix;
    text-transform: lowercase;
    font-size: 12pt;
    line-height: 1.6;
    scroll-snap-type: y mandatory;
    height: 100vh;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.contact::-webkit-scrollbar {
    display: none;
}

.contact-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 36px;
    row-gap: 36px;
    width: 100%;

}

.contact-column {
    display: flex;
    align-items: start;
    flex: 1;
    min-height: 400px;
}

.contact-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    scroll-snap-align: start;
}

.small {
    font-size: 10pt;
}

.dropbtn {
    color: black;
    font-size: 16px;
    border: none;
    min-width: 300px;
    text-align: left;
    font-family: agil-nix;
}

.dropbtn.invert {
    color: white;
}

.dropbtn:hover {
    color: gray;
    background: transparent;
}

.dropup {
    position: relative;
    display: inline-block;
    z-index: 999;
}

.dropup-content {
    display: none;
    position: absolute;
    min-width: 300px;
    bottom: 25px;
    /* color: gray; */
    /* background-color: #ffffff; */
    /* font-size: 10pt; */
    line-height: 12pt;
}

.dropup-content a {
    /* color: black; */
    color: gray;
    padding: 8px 0px;
    display: block;
    text-transform: lowercase;
}

.dropup-content a:hover {
    /* transform: translateY(-2px); */
    /* color: gray; */
    text-decoration: underline;
}

.lt-button {
    position: absolute;
    width: 100px;
    z-index: 0;
    font-size: 16px;
}

.lt-attempt-button {
    border: none;
    width: 300px;
    z-index: 0;
    text-align: right;
    font-size: 16px;
}

.lt-attempt-button:hover {
    color: gray;
    background: none;
    cursor: crosshair;
}

.dropup:hover .dropup-content {
    display: block;
}

@media screen and (max-width: 700px) {

    .options {
        flex-direction: column;
        align-items: end;
    }

    .logo {
        height: 35px;
    }

    .option-item {
        width: 100%;
        margin-left: 0;
        text-align: end;
        line-height: 1;
        margin-top: 0px;
    }

    .contact-row {
        flex-direction: column;
    }

}

@media screen and (max-width: 700px) {
    .project-modal {
        flex-direction: column;

    }
}

.text-hover-solala {
    font-family: "agil-solala" !important;
}

.text-hover-ziemlich {
    font-family: "agil-ziemlich" !important;
}

.text-hover-voll {
    font-family: "agil-voll" !important;
}

.text-hover-hyper {
    font-family: "agil-hyper" !important;
}

.letter {
    cursor: default;
}

a .letter {
    cursor: pointer;
}