
@font-face {
    font-family: CarbonaTest;
    src: url("CarbonaTest-SemiBold.otf") format("opentype");
}

body {
    min-height: 100vh;
    margin: 0;
    background-color:black;
    color: white;
    display: flex;
    flex-direction: column;
    font-family: CarbonaTest, sans-serif;
}

header {
    min-height: 50px;
    text-align:center;
    padding: 50px 0 50px 0;
    z-index: 2;
}

header svg {
    fill: white;
    padding: 5%;
    z-index: 2;
}

main {
    flex: 1;
    text-align: center;
    width: 90%;
    margin: 0 auto;
    word-break: break-word;
    z-index: 2;

}

footer {
    margin-top: 50px;
    padding-top: 10px;
    min-height: 150px;
    background-color:black ;
    font-size: 24px;
    border-top: 1px solid white;
    z-index: 2;
}

#services {
    width: 100%;
    text-align: center;
}

ul {
    list-style: none outside none;
    margin:0;
    padding: 0;
    text-align: center;
    word-break: break-word;
}

li {
    animation-name: GFG;
    opacity: 0;
    text-transform: uppercase;
    list-style-type: none;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    word-break: break-word;
}

ul li:nth-child(1) {
    animation-delay: 2.5s;
}

ul li:nth-child(2) {
    animation-delay: 3s;
}

ul li:nth-child(3) {
    animation-delay: 3.5s;
}

ul li:nth-child(4) {
    animation-delay: 4s;
}

ul li:nth-child(5) {
    animation-delay: 4.5s;
}

ul li:nth-child(6) {
    animation-delay: 5s;
}

ul li:nth-child(7) {
    animation-delay: 5.5s;
}

ul li:nth-child(8) {
    animation-delay: 6s;
}

ul li:nth-child(9) {
    animation-delay: 6.5s;
}

ul li:nth-child(10) {
    animation-delay: 7s;
}

ul li:nth-child(11) {
    animation-delay: 7.5s;
}

ul li:nth-child(12) {
    animation-delay: 8s;
}

ul li:nth-child(13) {
    animation-delay: 8.5s;
}

#logo {
    max-width:860px;
}

#epic {
    transform: translateX(-52%);
    animation-name: fadeIn;
    animation-duration: 1s;
    animation: fadeIn 1s ease 0s 1 forwards;
    z-index: 1000;
}

#syntax {
    opacity: 0;
    animation: fadeInUp 1s ease 1.5s 1 forwards;
    z-index: 1000;
}

#bracket_x5F_r {
    animation: bracket_x5F_r 1s ease 0s 1;
}

#contact-group {
    width: 100%;
    display: inline-grid;
    text-align: center;
}

#mail-contact {
    font-size: 24px;
    padding: 10px 0 20px;
    text-transform: uppercase;
}

#phone-contact {
    font-size: 24px;

}

#imprint {
    width: 100%;
    display: inline-grid;
    text-align: center;
    padding-bottom:10px;
}

a {
    color: white !important;
    -webkit-tap-highlight-color: transparent;
    -webkit-text-fill-color: white;
}

a#imprint-link {
    text-decoration: none;
    text-transform: uppercase;
    padding: 20px 0 0 0;
    color: white;
}

a#imprint-link:hover {
    text-decoration: underline;
}

/** FX **/

@keyframes bracket_x5F_r {
    from {
        transform: translateX(-50%)
    }

    to {
        transform: translateX(0%)
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-55%)
    }

    to {
        opacity:1;
        transform: translateX(0%)
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translatey(10%)}
    to {
        opacity:1;
        transform: translatey(0%)
    }
}

/** MEDIA QUERIES **/

@media all and (min-width: 1281px) {
    #services > ul li {
        font-size: 68px;
    }
    :root {
        --text-size: 68px;
    }

    #mail-contact {
        font-size: 40px;
        padding: 10px 0 10px;
    }

    #phone-contact {
        font-size: 40px;
    }
}

@media all and (min-width: 1024px) and (max-width: 1280px) {
    #services > ul li {
        font-size: 60px;
    }
    :root {
        --text-size: 60px;
    }

    #mail-contact {
        font-size: 36px;
        padding: 10px 0 10px;
    }

    #phone-contact {
        font-size: 36px;
        color: white !important;;
    }
}

@media all and (min-width: 768px) and (max-width: 1024px) {
    #services > ul li {
        font-size: 52px;
    }
    :root {
        --text-size: 52px;
    }

    #mail-contact {
        font-size: 32px;
        line-height: 0.8;
    }

    #phone-contact {
        font-size: 32px;
        line-height: 0.8;
    }
}


@media all and (min-width: 560px) and (max-width: 768px) {
    #services > ul li {
        font-size: 42px;
    }
    :root {
        --text-size: 42px;
    }

    #mail-contact {
        font-size: 24px;
        line-height: 0.8;
    }

    #phone-contact {
        font-size: 24px;
        line-height: 0.8;
    }
}

@media all and (min-width: 480px) and (max-width: 560px) {
    #services > ul li {
        font-size: 38px;
    }
    :root {
        --text-size: 38px;
    }

    #mail-contact {
        font-size: 20px;
        line-height: 0.8;
    }

    #phone-contact {
        font-size: 20px;
        line-height: 20px;
        line-height: 0.8;
    }
}


@media all and (max-width: 480px) {
    #services > ul li {
        font-size: 26px;
    }
    :root {
        --text-size: 26px;
    }

    #mail-contact {
        font-size: 20px;
        line-height: 0.8;
    }

    #phone-contact {
        font-size: 20px;
        line-height: 0.8;
    }
}

@keyframes GFG {
    from {
        font-size: var(--text-size);
        opacity:1;
    }

    to {
        font-size: var(--text-size);
        opacity:1;
    }
}
