@media only screen and (max-width: 1024px) {
    /* from 1224 to 1024 */
    
    * {
         -o-transition-property: none !important;
      -moz-transition-property: none !important;
      -ms-transition-property: none !important;
      -webkit-transition-property: none !important;
      transition-property: none !important;
      /*CSS transforms*/
      -o-transform: none !important;
       -moz-transform: none !important;
       -ms-transform: none !important;
       -webkit-transform: none !important;
       transform: none !important;
       /*CSS animations*/
       -webkit-animation: none !important;
       -moz-animation: none !important;
       -o-animation: none !important;
       -ms-animation: none !important;
       animation: none !important;
    }
    .media-only {
        display: block;
        color: #45d4ff;
        font-size: 20px;
        line-height: 20px;
        margin-top: 10px;
    }
    h3.section-title {
        padding: 0px 0 25px 0;
    }
    .navigation a span.link-text {
        display: none;
    }
    .fa.fa-bank, .fa-envelope, .fa-gears, .fa-github {
        padding-right: 20px;
    }
    .navigation .fa-pie-chart, .navigation .fa-user, .navigation .fa-rocket, .navigation .fa-graduation-cap , .navigation .fa-home {
        padding-right: 30px;
    }
    /*.fa-rocket { padding-right: 50px;  display: none;}*/
    
    .desktop-only {
        display: none;
    }
    .title {
        color: #45d4ff;
    }
    .underline {
        width: 100%;
    }
    h1 {
        font-size: 24px;
        margin-bottom: 5px;
    }
    div.container {
        max-width: 100%;
    }
    div.container p {
        margin-bottom: 20px;
    }
    #curveDownColor, #curveUpColor {
        display: none;
    }
    .konami-code {
        display: none;
    }
    footer {
        font-size: 12px;
        padding: 20px 0 10px 0px;
    }
    footer .fa-envelope,  footer .fa-github {
      padding-right: 5px;
    }
    .sticky {
        width: 100vw;
    }
    .timeline::before {
        display: none;
    }
    #myskills, #education, #portfolio, #about {
        height: auto;
        margin-bottom: 5%;
    }
    #myskills h3.section-title, #education h3.section-title {
        padding-top: 40px;
    }
    .timeline-img, .timeline-img1 {
        display: none;
    }
    .timeline .timeline-block {
        margin: 0;
        text-align: center;
        width: initial;
    }
    .contact-btns {
        margin-top: 80px;
    }
    #portfolio .column .summary {
        margin-top: 0;
        margin-left: 0;
        opacity: 1;
        height: 110px;
        font-size: 18px;
        padding: 15px 15px 0 25px;
        width: 100%;
        text-align: left;
    }
    #portfolio .column {
        margin-top: 0;
    }
    div.container .summary p {
        margin-bottom: 0;
    }
    #heading-title .media-only {
        font-weight: bold;
    }
    .bg-profile {
        background: none;
    }
    #heading-title {
       
        left:0%;
        width:initial;
    }
    .row .col , .timeline {
        
        font-size: 20px;
    }
    
}
/* Navigation for Smartphones only (changed from 800 to 1023 , back to 768 since its affecting ipads potrait) */

@media only screen and (max-width: 767px) {
    .navigation {
        position: fixed;
        top: 0;
        left: 0;
    }
    
    .arrow-down {
        display: none;
    }
    div.row.donuts > div {
        float: none;
    }
    #portfolio .column.ptop-25 {
        padding: 0;
    }
    
}
/* Smartphones (portrait and landscape) ----------- */

@media only screen and (min-width: 320px) and (max-width: 480px) {
    /* Styles */
    
    #myskills .row {
        margin-left: 0%;
    }
    .main-bg {
        background-position: 50% 0px;
        background-attachment: initial;
    }
    #heading-title {
        margin: 0px 0 0 5%;
        top: 30%;
        left:0%;
        width:initial;
    }
    #portfolio .column .summary {
        padding: 15px 15px 25px 0;
    }
    
    
    .navigation {
        padding: 10px 0 0 0 !important;
        height: 40px;
        border-radius: 0;
    }
    .navigation ul li {
        padding-left: 5px;
    }
    .navigation ul li a {
        font-size: 15px;
        position: relative;
    }
    .navigation ul {
        /*margin: 0px 0 0 15%;*/
        padding-top: 5px;
    }
    .row .col {
        width: 85%;
        padding-left: 7%;
        padding-top: 5%;
        font-size: 20px;
    }
     h3.section-title {
        width: inherit;
    }
    .fa.fa-download {
        padding-right: 5%;
    }
    /*#myskills , #education , #portfolio, #about {height: auto; margin-bottom: 10%; }*/
    
    #portfolio .column {
        width: inherit;
        margin-left: 20px;
    }
    #education .contact-btns {
        padding-bottom: 30px;
    }
    .contact-btns .fa-2x {
        font-size: 1.5em;
    }
    .contact-btns .resume {
        margin-right: 15px;
          font-size: 0.8em;
    }
    .contact-btns .fa-linkedin-square, .contact-btns .fa-github {
        margin-right: 5px;
    }
    .arrow-up {
        margin-left: 45%;
    }
}
/* Smartphones (landscape) ----------- */

@media only screen and (min-width: 320px) and (max-width: 480px) and (orientation: landscape) {
    #heading-title {
        margin: 0 0 0 24%;
        top: 10%;
    }
    #myskills .row {
        margin-left: 18%;
    }
    
    .navigation ul {
        margin: 0px 0 0 15%;
    }
    #portfolio .column {
        width: 55%;
    }
    
}
/* iPhone 4 (landscape) ----------- */

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {
    /* Styles */
    
    #heading-title {
        margin: 0 0 0 23% !important;
        top: 30% !important;
    }
    
}
/* iPhone 5 (landscape) ----------- */

@media only screen and (min-device-width: 481px) and (max-device-height: 568px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2) {
    /* Styles */
    
    #heading-title {
        margin: 0 0 0 26%;
        top: 30%;
    }
    #myskills .row {
        margin-left: 23%;
    }
    .main-bg {
        background-position: 50% 0px;
        background-attachment: initial;
    }
    .navigation {
        padding: 10px 0 0 0 !important;
        height: 40px;
        border-radius: 0;
    }
    .navigation ul li {
        padding-left: 5px;
    }
    .navigation ul li a {
        font-size: 15px;
        position: relative;
    }
    .navigation ul {
        margin: 0 0 0 15%;
        padding-top: 5px;
    }
    h3.section-title {
        width: inherit;
    }
    
    #portfolio .column {
        width: 55%;
    }
    
    #education .contact-btns {
        padding-bottom: 30px;
    }
    
    .navigation .fa-pie-chart, .navigation .fa-user, .navigation .fa-rocket, .navigation .fa-graduation-cap , .navigation .fa-home {
        padding-right: 45px;
    }
}
/* iPhone 6 (portrait) ----------- */

@media only screen and (min-width: 375px) and (max-height: 667px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2) {
    /* Styles */
    
    #heading-title {
        margin: 0 0 0 12%;
    }
    #myskills .row {
        margin-left: 11%;
    }
    .navigation ul {
        margin: 0px 0 0 5%;
    }
    
    #portfolio .column {
        width: 65%;
    }
    
}
/* iPhone 6 (landscape) ----------- */

@media only screen and (min-device-width: 569px) and (max-device-height: 667px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2) {
    /* Styles */
    
    div.container {
        max-width: 60%;
    }
   
    #heading-title {
        margin: 0 0 0 28%;
        top: 30%;
    }
    #myskills .row {
        margin-left: 15%;
    }
    .main-bg {
        background-position: 50% 0px;
    }
    .navigation {
        padding: 10px 0 0 0 !important;
        height: 40px;
        border-radius: 0;
    }
    .navigation ul li {
        padding-left: 5px;
    }
    .navigation ul li a {
        font-size: 15px;
        position: relative;
    }
    .navigation ul {
        margin: 0 0 0 20%;
        padding-top: 5px;
    }
    h3.section-title {
        width: inherit;
    }
    
    #portfolio .column {
        width: inherit;
    }
    .timeline-img, .timeline-img1 {
        display: none;
    }
    .timeline .timeline-block {
        margin: 0;
        text-align: center;
    }
    #education .contact-btns {
        padding-bottom: 30px;
    }
    .contact-btns {
        margin-top: 100px;
    }
    #about .row .col {
        padding-left: 0%;
        width: 100%;
    }
    footer {
        font-size: 15px;
    }
    #portfolio .column {
        width: 76%;
        word-spacing: word-wrap;
    }
    
}
/* iPhone 6+ (landscape) ----------- */

@media only screen and (min-device-width: 668px) and (max-device-height: 736px) and (orientation: landscape) {
    /* Styles */
    
    div.container {
        max-width: 60%;
    }
    
    #heading-title {
        margin: 0 0 0 32%;
        top: 30%;
    }
    #myskills .row {
        margin-left: 15%;
    }
    .main-bg {
        background-position: 50% 0px;
    }
    .navigation {
        padding: 10px 0 0 0 !important;
        height: 40px;
        border-radius: 0;
    }
    .navigation ul li {
        padding-left: 5px;
    }
    .navigation ul li a {
        font-size: 15px;
        position: relative;
    }
    .navigation ul {
        padding-top: 5px;
        margin-left: 27%
    }
    
    #portfolio .column {
        width: inherit;
    }
    .timeline-img, .timeline-img1 {
        display: none;
    }
    .timeline .timeline-block {
        margin: 0;
        text-align: center;
    }
    #education .contact-btns {
        padding-bottom: 30px;
    }
    .contact-btns {
        margin-top: 100px;
    }
    #about .row .col {
        padding-left: 0%;
        width: 100%;
    }
    footer {
        font-size: 15px;
    }
}
/* iPhone 6+ (portrait) ----------- */

@media only screen and (min-device-width: 414px) and (max-device-height: 736px) and (orientation: portrait) {
    /* Styles */
    
    #heading-title {
        margin: 0 0 0 8%;
        top: 30%;
    }
    #myskills .row {
        margin-left: 15%;
    }
    .navigation ul {
        margin: 0px 0 0 25%;
    }
    
    #portfolio .column {
        width: 65%;
    }
    
}
/* Samsung Galaxy S4 (portrait) ----------- */

@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 3) {
    /* Styles */
    
    #heading-title {
        margin: 0 0 0 10%;
    }
    #myskills .row {
        margin-left: 7%;
    }
    .navigation ul {
        margin: 0 0 0 5%;
    }
    
}
/* iPads (portrait and landscape) ----------- */

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    /* Styles */
    
    h1 {
        font-size: 32px;
    }
    #heading-title {
        margin: 0 0 0 33%;
        top: 10%;
    }
    .main-bg {
        background-position: 50% 0px;
        background-attachment: initial;
    }
    .arrow-down {

        top: 70%;
        font-size: 15px;
        left: 47%;
    }
    .navigation ul {
        margin: 0px 0 0 18%;
    }
    
    
    
    #myskills .row {
        margin-left: 10%;
    }
    #myskills {
        overflow: auto;
    }
    #education .contact-btns {
        padding-bottom: 30px;
    }
    #portfolio .column .summary {
        padding: 15px 15px 0 5px;
    }
    
    /*#portfolio .column {
        width: 65%;
    }*/
}
/* iPads (landscape) ----------- */

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
    /* Styles */
    
    #heading-title {
        margin: 0 0 0 27%;
        top: 15%;
    }
    #portfolio .column {
        width: 32%;
    }
    .ptop-25 {
        padding: 0;
    }
    .navigation ul {
        margin: 0px 0 0 7%;
    }
    #myskills .row {
        margin-left: 15%;
    }
}
/* Nexus 7 (landscape) ----------- */

@media only screen and (min-device-width: 770px) and (max-device-width: 960px) and (orientation: landscape) {
    .navigation ul {
        margin: 0px 0 0 30%;
    }
    
    .navigation ul li a {
        font-size: inherit;
    }
    .navigation ul li {
        padding-left: inherit;
    }
    .navigation {
        padding: 15px 0 !important;
        height: 25px;
        border-radius: 0 0 80px 80px;
    }
    .navigation .fa.fa-2x.fa-home {
        margin-top: -12px;
    }
    #myskills .row {
        margin-left: 5%;
    }
    #portfolio .column {
        width: 60%;
    }
}
/* Nexus 7 (portrait) ----------- */

@media only screen (min-width: 500px) and (max-width: 603px) and (orientation: portrait) {
    #heading-title {
        margin: 0px 0 0 28%;
        top: 20%;
    }
    .navigation ul {
        margin: 0px 0 0 14%;
    }
    
    #myskills .row {
        margin-left: 25%;
    }
    #portfolio .column {
        width: 50%;
    }
}
