/* For Full screen view in Smartphones (Ex: Iphone 14 pro) */

@media only screen and (max-width: 600px) {
    nav {
        margin: 27px auto 0;
        position: relative;
        width: 320px;
        height: 30px;
        background-color: #34495e;
        border-radius: 8px;
        font-size: 0;
    }
    nav a {
        line-height: 30px;
        height: 100%;
        font-size: 5px;
        display: inline-block;
        position: relative;
        z-index: 1;
        text-decoration: none;
        text-transform: uppercase;
        text-align: center;
        color: white;
        cursor: pointer;
    }
    nav .animation {
        position: absolute;
        height: 100%;
        top: 0;
        z-index: 0;
        transition: all .5s ease 0s;
        border-radius: 8px;
    }
    a:nth-child(1) {
        width: 28px;
    }
    a:nth-child(2) {
        width: 80px;
    }
    a:nth-child(3) {
        width: 50px;
    }
    a:nth-child(4) {
        width: 80px;
    }
    a:nth-child(5) {
        width: 80px;
    }
    nav .start-home, a:nth-child(1):hover~.animation {
        width: 28px;
        left: 0;
        background-color: #bc1a1a;
    }
    nav .start-Educational_Background, a:nth-child(2):hover~.animation {
        width: 80px;
        left: 28px;
        background-color: #d36728;
    }
    nav .start-Job_Experience, a:nth-child(3):hover~.animation {
        width: 50px;
        left: 108px;
        background-color: #e69e22;
    }
    nav .start-Research_And_Projects, a:nth-child(4):hover~.animation {
        width: 80px;
        left: 158px;
        background-color: #d2e622;
    }
    nav .start-Extra_Carriculam_Activity, a:nth-child(5):hover~.animation {
        width: 84px;
        left: 234px;
        background-color: #77e622;
    }

    body {
        margin: 100px;
        margin-top: 60px;
        font-size: 12px;
        font-family: sans-serif;
        background: #2c3e50;
    }

    h1 {
        text-align: center;
        margin: 40px 0 40px;
        font-size: 16px;
        color: #ecf0f1;
        text-shadow: 2px 2px 4px #000000;
        font-family: 'Cherry Swash', cursive;
    }

    h3 {
        text-align: center;
        margin: 40px 0 40px;
        font-size: 12px;
        color: #ecf0f1;
        text-shadow: 2px 2px 4px #000000;
        font-family: 'Cherry Swash', cursive;
    }

    p {
        bottom: 20px;
        width: 100%;
        text-align: justify;
        color: #ecf0f1;
        font-family: 'Cherry Swash',cursive;
        font-size: 8px;
    } 

    span {
        color: #2BD6B4;
    }

    .project {
        background-color: #607b96;
        margin: 65px;
        outline: 2px;
        outline-color: rgba(0, 0, 0, 0.541);
        outline-style: solid;
        box-shadow: 7px 7px rgba(25, 25, 26, 0.76);
        border-radius: 8px;
    }

    .project-1 {
        margin: 0%;
        padding: 8%;
        padding-top: 0px;
        text-align: justify;
    }

    footer {
        color: white;
        text-align: center;
        padding-top: 5%;
        font-size: 12px;
        text-shadow: 2px 3px 2px #000000d6;
    }

    #cisco {
        width: 0px;
    }

    #database {
        width: 0px;
    }

    #micro {
        width: 0px;
    }

    #oop {
        width: 0px;
    }

    #img-1 {
        width: 0px;
    }
}

/* For Full screen view in Small tablets, Large phone (Ex: Ipad Mini) */

@media only screen and (min-width: 600px) {
    nav {
        margin: 27px auto 0;
        position: relative;
        width: 438px;
        height: 40px;
        background-color: #34495e;
        border-radius: 8px;
        font-size: 0;
    }
    nav a {
        line-height: 40px;
        height: 100%;
        font-size: 6px;
        display: inline-block;
        position: relative;
        z-index: 1;
        text-decoration: none;
        text-transform: uppercase;
        text-align: center;
        color: white;
        cursor: pointer;
    }
    nav .animation {
        position: absolute;
        height: 100%;
        top: 0;
        z-index: 0;
        transition: all .5s ease 0s;
        border-radius: 8px;
    }
    a:nth-child(1) {
        width: 35px;
    }
    a:nth-child(2) {
        width: 100px;
    }
    a:nth-child(3) {
        width: 65px;
    }
    a:nth-child(4) {
        width: 105px;
    }
    a:nth-child(5) {
        width: 125px;
    }
    nav .start-home, a:nth-child(1):hover~.animation {
        width: 35px;
        left: 0;
        background-color: #bc1a1a;
    }
    nav .start-Educational_Background, a:nth-child(2):hover~.animation {
        width: 100px;
        left: 35px;
        background-color: #d36728;
    }
    nav .start-Job_Experience, a:nth-child(3):hover~.animation {
        width: 65px;
        left: 135px;
        background-color: #e69e22;
    }
    nav .start-Research_And_Projects, a:nth-child(4):hover~.animation {
        width: 105px;
        left: 200px;
        background-color: #d2e622;
    }
    nav .start-Extra_Carriculam_Activity, a:nth-child(5):hover~.animation {
        width: 135px;
        left: 305px;
        background-color: #77e622;
    }

    body {
        margin: 100px;
        margin-top: 60px;
        font-size: 12px;
        font-family: sans-serif;
        background: #2c3e50;
    }

    h1 {
        text-align: center;
        margin: 40px 0 40px;
        font-size: 30px;
        color: #ecf0f1;
        text-shadow: 2px 2px 4px #000000;
        font-family: 'Cherry Swash', cursive;
    }

    h3 {
        text-align: center;
        margin: 40px 0 40px;
        font-size: 18px;
        color: #ecf0f1;
        text-shadow: 2px 2px 4px #000000;
        font-family: 'Cherry Swash', cursive;
    }

    p {
        bottom: 20px;
        width: 100%;
        text-align: justify;
        color: #ecf0f1;
        font-family: 'Cherry Swash',cursive;
        font-size: 16px;
    } 

    span {
        color: #2BD6B4;
    }

    .project {
        background-color: #607b96;
        margin: 65px;
        outline: 2px;
        outline-color: rgba(0, 0, 0, 0.541);
        outline-style: solid;
        box-shadow: 7px 7px rgba(25, 25, 26, 0.76);
        border-radius: 8px;
    }

    .project-1 {
        margin: 0%;
        padding: 8%;
        padding-top: 0px;
        text-align: justify;
    }

    footer {
        color: white;
        text-align: center;
        padding-top: 5%;
        font-size: 12px;
        text-shadow: 2px 3px 2px #000000d6;
    }

    #cisco {
        width: 0px;
    }

    #database {
        width: 0px;
    }

    #micro {
        width: 0px;
    }

    #oop {
        width: 0px;
    }

    #img-1 {
        width: 0px;
    }
}

/* For Full screen view in Tablets (Ex: Ipad Air) */

@media only screen and (min-width: 768px) {
    nav {
        margin: 27px auto 0;
        position: relative;
        width: 534px;
        height: 44px;
        background-color: #34495e;
        border-radius: 8px;
        font-size: 0;
    }
    nav a {
        line-height: 44px;
        height: 100%;
        font-size: 8px;
        display: inline-block;
        position: relative;
        z-index: 1;
        text-decoration: none;
        text-transform: uppercase;
        text-align: center;
        color: white;
        cursor: pointer;
    }
    nav .animation {
        position: absolute;
        height: 100%;
        top: 0;
        z-index: 0;
        transition: all .5s ease 0s;
        border-radius: 8px;
    }
    a:nth-child(1) {
        width: 40px;
    }
    a:nth-child(2) {
        width: 130px;
    }
    a:nth-child(3) {
        width: 80px;
    }
    a:nth-child(4) {
        width: 135px;
    }
    a:nth-child(5) {
        width: 145px;
    }
    nav .start-home, a:nth-child(1):hover~.animation {
        width: 40px;
        left: 0;
        background-color: #bc1a1a;
    }
    nav .start-Educational_Background, a:nth-child(2):hover~.animation {
        width: 130px;
        left: 40px;
        background-color: #d36728;
    }
    nav .start-Job_Experience, a:nth-child(3):hover~.animation {
        width: 80px;
        left: 170px;
        background-color: #e69e22;
    }
    nav .start-Research_And_Projects, a:nth-child(4):hover~.animation {
        width: 135px;
        left: 250px;
        background-color: #d2e622;
    }
    nav .start-Extra_Carriculam_Activity, a:nth-child(5):hover~.animation {
        width: 150px;
        left: 385px;
        background-color: #77e622;
    }

body {
    margin: 100px;
    margin-top: 60px;
    font-size: 12px;
    font-family: sans-serif;
    background: #2c3e50;
}

h1 {
    text-align: center;
    margin: 40px 0 40px;
    font-size: 30px;
    color: #ecf0f1;
    text-shadow: 2px 2px 4px #000000;
    font-family: 'Cherry Swash', cursive;
}

h3 {
    text-align: center;
    margin: 40px 0 40px;
    font-size: 18px;
    color: #ecf0f1;
    text-shadow: 2px 2px 4px #000000;
    font-family: 'Cherry Swash', cursive;
}

p {
    bottom: 20px;
    width: 100%;
    text-align: justify;
    color: #ecf0f1;
    font-family: 'Cherry Swash',cursive;
    font-size: 16px;
} 

span {
    color: #2BD6B4;
}

.project {
    background-color: #607b96;
    margin: 65px;
    outline: 2px;
    outline-color: rgba(0, 0, 0, 0.541);
    outline-style: solid;
    box-shadow: 7px 7px rgba(25, 25, 26, 0.76);
    border-radius: 8px;
}

.project-1 {
    margin: 0%;
    padding: 8%;
    padding-top: 0px;
    text-align: justify;
}

footer {
    color: white;
    text-align: center;
    padding-top: 5%;
    font-size: 12px;
    text-shadow: 2px 3px 2px #000000d6;
}

#cisco {
    width: 0px;
}

#database {
    width: 0px;
}

#micro {
    width: 0px;
}

#oop {
    width: 0px;
}

#img-1 {
    width: 0px;
}
}

/* For minimize screen view in Laptops, Desktops (Ex: Asus Zenbook Fold) */

@media only screen and (min-width: 992px) {
    nav {
        margin: 27px auto 0;
        position: relative;
        width: 730px;
        height: 47px;
        background-color: #34495e;
        border-radius: 8px;
        font-size: 0;
    }
    nav a {
        line-height: 50px;
        height: 100%;
        font-size: 12px;
        display: inline-block;
        position: relative;
        z-index: 1;
        text-decoration: none;
        text-transform: uppercase;
        text-align: center;
        color: white;
        cursor: pointer;
    }
    nav .animation {
        position: absolute;
        height: 100%;
        top: 0;
        z-index: 0;
        transition: all .5s ease 0s;
        border-radius: 8px;
    }
    a:nth-child(1) {
        width: 60px;
    }
    a:nth-child(2) {
        width: 180px;
    }
    a:nth-child(3) {
        width: 115px;
    }
    a:nth-child(4) {
        width: 175px;
    }
    a:nth-child(5) {
        width: 185px;
    }
    nav .start-home, a:nth-child(1):hover~.animation {
        width: 55px;
        left: 0;
        background-color: #bc1a1a;
    }
    nav .start-Educational_Background, a:nth-child(2):hover~.animation {
        width: 185px;
        left: 56px;
        background-color: #d36728;
    }
    nav .start-Job_Experience, a:nth-child(3):hover~.animation {
        width: 115px;
        left: 241px;
        background-color: #e69e22;
    }
    nav .start-Research_And_Projects, a:nth-child(4):hover~.animation {
        width: 175px;
        left: 356px;
        background-color: #d2e622;
    }
    nav .start-Extra_Carriculam_Activity, a:nth-child(5):hover~.animation {
        width: 203px;
        left: 528px;
        background-color: #77e622;
    }

body {
    margin: 100px;
    margin-top: 60px;
    font-size: 12px;
    font-family: sans-serif;
    background: #2c3e50;
}

h1 {
    text-align: center;
    margin: 40px 0 40px;
    font-size: 30px;
    color: #ecf0f1;
    text-shadow: 2px 2px 4px #000000;
    font-family: 'Cherry Swash', cursive;
}

h3 {
    text-align: center;
    margin: 40px 0 40px;
    font-size: 18px;
    color: #ecf0f1;
    text-shadow: 2px 2px 4px #000000;
    font-family: 'Cherry Swash', cursive;
}

p {
    bottom: 20px;
    width: 100%;
    text-align: justify;
    color: #ecf0f1;
    font-family: 'Cherry Swash',cursive;
    font-size: 16px;
} 

span {
    color: #2BD6B4;
}

.project {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: #607b96;
    margin: 65px;
    outline: 2px;
    outline-color: rgba(0, 0, 0, 0.541);
    outline-style: solid;
    box-shadow: 7px 7px rgba(25, 25, 26, 0.76);
    border-radius: 8px;
}

.project-1 {
    margin: 2%;
    padding: 8%;
    text-align: justify;
}

footer {
    color: white;
    text-align: center;
    padding-top: 5%;
    font-size: 12px;
    text-shadow: 2px 3px 2px #000000d6;
}

#cisco {
    width: 310px;
    height: 370px;
}

#database {
    width: 310px;
    height: 370px;
}

#micro {
    width: 310px;
    height: 370px;
}

#oop {
    width: 310px;
    height: 400px;
}

#img-1 {
    width: 310px;
    height: 400px;
}
}

/* For Full Screen view in Monitors, Desktops */

@media only screen and (min-width: 1200px) {
        nav {
        margin: 27px auto 0;
        position: relative;
        width: 1000px;
        height: 50px;
        background-color: #34495e;
        border-radius: 8px;
        font-size: 0;
    }
    nav a {
        line-height: 50px;
        height: 100%;
        font-size: 15px;
        display: inline-block;
        position: relative;
        z-index: 1;
        text-decoration: none;
        text-transform: uppercase;
        text-align: center;
        color: white;
        cursor: pointer;
    }
    nav .animation {
        position: absolute;
        height: 100%;
        top: 0;
        z-index: 0;
        transition: all .5s ease 0s;
        border-radius: 8px;
    }
    a:nth-child(1) {
        width: 100px;
    }
    a:nth-child(2) {
        width: 220px;
    }
    a:nth-child(3) {
        width: 180px;
    }
    a:nth-child(4) {
        width: 240px;
    }
    a:nth-child(5) {
        width: 260px;
    }
    nav .start-home, a:nth-child(1):hover~.animation {
        width: 93px;
        left: 0;
        background-color: #bc1a1a;
    }
    nav .start-Educational_Background, a:nth-child(2):hover~.animation {
        width: 235px;
        left: 92px;
        background-color: #d36728;
    }
    nav .start-Job_Experience, a:nth-child(3):hover~.animation {
        width: 155px;
        left: 332px;
        background-color: #e69e22;
    }
    nav .start-Research_And_Projects, a:nth-child(4):hover~.animation {
        width: 240px;
        left: 505px;
        background-color: #d2e622;
    }
    nav .start-Extra_Carriculam_Activity, a:nth-child(5):hover~.animation {
        width: 260px;
        left: 745px;
        background-color: #77e622;
    }

    body {
        margin: 100px;
        margin-top: 60px;
        font-size: 12px;
        font-family: sans-serif;
        background: #2c3e50;
    }

    h1 {
        text-align: center;
        margin: 40px 0 40px;
        font-size: 30px;
        color: #ecf0f1;
        text-shadow: 2px 2px 4px #000000;
        font-family: 'Cherry Swash', cursive;
    }

    h3 {
        text-align: center;
        margin: 40px 0 40px;
        font-size: 18px;
        color: #ecf0f1;
        text-shadow: 2px 2px 4px #000000;
        font-family: 'Cherry Swash', cursive;
    }
    
    p {
        bottom: 20px;
        width: 100%;
        text-align: justify;
        color: #ecf0f1;
        font-family: 'Cherry Swash',cursive;
        font-size: 16px;
    } 

    span {
        color: #2BD6B4;
    }

    .project {
        display: grid;
        grid-template-columns: 1fr 1fr;
        background-color: #607b96;
        margin: 65px;
        outline: 2px;
        outline-color: rgba(0, 0, 0, 0.541);
        outline-style: solid;
        box-shadow: 7px 7px rgba(25, 25, 26, 0.76);
        border-radius: 8px;
    }
    
    .project-1 {
        margin: 2%;
        padding: 8%;
        text-align: justify;
    }

    footer {
        color: white;
        text-align: center;
        padding-top: 5%;
        font-size: 12px;
        text-shadow: 2px 3px 2px #000000d6;
    }

    #cisco {
        width: 550px;
    }
    
    #database {
        width: 550px;
    }
    
    #micro {
        width: 550px;
        height: 320px;
    }
    
    #oop {
        width: 550px;
        height: 350px;
    }

    #img-1 {
        width: 550px;
    }
}