@media (min-width: 1650px) {
    .container,
    .container-lg,
    .container-xl,
    .container-xxl {
        max-width: 1290px !important;
    }
}
@media (max-width: 1199px) {
    .gallery-item {
        width: 330px;
    }
    .Neque {
        margin-bottom: 50px;
    }
}
@media (max-width: 1199px) {
    #mainHeader {
        position: sticky;
        top: 30px;
        z-index: 500;
    }
    .list-menu {
        margin-bottom: 0;
        padding: 0px 20px 30px 20px;
        background: none;
        box-shadow: none;
        border-radius: none;
        backdrop-filter: none;
        border: none;
    }
    body.dark-mode header {
        position: relative;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
        border-radius: 20px;
        background: #1b2734ad;
        border: 1px solid #eb83032e;
        overflow: hidden;
    }
    body.dark-mode header::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(30, 31, 33, 0.4);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        z-index: -1;
        border-radius: inherit;
    }
    header {
        position: relative;
        background: 0 0;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.18);
    }
    header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.4);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        z-index: -1;
        border-radius: inherit;
    }
    .menu-toggle-button {
        display: block;
    }
    .menu-toggle-button {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0, rgba(0, 0, 0, 0.3) 100%);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        border: none;
        cursor: pointer;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .side-menu-container {
        position: relative;
    }
    .side-menu-main {
        position: fixed;
        top: 0;
        padding-top: 50px;
        left: -300px;
        width: 300px;
        height: 100%;
        transition: left 0.3s ease;
        z-index: 500;
        background: #1b2734ad;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
        backdrop-filter: blur(9px);
        border: 1px solid #eb83032e;
        overflow: hidden;
    }
    .side-menu-main.show {
        padding-top: 15%;
        left: 0;
    }
    .hamburger .line {
        width: 25px;
        height: 2px;
        background-color: #fff;
        display: block;
        margin: 6px auto;
        -webkit-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }
    .hamburger:hover {
        cursor: pointer;
    }
    #hamburger-1.is-active .line:nth-child(2) {
        opacity: 0;
    }
    #hamburger-1.is-active .line:nth-child(1) {
        -webkit-transform: translateY(8px) rotate(48deg);
        -ms-transform: translateY(8px) rotate(48deg);
        -o-transform: translateY(8px) rotate(48deg);
        transform: translateY(8px) rotate(48deg);
    }
    #hamburger-1.is-active .line:nth-child(3) {
        -webkit-transform: translateY(-8px) rotate(-48deg);
        -ms-transform: translateY(-8px) rotate(-48deg);
        -o-transform: translateY(-8px) rotate(-48deg);
        transform: translateY(-8px) rotate(-48deg);
    }
    .gallery-item {
        width: auto;
    }
    #progress {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
    }
    .Neque {
        margin-bottom: 72px;
    }
    .basic-plain-box-sub {
        padding: 40px 40px;
        max-width: 220px;
    }
}
@media(max-width:991px){
    .side-menu-main.show {
        padding-top: 30%;
        left: 0;
    }
}
@media (max-width: 991px) {
    .section-five,
    .section-four,
    .section-nine,
    .section-one,
    .section-six,
    .section-two {
        padding: 40px;
    }
    .hi-there {
        text-align: center;
    }
    .creative {
        font-size: 40px;
        line-height: 50px;
        padding-bottom: 10px;
        text-align: center;
    }
    .visionary {
        text-align: center;
        padding: 0 20px;
    }
    .section-one-row {
        gap: 30px 0;
    }
    .download-btn {
        justify-content: center;
    }
    .portfolio-girl-img-col {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }
    header {
        margin: 20px 0;
    }
    #mainHeader {
        position: sticky;
        top: 20px;
    }
    .arya-stack-about {
        font-size: 40px;
        line-height: 50px;
        max-width: 100%;
        text-align: center;
    }
    .WebExperts {
        padding-top: 13px;
        text-align: center;
    }
    .yer-exp-box-main {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        margin-top: 20px;
        align-items: center;
    }
    .section-two .row {
        gap: 25px 0;
    }
    .self-taught-col {
        padding-left: 15px;
    }
    .self-taught {
        font-size: 19px;
        line-height: 28px;
        padding-bottom: 15px;
        text-align: center;
    }
    .about-col {
        border-right: none;
    }
    .gallery-item {
        width: 298px;
    }
    .gallery {
        gap: 0 20px;
    }
    .gallery-item3 {
        margin-top: -90px;
    }
    .coding-skill-section {
        padding: 40px 0;
    }
    .Neque {
        margin-bottom: 20px;
    }
    .resume-sec-row {
        gap: 30px;
    }
    .rights-reserved {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-direction: column-reverse;
        gap: 10px;
        text-align: center;
    }
    .home-media-icon-main-head {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }
}
@media (max-width: 767px) {
    .section-five,
    .section-four,
    .section-nine,
    .section-one,
    .section-six,
    .section-two {
        padding: 30px 15px;
        margin-bottom: 20px;
    }
    footer {
        margin-bottom: 20px;
    }
    .hire-me-btn {
        display: none;
    }
    .logo {
        width: 200px;
    }
    header {
        padding: 10px 15px;
    }
    .creative {
        font-size: 34px;
        line-height: 45px;
        padding-bottom: 5px;
        text-align: center;
    }
    .download-btn {
        display: flex;
        align-items: start;
        margin-top: 25px;
    }
    .arya-stack-about {
        font-size: 34px;
        line-height: 40px;
    }
    .gallery-item {
        width: auto;
        margin-bottom: 0;
    }
    .gallery {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px 0;
    }
    .gallery-item3 {
        margin-top: 0;
    }
    .coding-skill-section {
        padding: 30px 0;
    }
    .testimonial-box {
        flex-wrap: wrap;
        margin-top: 20px;
    }
    ul.slick-dots {
        margin-top: 20px;
    }
    .client-img {
        width: 50px;
        height: auto;
        object-fit: cover;
    }
    .section-title {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 30px 0 20px 0;
    }
    .am-text-main p {
        font-size: 22px;
    }
    .aryaBtn-toggle-main {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 20px;
    }
    .input-main {
        display: flex;
        align-items: center;
        gap: 30px;
        margin-bottom: 30px;
        margin-top: 30px;
        flex-direction: column;
    }
    .submit-btn-main {
        display: flex;
        align-items: center;
        justify-content: start;
        margin-top: 40px;
    }
}
@media (max-width: 575px) {
    .girl-name {
        position: absolute;
        left: 10px;
        bottom: 30px;
        padding: 7px 16px;
        height: 38px;
    }
    .girl-name p {
        font-size: 16px;
    }
    .content-img {
        border-radius: 20px;
    }
    .gallery-main-card {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }
    .text-gallery {
        margin-bottom: 15px;
        margin-top: 0;
    }
    .small_yellow_border_main {
        padding-left: 15px;
    }
}
@media screen and (min-width: 992px) and (max-width: 1199px) {
    .skills-columns {
        gap: 25%;
    }
}
@media screen and (max-width: 991px) {
    .skills-columns {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
}
@media screen and (min-width: 768px) and (max-width: 991px) {
    .skill-row {
        padding: 0 110px 0 110px;
        width: 600px;
    }
}
@media (max-width: 767px) {
    .skill-dots {
        justify-content: space-between;
    }
    .skill-row {
        padding: 0;
        width: 320px;
    }
}
@media (max-width: 1024px) {
    .contact-1 {
        padding: 20px;
    }
}
@media (max-width: 768px) {
    .contact-buttons {
        width: 340px;
    }
    .linha.line1 .button-wrapper {
        width: 165px;
    }
    .linha.line2 .button-wrapper {
        width: 106.66px;
    }
}
@media (max-width: 768px) {
    .form {
        flex-direction: column;
    }
    .email-form-container {
        flex-direction: column;
    }
    .form-col-right {
        width: 100%;
        height: 50px;
        margin-top: 20px;
    }
    .send-btn {
        height: 50px;
    }
}
@media (max-width: 1024px) {
    .side-menu-ul li#portfolio-item {
        display: none;
    }
}
@media (max-width: 1199px) {
    .bottom-top-button {
        display: none !important;
    }
}
@media (min-width: 1199px) {
    #portfolio-fixed {
        display: none;
    }
}
@media (max-width: 1199px) {
    #portfolio-fixed {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 1000;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }
    #portfolio-button {
        display: none;
    }
}
@media (max-width: 768px) {
    .ux-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .gift-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}
@media (max-width: 991px){
    .container-desktop{
        display: none;
    }
    .container-mobile{
        display: block;
    }
}


@media (max-width: 1100px) {
    .viewers-container {
        flex-direction: column;
        align-items: stretch; /* Remove o alinhamento central */
        overflow-x: hidden;
        padding:  0 250px;
        gap: 10px;
    }
    
    .viewer {
        width: 90%;
        max-width: 280px;
        height: 50px;
        min-width: auto;
        margin-bottom: 0;
        align-self: flex-start; /* Padrão para ímpar (esquerda) */
    }

    /* Alterna a posição para viewers pares */
    .viewer:nth-child(even) {
        align-self: flex-end; 
  }

    /* Ajuste para garantir que não encostem nas bordas */
    .viewer:nth-child(odd) {
        margin-left: 10px;
    }
    .viewer:nth-child(even) {
        margin-right: 10px;
    }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 1000px) {
    .viewer {
        width: 85%;
        height: 50px;
    }
  .viewers-container {
        padding:  0 180px;
        gap: 10px;
    }
}
@media (max-width: 850px) {
    .viewer {
        width: 85%;
        height: 50px;
    }
  .viewers-container {
        padding:  0 140px;
        gap: 10px;
    }
}
@media (max-width: 768px) {
    .viewer {
        width: 85%;
        height: 50px;
    }
  .viewers-container {
        padding:  0 100px;
        gap: 10px;
    }
}
@media (max-width: 600px) {
    .viewer {
        width: 60%;
        height: 50px;
    }
  .viewers-container {
        padding:  0;
        gap: 5px;
    }
}
@media (max-width: 1200px) {
.testimonials__quotemark svg {
    width: 100%;
    }
}