@media only screen and (max-width: 863px) {
    .main-container {
        display: flex;
        justify-content: center;
        padding: 20px;
        flex-direction: column;
        padding: 4rem 2rem;
        width: 100%;
    }

    .right-side-boxes {
        width: 100%;
        text-shadow: 0 0 white;
    }

    .left-side-boxes {
        width: 100%;
        margin-right: 2em;
    }

    .left-side-boxes .experience {
        margin: 40px 36px;
    }
}

@media only screen and (max-width: 769px) {
    .info-text .info-heading {
        font-family: largefont;
        color: #612407;
        font-size: 3.3rem;
        word-wrap: normal;
        text-align: center;
    }

    .info-text{
        margin-bottom: 20px;
    }

    ul {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        position: absolute;
        top: 0;
        right: -800px;
        width: 100%;
        height: 100vh;
        transition: 0.6s all;
        background-color: #612307;
        border-radius: 10px;
    }

    .ul-links li{
        padding: 3rem 0rem;
    }

    .ul-links li a{
        font-size: 3rem;
        color: white;
    }

    #menu-close {
        display: initial;
        font-size: 40px;
        padding: 30px 0px 20px 20px;
        position: relative;
        left: 5rem;
        color: white;
    }

    #menu-btn {
        font-size: 25px;
        display: initial;
        color: black;
        margin-left: 8px;
    }

    ul.active {
        right: 0;
    }
}

@media only screen and (max-width: 671px) {
    #menu-close {
        left: 16rem;
    }
    .main-nav {
        width: 100%;
        display: flex;
        justify-content: center;
        background: rgba(211, 211, 211, 0);
        background-size: 300% 100%;
        animation: gradient 15s ease infinite;
        position: fixed;
        z-index: 1000;
    }
}

@media only screen and (max-width: 608px) {
    .info-text .info-heading {
        font-size: 3rem;
    }
}

@media only screen and (max-width: 500px) {
    .info-text .info-heading {
        font-size: 2.6rem;
        text-align: left;
    }

    .information-box {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }
    .navbar {
        width: 92%;
        display: flex;
        align-items: center;
        justify-content: space-around;
        background-color: rgba(211, 211, 211, 0.135);
        margin: 10px;
        border-radius: 5px;
        padding: 20px 10px;
        border: 1px solid rgba(40, 40, 40, 0.516);
    }
}

@media only screen and (max-width: 425px) {
    .info-text .info-heading {
        font-size: 2.2rem;
    }
    .skills p {
        font-size: 14px;
    }

}

@media only screen and (max-width: 572px) {
    #menu-close {
        left: 13rem;
    }
    .ul-links li a{
        font-size: 2.5rem;
    }
}

@media only screen and (max-width: 471px) {
    #menu-close {
        left: 10rem;
    }
    .ul-links li a{
        font-size: 2.3rem;
    }
}

@media only screen and (max-width: 377px) {
    #menu-close {
        left: 7rem;
    }
    .ul-links li a{
        font-size: 2rem;
    }
}

@media only screen and (max-width: 283px) {
    #menu-close {
        left: 5rem;
    }
    .ul-links li a{
        font-size: 1.9rem;
    }
}

@media only screen and (max-width: 801px) {
    .whyChooseSection {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .whyBox {
        padding: 30px;
    }
}

@media only screen and (max-width: 561px) {
    .whyBox {
        width: 102%;
    }
}

@media only screen and (max-width: 395px) {
    #menu-close {
        left: 7rem;
    }

    .skills p {
        margin: 7px 4px;
    }
} 

@media only screen and (max-width: 435px){
    .projectBox .imageProject .project-img {
        width: 21rem;
        border-radius: 7px;
    }
}

@media only screen and (max-width: 550px) {
    .contactInfo a {
        color: white;
        text-decoration: none;
        font-size: 1rem;
    }

    .contactInfo a {
        color: white;
        text-decoration: none;
        font-size: 1rem;
    }
}

@media only screen and (max-width: 427px) {
    .contactInfo a {
        color: white;
        text-decoration: none;
        font-size: 13px;
    }
}


@media only screen and (max-width: 360px) {
    .projectBox .imageProject .project-img {
        width: 18rem;
        border-radius: 7px;
    }

    .contactInfo p {
        font-family: mediumfont;
        font-size: 16px;
        word-wrap: normal;
    }

    .contactInfo a {
        color: white;
        text-decoration: none;
        font-size: 10px;
    }
}

@media only screen and (max-width: 570px) {
    .formBox form input {
        width: 30rem;
    }
    
    .formBox form textarea {
        width: 30rem;
    }
}

@media only screen and (max-width: 490px) {
    .formBox form input {
        width: 25rem;
    }

    .formBox form textarea {
        width: 25rem;
    }
}

@media only screen and (max-width: 420px) {
    .heading {
        margin-bottom: 1rem;
        text-align: left;
    }

    .formBox form input {
        width: 20rem;
    }

    .formBox form textarea {
        width: 20rem;
    }
}

@media only screen and (max-width: 346px) {
    .formBox form input {
        width: 16rem;
    }

    .formBox form textarea {
        width: 16rem;
    }
}