/*  Ein Kommentar in CSS */

/*  Der * definiert den "global reset" Hier werden alle Elemente angesprochen, die später nicht anders definiert werden. */
* {

    font-family: arial, sans-serif;
    font-size: 100%;


}


@font-face {
    font-family: 'avarabold';
    src: url('../fonts/avara/Avara-Black.eot');
    src: url('../fonts/avara/Avara-Black.eot?#iefix') format('embedded-opentype'),
        url('../fonts/avara/Avara-Black.woff2') format('woff2'),
        url('../fonts/avara/Avara-Black.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}


@font-face {
    font-family: 'digitaldeco';
    /* Name your font */
    src: url('../fonts/digital-deco/Digital-Deco.otf') format("opentype"),
        url('../fonts/digital-deco/Digital-Deco.ttf') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'prospectus';
    /* Name your font */
    src: url('../fonts/prospectus/ProspectusProLDEMO-LightItalic.woff2') format('woff2'),
        url('../fonts/prospectus/ProspectusProLDEMO-LightItalic.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'model-mono';
    src: url('../fonts/PPModelMono-Light.otf') format("opentype"),
        url('../fonts/PPModelMono-Light.otf') format("opentype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'model-mono-medium';
    src: url('../fonts/PPModelMono-Medium.otf') format("opentype"),
        url('../fonts/PPModelMono-Medium.otf') format("opentype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'model';
    src: url('../fonts/PPModelSans-Light.otf') format("opentype"),
        url('../fonts/PPModelSans-Light.otf') format("opentype");
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'neue-machina';
    src: url('../fonts/NeueMachina-InktrapRegular.otf') format("opentype"),
        url('../fonts/NeueMachina-InktrapRegular.otf') format("opentype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'valve';
    src: url('../fonts/PPValve-PlainExtralight.otf') format("opentype"),
        url('../fonts/PPValve-PlainExtralight.otf') format("opentype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'blacker';
    src: url('../fonts/Blacker-Sans-Extralight-Italic-trial.ttf') format('truetype'),
        url('../fonts/Blacker-Sans-Extralight-Italic-trial.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


body {
    background-color: rgb(0, 0, 0);
    height: 100%;
    margin: 0;
    padding: 0;
    cursor: url('../images/egg-opt.gif'), auto;

    height: 100vh;

}

.h-front {
    font-family: 'digitaldeco';
    color: rgb(255, 255, 255);

    font-size: 17vh;
    /* Start with a large font size */
    line-height: 15vh;
    /* Match the height of the box */
    text-align: left;
    /* Center the text horizontally */
    /* background-color: rgb(200, 200, 200); */
    overflow: hidden;
    /* Prevent text overflow */
    text-shadow: 0 0 3vh grey;
}

h1 {
    font-family: 'model';
    color: rgb(255, 255, 255);

    font-size: 11vh;
    /* Start with a large font size */
    text-align: left;
    /* Center the text horizontally */
    /* background-color: rgb(200, 200, 200); */
    overflow: hidden;
    /* Prevent text overflow */
    text-shadow: 0 0 3vh grey;
    word-break: normal;
    -webkit-font-smoothing: antialiased;

}

h2 {
    font-family: 'model';
    color: rgb(255, 255, 255);

    font-size: 7vh;
    line-height: 10vh;
    text-align: left;
    overflow: hidden;
    text-shadow: 0 0 3vh grey;
    word-break: break-all;
    -webkit-font-smoothing: antialiased;
}

h3 {
    font-family: 'model';
    color: rgb(255, 255, 255);

    font-size: 4vh;
  
    text-align: left;
    overflow: hidden;
   /* text-shadow: 0 0 3vh grey; */
    word-break: keep-all;
    -webkit-font-smoothing: antialiased;
}

.bt-modelmono {
    font-family: 'model-mono';
    color: rgb(255, 255, 255);
    font-size: 3vh;
    /* Start with a large font size */
    line-height: 5.5vh;
    /* Match the height of the box */
    text-align: left;
    /* Center the text horizontally */
    /* background-color: rgb(200, 200, 200); */
    /* overflow: hidden; */
    /* Prevent text overflow */
    -webkit-font-smoothing: antialiased;
  
}


.bt-blacker {
    font-family: 'blacker';
    color: rgb(255, 255, 255);
    font-kerning: normal;
    font-size: 4vh;
    /* Start with a large font size */
    line-height: 6.5vh;
    /* Match the height of the box */
    text-align: left;
    /* Center the text horizontally */
    /* background-color: rgb(200, 200, 200); */
    overflow: hidden;
    /* Prevent text overflow */
    text-shadow: 0 0 3vh rgb(197, 197, 197);
    -webkit-font-smoothing: antialiased;

}

.linkbox {
    margin-top: 10%;
}

.linklist p {
    padding-left: 3%;
    max-height: 3vh;

    font-family: 'model-mono';
    color: rgb(255, 255, 255);
    font-size: 3vh;

    text-align: left;
    -webkit-font-smoothing: antialiased;
}

.linklist p:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-decoration-skip-ink: auto;
    text-underline-offset: .3em;
  
}



a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-family: 'model-mono', Arial, sans-serif;
    font-size: 4vh;
}

a:hover {
    color: #cdcdcd;
    text-shadow: 0 0 2vh rgb(39, 39, 39);
}



.background {
    color: rgb(151, 0, 129);

}

.wrapper {
    height: 100vh;
    display: flex;

    background-color: rgb(255, 56, 228);
    width: 100%;
}



/* FOOTER END */

iframe {
    margin: 0 0 10% 0;
}

.box-project-page-L,
.box-project-page-S {

    overflow: hidden;
    /* Ensure the image doesn't overflow the box */
    position: relative;
    width: 100%;
}

.box-project-page-L {
    height: 350px;
    margin-top: 20%;
}

.box-project-page-S {
    /* width: 250px; */
    height: 250px;
    margin-top: 40%;

}



.box-alt-size {

    /* background-color: lightblue;  */
    width: 350px;
    /* Set the width of the box */
    height: 350px;
    overflow: hidden;
    /* Ensure the image doesn't overflow the box */
    position: relative;
}

.box {

    /* background-color: lightblue;  */
    width: 180px;
    /* Set the width of the box */
    height: 180px;
    /* Set the height of the box */
    overflow: hidden;
    /* Ensure the image doesn't overflow the box */
    position: relative;

}

.box:hover::before,
.box-alt-size:hover::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    /* Blur effect */
    border-radius: 10px;
    /* Rounded corners */
    z-index: 1;
    /* Ensure the hover box is behind the content */
}


.box a,
.box-alt-size a,
.menulist,
.hover-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;

    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 2;
    /* Ensure the hover box is behind the content */

}

.hover-text {
    padding: 200px;
}


.box:hover a,
.box-alt-size:hover a,
.menu-box:hover a,
.menulist:hover,
.box:hover .hover-text,
.box-alt-size:hover .hover-text,
.menu-box:hover .hover-text,
.links:hover a {
    opacity: 1;
}

.hover-text {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-family: 'model-mono-medium', Arial, sans-serif;
    font-size: 3.5vh;
    text-shadow: 0 0 2vh rgb(39, 39, 39);

}


.box-img {
    height: 100%;
    /* Make the image fill the box height */
    object-fit: cover;
    /* Scale the image to cover the box without distortion */
    display: block;
    /* Remove any extra space below the image */

}

.menu-col {
    height: 100%;
    width: 22%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    z-index: 4;
    position: fixed;
    left: 0;
    padding: 0 1vw 0 1vw;
    background-color: rgb(0, 0, 0);

    /* box-shadow: 0 0 4vw rgb(23, 23, 23); */

}

header {
    height: 35%;
}

.button-container {
    height: auto;
    margin-top: 5%;
}

.footer-box {
    height: auto;
    width: 80%;
    display: flex;
    justify-content: left;
    box-sizing: border-box;

    margin-bottom: 5%;


}


.m-btn {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-family: 'model-mono', Arial, sans-serif;
    font-size: 4vh;

    border: 1px solid #fff;
    border-radius: 10px;
    padding: 0.5vh 1vh 0.5vh 1vh;
    background-color: black;

    margin: 0 0 0.5vh 0;
    width: 80%;
}

.m-btn:hover {
    color: #cdcdcd;
    border: 1px solid #cdcdcd;
    translate: 10px 0;
}

.f-btn {

    color: rgb(255, 255, 255);
    text-decoration: underline;
    font-family: 'model-mono', Arial, sans-serif;
    font-size: 2.5vh;

    padding: 0.5vh 1vh 0.5vh 1vh;
    background-color: black;

    margin: 0 5px 0 0;
    width: auto;



}

.f-btn:hover {
    color: #cdcdcd;

}


.grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    /* 5 columns */
    grid-template-rows: repeat(4, 1fr);
    /* 4 rows */
    gap: 1vh;
    width: auto;
    /* 98vw; */
    height: 100vh;
    /* Set to full height */
    background-color: rgb(0, 0, 0);
    /* Semi-transparent background color */

    width: 78%;
    margin-left: 20%;
}



/* sb cube */
.box1 {
    grid-column: 5;
    grid-row: 3;
    translate: -10% 40%;

}

/* egg */
.box2 {
    grid-column: 3;
    grid-row: 1;
    translate: -10% 20%;

}

/* flower */
.box3 {
    grid-column: 3;
    grid-row: 4;
    translate: 20% -20%;
}

.box3 img {
    scale: 80%;
}

/* nidus */
.box4 {
    grid-column: 5;
    /* Span over 2 columns */
    grid-row: 1 / 3;
    /* Span over 2 rows */
    translate: -10% 0;
}

/* ARM inner circuit */
.box5 {
    grid-column: 1 / 3;
    grid-row: 3 / 5;
    translate: 0 -25%;
}

.box-right {

    display: block;
    overflow: hidden;
    width: 70vw;
    height: fit-content;
    margin-left: 25%;
    /* translate: 10%; */

}

.box-right p {
    padding-right: 28%;
}

.box-right img {
    /* width: 100%; */
    margin: 10% 0 10% 0;
}



.mobi-nav {
    display: none;
}


.mobile-content {
    display: none;
}





@media only screen and (max-width: 600px) {

    .wrapper {
        /* height: 100vh; */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: rgb(255, 56, 228);
        width: 100%;
    }

    .menu-col {
        display: none;
    }




    .grid {
        display: none;
        /* Make the grid visible */
    }

    .box-img {
        margin: 30% 0 30% 0;
    }

    .s-front {
        height: 150px;
        margin-left: auto;
        margin-right: auto;
    }

    .mobile-content {
        display: block;

    }



    .SNS-box {
        display: flex;
        justify-content: space-between;
        width: 50%;

        height: auto;

        box-sizing: border-box;

        margin-top: 50px;

    }

    .SNS-box img {
        width: 36px;
    }

    .header-mb {
        font-family: 'digitaldeco';
        color: rgb(255, 255, 255);
        font-size: 8vh;
        overflow: hidden;
        text-shadow: 0 0 3vh grey;
        align-content: end;
        text-align: right;
        height: auto;
        width: 100%;
        margin-right: 5%;
    }

    .mobi-nav {

        display: flex;
        position: sticky;
        z-index: 5;
        top: 0;

        height: 65px;
    }

    .footer-box-m {
        margin-top: 80px;
        font-size: 8vh;
    }

    ul {
        padding: 0;
        list-style-type: none;
    }


    nav {

        height: 65px;
        width: 100px;

    }


    #menuToggle {
        display: flex;
        flex-direction: column;
        position: relative;
        top: 25px;
        left: 25px;
        z-index: 1;
        -webkit-user-select: none;
        user-select: none;
    }

    #menuToggle input {
        display: flex;
        width: 40px;
        height: 32px;
        position: absolute;
        cursor: pointer;
        opacity: 0;
        z-index: 2;
    }

    #menuToggle span {
        display: flex;
        width: 29px;
        height: 2px;
        margin-bottom: 5px;
        position: relative;
        background: #ffffff;
        border-radius: 3px;
        z-index: 1;
        transform-origin: 5px 0px;
        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
            background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
            opacity 0.55s ease;
    }

    #menuToggle span:first-child {
        transform-origin: 0% 0%;
    }

    #menuToggle span:nth-last-child(2) {
        transform-origin: 0% 100%;
    }

    #menuToggle input:checked~span {
        opacity: 1;
        transform: rotate(45deg) translate(-3px, -1px);
        background: #ffffff;
    }

    #menuToggle input:checked~span:nth-last-child(3) {
        opacity: 0;
        transform: rotate(0deg) scale(0.2, 0.2);
    }

    #menuToggle input:checked~span:nth-last-child(2) {
        transform: rotate(-45deg) translate(0, -1px);
    }

    #menu {
        position: absolute;
        width: 180px;
        height: 100vh;
        /* box-shadow: 0 0 10px #85888C; */
        margin: -50px 0 0 -50px;
        padding: 50px;
        padding-top: 125px;
        background-color: #000000;
        -webkit-font-smoothing: antialiased;
        transform-origin: 0% 0%;
        transform: translate(-100%, 0);
        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);


        border: 1px solid #fff;
        border-radius: 10px;
    }

    #menu li {
        padding: 10px 0;
        transition-delay: 2s;

    }


    #menu li a {
        font-family: 'model-mono', Arial, sans-serif;
        font-size: 4.5vh;
    }

    #menuToggle input:checked~ul {
        transform: none;
    }



    .box-right {

        display: block;
        overflow: hidden;
        width: 100%;
        height: fit-content;
        margin-left: 0;
        /* translate: 10%; */
    }
    
    .box-right p {
        padding: 0 5% 0 5%;
    }
    
    .box-right img, video {
        /* width: 100%; */
        margin: 5% 0 5% 0;
        max-width: 100%;
    }

    

    .box-right iframe {
        max-width: 100%;
        height: auto;
    }

    h1, h2, h3 {
        padding: 0 5% 0 5%;
    }


    .bt-blacker {
    
        font-size: 3.1vh;
        /* Start with a large font size */
        line-height: 6vh;
   
        text-shadow: 0 0 3vh rgb(197, 197, 197);
    }

    
.linklist p {

    font-size: 2.5vh;
    line-height: 4.5vh;
    margin: 10% 0 20% 0;
   
}
    


}