body{
    margin: 0;
    background-image: url('/images/background.svg');
    background-position: top right;
    background-repeat: repeat-y;
    background-size: 130%;
}

body::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px gray; 
    border-radius: 10px;
    margin: 0;
}

.infoButton{
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 10px;
    right: 10px;
    background: transparent linear-gradient(135deg, #4BFAF7 0%, #FF3DBB 100%) 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 100px;
    opacity: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: ease-in-out 200ms;
    cursor: pointer;
}

.infoButton img{
    max-width: 30px;
    max-height: 30px;
}

.infoButtonHide{
    visibility: collapse;
}

.infoPanel{
    visibility: collapse;
    position: fixed;
    border-radius: 100px;
    bottom: 10px;
    right: 10px;
    width: auto;
    border-radius: 17px;
    height: 0px;
    backdrop-filter: blur(9px);
    background: linear-gradient(135deg, #4bfaf76f 0%, #ff3dbb6f 100%) 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000029;
    opacity: 1;
    transition: height ease-in-out 300ms, width ease-in-out 300ms;

    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;

    overflow-x: hidden;
    overflow-y: auto;
}

.infoPanelOpened{
    visibility: visible;
    margin-left: 17px;
    height: 469px;
}

.infoPanelClosing{
    visibility: visible;
    transition: border-radius ease-in-out 300ms, height ease-in-out 300ms, width ease-in-out 300ms;
}

.infoPanel h5{
    font-family: ocr-a-std;
    font-size: 20px;
    margin: 10px;
    padding: 0;
    text-shadow: 0px 3px 6px #00000029;
    
}

.infoPanel p{
    margin: 0;
    margin-left: 15px;
    margin-right: 15px;
    padding: 0;
    align-self: stretch;
    text-align:justify;
}

.centerContainer{
    display: flex;
    margin: 0;
    flex-direction: column;
    justify-content: center;
}

.skillsContainer{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

.skillcard{
    background: #c7c7c770 0% 0% no-repeat padding-box;
    border-radius: 17px;
    opacity: 1;
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
    min-height: 90px;
    display: flex;
    width: 100%;
    flex-direction: column;
    padding: 0.5em;
    padding-left: 1.5em;
    padding-right: 1.5em;
    margin: 16px;
}

.skillcardHeader{
    min-height: 90px;
    display: flex;
    flex-direction: column;
    width: 100%;
    transition: ease-in-out 300ms height;
}

.skillcardHeader h3{
    font: normal normal normal 22px/30px Segoe UI;
    letter-spacing: 1.1px;
    color: #000000;
    text-shadow: 0px 0px 6px #00000070;
    opacity: 0.75;
    margin: 0;
}

.skillcardHeader .opener{
    display: flex;
    justify-content: center;
    align-items: center;
}

.opener img{
    width: 24px;
    height: 9px;
    cursor: pointer;
}

.progressbar{
    z-index: 10000;
    width: 100%;
    height: 23px;
    margin-top: 5px;
    background: #C7C7C7 0% 0% no-repeat padding-box;
    box-shadow: inset 0px 3px 6px #00000029;
    border-radius: 17px;
}

.progressbar p{
    z-index: 10000;
    position: relative;
    top: -41.5px;
    color: white;
    font-size: 20px;
    text-align: center;
    left: 50%;
    transform: translate(-50%,0);
    font-family: OCR A;
}

.tooltip {
    position: relative;
    z-index: 10000;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    
    /* Position the tooltip */
    position: absolute;
    z-index: 10000;
    top: 100%;
    left: 50%;
    margin-left: -60px;
  }
  
  .tooltip:hover .tooltiptext {
    visibility: visible;
  }

.progressbarval{
    height: 100%;
    background: #5C51F0 0% 0% no-repeat padding-box;
    box-shadow: 0px 0px 8px #5C51F0;
    border-radius: 17px;
    
}

.skillContent{
    margin-top: 0.5em;
    margin-bottom: 0.6em;
    height: 0px;
    transition: ease-in-out 300ms;
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
}

.skillContentOpened{
    height: unset;
    max-height: 200px;
    transition: ease-in-out 300ms;
}

.skillContent h4{
    text-align: center;
    margin: 0;
    width: 100%;
    margin-top: 6px;
    margin-bottom: 6px;
    font: normal normal normal 18px Segoe UI;
    letter-spacing: 0.9px;
    color: #000000;
    opacity: 0.75;
    font-weight: normal;
}

.borderlink{
    background: /*#A03FD9*/ 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 17px;
    margin: 6px;
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 1px;
    padding-bottom: 1px;
    opacity: 1;
    justify-content: center;
    align-items: center;
}

.borderlink p{
    text-align: center;
    font: normal normal normal 14px Segoe UI;
    letter-spacing: 0.7px;
    color: #FFFFFF;
    margin: 0;
    opacity: 1;
    font-weight: lighter;
}

@media screen and (min-width: 540px){
    .skillcard{
        width: 395px;
        min-width: 100px;
    }

    .tooltip:hover .tooltiptext {
        visibility: collapse;
    }

    .tooltip .tooltiptext{
        visibility: collapse;
    }

    
}

@media screen and (min-width: 950px) {
    .tooltip:hover .tooltiptext {
        visibility: visible;
    }

    .tooltip .tooltiptext{
        visibility: hidden;
    }
    .skillsContainer{
        display: block;
        column-count: 2;
        column-fill: balance;
        width: 960px;
        align-self: center;
    }

    .skillcard{
        display: inline-block;
    }

    .skillContent{
        height: unset;
        max-height: 200px;
    }

    .opener img{
        height: 0;
    }

    body{
        background-position: top right;
        background-size: 60%;
    }

    .infoPanel{
        width: 80px;
        height: 80px;
    }

    .infoPanelOpened{
        width: 349px;
        height: 469px;
    }

    .infoButton{
        width: 80px;
        height: 80px;
    }

    .infoButton img{
        max-width: 40px;
        max-height: 40px;
    }
}


@media screen and (min-width: 1345px) {
    .skillsContainer{
        column-count: 3;
        width: 1365px;
    }
}