@media only screen and (max-width: 1366px){
    .home-content, .about-content{
        padding: 50px;
    }
    .home-bubbles{
        max-width: 100vw;
    }
    .about-right{
        width: 50%;
        padding-right: 70px;
    }
}

@media only screen and (max-width: 992px){
    header{
        padding: 20px;
    }
    .logo{
        transform: scale(0.7);
    }
    .hd-1 .hd-word span{
        font-size: 48px;
    }
    .about-cube{
        display: none;
    }
    .rising-cube-holder{
        width: 600px;
        height: 400px;
    }
    .about-left{
        padding-right: 50px;
    }
    .skills .langs .item i{
        font-size: 46px;
        padding: 0 10px;
    }
    .skills .tag p{
        font-size: 20px;
        padding: 0 20px;
    }
    .contact-right{
        padding-right: 100px;
    }
    .cv-screen{
        height: 350px;
        width: 300px;
    }
    .cv-screen h3, .contact-right h2{
        font-size: 24px;
    }
    .contact-overlay .cube-grid{
        right: 200px;
        bottom: 250px;
    }
}

@media only screen and (max-width: 768px){
    html {
        scroll-behavior: smooth !important;
        scroll-snap-type: none;
    }
    aside{
        display: none;
    }
    section{
        height: auto;
    }
    .home-bg-overlay{
        height: 100%;
    }
    .home-bubbles{
        display: none;
    }
    .home-content{
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
        position: relative;
        height: auto;
    }
    .home-content .home-left{
        width: 100%;
        padding-bottom: 0;
    }
    .home-content .home-right{
        width: 100%;
        transform: rotateY(0deg);
        height: 500px;
    }
    .home-right .screen{
        margin-right: 50px;
        margin-top: 180px;
    }
    .home-right .screen.screen4{
        top: 120px;
        right: 100px;
    }
    .about-content{
        flex-direction: column;
        gap: 70px;
    }
    .about-left, .about-right{
        width: 100%;
    }
    .rising-cube-holder{
        height: 300px;
        width: 250px;
        overflow: visible;
        bottom: 10%;
        z-index: 1;
        left: -20%;
    }
    .skills-content{
        padding: 0 50px;
        position: relative;
    }
    .bouncing-cube-container{
        top: 70%;
    }
    .contact-content{
        flex-direction: column;
        position: relative;
        padding: 0 50px;
    }
    .contact-left{
        display: none;
    }
    .contact-right{
        width: 100%;
    }
    .contact-right h2{
        font-size: 30px;
    }
    .contact-dots{
        display: none;
    }
    .about, .skills, .contact{
        position: relative;
        height: auto;
        padding: 0;
        padding-top: 80px;
        padding-bottom: 80px;
        width: 100% !important;
    }
}

@media only screen and (max-width: 480px){
    header{
        padding: 20px;
    }
    header .logo{
        transform: scale(0.6);
        margin-left: -20px;
    }
    header nav .button{
        font-size: 16px;
    }
    .home-content, .about-content, .skills-content, .contact-content{
        padding: 20px;
    }
    .home-content .home-right{
        width: 100%;
        perspective: none;
    }
    .home-content .home-right .screen{
        transform: scale(0.8);
        margin-right: 0;
    }
    .home-content .home-right .screen.screen1{
        transform: scale(0.6);
        left: -50px;
    }
    .home-content .home-right .screen.screen2{
        margin-left: -50px;
    }
    .hd-1 .hd-word span{
        font-size: 36px;
    }
    .rising-cube-holder{
        display: none;
    }
}

@media only screen and (max-width: 360px){
    header{
        padding: 0;
        padding-right: 10px;
    }
    header .logo{
        transform: scale(0.5);
        margin-left: -30px;
    }
    .home-content .home-right{
        width: 100%;
        height: 400px;
    }
    .home-content .home-right .screen{
        transform: scale(0.6);
        margin-right: 0;
    }
    .home-content .home-right .screen.screen1{
        transform: scale(0.45);
        left: -70px;
    }
    .home-content .home-right .screen.screen2{
        margin-left: -50px;
    }
    .home-content .home-right .screen.screen3{
        right: -40px;
    }
    .home-content .home-right .screen.screen4{
        right: 30px;
        top: 50px;
    }
    .contact-right h2{
        font-size: 22px;
    }
    .about-left, .about-right{
        padding-right: 0;
    }
}