@import url('https://fonts.googleapis.com/css2?family=Baloo+Bhaijaan+2:wght@400..800&family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900&family=Source+Code+Pro:ital,wght@0,200..900&display=swap');

/* Apply box-sizing globally */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body,
html {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    /* Hide horizontal scrollbar */
    scroll-behavior: smooth;
    /* Ensure smooth scrolling */
}

body {
    background: url(img/background.jpg), #f0f0f0;
    /* Fallback color */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    font-family: "Poppins", system-ui;
}

/* Navbar Design */
.navbar {
    height: 10vh;
    width: 100%;
    /* Prevent overflow */
    background-color: rgb(215, 215, 221);
    display: flex;
    justify-content: end;
    align-items: center;
    position: fixed;
    top: 0;
    z-index: 1;
    font-size: 20px;
}

.navbar .p1 {
    position: absolute;
    left: 8%;
    font-size: 27px;
    font-weight: bold;
}

.navbar ul {
    display: flex;
    gap: 30px;
    position: absolute;
    right: 4%;
}

.navbar ul li {
    list-style: none;
    font-weight: bold;
    cursor: pointer;
}

.navbar ul li a {
    text-decoration: none;
    color: #000000;
}

.navbar ul li a:hover {
    color: #333;
    /* Add hover effect for better UX */
}

/* Homepage Design */
.homepage {
    max-height: 100vh;
    /* Ensure content adapts to screen size */
    width: 100%;
    /* Changed to prevent overflow */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0;
    padding-top: 90px;
}

.homeContainer {
    height: 65vh;
    width: 90vw;
    margin: auto;
    display: flex;
    color: white;
    gap: 30px;
}

.DevInfo {
    margin-top: 40px;
    padding: 10px;
    font-family: "Source Code Pro", system-ui;
}

.DevInfo .hello {
    font-size: 50px;
}

.DevInfo .name {
    font-size: 60px;
    font-weight: 600;
}

.DevInfo .job {
    font-size: 40px;
}

.DevInfo .abt {
    font-size: 25px;
    margin-top: 20px;
    font-family: "PT Serif", system-ui;
}

.buttons {
    margin-top: 10px;
    padding: 10px;
    padding-left: 0;
}

.resume-btn {
    height: 45px;
    width: 180px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    font-family: "Source Code Pro", system-ui;
    background-color: rgb(238, 232, 223);
    cursor: pointer;
    border: none;
    /* Remove border */
    transition: all 0.3s ease;
    /* Smooth transition */
    display: inline-block;
    /* Ensure inline layout */
}

.resume-btn a {
    text-decoration: none;
    color: inherit;
    /* Inherit color from button */
    display: block;
    /* Fill the entire button */
    height: 100%;
    width: 100%;
    line-height: 45px;
    /* Vertically center text */
    text-align: center;
    /* Horizontally center text */
}

.resume-btn:hover {
    background-color: rgb(51, 47, 47);
    color: white;
    transform: scale(1.05);
    /* Slight scaling on hover */
}


.devpic img {
    margin-top: 25%;
    border-radius: 10px;
}

.social-logo {
    display: flex;
    justify-content: left;
    margin-left: 5%;
    margin-top: 50px;
    gap: 30px;
    padding: 15px;
}

.social-logo img {
    background-color: rgba(189, 199, 201, 0.73);
    height: 40px;
    border-radius: 10px;
}

.end-line1 {
    height: 6px;
    width: 100%;
    background-color: rgb(75, 68, 69);
    position: relative;
    bottom: -5px;

}

/* About Page Design */
#About {
    width: 100%;
    /* Prevent overflow */
    max-height: 100vh;
    /* Dynamic height based on content */
    color: white;
    margin: 0;
    padding-top: 35px;
}

.aboutcontainer {
    width: 95%;
    height: 90vh;
    margin: auto;
    padding-top: 40px;
    font-family: "Source Code Pro", system-ui;
}

.aboutcontainer div {
    margin-top: 5px;
    padding-top: 5px;
    padding: 10px;
}

.aboutcontainer div h1 {
    font-size: 20px;
}

.aboutcontainer div p {
    padding: 8px;
}

.end-line2 {
    height: 6px;
    width: 100%;
    /* Prevent overflow */
    background-color: rgb(75, 68, 69);
    position: relative;
    bottom: -25px;
}


/* Skill Page Design  */
#Skills {
    width: 100%;
    max-height: 90vh;
    color: white;
    margin: 0;
    padding-top: 60px;
    font-family: "PT Serif", system-ui;
}

.skillContainer {
    padding-top: 20px;
    padding: 45px;
    height: 80vh;
    width: 90vw;
    margin: auto;
}

/* Skill Card Design */
.skills-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
    margin-top: 10px;
}

.skill-card {
    background-color: rgba(230, 157, 84, 0.812);
    border-radius: 10px;
    padding: 20px;
    width: 300px;
    box-shadow: 12px 20px 8px 3px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s;
    cursor: pointer;
}

.skill-card:hover {
    transform: scale(1.05);
    background-color: rgba(223, 128, 32, 0.812);
    box-shadow: 12px 20px 8px 3px rgba(45, 39, 39, 0.2);
}

.skill-description {
    font-size: 14px;
    margin: 10px 0;
    font-family: "Source Code Pro", system-ui;
}

.progress-bar {
    background-color: #ddd;
    border-radius: 25px;
    overflow: hidden;
    height: 10px;
    width: 100%;
    margin-top: 10px;
}

.progress {
    background-color: #00ee0a;
    height: 100%;
    border-radius: 25px;
}


.mainskills {
    display: flex;
    gap: 50px;
    margin: 20px 0;
}

.skills-card {
    background-color: rgba(230, 157, 84, 0.812);
    border-radius: 10px;
    padding: 20px;
    width: 300px;
    /* Fixed width for cards */
    box-shadow: 20px 11px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    position: relative;
    height: 60px;
    overflow: hidden;
    transition: height 0.3s ease;
}


.skillHeader {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}


.skillInfo ul li {
    margin-left: 20px;
    font-family: "Source Code Pro", system-ui;
}


.skills-card:hover {
    transform: scale(1.05);
    z-index: 1;
    height: auto;
}


.skillContainer h1 {
    padding-bottom: 20px;
}



/* Foundation (Front-End Skills) Section */
.foundation {
    position: relative;
    top: 60px;
}

/* End Line */
.end-line3 {
    height: 6px;
    width: 100%;
    background-color: rgb(75, 68, 69);
    position: relative;
    bottom: -70px;
}

/* Project page Design  */
#Projects {
    width: 100%;
    max-height: 100vh;
    color: white;
    margin: 0;
    padding-top: 90px;
    font-family: "PT Serif", system-ui;
}

.projectContainer {
    width: 95%;
    height: 87vh;
    margin: auto;
    /* background-color: #00ee0a; */
}

.p-heading {
    background-color: #d7d7dd;
    height: 35px;
    width: 110px;
    margin-left: 20px;
    margin-bottom: 35px;
    margin-top: 20px;
    border-radius: 10px;
    color: black;
    overflow: hidden;
    transition: height 0.3s ease-in-out, width 0.3s ease-in-out;
    opacity: 0.8;
    box-shadow: 20px 11px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.p-heading:hover {
    transform: scale(1.05);
    z-index: 1;
    height: 70px;
    width: 410px;
}

.p-heading div {
    padding: 5px;
    width: 90px;
    text-align: center;
    border-radius: 10px;
    font-weight: bold;
}

.p-heading p {
    font-family: "Source Code Pro", system-ui;
    text-align: center;
}

.p-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.p-card {
    background-color: rgb(68 67 71);
    width: 290px;
    height: 415px;
    margin-top: 5px;
    margin-left: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    border-radius: 10px
}

.p-card:hover {
    background-color: rgba(162, 161, 165, 0.87);
    width: 300px;
    height: 420px;
    transform: scale(1.05);
}

.p-card img {
    width: 270px;
    margin-top: 10px;
    border-radius: 5px;
}

.p-card h3 {
    width: 270px;
    font-weight: bold;
}

.p-card p {
    width: 270px;
    font-size: 15px;
    font-family: "Source Code Pro", system-ui;
}

.p-card .p-h {
    font-weight: bold;
    margin-top: 20px;
}

.p-card .card-btn {
    width: 80px;
    height: 30px;
    margin-top: 10px;
    background-color: lightgrey;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

.p-card .card-btn:hover {
    background-color: rgb(192, 186, 186);
    transform: scale(1.05);
}

.p-card .card-btn a {
    text-decoration: none;
    color: #2e2b2b;
}

.end-line4 {
    height: 6px;
    width: 100%;
    background-color: rgb(75, 68, 69);
    position: relative;
    bottom: 25px;
}


/* Contact page Design */
#Contact {
    width: 100%;
    max-height: 90vh;
    color: white;
    margin: 0;
    padding-top: 60px;
    font-family: "PT Serif", system-ui;
}

.contactContainer {
    width: 90%;
    height: 90vh;
    margin: auto;
}

.contactContainer h1 {
    padding-top: 20px;
}

.contactContainer form {
    padding-top: 10px;
    padding-left: 20px;
    font-size: 20px;

}

.contactContainer form div {
    padding-top: 20px;
    padding-left: 20px;
    font-size: 20px;

}

.contactContainer form .mb-3 input {
    background-color: white;
    height: 10px;
    width: 40%;
    font-size: 20px;
    padding: 20px;
    border-radius: 10px;
    opacity: 0.6;
    margin-left: 10px;
    font-family: "Source Code Pro", system-ui;
}

.contactContainer form .mobile input {
    width: 20%;
}

#Help {
    font-size: 15px;
    color: beige;
    padding: 10px 0 0 20px;
}

.form-check-input {
    height: 15px;
    width: 20px;
    opacity: 0.6;
}

#enquiry {
    opacity: 0.6;
    font-size: 20px;
    margin-top: 5px;
    padding: 10px;
    border-radius: 10px;
    font-family: "Source Code Pro", system-ui;
}

.contactContainer form button {
    margin-top: 20px;
    margin-left: 20px;
    height: 40px;
    width: 115px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 10px;
    background-color: rgba(211, 211, 211, 0.797);
    cursor: pointer;
}

.contactContainer form button:hover {
    height: 45px;
    width: 120px;
    background-color: lightgrey;
    font-weight: bolder;
}


/* Media Queries */

@media (max-width:1025px) and (max-height:1380px) {

    /* Navbar  */
    .navbar ul {
        gap: 20px;
    }

    .navbar ul li {
        font-size: 22px;
    }

    /* Home Page  */
    .homepage {
        padding-top: 100px;
    }

    .homeContainer {
        height: 81vh;
        width: 97vw;
    }

    .DevInfo {
        margin-left: 30px;
        margin-top: 570px;
    }

    .DevInfo .hello {
        font-size: 35px;
    }

    .DevInfo .name {
        font-size: 50px;
        width: 800px;
    }

    .DevInfo .job {
        font-size: 30px;
    }

    .DevInfo .abt {
        font-size: 20px;
        width: 700px;
    }

    .devpic img {
        height: 450px;
        width: 350px;
        position: relative;
        left: -170%;
    }

    .social-logo{
        margin-top: 0%;
    }

    .end-line1,
    .end-line2,
    .end-line3,
    .end-line4 {
        display: none;
    }

    /* About page  */
    #About {
        padding-top: 100px;
    }

    .aboutcontainer div h1 {
        font-size: 25px;
    }

    .aboutcontainer div p {
        font-size: 19px;
    }


    /* Skill page  */
    #Skills {
        padding-top: 110px;
    }

    .skill-card {
        width: 340px;
    }

    .skills-card {
        width: 400px;
        height: 70px;
    }

    .skills-card .skillInfo {
        margin-top: 30px;
    }

    .foundation {
        top: 100px;
    }

    /* Project page  */
    .p-heading {
        margin-top: 75px;
    }

    .p-flex {
        gap: 30px;
    }

    .p-card {
        width: 300px;
    }
    
    /* Contact page  */
    #Contacts {
        padding-top: 80px;
    }

    .contactContainer form {
        padding-top: 20px;
    }

    .contactContainer form div {
        padding-top: 50px;
        font-size: 25px;
        padding: 10px;
    }

    .contactContainer form .mb-3 input {
        height: 50px;
        width: 72%;
        font-size: 22px;
        padding: 22px;
        margin-left: 0px;
    }

    #enquiry {
        width: 700px;
        height: 250px;
    }
    .contactContainer form button {
        margin-top: 100px;
        height: 60px;
        width: 150px;
        font-size: 25px;
        border-radius: 20px;
    }
    .contactContainer form button:hover {
        height: 65px;
        width: 155px;
    }
}

@media (max-width:780px) and (max-height:1050px) {
    .homepage{
        padding-top: 80px;
    }
    .devpic img{
        height: 400px;
        width: 300px;
        left: -655px;
    }
    .DevInfo {
        margin-top: 485px;
    }
    .DevInfo .abt{
        margin-top: 10px;
        font-size: 19px;
    }
    .social-logo{
        margin-left: 5%;
        margin-top: 6%;
    }


    #About{
        padding-top: 55px;
    }
    .aboutcontainer div p {
        font-size: 17px;
    }

    #Skills{
        padding-top: 70px;
    }

    #Projects{
        padding-top: 35px;
    }
    .p-heading{
        margin-top: 100px;
    }
    .p-flex{
        gap: 3px;
        margin-top: -25px;
    }
    .p-card{
        height: 405px;
    }

    #Contact{
        padding-top: 100px;
    }
    .contactContainer form div {
        padding-top: 10px;
        font-size: 24px;
    }

    #enquiry {
        width: 650px;
        height: 200px;
    }

}

@media (max-width:1300px) and (max-height:810px) {
    .end-line1 {
        bottom: -45px;
    }

    .end-line2 {
        bottom: 5px;
    }

    /* About-page */

    #About {
        padding-top: 65px;
    }

    .p-card {
        width: 240px;
        height: 370px;
    }

    .p-card:hover {
        width: 250px;
        height: 380px;
    }

    .p-card img {
        width: 220px;
    }

    .p-card h3 {
        width: 215px;
    }

    .p-card p {
        width: 215px;
        font-size: 12px;
    }

    .p-card .p-h {
        width: 215px;

    }
}



@media (max-width:1030px) and (max-height:610px) {

    /* Home-page */
    .homepage {
        padding-top: 55px;
    }

    .DevInfo {
        padding: 0px;
        margin-top: 100px;
    }

    .DevInfo .hello {
        font-size: 30px;
    }

    .DevInfo .name {
        font-size: 40px;
    }

    .DevInfo .job {
        font-size: 25px;
    }

    .DevInfo .abt {
        font-size: 18px;
        width: 500px;
    }

    .devpic img {
        margin-top: 35%;
        height: 350px;
        width: 300px;
        position: relative;
        left: -200px;
    }
    .social-logo{
        margin-left: 3%;
        margin-top: 15px;
    }

    /* About-page */
    #About {
        padding-top: 20px;
    }

    .aboutcontainer div {
        padding: 6px;
    }

    .aboutcontainer div p {
        font-size: 13px;
        padding: 4px;
    }

    .aboutcontainer div h1 {
        font-size: 17px;
        padding: 4px;
    }

    .end-line2 {
        bottom: -27px;
    }

    /* Skill-page */
    #Skills{
        padding-top: 80px;
    }
    .skillContainer {
        padding: 20px;
    }

    .foundation {
        top: 45px;
    }

    .skill-card {
        padding: 15px;
        width: 250px;
    }

    .end-line3 {
        bottom: -47px;
    }

    /* Project-page */
    #Projects{
        padding-top: 100px;
    }
    .p-flex{
        gap: 5px;
    }
    .p-card {
        width: 185px;
        height: 320px;
    }

    .p-card:hover {
        background-color: rgba(162, 161, 165, 0.87);
        width: 190px;
        height: 330px;
        transform: scale(1.02);
    }

    .p-card img {
        width: 175px;
    }

    .p-card h3 {
        width: 170px;
        font-weight: 600;
        font-size: 16px;
    }

    .p-card p {
        width: 170px;
        font-size: 11px;
    }

    .p-card .p-h {
        font-weight: bold;
        margin-top: 10px;
        font-size: 10px;
        margin-left: 40px;
    }

    .p-card .card-btn {
        width: 70px;
        height: 20px;
        margin-top: 4px;
        font-size: 10px;
    }

    .p-heading {
        margin-bottom: 15px;
        margin-top: -20px;
    }

    /* contact-page */
    .contactContainer form div {
        padding-top: 10px;
        font-size: 20px;
        padding: 5px;
        }
    .contactContainer form .mb-3 input {
        height: 45px;
        width: 45%;
    }
    .contactContainer form button {
        margin-top: 19px;
        height: 45px;
        width: 118px;
        font-size: 21px;
    }

    #enquiry {
        height: 100px;
        font-size: 17px;
    }
}

@media (max-width:550px) and (max-height:750px) {
    .navbar {
        height: 8vh;
    }
    .navbar .p1 {
        font-size: 18px;
    }
    .navbar ul {
        gap: 10px;
        right: 2%;
    }

    .navbar ul li {
        font-size: 16px;
    }
    .devpic img {
        height: 250px;
        width: 200px;
        left: -721px;
        bottom: 50px;
    }
    .DevInfo {
        margin-top: 260px;
        margin-left: 0;
    }
    .DevInfo .hello {
        font-size: 30px;
    }

    .DevInfo .name {
        font-size: 40px;
    }

    .DevInfo .job {
        font-size: 25px;
    }

    .DevInfo .abt {
        font-size: 15px;
        width: 450px;
    }
    .social-logo {
        margin-left: 2%;
        margin-top: -5px;
    }
    .social-logo img{
        height: 30px;
        width: 30px;
    }

    #About {
        padding-top: 20px;
    }
    .aboutcontainer div {
        padding: 0px;
    }
    .aboutcontainer div h1 {
     font-size: 16px;
    }
    .aboutcontainer div p {
        font-size: 13px;
        padding: 5px;
    }

    #Skills{
        padding-top: 25px;
    }
    .skillContainer h1 {
        padding-bottom: 0;
    }
    .foundation {
        top: 10px;
    }
    .skillHeader {
        font-size: 17px;
    }
    .skill-card {
        padding: 10px;
    }

    #Projects {
        margin-top: 40px;
    }

    .p-card{
        margin-left: 8px;
    }
    .p-heading {
        margin-top: 121px;
    }

    #Contact {
        padding-top: 40px;
    }
    .contactContainer form {
        padding-top: 5px;
        padding-left: 10px;
    }
    .contactContainer form div {
        padding-top: 5px;
        font-size: 20px;
        padding: 4px;
    }
    .contactContainer form .mb-3 input {
        height: 40px;
        width: 66%;
    }
    #enquiry {
        width: 450px;
        height: 120px;
    }
    .contactContainer form button {
        margin-top: 25px;
        height: 50px;
        width: 140px;
        margin-left: 145px;
    }
}

@media (max-width:500px) and (max-height:935px) {

    /* Navbar  */
    .navbar {
        height: 8vh;
    }

    .navbar .p1 {
        left: -40%;
    }

    .navbar ul {
        gap: 10px;
        right: 2%;
    }

    .navbar ul li {
        font-size: 16px;
    }

    /* Home-page */
    .homepage {
        padding-top: 50px;
    }

    .homeContainer {
        height: 80vh;
        width: 100vw;
        gap: 15px;
        flex-direction: column;
    }

    .DevInfo {
        margin-top: 380px;
        padding: 10px;
        margin-left: 10px;
    }

    .DevInfo .hello {
        font-size: 25px;
    }

    .DevInfo .name {
        font-size: 30px;
    }

    .DevInfo .job {
        font-size: 21px;
    }

    .DevInfo .abt {
        font-size: 16px;
        width: 350px;
    }

    .devpic img {
        height: 312px;
        width: 230px;
        position: relative;
        bottom: 195%;
        left: 23%;
    }

    .end-line1 {
        display: none;
    }

    /* About-page */
    #About{
        padding-top: 30px;
    }
    .aboutcontainer div {
        padding: 5px;
    }

    .aboutcontainer div h1 {
        font-size: 22px;
    }
    .aboutcontainer div p {
        padding: 5px;
        font-size: 12px;
    }

    .end-line2 {
        display: none;
    }

    /* Skill page */
    #Skills {
        padding-top: 40px;
    }
    .skillContainer {
        margin-top: 30px;
        padding: 20px;
    }

    .mainskills {
        margin: 0;
        gap: 20px;
    }

    .foundation {
        top: 40px;
    }

    .skillInfo ul li {
        margin-left: 5px;
        font-size: 14px;
    }

    .skills-card .skillHeader {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .skill-card {
        height: 100px;
        width: 300px;
        padding: 3px;
    }

    .progress-bar {
        height: 8px;
    }


    /* Project page  */

    #Projects {
        padding-top: 100px;
    }
    .p-heading {
        margin-left: 10px;
        margin-bottom: 45px;
        margin-top: 15px;
    }

    .p-heading:hover {
        width: 360px;
        height: 60px;
    }

    .p-heading p {
        font-size: 14px;
        margin-left: 10px;
    }

    .p-flex{
        gap: 10px;
    }
    .p-card {
        width: 170px;
        height: 345px;
        margin-left: 0;
    }

    .p-card:hover {
        width: 175px;
        height: 350px;
    }

    .p-card img {
        width: 170px;
    }

    .p-card h3 {
        width: 160px;
        font-size: 15px;
    }

    .p-card p {
        width: 160px;
        font-size: 11px;
    }

    .p-card .p-h {
        margin-top: 5px;
    }

    /* Contact page  */
    .contactContainer h1 {
        padding-top: 10px;
        font-size: 20px;
    }

    .contactContainer form {
        padding-top: 5px;
        padding-left: 0px;
    }

    .contactContainer form div {
        padding-top: 15px;
        padding-left: 10px;
        font-size: 17px;
    }

    .contactContainer form .mb-3 input {
        width: 70%;
        font-size: 15px;
        padding: 17px;
        margin-left: 0px;
    }

    #Help {
        font-size: 12px;
    }

    #enquiry {
        height: 150px;
        width: 90%;
    }
    .contactContainer form button {
        margin-top: 40px;
        height: 50px;
        width: 140px;
        font-size: 24px;
        border-radius: 10px;
        margin-left: 90px;
    }
}

@media (max-width:450px) and (max-height:800px) {
    .p-card .p-h{
        font-size: 9px;
        margin-left: 55px;
        width: 210px;
    }
}
@media (max-width:400px) and (max-height:890px) {
    .navbar ul li{
        font-size: 15px;
    }
    .DevInfo{
        margin-top: 345px;
    }
    .DevInfo .abt {
        font-size: 14px;
        width: 310px;
    }
    .DevInfo .name {
        font-size: 28px;
    }
    .DevInfo .job {
        font-size: 19px;
    }
    .devpic img {
        bottom: 185%;
        left: 20.5%;
    }
    .social-logo{
        margin-top: 0;
    }
    .aboutcontainer div p {
        padding: 3px;
        font-size: 11px;
    }
    #Projects {
        padding-top: 85px;
    }

    .p-flex {
        gap: 10px;
        margin-top: -35px;
    }
    .p-card{
        width: 175px;
        margin-left: 0;
    }
    .contactContainer h1 {
        padding-top: 5px;
        font-size: 16px;
    }
    .contactContainer form div {
        padding-top: 10px;
        padding-left: 6px;
        font-size: 16px;
    }
    .contactContainer form .mb-3 input {
        width: 75%;
        font-size: 15px;
        padding: 10px;
    }
    #Help {
        font-size: 10px;
        padding: 0;
        margin-left: 10px;
    }
    #enquiry {
        height: 100px;
        width: 300px;
    }
}

@media (max-width:380px) and (max-height:750px) {
    .devpic img {
        height: 250px;
        width: 200px;
        bottom: 185%;
    }
    .DevInfo {
        margin-top: 240px;
    }
    .DevInfo .abt {
        font-size: 13px;
    }
    .DevInfo .name {
        font-size: 25px;
    }
    .DevInfo .job {
        font-size: 14px;
    }
    .devpic img {
        height: 230px;
        width: 190px;
        bottom: 190%;
        left: 24%;
    }
    .social-logo {
        margin-top: 10px;
    }
    .buttons {
        margin-top: 6px;
    }
    .resume-btn {
        height: 30px;
        width: 135px;
        font-size: 13px;
    }
    .resume-btn a {
       line-height: 30px;
    }
    #About {
        padding-top: 5px;
    }
    .aboutcontainer div p {
        font-size: 9.5px;
    }
    #Skills {
        padding-top: 8px;
    }
    .mainskills {
        gap: 8px;
    }
    .skills-card {
        width: 400px;
        height: 55px;
    }

    .skills-card .skillHeader{
        font-size: 13px;
    }
    .skill-card {
        height: 80px;
        width: 251px;
        padding: 0px;
    }
    .skill-card h3{
       font-size: 15px;
    }
    .skill-card .skill-description{
       font-size: 11px;
    }
    .progress-bar {
        height: 6px;
        width: 97%;
        margin-left: 3px;
    }
    #Projects {
        padding-top: 48px;
    }
    .p-flex {
        gap: 7px;
    }
    .p-card {
        width: 170px;
        height: 325px;
        margin-left: -3px;
    }
    .p-card:hover {
        width: 170px;
        height: 330px;
    }
    .p-card img {
        width: 160px;
    }
    .p-card h3 {
        width: 150px;
    }
    .p-card p {
        width: 150px;
    }
    .p-card .p-h {
      font-size: 12px;
    }
    .p-card .p-h {
        font-size: 9px;
        margin-left: 63px;
    }
}