/* Google Fonts Link */
* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    /* box-sizing: border-box; */
}


body {
    background-image: url(./assets/i-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    justify-items: center;
    background-attachment: fixed;
}

::-webkit-scrollbar {
    display: none;
}


nav {
    color: white;
    background-color: black;
    height: 70px;
    width: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 5;
}

a#logo-name {

    /* margin-left: 120px; */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* font-weight: 500; */
    line-height: 80px;
    color: white;
    text-decoration: none;
    font-size: 25px;
    padding: 0 40px;
    font-weight: bold;
    cursor: pointer;
}



a {
    text-decoration: none;
    color: white;
}

a#logo-name:hover {
    color: rgb(0, 238, 255);
    transition: .5s;
}

a#logo-name:active {
    transform: scale(1);
}


nav ul {
    float: right;
    margin-right: 80px;
    list-style: none;

}


nav ul li {
    /* background-color: red; */
    display: inline-block;
    line-height: 75px;
    margin: 0 5px;
    transition: all .5s;
}

nav ul li a {
    /* background-color: red; */
    color: white;
    font-size: 17px;
    padding: 7px 18px;
    border-radius: 6px;
    text-transform: uppercase;
}

li:active {
    transform: scale(0.98);
}

li:hover {
    transform: scale(1.2, 1.2);
}

.active {
    width: 90px;
    height: 34px;
    text-align: center;
    background-color: white;
    color: black;
    font-weight: 600;
    /* background-color: rgba(239, 239, 240, 0.1)  ; */
    border-radius: 6px;
}



.checkbtn {
    font-size: 22px;
    color: white;
    float: right;
    line-height: 80px;
    margin-right: 30px;
    cursor: pointer;
    display: none;
}

#check {
    display: none;
}

@media (max-width: 1050px) {
    label.logo {
        padding-left: 30px;
    }

    nav ul li a {
        font-size: 16px;
    }


}

/* Responsive media query code for small screen */
@media (max-width: 890px) {
    .checkbtn {
        display: block;
    }

    label.logo {
        font-size: 22px;
    }

    ul {
        position: fixed;
        width: 100%;
        height: 100vh;
        background: #2c3e50;
        top: 80px;
        left: -100%;
        text-align: center;
        transition: all .5s;
    }


    nav ul li {
        display: block;
        margin: 50px 0;
        line-height: 30px;
    }

    nav ul li a {
        font-size: 22px;
    }

    a:hover {
        transform: scale(1.2, 1.2);
    }

    a:hover,
    a.active {
        background: none;
        color: black;
        text-decoration: underline;
    }

    #check:checked~ul {
        left: 0;
    }
}

section {
    /* background: url("/assets/i-bg.jpg") no-repeat; */
    background-size: cover;
    height: calc(100vh - 80px);
    margin-bottom: 180px;
    margin-top: 50px;
    /* border: 2px solid red; */
}


/*  NAV End */


.main-div{
    margin-top: 2em;
    margin-bottom: 2em;
    width: 80%;
    justify-content: center;
    justify-items: center;
    align-items: center;
}

section.skill-cardz{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); 
    /* grid-template-columns: repeat(auto-fit(180px, 1fr ));  */
    justify-items: center;   
    /* margin-top: 3em; */
    /* margin-bottom: 2em; */
    grid-template-rows: 1fr 1fr 1fr;
    row-gap: 60px;
    column-gap: 100px;
}


div.skill-card{
    padding: 1em;
    border-radius: 16px;
    background-color: rgba(239, 239, 240, 0.1);
    text-align: center;
    width: 178px;
    height: 180px;
    color: white;
    font-size: 28px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 8px 0px;
    justify-content: center;

    transition: all .5s;
}


div.skill-card:hover {
    /* for transition */
    box-shadow: 0 0 30px 3px rgb(0, 238, 255);
    /* -webkit-transform: scale(1.1, 1.1); */
    transform: scale(1.1, 1.1);
}


img#skillcard {
    border-radius: 12px;
    width: 140px;
    height: 140px;
    margin-bottom: 6px;
}

#skill-heading {
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 28px;
    text-align: center;
    margin-top: 3.5em;
    margin-bottom: 1em;
    width: 80vw;                                                                               /* ////////////width added  */
}


span {
    /* color: rgb(147 51 234); */
    /* color: rgb(0, 238, 255); */
    color:white;
    font-size: 20px;
    font-weight: 600;
}

footer{
    font-family: Arial, Helvetica, sans-serif;
    margin-top: 12px;
    margin-bottom: 12px;
}
