:root {
    --dark-box-shadow: 0 0 10px #000;
    --white-box-shadow: 0 0 10px #000;
}


* {
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    color: rgb(0, 0, 0);
    font-family: 'TeX', monospace;
}

html {
    scroll-behavior: smooth;
}

p {
    display: block;
    text-align: justify;

    overflow-wrap: break-word;
    hyphens: auto;
}

button {
    padding: 5px 10px;
    background-color: rgb(32, 148, 190);
    color: #fff;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.5s ease;
    box-shadow: 0 0 10px #858585;
    font-family: 'Code', monospace;
}

button:hover {
    background-color: rgb(64, 177, 41);
    transform: translateY(-2px);
    color: rgb(247, 247, 247);
}

h1 {}


h2 {
    font-size: 32px;
    font-family: 'Poppins', sans-serif;

}

h6 {
    color: rgb(155, 155, 155);
    font-size: 16px;
    font-family: 'Code', monospace;
}

hr {
    width: 100%;
    border: none;
    height: 1px;
    background-color: black;
}

a:link {
    color: rgb(20, 130, 221);
    text-decoration: none;
    transition: color 0.5s ease;
}

a:visited {
    color: rgb(20, 130, 221);
}

a:hover {
    text-decoration: underline;
}

a {
    font-size: 21px;
}

#footer a:link {
    color: rgb(53, 163, 253);
}
#footer a:visited {
    color: rgb(53, 163, 253);
}




.logo {
    user-select: none;
    font-size: 20px;
    transition: transform .25s ease;
    will-change: transform;
}

.logo:hover {
    transform: scale(1.05);
    cursor: pointer;
}

.hoverUnderline:hover {
    text-decoration: underline;
}



.con-flex {
    display: flex;
    align-items: center;
}

.con-flex-center {
    display: flex;
    justify-content: center;
}

#header {
    padding: 1vw 3vw 1vw 3vw;
    background-color: rgb(30, 30, 30);

}

#header p {
    color: rgb(255, 255, 255);
}

#con-header>div:nth-child(2) {
    margin-right: auto;
}

#con-header {
    width: 94vw;
}

#head-contact-btn {
    box-shadow: var(--dark-box-shadow);
}

#lang-icon {
    user-select: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0), 0 2px 6px rgba(0, 0, 0);
    border-radius: 15px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    will-change: transform, box-shadow;
}

#lang-icon:hover,
#lang-icon:focus-visible {
    transform: scale(1.25);
    outline: none;
    cursor: pointer;
}


#starter {
    background-color: rgb(255, 255, 255);
    align-items: center;
    display: flex;
    flex-direction: column;
    padding: 45px 0;
}

#sta-head {
    font-size: 35px;
}




#websites {
    padding: 1vw 0vw 80px 0vw;
    background-color: rgb(243, 243, 243);
}

#web-sec1 {
    padding: 80px 30% 30px 30%;
}

#web-sec1>div:nth-child(1) {
    margin-right: auto;
    /* schiebt die rechte Gruppe nach rechts */
}


#web-sec2-description {
    font-size: 19px;
    padding: 0 30%;
}

.icons {
    gap: 25px;
}

.icons img {
    width: 50px;
}




.slider {
    width: 600px;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    background: #fff;
}

.slides {
    display: flex;
    width: 100%;
    height: 90%;
    transition: transform 0.3s ease-in-out;
}

.slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    box-sizing: border-box;
}

.slide img {
    width: 80px;
    height: 80px;
}

.arrow {
    /* position: absolute;
      top: 50%; */
    /* transform: translateY(-50%); */
    font-size: 2rem;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 50%;
}

.arrow.left {
    left: 10px;
}

.arrow.right {
    right: 10px;
}



#con-webpackage {
    gap: 40px;
    display: flex;
    /* align-items: stretch; */
}

:root {
    --radius: 8px;
    --bg: #fff;
    --border: rgba(0, 0, 0, .08);
    --border2: rgba(185, 21, 182, 0.203);
    --shadow: 0 6px 16px rgba(0, 0, 0, .12), 0 2px 6px rgba(0, 0, 0, .06);
    --shadow2: 0 6px 16px rgba(179, 29, 134, 0.349), 0 2px 6px rgba(0, 0, 0, .06);
    --shadow-deep: 0 14px 30px rgba(0, 0, 0, .18), 0 6px 14px rgba(0, 0, 0, .10);
    --shadow-deep2: 0 14px 30px rgba(0, 0, 0, .18), 0 6px 14px rgba(158, 29, 135, 0.307);
    --scale: 1.03;
    --dur: .25s;
}

.web-package {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 360px;
    border-radius: var(--radius);
    background: var(--bg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 40px 25px 40px 25px;
    transition: transform var(--dur) ease, box-shadow var(--dur) ease, border-color var(--dur) ease;
    will-change: transform, box-shadow;
}


.web-package:hover,
.web-package:focus-visible {
    transform: scale(var(--scale));
    box-shadow: var(--shadow-deep);
    border-color: rgba(0, 0, 0, .12);
    outline: none;
}


.web-package button {
    width: fit-content;
    font-family: 'Code';
}

.web-package hr {
    margin: 20px 0px;
}

.web-package p {
    text-align: left;
}

.web-pac-description {
    padding: 0 20px 20px 20px;
    color: rgb(140, 140, 140);
    font-size: 15px;
    /* font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; */
    font-family: 'Poppins';

    display: block;
    text-align: justify;

    overflow-wrap: break-word;
    hyphens: auto;

}

.web-package h6 {
    display: block;
    text-align: justify;

    overflow-wrap: break-word;
    hyphens: auto;

    padding: 0 20px 20px 20px;
}


.web-pac-heading {
    color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 1000;
    width: max-content;
    font-family: 'Warzone', sans-serif;

    font-size: 25px;
}

#web-package1 .web-pac-heading {
    background-image: linear-gradient(316deg, #d11717 3%, #363636 100%);
}

#web-package2 .web-pac-heading {
    background-image: linear-gradient(316deg, #1babbb 3%, #363636 100%);
}

#web-package3 .web-pac-heading {
    background-image: linear-gradient(316deg, #bbb01b 3%, #363636 100%);
}

.web-contentlist {
    list-style: none;
    width: 300px;
    padding-bottom: 30px;
}

.web-contentlist li::before {
    content: "";
    display: inline-block;
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    background: url("icons/check.png") no-repeat center/contain;
    margin-right: 12px;
    vertical-align: middle;
    margin-top: 5px;
}

.web-contentlist li {
    display: flex;
    align-items: flex-start;
    /* Icon an der ersten Textzeile ausrichten */
    font-family: 'Poppins';
    font-size: 16px;
}

.web-contentlist li p {
    font-family: 'Poppins';
    font-size: 16px;
    user-select: none;
}

.web-contentlist li p span {
    font-family: 'Poppins';
    font-size: 16px;
    user-select: none;
}

html[lang = "de"] .info {
    user-select: none;
    position: relative;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-decoration-color: rgb(189, 189, 189);
    font-family: 'Poppins';
}

html[lang = "de"] .info::after {
    content: attr(data-info);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: #2d2d2d;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    white-space: nowrap;
    font-size: 0.85rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    width: 280px;
    white-space: normal;
    text-align: center;
}

html[lang = "de"] .info:hover::after {
    opacity: 1;
}



html:not([lang = "de"]) .info {
        user-select: none;
        position: relative;
        cursor: auto;
        text-decoration: none;
    }

html:not([lang = "de"]) .info::after {
        display: none;
    }

html:not([lang = "de"]) .info:hover::after {
        opacity: 0;
}









#projects {
    background-color: rgb(30, 30, 30);
}

#prj-con {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    /* 2 Projekte pro Reihe */
}

#prj-header {
    font-size: 21px;
    padding: 80px 30% 50px 30%;
}

#prj-header p {
    color: rgb(255, 255, 255);
}

.prj-date {
    margin-bottom: 12px;
}

#footer {
    background-color: rgb(30, 30, 30);
    padding: 35px 30% 35px 30%;
}

#foo-rights {
    font-size: 15px;
    color: white;
    font-family: 'Poppins';
}

#con-footer {
    display: flex;
    justify-content: space-between;
}


/* colorized headings */
.heading {
    color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 20px;
    font-weight: 1000;
    font-family: 'Warzone', sans-serif;

}

#col-janek-zeiger {
    background-image: linear-gradient(316deg, #4BA1FC 3%, #EC2AED 100%);
}

#col-calcFromTrans {
    background-image: linear-gradient(316deg, #4BA1FC 3%, #EC2AED 100%);
}

#col-prj-header {
    background-image: linear-gradient(316deg, #FFAA00 3%, #FF00AA 100%);
}

.col-sta-head {
    background-image: linear-gradient(316deg, rgb(202, 14, 223) 3%, #363636 100%);
}

/* -colorized headings */
/* --- --- --- */
/* kleiner Pfeil */
.small-arrow {
    width: 10px;
    height: 10px;
    background-color: rgb(255, 255, 255);
    /* gewünschte Farbe */
    -webkit-mask: url("icons/runter.png") no-repeat center / contain;
    mask: url("icons/runter.png") no-repeat center / contain;
}

/* -kleiner Pfeil*/
/* --- --- --- */
/* Projects */
.project {
    padding: 80px 30% 50px 30%;
}

.project p {
    font-size: 21px;
}

#projects .heading {
    font-size: 35px;
}

.project .img-preview {
    border-radius: 10px;
    box-shadow: 0 0 10px #858585;
    max-width: 100%;
    height: auto;
    max-height: 400px;
}

.project button {
    margin: 30px 0px;
    box-shadow: 0 0 10px #858585;
    font-family: 'Code', monospace;
    background-color: rgb(32, 148, 190);
    font-size: 18px;
}

.project button:hover {
    background-color: rgb(64, 177, 41);
    transform: translateY(-2px);
    color: rgb(247, 247, 247);
}

.project .con-preview-img {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 90%;
    align-items: center;
    gap: 50px;
    margin: 40px auto 10px auto;
}

.con-flex-center-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

.con-flex-center-info h6 {
    margin: 0 5px;
}

/* -Projects*/
/* --- --- --- */



/*  */
/* -*/
/* --- --- --- */




.font-poppins {
    font-family: 'Poppins';
}
.font-code {
    font-family: 'Code';
}
.font-size-19 {
    font-size: 19px;
}

.back-white {
    background-color: rgb(255, 255, 255);
}

.black {
    color: rgb(0, 0, 0);
}





.mobile {
    display: none;
}

@media (max-width: 767px) {
    h1 {
        font-size: 3rem;
    }

    button:hover,
    .logo:hover,
    #lang-icon:hover,
    #lang-icon:focus-visible,
    .web-package:hover,
    .web-package:focus-visible,
    .project button:hover {
        transform: none;
    }

    #header {
        padding: 20px 30px 20px 30px;
    }

    #con-header {
        width: 100%;
    }

    #con-header>div:nth-child(1) {
        margin-right: auto;
    }

    #prj-header,
    #starter,
    #web-sec1,
    #web-sec2-description,
    .project {
        width: calc(100vw - 60px);
        padding: 50px 30px 30px 30px;
    }

    #starter {
        font-size: 21px;
        justify-self: right;
        align-items: unset;
    }

    .web-package {
        max-width: 360px;
        width: calc(100vw - 140px);
    }

    .web-contentlist {
        max-width: 300px;
        width: calc(100vw - 200px);
    }

    #web-sec2-description {
        padding-top: 0;
    }

    #con-webpackage {
        flex-direction: column;
        align-items: center;
    }

    #footer {
        width: calc(100vw - 60px);
        padding: 40px 30px 40px 30px;
    }

    #con-footer {
        gap: 5px;
        flex-direction: column;
    }

    #projects .heading {
        font-size: 32px;
    }

    #projects p {
        font-size: 19px;
    }

    .Nmobile {
        display: none;
    }

    .mobile {
        display: block;
    }

    .con-flex-mob {
        flex-direction: column;
    }

}



@font-face {
    font-family: 'Poppins';
    src: url(fonts/Poppins-Regular.ttf);
}

@font-face {
    font-family: 'Code';
    src: url(fonts/SourceCodePro-Regular.ttf);
}

@font-face {
    font-family: 'TeX';
    src: url(fonts/TeX.ttf);
}

@font-face {
    font-family: 'Warzone';
    src: url(fonts/Warzone.ttf);
}

@font-face {
    font-family: 'Ubuntu';
    src: url(fonts/UbuntuMono-C.ttf);
}












.capybaraloader {
    display: none;
    width: 14em;
    height: 10em;
    position: absolute;
    z-index: 1;
    --color: rgb(204, 125, 45);
    --color2: rgb(83, 56, 28);
    transform: scale(0.7) translateX(-35vw);
}

.capybara {
    width: 100%;
    height: 7.5em;
    position: relative;
    z-index: 1;
}

.loader {
    width: 100%;
    height: 2.5em;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.capy {
    width: 85%;
    height: 100%;
    background: linear-gradient(var(--color), 90%, var(--color2));
    border-radius: 45%;
    position: relative;
    z-index: 1;
    animation: movebody 1s linear infinite;
}

.capyhead {
    width: 7.5em;
    height: 7em;
    bottom: 0em;
    right: 0em;
    position: absolute;
    background-color: var(--color);
    z-index: 3;
    border-radius: 3.5em;
    box-shadow: -1em 0em var(--color2);
    animation: movebody 1s linear infinite;
}

.capyear {
    width: 2em;
    height: 2em;
    background: linear-gradient(-45deg, var(--color), 90%, var(--color2));
    top: 0em;
    left: 0em;
    border-radius: 100%;
    position: absolute;
    overflow: hidden;
    z-index: 3;
}

.capyear:nth-child(2) {
    left: 5em;
    background: linear-gradient(25deg, var(--color), 90%, var(--color2));
}

.capyear2 {
    width: 100%;
    height: 1em;
    background-color: var(--color2);
    bottom: 0em;
    left: 0.5em;
    border-radius: 100%;
    position: absolute;
    transform: rotate(-45deg);
}

.capymouth {
    width: 3.5em;
    height: 2em;
    background-color: var(--color2);
    position: absolute;
    bottom: 0em;
    left: 2.5em;
    border-radius: 50%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.5em;
}

.capylips {
    width: 0.25em;
    height: 0.75em;
    border-radius: 100%;
    transform: rotate(-45deg);
    background-color: var(--color);
}

.capylips:nth-child(2) {
    transform: rotate(45deg);
}

.capyeye {
    width: 2em;
    height: 0.5em;
    background-color: var(--color2);
    position: absolute;
    bottom: 3.5em;
    left: 1.5em;
    border-radius: 5em;
    transform: rotate(45deg);
}

.capyeye:nth-child(4) {
    transform: rotate(-45deg);
    left: 5.5em;
    width: 1.75em;
}

.capyleg {
    width: 6em;
    height: 5em;
    bottom: 0em;
    left: 0em;
    position: absolute;
    background: linear-gradient(var(--color), 95%, var(--color2));
    z-index: 2;
    border-radius: 2em;
    animation: movebody 1s linear infinite;
}

.capyleg2 {
    width: 1.75em;
    height: 3em;
    bottom: 0em;
    left: 3.25em;
    position: absolute;
    background: linear-gradient(var(--color), 80%, var(--color2));
    z-index: 2;
    border-radius: 0.75em;
    box-shadow: inset 0em -0.5em var(--color2);
    animation: moveleg 1s linear infinite;
}

.capyleg2:nth-child(3) {
    width: 1.25em;
    left: 0.5em;
    height: 2em;
    animation: moveleg2 1s linear infinite 0.075s;
}

@keyframes moveleg {
    0% {
        transform: rotate(-45deg) translateX(-5%);
    }

    50% {
        transform: rotate(45deg) translateX(5%);
    }

    100% {
        transform: rotate(-45deg) translateX(-5%);
    }
}

@keyframes moveleg2 {
    0% {
        transform: rotate(45deg);
    }

    50% {
        transform: rotate(-45deg);
    }

    100% {
        transform: rotate(45deg);
    }
}

@keyframes movebody {
    0% {
        transform: translateX(0%);
    }

    50% {
        transform: translateX(2%);
    }

    100% {
        transform: translateX(0%);
    }
}

.loaderline {
    width: 50em;
    height: 0.5em;
    border-top: 0.5em dashed var(--color2);
    animation: moveline 10s linear infinite;
}

@keyframes moveline {
    0% {
        transform: translateX(0%);
        opacity: 0%;
    }

    5% {
        opacity: 100%;
    }

    95% {
        opacity: 100%;
    }

    100% {
        opacity: 0%;
        transform: translateX(-70%);
    }
}