* {
    box-sizing: border-box;
}

.row::after {
    content: "";
    clear: both;
    display: table;
}

/* For mobile phones: */
[class*="col-"] {
    float: left;
    padding: 1rem;
    width: 100%;
}

@media only screen and (max-width: 600px) {
    .col-1 {width: 8.33%;}
    .col-2 {width: 16.66%;}
    .col-3 {width: 25%;}
    .col-4 {width: 33.33%;}
    .col-5 {width: 41.66%;}
    .col-6 {width: 50%;}
    .col-7 {width: 58.33%;}
    .col-8 {width: 66.66%;}
    .col-9 {width: 75%;}
    .col-10 {width: 83.33%;}
    .col-11 {width: 91.66%;}
    .col-12 {width: 100%;}
}
  
@media only screen and (min-width: 600px) {
    /* For tablets: */
    .col-s-1 {width: 8.33%;}
    .col-s-2 {width: 16.66%;}
    .col-s-3 {width: 25%;}
    .col-s-4 {width: 33.33%;}
    .col-s-5 {width: 41.66%;}
    .col-s-6 {width: 50%;}
    .col-s-7 {width: 58.33%;}
    .col-s-8 {width: 66.66%;}
    .col-s-9 {width: 75%;}
    .col-s-10 {width: 83.33%;}
    .col-s-11 {width: 91.66%;}
    .col-s-12 {width: 100%;}

    html {
        font-size: 1.1rem;
    }

    h1 {
        font-size: 6rem;
    }

    .about-container {
        flex-direction: row;
    }

    .abt-img-box img {
        height: 400px;
        width: auto;
    }

    .skill-container {
        padding: 1rem;
        grid-template-rows: 1fr 1fr 1fr;
        grid-template-columns: 1fr 1fr 1fr;
        height: 20rem;
    }

    .project-container {
        grid-template-columns: 1fr 1fr 1fr;

    }

    .project-container img {
        height: 200px;
    }
}
  
@media only screen and (min-width: 1400px) {
    /* For desktop: */
    .col-lg-1 {width: 8.33%;}
    .col-lg-2 {width: 16.66%;}
    .col-lg-3 {width: 25%;}
    .col-lg-4 {width: 33.33%;}
    .col-lg-5 {width: 41.66%;}
    .col-lg-6 {width: 50%;}
    .col-lg-7 {width: 58.33%;}
    .col-lg-8 {width: 66.66%;}
    .col-lg-9 {width: 75%;}
    .col-lg-10 {width: 83.33%;}
    .col-lg-11 {width: 91.66%;}
    .col-lg-12 {width: 100%;}

    html {
        font-size: 1.5rem;
    }

    h1 {
        font-size: 10rem;
    }

    #about {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-template-rows: auto;
        grid-template-areas: 
        "img img skills skills"
        "about about skills skills"
        "about about skills skills";
        padding-top: 4rem;
    }

    .abt-img-box {
        grid-area: img;
    }

    .abt-img-box img {
        width: 100%;
        height: 400px;
        padding: 1rem;
    }

    .about {
        width: 100%;
        grid-area: about;
    }

    .skills {
        width: 100%;
        grid-area: skills;
    }

    .about-container {
        flex-direction: row;
    }

    .skill-container {

        padding: 1rem;
        grid-template-rows: 1fr 1fr 1fr;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2rem;
        height: 20rem;
    }
}