@font-face {
    font-family: "Oswald";
    src: url("Oswald/Oswald-VariableFont_wght.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
}
@font-face {
    font-family: "Manrope";
    src: url("Manrope/Manrope-VariableFont_wght.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
}
html {
    scroll-behavior: smooth;
}

body {
    background-color: #8a48aa;
    color: white;
    margin: 0;
    min-width: 700px;
}

ul.navlinks {
    list-style-type: none;
    font-weight: 100;
    display: flex;
    flex-wrap: wrap;
}

a:hover {
    color: #f4ee9d;
}
.navbar {
    z-index: 100;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 59px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.48);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding-inline: var(--nav-pad);
}

.navbar a {
    padding: 0 45px;
}

a {
    text-decoration: none;
    color: white;
}

h1,
h2,
h3,
a {
    font-family: "Oswald";
}

p {
    font-family: "manrope";
}
div.covertext h1 {
    font-size: 2em;
}
h2 {
    font-size: 33px;
}

div.cover {
    width: 100%;
}

.img1 {
    z-index: 1;
    position: relative;
    padding-top: 28px;
    top: 0;
    width: 100%;
    height: auto;
    display: block;
}

.img2 {
    z-index: 2;
    position: absolute;
    width: 82%;
    right: 0;
    top: 3%;
    object-fit: cover;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0);
    }
}
div.covertext p {
    font-size: 0.3em;
}
.covertext {
    position: absolute;
    left: 5%;
    top: 0;

    z-index: 3;
    color: white;

    font-size: clamp(16px, 4vw, 60px);

    animation: fadeUp 1.2s ease-out forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(127%);
    }

    to {
        opacity: 0.6;
        transform: translateY(88%);
    }
}

/*******************************************************************************/

#aboutme {
    position: relative;
    padding-top: 5%;
    padding-bottom: 5%;
}
.abouttext {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(10px, 4vw, 600px);
    width: 100%;
}
.screen {
    width: 100%;
    height: auto;
    display: block;
}

.aboutmep {
    display: block;
    background-color: rgba(30, 31, 30, 0.41);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    border: solid 2px rgba(255, 255, 255, 0.7);

    width: clamp(250px, 50vw, 550px);
}
.aboutmep h2,
.aboutmep p,
.aboutmep h3 {
    padding: 0 20px;
}

.aboutmep h2 {
    font-size: clamp(1.5rem, 3vw, 3rem);
}
.aboutmep p {
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    line-height: 1.6;
}

.abouts {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 1200px;

    z-index: 5;
}
.img-wrapper {
    position: relative;
    display: inline-block;
    overflow: hidden;
    min-width: 100px;
    width: clamp(140px, 18vw, 400px);
}

.img-wrapper img {
    display: block;
    height: auto;
    width: 100%;
    transition: opacity 0.3s ease;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.img-wrapper:hover .overlay {
    opacity: 1;
}

.img-wrapper:hover .base {
    opacity: 0.3;
}
.leiste {
    display: block;
    width: 100%;
}

/*******************************************************************************/
.cdesign a {
    font-family: manrope;
    font-size: 12px;
}

.cdesignwrapper {
    background-color: rgba(30, 31, 30);
    padding-top: 10px;
}

.cdesign {
    display: flex;
    flex-wrap: wrap;

    align-items: center;

    padding-top: 79px;
    padding-bottom: 240px;
}
div.titel2 {
    transform: rotate(-90deg);
    font-size: 60px;
    color: rgb(138, 72, 170);
    position: relative;
    bottom: 1em;
    right: 1em;
}

.ctext {
    display: block;
    max-width: 325px;
    text-align: left;
    position: relative;
    right: 6em;
}

strong {
    color: #d783ff;
}
.ctext p {
    word-spacing: 0.07em;
}

.img3,
.img4 {
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    justify-items: center;
    box-shadow: 10px 10px 0 rgba(255, 220, 84, 0.45);
}

.img4 {
    position: relative;
    right: 3em;
}

.ctext a {
    display: inline-block;
    padding: 12px 32px;
    background-color: #4b3556;
    margin-top: 30px;
    transition: 0.2s;
    box-shadow: 0 0 0 #8a48aa;
    border-radius: 4px;
}

.ctext a:hover {
    box-shadow: 8px 8px 0 #8a48aa;
    transform: translate(-2px, -2px);
}
div.titel2,
.ctext,
figure {
    flex: 1;
    min-width: 250px;
}

.portfolio {
    text-align-last: left;
    padding-left: 80px;
    color: rgba(254, 219, 81);
    font-size: 66px;
}
@media (min-width: 850px) and (max-width: 1180px) {
    .img4 {
        display: none;
    }
}

/***********************************************************************************/
.scene {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    background-color: rgba(30, 31, 30);
}

.door {
    position: relative;
    display: flex;
    width: 100%;
    overflow: hidden;
}

.door img {
    height: auto;
    display: block;
    transition: transform 0.8s ease;
}

.imgdoor1 {
    width: 35%;
    z-index: 3;
}

.imgdoor2 {
    width: 69%;
    margin-left: -3%;
    z-index: 4;
}
.message {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
    animation: blink 1.8s infinite;
}

@keyframes blink {
    0%,
    45% {
        opacity: 1;
    }

    50%,
    90% {
        opacity: 0;
    }
}

#door-toggle:checked + .door .imgdoor1 {
    transform: translateX(-100%);
}

#door-toggle:checked + .door .imgdoor2 {
    transform: translateX(100%);
}

/**************************************************************************************/
#toggleb {
    display: none;
}

.sectionb {
    width: 100%;
    text-align: center;
}

.buttonb {
    margin-top: 20px;
    display: inline-block;
    padding: 48px 85px;
    font-family: "Oswald";
    background: #8a48aa;
    font-size: 30px;

    border-radius: 4px;

    cursor: pointer;
    z-index: 14;
    transition: 0.3s;
    margin-bottom: 30px;
}

.buttonb:hover {
    background: rgba(177, 177, 31, 0.46);
}
.contentb {
    max-height: 0;
    overflow: hidden;

    display: flex;
    text-align: left;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    transform: translateY(-15px);
    
    transition:
        max-height 0.5s ease,
        opacity 0.4s ease,
        transform 0.4s ease;

    background-color: rgba(0, 0, 0, 0.48);
}

.contentb div {
    padding: 10px;
     max-width: 500px;
}
.contentb > * {
    flex: 1;
}

#toggleb:checked + .buttonb + .contentb {
    max-height: max-content;
    opacity: 1;
    transform: translateY(0);

    padding: 20px;
}
/**************************************************************************************/

/**************************************************************************************/
#blog {
    background-color: rgba(254, 219, 81);
}

time {
    color: #d0a4e6;
    font-family: "Oswald";
}

.folder {
    position: relative;
    padding-top: 10px;
    padding-left: 25px;
    padding-right: 25px;

    display: block;
    background: linear-gradient(to bottom, #8a48aa 0%, rgba(255, 220, 84, 0.45) 70%, rgb(254, 219, 81) 100%);
}

.folder input[type="radio"] {
    display: none;
}

.folder label {
    display: inline-block;
    padding: 10px 31px;
    background: rgba(30, 31, 30, 0.8);
    color: white;
    font-family: "Oswald";
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 1px;
    cursor: pointer;
    clip-path: polygon(15% 0, 85% 0, 100% 100%, 100% 100%, 0% 100%);
}

.folder label:hover {
    color: #f4ee9d;
}

#tab1:checked + label,
#tab2:checked + label,
#tab3:checked + label,
#tab4:checked + label,
#tab5:checked + label {
    background: rgba(254, 219, 81);
    color: black;
}

.content {
    position: relative;
}

.box1,
.box2,
.box3,
.box4,
.box5 {
    display: none;
    top: 0;
    left: 0;
    width: 100%;
    padding-bottom: 30px;
    padding-top: 30px;
    min-height: 500px;
    background: rgba(30, 31, 30, 0.91);
    box-shadow: 0 2px 0 #8a48aa;
    border-top: 3px solid rgb(247, 216, 76);
    border-left: 3px solid rgba(247, 216, 76, 0.57);
    justify-content: center;
    align-items: center;
    background-image:url("Bilder/grid.png");
    z-index: 0;
}

.wtext {
    padding: 50px;
    max-width: 300px;
}

#tab1:checked ~ .content .box1 {
    display: flex;
    align-items: center;
}

#tab2:checked ~ .content .box2 {
    display: flex;
    align-items: center;
}

#tab3:checked ~ .content .box3 {
    display: flex;
    align-items: center;
}

#tab4:checked ~ .content .box4 {
    display: flex;
    align-items: center;
}
#tab5:checked ~ .content .box5 {
    display: flex;
    align-items: center;
}

.content img {
    max-width: 35%;
    height: auto;
    margin-right: 100px;
    display: block;
    border-radius: 4px;
}

.workflow h2:first-child {
    text-align-last: center;
    color: rgba(255, 255, 255, 0.74);
    font-size: 66px;
}

.content h3,
.aboutmep h3 {
    color: rgba(255, 255, 255, 0.48);
    font-size: 10px;
}
@media (max-width: 768px) {
    .folder label {
        padding: 5px 6px;
    }
}

/**************************************************************************************/

footer {
    background-color: rgba(30, 31, 30);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 70px;
    padding-top: 50px;
    border-top: 2px solid white;
}

.littlepigeon {
    display: block;
    width: 23%;
}

.sociallinks img {
    height: 60px;
    align-content: center;
}
#contact p {
    font-size: 14px;
}
#contact h2 {
    font-size: 16px;
}

.sociallinks a :hover {
    transform: translateY(-6px);
}

.impressum {
    color: rgba(255, 255, 255, 0.38);
}

.imp-wrap {
    margin-top: 30px;
}

@media (max-width: 700px) {
    .cover {
        width: 700px;
    }

    .img2 {
        width: 540px;
    }

    .covertext {
        font-size: 28px;
    }
}

@media (max-width: 855px) {
    .navbar a {
        padding: 0 20px;
    }
}


