.content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;

    padding: 150px 0 0 0;
}

.skills-top {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    margin-bottom: 80px;
}

.deck {
    position: relative;
    width: 300px;
    height: 200px;
}

.icons {
    display: flex;
    width: calc(8 * (98px + 10px) - 10px);
    flex-wrap: wrap;
    gap: 10px;

    justify-content: center;
    align-items: center;

    margin-bottom: 80px;
}

.icon.smaller {
    font-size: 20px;
}

.icon.active {
    background: rgba(25, 255, 0, 0.25);
    border: 4px solid rgba(25, 255, 0, 0.3);
}

.card > img, .icon-img {
    height: 70%;
}

.multiple-icons {
    height: 70%;

    display: flex;
    justify-content: center;
    align-items: center;
}

.descriptions {
    columns: 2;

    flex-wrap: wrap;

    width: 80vw;
    column-gap: 20px;
    row-gap: 20px;
}

.description {
    cursor: pointer;
    break-inside: avoid;
    margin-bottom: 20px;
    text-align: justify;

    line-height: 1.8;
    font-size: 20px;

    display: flex;
    scroll-margin-top: 150px;
    background: #bdbdff;

    padding: 40px;
    border: 5px #bdbdff solid;

    border-radius: 50px;
    /*width: calc((80vw - (20px * 2) - (3 * (2 * 40px))) / 2);*/
}

.description.highlight {
    animation: 2s highlight ease-in-out;
}

@keyframes highlight {
    0% {
        border: 5px #bdbdff solid;
    }

    50% {
        border: 5px #ff0000 solid;
    }

    100% {
        border: 5px #bdbdff solid;
    }
}

.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;
}

.container > h4 {
    color: #e3e3e3;
    margin: 5px;
}

.container:hover {
    transform: scale(1.1) rotate(-3deg);
    backface-visibility: hidden;
    will-change: transform;
    z-index: 2;

    border-color: rgb(0, 0, 0);
}

.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);
}

.description-top {
    width: 80%;
}

.hr {
    border: 1px solid;
    margin: 30px;
}

.elementpopup {
    display: none;
    opacity: 0;
    transition: 2s;

    justify-content: center;
    align-items: center;

    flex-direction: column;

    position: fixed;
    left: 5vw;
    top: 150px;

    height: calc(100vh - 75px - (2 * (75px + 10px + 50px)));
    width: calc(100% - (2 * (5vw + 50px + 10px)));
    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;
    }
}

.elementpopup-close {
    cursor: pointer;

    position: absolute;
    font-size: 50px;

    top: 2.5%;
    right: 2.5%;
}

.description.active {
    position: fixed;
    top: 150px;
    left: 10vw;

    width: 80vw;
    height: calc(100vh - 4 * 75px);

    z-index: 10;
}

.icon {
    cursor: pointer;
    font-size: 24px;
    text-align: center;
    color: white;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    background: rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 4px solid rgba(255, 255, 255, 0.3);

    width: 90px;
    height: 90px;
    transition: 0.6s;
}

.card {
    cursor: pointer;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    position: absolute;
    inset: 0;
    background: #e3e3e3;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    padding: 15px;

    font-size: 24px;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.card:nth-child(1) { z-index: 3; }
.card:nth-child(2) { transform: translateY(8px) scale(0.97); z-index: 2; }
.card:nth-child(3) { transform: translateY(16px) scale(0.94); z-index: 1; }

.card.move {
    transform: translateY(260px) rotate(12deg);
    opacity: 0;
}

* {
    --element-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(--element-height);
}

/* uwu */

.img {
    height: 20vh;
    margin: 15px;
    border-radius: 15px;
}

a {
    color: black;
}

a:visited {
    color: black;
}

.center {
    padding: 50px;
    align-content: center;
}

/* uwu */

.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 {
    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;

    /*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);
    }
}