a {
    color: black;
}

a:visited {
    color: black;
}

.tekst {
    padding: 15px;
}

img {
    padding: 5px;
    height: 95%;
}

.content > div.element {
    width: calc(((100vw - (2 * 15vw)) - (2 * 5vh) - (15px * 2)) / 2);
    height: 30vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #e3e3e3;
    padding: 15px;
    border-radius: 25px;
    flex-wrap: nowrap;
}


.content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;

    padding: 150px 0 0 0;
}

* {
    --line-height: 50px;
}

.top {
    color: white;
    font-size: 50px;
    height: 50px;
}

.down {
    margin-top: 20px;
    color: white;
    font-size: 30px;
}

#zawod {
    display: inline-block;
    opacity: 0;
}

.zawod {
    text-align: center;

    margin-top: 50px;

    background-color: #555555;
    color: white;
    font-size: 80px;
    width: 50vw;

    padding: 15px 5vw 15px 5vw;
    border-radius: 50px;
}

.skills {
    margin-top: 20px;
    border-width: 0;
    display: flex;
    gap: 1vw;
    width: 60vw;
    flex-wrap: wrap;
    height: 50vh;
}

.skills > div {
    display: flex;
    justify-content: center;
    align-items: center;

    background-color: #e3e3e3;
    padding: 15px;
    border-radius: 30px;
    border-width: 0;

    width: calc((60vw - (1vw * 2) - (30px * 3 )) / 3);
}

.linia {
    width: 50px;
    background-color: #e3e3e3;
    height: var(--line-height);
}

.img {
    height: 20vh;
    margin: 15px;
    border-radius: 15px;
}

a {
    color: black;
}

a:visited {
    color: black;
}

.center {
    padding: 50px;
    align-content: center;
}

.kulka {
    width: 100px;
    height: 100px;
    background-color: #e3e3e3;

    border-radius: 50%;
}

.element.right {
    transform: translate(calc(50% - 50px));
}

.element.left {
    transform: translate(calc(-50% + 50px));
}

.element {
    height: var(--element-height) !important;
    display: flex;
    gap: 100px;

    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.elementcontent {
    width: calc(((100vw - (2 * 15vw)) - (2 * 5vh) - (15px * 2)) / 2);
    display: flex;
    background-color: #e3e3e3;
    padding: 15px;
    border-radius: 25px;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;

    cursor: pointer;

    /*margin-right: 100px;*/

    margin: 50px 0 50px 0;
}

.liniabox {
    position: absolute;
    left: 50%;
    transform: translate(-50%);
}

.liniaelement {
    display: flex;
    flex-direction: column;
    /*justify-content: center;*/
    align-items: center;
    margin-top: 30px;
}

@keyframes animation {
    0% {
        opacity: 0;
        transform: translate(-10vw);
    }

    45% {
        opacity: 1;
        transform: translate(0);
    }

    55% {
        opacity: 1;
        transform: translate(0);
    }

    100% {
        opacity: 0;
        transform: translate(10vw);
    }
}

.elementpopup {
    display: none;
    opacity: 0;
    transition: 2s;

    justify-content: center;
    align-items: center;

    flex-direction: column;

    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    padding: 50px;
    margin: 0;

    border: 10px #484848 solid;
    border-radius: 50px;

    background: #e3e3e3;
}

.elementpopup-content {
    overflow: auto;
    margin-right: 50px;
}

.elementpopup-content::-webkit-scrollbar {
    width: 8px;
}

.elementpopup-content::-webkit-scrollbar-track {
    background: none;
}

.elementpopup-content::-webkit-scrollbar-thumb {
    background: #484848;
    border-radius: 8px;
}

.elementpopup.active {
    opacity: 1;
    z-index: 10;

    display: flex;

    animation: 0.6s animations;
}

.elementpopup.closed {
    animation: 0.6s animationss;
    display: none;
    opacity: 0;
}

@keyframes animationss {
    100% {
        display: none;
        opacity: 0;
    }

    0% {
        display: flex;
        opacity: 1;
    }
}

@keyframes animations {
    0% {
        display: none;
        opacity: 0;
    }

    100% {
        display: flex;
        opacity: 1;
    }
}

.containers {
    display: flex;
    justify-content: center;
    align-items: center;

    flex-direction: row;
    gap: 20px;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;

    background: #484848;
    border: 5px #484848 solid;

    flex-direction: column;
    padding: 5px;
    border-radius: 15px;

    transition: 0.2s;
}

.container > img {
    height: 50px;
    border-radius: 15px;
}

.link {
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;

    font-family: "Roboto", sans-serif;
    font-size: 20px;

    gap: 5px;

    text-decoration: none;

    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(5px);

    border: 5px #484848 solid;
    border-radius: 50px;
    padding: 5px 5px 5px 5px;

    width: auto;
    transition: all 0.15s ease-in-out;
}

.link > h4 {
    margin: 0;
}

.link:hover {
    transform: scale(1.1) rotate(-3deg);
    backface-visibility: hidden;
    will-change: transform;
    z-index: 2;

    border-color: rgb(255, 255, 255);
}

.container > h4 {
    color: #e3e3e3;
    margin: 5px;
}

.hr {
    border: 1px solid;
    margin: 30px;
}


.elementpopup-close {
    cursor: pointer;

    position: absolute;
    font-size: 50px;

    top: 2.5%;
    right: 2.5%;
}

.description-top {
    width: 80%;
}

