.sharkle {
    height: 80px;
    width: auto;
    padding-left: 4px;

    background-color: var(--background-color);

    position: fixed;
    right: 5px;
    bottom: 0px;
}

h3 {
    font-family: "Tektur";
    font-size: 28px;
    font-weight: 700;
}





.body-wrapper {
    width: 950px;
    margin: 0 auto;
}


.landing-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;

    width: 100%;

    gap: 18px;
    margin: 0 auto 36px auto;
}

.landing-link {
    display: flex;
    justify-content: center;
    flex: 1;
    gap: 10px;
    
    width: fit-content;
    min-width: 165px;
    padding: 8px 16px;

    border: 3px solid var(--text-color);
    
    font-family: "Tektur";
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);

    background: repeating-linear-gradient(
        -45deg,
        var(--background-color) 0px,
        var(--background-color) 20px,
        var(--background-light-color) 20px,
        var(--background-light-color) 40px
    );
    background-size: 56.56px;
    transition: all 0.4s ease-in-out;
}

.landing-link:hover {
    background-position: -18px 0;
}

.landing-link-name {
    width: fit-content;
    margin: auto 0;
}

.landing-link-icon {
    height: 30px;
    width: 30px;
    min-height: 30px;
    min-width: 30px;

    fill: var(--text-color);
    margin: auto 0;
}










.landing-projects {
    gap: 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;


    width: 100%;
    margin: 0 auto 36px auto;
}

.landing-project {
    border: 3px solid var(--text-color);
    text-decoration: none;
    color: var(--text-color);

    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
    padding: 24px 42px;

    background: transparent;

    justify-content: space-between;
}

.project-name {
    width: fit-content;
    height: fit-content;
    font-family: "Tektur";
    font-size: 32px;
    font-weight: 800;
}

.project-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.project-description {
    font-family: "Rubik";
    font-size: 18px;
    font-weight: 400;

    height: fit-content;
}

.project-arrows {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;

    width: fit-content;
    height: fit-content;

    font-family: "Tektur";
    font-size: 28px;
    font-weight: 700;
}

.project-arrows-arrow {
    width: fit-content;
    height: fit-content;

    background-color: var(--text-color);
    color: var(--background-color);

    padding: 4px;

    visibility: hidden;

    width: 21px;
    text-align: center;
}

.project-arrows-cross {
    background-color: var(--bad-color);
    color: var(--background-color);
}

.project-arrows-mark {
    background-color: var(--warning-color);
    color: var(--background-color);
}

.landing-project:hover .project-arrows-arrow {
    visibility: visible;
}

.landing-project:hover .project-arrows-arrow:nth-child(1) {
    transition: visibility 0s linear 0s;
}
.landing-project:hover .project-arrows-arrow:nth-child(2) {
    transition: visibility 0s linear 0.02s;
}
.landing-project:hover .project-arrows-arrow:nth-child(3) {
    transition: visibility 0s linear 0.08s;
}

.landing-project:not(:hover) .project-arrows-arrow {
    visibility: hidden;
    transition: none;
}

.landing-project:hover .project-arrows-cross,
.landing-project:hover .project-arrows-mark {
    animation: blink 0.5s infinite steps(1);
    transition: none;
}

@keyframes blink {
    0%, 100% { visibility: visible; }
    50% { visibility: hidden; }
}

.landing-title {
    font-family: "Tektur";
    font-size: 28px;
    font-weight: 400;

    width: fit-content;
    margin-bottom: 8px;
}




.landing-hello {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;

    margin: 20vh 0;
}

.landing-hello-hellotext {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;

    margin-bottom: 10px;
}

.landing-hello-emoji {
    width: auto;
    height: 36px;

    margin: auto 0;

    background-color: var(--background-color);
}

.landing-hello-text {
    font-family: "Tektur";
    font-size: 36px;
    font-weight: 800;

    width: fit-content;
    margin-right: 6px;
}

.landing-hello-nickname {
    background-color: var(--text-color);
    color: var(--background-color);
    padding: 0 8px;
    margin: 0 6px 0 4px;
    cursor: pointer;
}




.landing-hello-subtitle {
    width: fit-content;
    height: fit-content;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;

    margin-bottom: 10px;
}

.landing-hello-subtitle-text {
    font-family: "Rubik";
    font-size: 24px;
    font-weight: 500;

    width: fit-content;
    margin-right: 8px;

    vertical-align: bottom;
}

.landing-hello-subtitle-emoji {
    width: auto;
    height: 24px;

    margin: auto 0;

    background-color: var(--background-color);
}








.landing-hello-postscriptum {
    width: fit-content;
    height: fit-content;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.landing-hello-postscriptum-text {
    font-family: "Rubik";
    font-size: 18px;
    font-weight: 300;

    width: fit-content;

    vertical-align: bottom;
    margin-right: 6px;
}

.landing-hello-postscriptum-emoji {
    width: auto;
    height: 18px;

    margin: auto 0;

    background-color: var(--background-color);
}







.landing-devbar {
    width: 90%;
    height: 24px;
    margin: 4px auto 18px auto;

    border: 3px solid var(--text-color);

    display: flex;
    flex-direction: row;
    position: relative;
}

.landing-devbar-text {
    width: 100%;

    text-align: center;

    font-weight: 500;
    font-size: 20px;
}

.landing-devbar-fill-ready {
    background: repeating-linear-gradient(
        -45deg,
        var(--background-color) 0px,
        var(--background-color) 20px,
        var(--neutral-color) 20px,
        var(--neutral-color) 40px
    );
    background-size: 56.56px;
    height: 100%;
    position: relative;

    box-sizing: border-box;
    border: 3px solid var(--neutral-color);
}

.landing-devbar-fill-halfready {
    background: repeating-linear-gradient(
        -45deg,
        var(--background-color) 0px,
        var(--background-color) 20px,
        var(--warning-color) 20px,
        var(--warning-color) 40px
    );
    background-size: 56.56px;
    height: 100%;
    position: relative;

    box-sizing: border-box;
    border: 3px solid var(--warning-color);
}

.landing-devbar-fill-empty {
    background: repeating-linear-gradient(
        -45deg,
        var(--background-color) 0px,
        var(--background-color) 20px,
        var(--bad-color) 20px,
        var(--bad-color) 40px
    );
    background-size: 56.56px;
    height: 100%;
    position: relative;

    box-sizing: border-box;
    border: 3px solid var(--bad-color);
}

.landing-devbar-legend {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 12px;

    width: 90%;
    height: fit-content;
    margin: 0 auto 28px auto;
}

.devbar-legend-part {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: fit-content;

    gap: 4px;
}

.devbar-legend-colorcube {
    width: 20px;
    height: 20px;

    background: var(--local-colorcube-color);
}

.devbar-lened-text {
    font-family: "Rubik";
    font-size: 16px;
    font-weight: 300;
    width: fit-content;
    text-align: center;
}




.landing-visits {
    width: fit-content;
    height: fit-content;

    margin: 32px auto 0 auto;

    display: flex;
    flex-direction: column;
    gap: 2px;

    border: 3px solid var(--text-color);
    padding: 16px;

    cursor: default;
}

.landing-visits-title {
    width: fit-content;
    height: fit-content;

    font-family: "Tektur";
    font-size: 22px;
    font-weight: 400;

    margin: 0 auto 8px auto; 
}

.visits-block-text {
    font-family: "Rubik";
    font-size: 18px;
    font-weight: 300; 
}

.visits-block-counter {
    font-family: "Tektur";
    font-size: 20px;
    font-weight: 400;
    text-align: right;
}

.landing-visits-block {
    width: fit-content;
    height: fit-content;

    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap  : 8px;
}





@media (max-width: 1060px) {
  .body-wrapper {
    width: 90%;
  }

  .landing-projects {
    display: flex;
    flex-direction: column;
  }

  .sharkle {
    position: static;
    bottom: unset;
    right: unset;
    width: fit-content;

    margin: 0 40px 0 auto;
  }
}

@media (max-width: 610px) {
    .project-name {
        font-size: 24px;
        font-weight: 700;
    }

    .project-description {
        font-size: 14px;
        font-weight: 400;
    }

    .project-arrows {
        font-size: 22px;
        font-weight: 600;
    }

    .project-arrows-arrow {
        width: 14px;
    }

    .landing-project {
        border: 2px solid var(--text-color);
        padding: 12px 21px;
    }

    .landing-link {
        font-size: 18px;
        font-weight: 600;

        border: 2px solid var(--text-color);
    }

    .landing-link-icon {
        height: 24px;
        width: 24px;
    }

    .landing-title {
        font-family: "Tektur";
        font-size: 24px;
        font-weight: 400;
    }


    .landing-hello {
        margin: 10vh 0;
    }

    .landing-hello-emoji {
        height: 28px;
    }

    .landing-hello-text {
        font-size: 28px;
        font-weight: 600;
    }

    .landing-hello-nickname {
        background-color: var(--text-color);
        color: var(--background-color);
        padding: 0 8px;
        margin: 0 6px 0 4px;
    }

    .landing-hello-subtitle-text {
        font-size: 18px;
        margin-right: 6px;
    }

    .landing-hello-subtitle-emoji {
        height: 18px;
    }

    .landing-hello-postscriptum-text {
        font-size: 14px;
        font-weight: 300;
        margin-right: 4px;
    }

    .landing-hello-postscriptum-emoji {
        height: 18px;
    }


    .landing-link-icon {
        height: 24px;
        width: 24px;
        min-height: 24px;
        min-width: 24px;
    }

    .landing-link {
        padding: 6px 12px;

        border: 1px solid var(--text-color);
        
        font-family: "Tektur";
        font-size: 18px;
        font-weight: 500;
    }
}


@media only screen and (hover: none) and (pointer: coarse) {
    .project-arrows-cross,
    .project-arrows-mark {
        animation: blink 0.5s infinite steps(1);
    }

    .project-arrows-v {
        visibility: visible !important;
    }

    .landing-link:hover {
        background-position: 0 0;
    }
}