@media (max-width: 750px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        top: 0;
        width: 100%;
        border-radius: 0;
        background: linear-gradient(to bottom,rgba(25, 25, 25, 0.8) 0%, #0f0f0f 100%);
        backdrop-filter: blur(64px);
    }

    .metal-brush-nav {
        margin-top: .5rem;
        margin-bottom: .5rem;
        margin-left: .3rem;
    }

    .toggle-button {
        display: flex;
    }

    .navbar-links {
        display: none;
        width: 100%;
    }

    .navbar-links ul {
        width: 100%;
        flex-direction: column;
    }

    .navbar-links ul li {
        text-align: center;
    }

    .navbar-links ul li a {
        padding: .5rem 1rem;
        top: 1rem;
    }

    .navbar-links.active {
        display: flex;
    }

    .home-container section {
        flex-direction: column;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }
    
    .metal-brush-s {
        display: none;
    }

    .about-text {
        flex-direction: column;
        margin-bottom: .5rem;
    }

    .carousel-contents {
        animation: scroll 20s linear infinite;
    }
    .text-right {
        margin: 0;
    }
    .text-left {
        margin: 0;
    }
    .contact-content {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        display: flex;
        gap: 1rem;
    }
    .contact {
        max-width: 100rem;
        display: flex;
        flex-direction: row;  
        flex-wrap: wrap;  
        white-space: nowrap;
        justify-content: center;
    }
    .personal-info {
        max-width: 100rem;
        display: flex;
        flex-direction: row;
    }
    .personal-info h2 {
        padding-right: 1rem;
    }
}

@media (max-width: 1030px) {
    .photos-carousel {
        overflow: scroll;
    }
    .photos-carousel::-webkit-scrollbar {
        display: none;
    }
    .photos {     
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
    }
    .photos span {
        transform: none;
        margin: 0 auto;
    }
    .photos span:hover {
        transform: none;
        margin: 0;
    }
    
        .content {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .content section {
        margin: 1rem;
    }
    #a2 {
        flex-direction: row-reverse;
        flex-wrap: wrap-reverse;
    }
        .skill-text {
        flex-direction: column;
    }

}

@media (max-width: 1100px) {
        .info-text {
        flex-direction: column;
    }
}

@media (max-width: 575px) {
    #a1 {
        background: linear-gradient(to top, #60974F 0%, #0f0f0f00 90%);
    }
    #a2 {
        background: linear-gradient(to top, #3366B3 0%, #0f0f0f00 90%);
    }
    #a3 {
        background: linear-gradient(to top, #C57321 0%, #0f0f0f00 90%);
    }
    .content section img {
        flex-wrap: nowrap;
        flex-shrink: 0;
        display: flex;
        align-items: center;
    }
}