/*---------------------------------------------------------------------------------Common CSS Begins--------------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    -webkit-user-drag: none;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 25px;
}

body {
    overflow-x: hidden;
    background-color: #F8B195;
    width: 100%;
    font-family: "Poppins", sans-serif;
}

.row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

p {
    color: rgb(88, 85, 99);
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin: 0px 20px;
}

img{
    pointer-events: none;
}

/*---------------------------------------------------------------------------------Common CSS Ends----------------------------------------------------------------------------------*/


/*---------------------------------------------------------------------------------Navbar Section Begins----------------------------------------------------------------------------*/

.navbar {
    width: 100%;
    margin-bottom: 15px;
    width: 100%;
}

ul {
    margin-top: 0;
    padding-bottom: 20px;
    margin-bottom: 1rem;
    float: right;
    list-style-type: none;
}

ul li {
    display: inline-block;
    margin-top: 15px;
    margin-left: 20px;
    background-color: #343a40;
    border-radius: 20px;
}

ul li a {
    text-decoration: none;
    font-weight: 600;
    color: #fff;
    font-size: 17px;
    padding: 5px 25px;
    border-radius: 20px;
    transition: 0.2s ease;
}

ul li a:hover {
    background-color: #0072b1;
    color: #fff;
    text-decoration: none;
}

/*---------------------------------------------------------------------------------Navbar Section Ends------------------------------------------------------------------------------*/


/*---------------------------------------------------------------------------------Navbar Customization Starts----------------------------------------------------------------------*/

.navbar-collapse {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-top: 3px;
}

.navbar-nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    margin-top: 3px;
    list-style: none;
}

/*---------------------------------------------------------------------------------Navbar Customization Ends------------------------------------------------------------------------*/


/*---------------------------------------------------------------------------------Hero Section Starts------------------------------------------------------------------------------*/

.hero-section {
    width: 100%;
}

.profile-intro {
    height: 100%;
    overflow-x: hidden;
    margin-top: 70px;
    width: 100%;
}

.profile-title {
    display: flex;
    justify-content: center;
    align-content: center;
    color: #0072b1;
    font-size: 3.7rem;
    font-weight: bold;
    cursor: pointer;
    padding: 0 20px;
}

.hidden {
    max-width: 0;
    opacity: 0;
    transition: 0.5s ease-in;
}

.profile-title:hover .hidden {
    opacity: 1;
    max-width: 1em;
}

.profile-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

/*---------------------------------------------------------------------------------Hero Section Ends--------------------------------------------------------------------------------*/


/*---------------------------------------------------------------------------------Typewritting Effect Starts-----------------------------------------------------------------------*/

.profile-text-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 17rem;
    width: 100%;
    padding-bottom: 120px;
}

.profile-text-container p {
    font-size: 55px;
    color: #0072b1;
    font-weight: bold;
    letter-spacing: 0.1rem;
    text-align: center;
    overflow-x: hidden;
}

.profile-text-container p span.typed-text {
    font-weight: normal;
    color: #fff;
}

.profile-text-container p span.cursor {
    display: inline-block;
    background-color: #fff;
    margin-left: 0.1rem;
    width: 3px;
    animation: blink 1s infinite;
}

.profile-text-container p span.cursor.typing {
    animation: none;
}

@keyframes blink {
    0% {
        background-color: #fff;
    }
    49% {
        background-color: #fff;
    }
    50% {
        background-color: transparent;
    }
    99% {
        background-color: transparent;
    }
    100% {
        background-color: #fff;
    }
}

/*---------------------------------------------------------------------------------Typewritting Effect Ends-------------------------------------------------------------------------*/


/*---------------------------------------------------------------------------------Aboutme Section Starts---------------------------------------------------------------------------*/

.aboutme-section {
    overflow: hidden;
}

.aboutme {
    color: #0072b1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 30px;
    padding-top: 80px;
    width: 100%;
}

.aboutme h1 {
    color: #0072b1;
    text-align: center;
}

.about-me-content p {
    display: inline-block;
    text-align: left;
}

.about-me-image {
    display: flex;
    justify-content: center;
}

/*---------------------------------------------------------------------------------Aboutme Section ends---------------------------------------------------------------------------*/


/*---------------------------------------------------------------------------------Education Section Customization Starts------------------------------------------------------------*/

.education-section {
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    overflow: hidden;
    padding-top: 50px;
}

.education-section h1 {
    color: #0072b1;
    text-align: center;
}

.education-section h2 {
    font-weight: bold;
    font-size: 1.5rem;
    color: #e2e2e2;
}

.education-section p {
    text-align: left;
    color: #e2e2e2;
    margin-left: 0;
    margin-right: 0;
}

/*---------------------------------------------------------------------------------Education Section Customization Ends--------------------------------------------------------------*/


/*---------------------------------------------------------------------------------Education Timeline Starts-------------------------------------------------------------------------*/

/*timeline*/

/* The actual timeline (the vertical ruler) */

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}


/* The actual timeline (the vertical ruler) */

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: white;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    z-index: -1;
}


/* Container around content */

.container {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    border-radius: 20px;
}


/* The circles on the timeline */

.container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: white;
    border: 4px solid #343a40;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}


/* Place the container to the left */

.left {
    left: -25.5%;
}


/* Place the container to the right */

.right {
    left: 25.3%;
}


/* Add arrows to the left container (pointing right) */

.left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid white;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
}


/* Add arrows to the right container (pointing left) */

.right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
}


/* Fix the circle for containers on the right side */

.right::after {
    left: -16px;
}


/* The actual content */

.content {
    padding: 10px 10px 10px 5px;
    position: relative;
    border-radius: 20px;
    background-color: #343a40;
}

/*---------------------------------------------------------------------------------Education Timeline Ends--------------------------------------------------------------------------*/


/*---------------------------------------------------------------------------------Education Timeline Media Query Starts------------------------------------------------------------*/

/* Media queries - Responsive timeline on screens less than 600px wide */

@media screen and (max-width: 600px) {

    /* Place the timelime to the left */

    .timeline::after {
        left: 31px;
    }


    /* Full-width containers */

    .container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }


    /* Make sure that all arrows are pointing leftwards */

    .container::before {
        left: 60px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }


    /* Make sure all circles are at the same spot */

    .left::after,
    .right::after {
        left: 18px;
    }


    /* Make all right containers behave like the left ones */

    .right {
        left: 0%;
    }
    .left {
        left: 0%;
    }
}

/*---------------------------------------------------------------------------------Education Timeline Media Query Ends--------------------------------------------------------------*/


/*---------------------------------------------------------------------------------Technical Section Starts-------------------------------------------------------------------------*/

.technical-section {
    padding-top: 50px;
    overflow: hidden;
}

.technical {
    text-align: center;
    color: #0072b1;
    width: 100%;
    display: flex;
    justify-content: center;
}

.technical-section h1 {
    color: #0072b1;
    text-align: center;
    margin-top: 20px;
}

/*---------------------------------------------------------------------------------Technical Section Ends---------------------------------------------------------------------------*/


/*---------------------------------------------------------------------------------Skillbar Customization Starts--------------------------------------------------------------------*/

.skill-column{
    display: flex;
    justify-content: center;
}

.skill {
    height: 100px;
    background-color: #343a40;
    margin: 8px;
    border-radius: 15px;
    box-shadow: 5px 5px 4px black;
    transition: 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    width:300px;
}

.skill:hover {
    transform: scale(1.06);
}

.skill img{
    width:150px;
}

@media screen and (max-width:800px) {
    .skill {
        width: 200px;
    }
    .skill-column {
        display: flex;
        justify-content: center;
    }
}

/*---------------------------------------------------------------------------------Skillbar Customization Ends----------------------------------------------------------------------*/


/*---------------------------------------------------------------------------------Projects Section Customization Starts------------------------------------------------------------*/

.projects-section {
    width: 100%;
    overflow: hidden;
    /* margin-top: 60px; */
    padding-top: 50px;
}

.projects-section h1 {
    color: #0072b1;
    text-align: center;
    /* padding-top: 50px; */
}

.projects {
    display: flex;
    justify-content: center;
    width: 100%;
}

.projectcard {
    position: relative;
    width: 400px;
    height: 500px;
    background-color: #343a40;
    margin: 20px 10px;
    border-radius: 20px;
    box-shadow: 5px 5px 4px black;
    transition: 0.3s ease;
}

.projectcard:hover {
    transform: translateY(-10px);
}

.projectcard h1 {
    color: #e2e2e2;
    background-color: #343a40;
    text-align: center;
    position: relative;
    top: 20px;
    text-decoration: underline;
    padding-top: 10px;
}

.projectcard p {
    padding-top: 25px;
    text-align: left;
    color: #e2e2e2;
}

.project-link-container {
    position: absolute;
    top: 85%;
    left: 44%;
    display: flex;
    justify-content: center;
}

.project-link {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #e2e2e2;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    box-shadow: 0 5px 4px rgba(0, 0, 0, 0.5);
}

.project-link .fa-github {
    color: #000;
    background-color: #e2e2e2;
}

.center {
    display: flex;
    justify-content: center;
}

/*---------------------------------------------------------------------------------Projects Section Customization Ends--------------------------------------------------------------*/


/*---------------------------------------------------------------------------------Contact Section Starts---------------------------------------------------------------------------*/

.contact-section {
    width: 100%;
    overflow-x: hidden;
    /* height: 120px; */
    padding: 25px 0;
}

.contact-section h1 {
    color: #0072b1;
    text-align: center;
}

.social {
    display: flex;
    justify-content: center;
    align-items: center;
}

.social1 {
    background-color: #e2e2e2;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s ease;
    box-shadow: 0 5px 4px rgba(0, 0, 0, 0.5);
}

.social1 .fa-linkedin-in {
    color: #1a0dab;
    background-color: #e2e2e2;
}

.social1:hover {
    transform: scale(1.15);
}

.social2 {
    background-color: #e2e2e2;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s ease;
    box-shadow: 0 5px 4px rgba(0, 0, 0, 0.5);
}

.social2 .fa-github {
    color: #000;
    background-color: #e2e2e2;
}

.social2:hover {
    transform: scale(1.15);
}

/*---------------------------------------------------------------------------------Contact Section Ends-----------------------------------------------------------------------------*/


/* --------------------------------------------------------------------------------Media Querty starts------------------------------------------------------------------------------*/

@media screen and (max-width: 500px) {
    .aboutme {
        margin-top: -40px;
        padding-top: 80px;
    }
    .about-me-image img {
        width: 100%;
        height: 300px;
    }
    .profile-text-container {
        height: 14rem;
        padding-top: 80px;
    }
    .profile-text-container p {
        font-size: 42px;
        margin-left: 0px;
    }
    .technical {
        display: flex;
        justify-content: center;
    }
    .skill-column {
        display: flex;
        justify-content: center;
    }
    .skill {
        width: 200px;
    }
    .projectcard {
        width: 85%;
    }
}

/*---------------------------------------------------------------------------------Media Query Ends---------------------------------------------------------------------------------*/