*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

.skills-section {
    padding: 60px 20px;
    display: grid;
    grid-template-columns:repeat(12 ,1fr);
    justify-content: center;
    width: 100%;
    position: relative;
    /*height: 100vh;*/
    /*position: absolute;*/
}

.skills-section h1{
    text-align: center;
    font-size: 55px;
    color: white;
    justify-self: center;
    position: absolute;
    top: 70px;
}

.skill-card {
    width: 6vw;
    height: 6vw;
    margin: -6px;
    border-radius: 10px;
    position: relative;
    bottom: -200px;
    left: 20px;
    cursor: pointer;
    background-color: rgba(255, 215, 0, 0.48);
    border: 2px solid gold;
    transition-duration: 800ms;
    box-shadow: 0 0 10px gold;
    /*animation-name: gold;*/
    animation-duration:26s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.skill-card:hover{
    transform: translateY(-10px);
}


@keyframes gold {
    0% {
        transform: translateX(130%);
    }
    100% {
        transform: translateX(-130%);
    }
}


.icon img{
    width: 60px;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
}

@media all and (min-width: 1024px) and (max-width: 1250px){
    .skills-section {
        grid-template-columns: repeat(12, 1fr);
    }

    .skill-card {
        left: 20px;
        top: 325px;
    }

    .skills-section img{
        width: 40px;
    }

    .skills-section h1{
        font-size: 52px;
        top: 220px;
    }
}

@media (min-width: 650px) and (max-width: 1023px) {
    .skill-card {
        width: 80px;
        height: 80px;
        margin: 16px;
        position: relative;
        top: 200px;
    }

    .skills-section h1 {
        font-size: 40px;
        top: 130px;
    }

    .skills-section{
        grid-template-columns:repeat(6 ,1fr);
    }

    .skills-section img{
        width: 50px;
    }
}


@media (min-width: 378px) and (max-width: 650px) {

    .skills-section{
        grid-template-columns:repeat(3 ,1fr) ;

    }
    .skill-card {
        width: 110px;
        height: 80px;
        margin: 6px;
        /*margin-left: 60px;*/
        position: relative;
        top: 800px;
        left: 3px;
    }

    .skills-section h1 {
        font-size: 32px;
        position: absolute;
        top: 750px;
    }
}


@media (min-width: 320px) and (max-width: 376px) {

    .skills-section{
        display: grid;
        grid-template-columns:repeat(3 ,1fr);
        position: relative;
    }

    .skill-card {
        width: 70px;
        height: 70px;
        position:relative;
        top: 650px;
        left: 5px;
        margin: 10px;
    }

    .skills-section h1 {
        font-size: 28px;
        position: absolute;
        top: 630px;
    }
}