* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins', sans-serif;
}

body {
    color: #ededed;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-height: 4rem;
    padding: 20px;
    background-color: #051125;
    /* background: transparent; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    position: relative;
    font-size: 40px;
    color: #ededed;
    text-decoration: none;
    font-weight: 600;
    cursor: default;
    opacity: 0;
    animation: slideRight 1s ease forwards;
}

@keyframes slideRight {

    0% {
        transform: translateX(-100px);
        opacity: 0;
    }

    100% {

        transform: translateX(0px);
        opacity: 1;
    }
}

.navbar a {
    display: inline-block;
    font-size: 25px;
    text-decoration: none;
    color: #ededed;
    font-weight: 500;
    margin-left: 35px;
    transition: .3s;
    /*transition property is to create smooth animations for changes */
    animation: slideTop .5s ease forwards;
    /* animation-delay: calc(.2s * var(--i)); */
}

@keyframes slideTop {

    0% {
        transform: translateY(-100px);
        opacity: 0;
    }

    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

.navbar a:hover {
    color: #0ef;
}

.home {
    width: 100%;
    justify-content: space-around;
    height: 100vh;
    align-items: center;
    padding: 70px 10% 0;
    display: flex;
    background-color: #2f2f2f;
    color: #ededed;


}

.home a{
    border: none;
    padding: 15px 32px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19);
    border-radius: 50vmax;
    background-color: #0ef;
    margin-top: 5rem;
    margin-left: 25vh;
    text-decoration: none;
    color: #2f2f2f;
    
}

.home-content a:hover{
    color: #020305;
}

.home h2 {
    display: inline-block;
}

.home img{

    width: 250px;
    height: 250px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 50%;  /* or clip-path: circle(50% at 50% 50%); */
    filter: drop-shadow(2px 2px 20px yellow);
    /* box-shadow: 1px 5px 14px yellow; */

}

.home-content {
    max-width: 600px;
    animation: slideRight 1s ease forwards;
}

.home-content h2,
h3 {
    margin-left: 25vh;
    font-size: 32px;
    font-weight: 700;
}

.home-content h3 {
    font-size: 28px;
}

/* .home-content h2:nth-of-type(2) {
    margin-bottom: 30px;
    animation: slideTop 1s ease forwards;
    animation-delay: .7s;
} */

.home-content .texts {
    color: #0ef;
}

/* .home-content .type-text{
     max-width: 700px;
     display: block;
} */


.about {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 2 rem;
    margin-top: 8vh;
  
}

.about-img img {
    margin-left: 30vh;
    max-width: 500px;

}

.about-text h2 {
    font-size: 60px;
}

.about-text h2 span {
    color: #0ef;
}

.about-text h4 {
    font-size: 29px;
    font-weight: 600;
    margin: 15px 0 30px;
    line-height: 1.4;
}

.about-text p {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 4rem;
    max-width: 40vmax;
}

.about-text .personal-info-link{

    display: inline-block;
    border: none;
    padding: 15px 32px;
    cursor: pointer;
    box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19);
    border-radius: 50vmax;
    background-color: #0ef;
    text-decoration: none;
    color: #2f2f2f;
    margin-bottom: 20px;


    /* display: inline-block;
    padding: 10px 20px;
    color: white;
    background-color: #007BFF;  
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s; */
    
}

.about-text a:hover{
    color: #020305;
}

.skills {
    background-color: #2f2f2f;
    color: #ededed;


}

.skills h1 {
    margin-left: 30rem;
    animation: slideRight1 1s ease forwards;

}

@keyframes slideRight1 {

    0% {
        transform: translateX(-100px);
        opacity: 0;
    }


    100% {
        transform: translateX(0px);
        opacity: 1;
    }

}


.sub-title span {
    color: #0ef;
}

.skills .skills-list {
    margin-left: 13rem;
    animation: slideLeft1 1s ease forwards;
}

@keyframes slideLeft1 {

    0% {
        transform: translateX(100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0px);
        opacity: 1;
    }
}


.skills_details .skill-bar {
    height: 20px;
    width: 500px;
    background: black;
    border-radius: 10px;
    margin-left: 50px;
    margin-right: 30px;
    position: relative;
}

.skill-bar .skill-bar-range_1 {
    position: absolute;
    background-color: green;
    height: 20px;
    width: 90%;
    border-radius: 10px;
}


.skill-bar .skill-bar-range_1 {
    position: relative;
}

.skill-bar-range_1 .range-value {
    position: absolute;
    right: -14px;
    top: -25px;
    border: 1px solid black;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 200;
}

.skill-bar .skill-bar-range_2 {
    position: absolute;
    background-color: green;
    height: 20px;
    width: 90%;
    border-radius: 10px;

}

.skill-bar .skill-bar-range_2 {
    position: relative;
}

.skill-bar-range_2 .range-value {
    position: absolute;
    right: -14px;
    top: -25px;
    border: 1px solid black;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 200;
}


.skill-bar .skill-bar-range_3 {
    position: absolute;
    background-color: green;
    height: 20px;
    width: 90%;
    border-radius: 10px;

}

.skill-bar .skill-bar-range_3 {
    position: relative;
}

.skill-bar-range_3 .range-value {
    position: absolute;
    right: -14px;
    top: -25px;
    border: 1px solid black;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 200;
}

.skill-bar .skill-bar-range_4 {
    position: absolute;
    background-color: green;
    height: 20px;
    width: 75%;
    border-radius: 10px;

}

.skill-bar .skill-bar-range_4 {
    position: relative;
}

.skill-bar-range_4 .range-value {
    position: absolute;
    right: -14px;
    top: -25px;
    border: 1px solid black;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 200;
}

.skill-bar .skill-bar-range_5 {
    position: absolute;
    background-color: green;
    height: 20px;
    width: 75%;
    border-radius: 10px;

}

.skill-bar .skill-bar-range_5 {
    position: relative;
}

.skill-bar-range_5 .range-value {
    position: absolute;
    right: -14px;
    top: -25px;
    border: 1px solid black;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 200;
}

.skill-bar .skill-bar-range_6 {
    position: absolute;
    background-color: green;
    height: 20px;
    width: 90%;
    border-radius: 10px;

}

.skill-bar .skill-bar-range_6 {
    position: relative;
}

.skill-bar-range_6 .range-value {
    position: absolute;
    right: -14px;
    top: -25px;
    border: 1px solid black;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 200;
}

.skill-bar .skill-bar-range_7 {
    position: absolute;
    background-color: green;
    height: 20px;
    width: 40%;
    border-radius: 10px;

}

.skill-bar .skill-bar-range_7 {
    position: relative;
}

.skill-bar-range_7 .range-value {
    position: absolute;
    right: -14px;
    top: -25px;
    border: 1px solid black;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 200;
}


.projects {
    padding: 40px 0;
    text-align: center;
    
}
.projects h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 40px;
    font-weight: 200;
}

.projects span{
    color:#0ef;

}
.projects .project-details .row {
    display: flex;
    justify-content: center;
    
}
.projects .project-details .col-lg-4 {
    margin-bottom: 30px;
    text-align: center;
}
.projects .project-details .project-1,
.projects .project-details .project-2,
.projects .project-details .project-3 {
    border: 1px solid #ddd;
    text-align: center;
    padding: 20px;
    border-radius: 5px;
    transition: transform 0.2s;
    background-color: #051125;
    color:#ededed;
}
.projects .project-details .project-1:hover,
.projects .project-details .project-2:hover,
.projects .project-details .project-3:hover {
    transform: translateY(-10px);
    text-align: center;
}
.projects .project-details h3 {
    margin-bottom: 15px;
    text-align: center;
}
.projects .project-details p {
    margin-bottom: 15px;
    text-align: center;
}
.projects .project-details a.read {
    color: #007bff;
    text-decoration: none;
    text-align: center;
}
.projects .project-details a.read:hover {
    text-decoration: underline;
    text-align: center;
}

.contact{
     
    align-items: center;
    gap: 3rem;
    padding-left: 30px;
    margin-top: 130px;
    background-color: #2f2f2f;
    color: #ededed;
    display: grid;
    grid-template-areas: 'data1 data1 data1 data2 data2 data2';
}

.contact .contact-details{
    grid-area: data1;
    padding: 20px;
}


.contact .form-details{
    grid-area: data2;
    padding: 20px;
}

.icons .u_icon{
    padding-right: 2rem;
}

.contact-details li{
    display: flex;
    padding: 2rem;
}

.contact .contact-heading{
    
    margin-left: 4.5rem;
    
    font-weight: 200;
}

.contact-heading h2{

    font-size: 50px;
}

.contact span{
    color:#0ef;

}

.form-details{
    margin-left: 10rem;
}

 input[type=text], select {
    width: 50%;
    padding: 12px 20px;
    margin: 8px 0; 
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
  }


  textarea[type=text] {
    width: 50%;
    background-color: #ededed;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }


  input[type=submit] {
    width: 50%;
    background-color: #ededed;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }

  
  input[type=submit]:hover, input[type=text]:hover, textarea[type=text]:hover {
    background-color: #051125;
    color: #ededed;
  }

