/* Large screens */
@media screen and (min-width: 1500px) {
    .container-2 {
        width: 75%;
    }
    
    .skills-list {
        gap: 3rem;
    }
}

/* Regular desktop screens */
@media screen and (max-width: 1500px) {
    .container {
        width: 75vw;    
    }
    
    #hi, #aboutheading {
        font-size: 8rem;
    }
    
    #im {
        font-size: 4rem;
    }
    
    #im-ext {
        font-size: 2rem;
    }
    
    #aboutheading, #skillheading, #projectheading, #findme {
        font-size: 4.5rem;
    }
    
    .icons {
        width: auto;
    }
    
    .icons a {
        font-size: 4.5rem;
    }
    
    .skills-list {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
    
    .item {
        width: 300px;
        min-height: 300px;
    }
    
    .container-2 {
        width: 80%;
    }
}

/* Medium screens (laptops) */
@media screen and (max-width: 1200px) {
    .container {
        width: 80vw;
    }
    
    .skills-list {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
    
    .item {
        width: 280px;
        min-height: 280px;
    }
    
    .container-2 {
        width: 85%;
    }
    
    .single-skill i {
        font-size: 2.5rem;
    }
}

/* Small screens (tablets) */
@media screen and (max-width: 992px) {
    nav {
        display: none;
    }
    
    .container {
        width: 85vw;
    }
    
    #hi {
        font-size: 7rem;
    }
    
    #im {
        font-size: 3.5rem;
    }
    
    #aboutheading {
        font-size: 7rem;
    }
    
    .skills-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
    }
    
    .single-skill i {
        font-size: 2.2rem;
    }
    
    .single-skill h3 {
        font-size: 1.3rem;
    }
    
    .item {
        width: 270px;
        min-height: 270px;
        padding: 1.2rem;
    }
    
    .item h1 {
        font-size: 1.4rem;
    }
    
    .item p {
        font-size: 1rem;
    }
    
    .icons a {
        font-size: 4rem;
        padding: 2rem 3rem;
    }
    
    .container-2 {
        width: 90%;
    }
    
    .item h1 {
        font-size: 1.8rem;
    }
}

/* Mobile landscape */
@media screen and (max-width: 768px) {
    nav {
        display: none;
    }
    
    .container {
        width: 90vw;
    }
    
    #hi {
        font-size: 5rem;
    }
    
    #im {
        font-size: 3rem;
    }
    
    #im-ext {
        font-size: 1.5rem;
    }
    
    #aboutheading, #skillheading, #projectheading, #findme {
        font-size: 4rem;
    }
    
    #aboutheading {
        font-size: 6rem;
    }
    
    #about-me {
        font-size: 1.3rem;
    }
    
    .skills-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .single-skill {
        padding: 0.8rem;
    }
    
    .single-skill i {
        font-size: 2rem;
    }
    
    .item {
        width: calc(50% - 1rem);
        min-width: 250px;
        max-width: 300px;
        min-height: 250px;
    }
    
    .link {
        font-size: 1.2rem;
    }
    
    .more a {
        font-size: 1.3rem;
    }
    
    .icons a {
        font-size: 3.5rem;
        padding: 1.5rem 2rem;
    }
    
    .container-2 {
        width: 95%;
    }

    .container-2 h1 {
        font-size: 4rem;
    }
    
    .item h1 {
        font-size: 1.8rem;
    }
}

/* Mobile portrait */
@media screen and (max-width: 576px) {
    .container {
        width: 95vw;
    }
    
    #hi {
        font-size: 4rem;
    }
    
    #im {
        font-size: 2.5rem;
    }
    
    #im-ext {
        font-size: 1.2rem;
    }
    
    #aboutheading {
        font-size: 5rem;
    }
    
    #skillheading, #projectheading, #findme {
        font-size: 3.5rem;
    }
    
    #about-me {
        text-align: justify;
        font-size: 1.1rem;
    }
    
    .skills-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        width: 90%;
        max-width: 350px;
    }
    
    .single-skill {
        padding: 0.5rem;
    }
    
    .single-skill i {
        font-size: 1.8rem;
    }
    
    .single-skill h3 {
        font-size: 1.1rem;
    }
    
    .item {
        width: 100%;
        max-width: 320px;
        min-height: 180px;
        padding: 1.2rem;
    }
    
    .item h1 {
        font-size: 1.3rem;
    }
    
    .item p {
        font-size: 1rem;
        max-height: 120px;
    }
    
    .link {
        font-size: 1rem;
        padding: 0.2rem 0.6rem;
    }
    
    #findme {
        font-size: 3rem;
    }
    
    .icons a {
        font-size: 3rem;
        padding: 1rem 1.5rem;
    }
    
    .container-2 {
        width: 95%;
    }

    .container-2 h1 {
        font-size: 3rem;
    }
    
    .item h1 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
}

/* Small mobile devices */
@media screen and (max-width: 375px) {
    #hi {
        font-size: 3.5rem;
    }
    
    #im {
        font-size: 2rem;
    }
    
    #aboutheading {
        font-size: 4rem;
    }
    
    #skillheading, #projectheading, #findme {
        font-size: 3rem;
    }
    
    .skills-list {
        max-width: 300px;
    }
    
    .single-skill i {
        font-size: 1.6rem;
    }
    
    .single-skill h3 {
        font-size: 1rem;
    }
    
    .icons a {
        font-size: 2.5rem;
        padding: 0.8rem 1.2rem;
    }
    
    .container-2 h1 {
        font-size: 2.5rem;
    }
}