/* For all webpage */
*{
    margin: 0rem;
    padding: 0rem;
    box-sizing: border-box;
}
#body {
    font-family: "Poppins",sans-serif;
    color: #fff;
    background-image:linear-gradient(black, #01e3f3);
    margin: 0rem;
    box-sizing: border-box;
    height: 100%;
}
.boxdiv{
    margin: 30px;
    background-color:rgb(23, 23, 30);
    padding: 15px;
    border-radius: 20px;
}
.nav1{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#menu_1 {
    display: flex;
    margin-top: 2rem;
    margin-left: 100px;
}
.div1 {
    display: flex;
    flex-wrap: wrap;
    padding-top: 10px;
    gap: 1rem;
    font-weight: bold;
}
#menu_2 {
    display: flex;
    justify-content: flex-end;
    gap: 1vw;
    margin-left: 40vw;
}
#inside_menu a{
    text-decoration: none;
    color: #fff;
    transition: 0.3s;
}
.inside_menu {
    color: rgb(248, 247, 250);
    font-size: 1rem;
    margin: 10px;
}
.inside_menu:hover,
.inside_menu a:hover {
    color: rgb(4, 4, 250);
}
.section1{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 60px;
    min-height: 20vh;
}
header{
    padding: 30px 60px;
}
#img {
    width: 33px;
    height: 33px;
    border-radius: 50%;
}
/* Portfolio */
.profilediv{
    display: flex;
    flex-direction: row;
    width: 100vw;
    height: 60vh;
}
#h3h4div{
    flex-basis: 50%;
}
#h3h4div div p{
    padding-left: 30%;
    line-height: 1.6;
    color: #bbb;
    max-width: 500px;
    font-size: 1.2rem;
}

#h3h4div p{
    margin-top: 15px;
    line-height: 1.6;
    color: #bbb;
    max-width: 400px;
}
.head_1 {
    font-family: 'Times New Roman', Times, serif;
    padding-left: 30%;
    font-size: 1.8rem;
}
.head_1 span{
    color: #00f0ff;
}
.head {
    font-family: 'Times New Roman', Times, serif;
    font-size: 3rem;
    margin-left: 30%;
    color: rgb(248, 247, 250);
}
.icons{
    margin-top: 20px;
    padding-left: 30%;
}
.icons a{
    color: #00f0ff;
    font-size: 1.3rem;
    margin-right: 15px;
    transition: 0.3s;
}
.icons a:hover{
    transform: scale(1.2);
    
}
.button111{
    margin-left: 30%;
    margin-bottom: 4rem;
}
.profile1{
    flex-basis: 50%;
    position: relative;
}
.profile2{
    width: 350px;
    height: 400.6px;
    background: #00f0ff;
    clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 20px 30px #00f0ff);
} 
.profile2 img{
    width: 400px;
    height: 400px;
    object-fit: cover;
    clip-path:inherit;
}
#button ,#but {
    display: block;
    text-align: center;
    padding: 10px 20px;
    font-size: 1.2rem;
    background-color: rgb(245, 4, 52);
    border-radius: 30px;
    color: #050505fd;
    font-family: 'Times New Roman', Times, serif;
    box-shadow: 0 2.5px 5px rgb(238, 117, 141);
}
#button{
    height: 3rem;
    width: 8rem;
    margin: 1rem 7rem auto;
}
/* about page */
.aboutdiv1122{
    display:flex;
    height: 33.4em;
    margin-left: 20em;
}
#about {
    background-color: white;
    width: 90%;
    max-width: 900px;
    margin: 3rem auto;
    display: flex;
    flex-wrap: wrap;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 7px 21px white;
}
#inside_about {
    flex: 1;
    padding: 2rem;
}
#inside_about h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
#inside_about p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: black;
    margin-bottom: 1rem;
}
/* Project */
#div7 {
    display: flex;
    flex-wrap: wrap;
    margin: 2rem;
    height: 21.2em;
    max-height: 1000ex;
}
.img_div {
    position: relative;
    width: 400px;
}
.img1 {
    display: block;
    width: 100%;
    height:22em;
}
.imgdiv1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6 );
    color: #ffffff;
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.30s;
}
.imgdiv1 > *{
    transform: translateY(30px);
    transition: transform 0.25s;
}
.imgdiv1:hover{
    opacity: 1;
}
.imgdiv1:hover >*{
    transform: translateY(0);
}
.titlediv1{
font-size: 2em;
font-weight: bold;
}
.para {
    font-size: 1.2em;
    margin-top: 0.25em;
    
}
#img1 {
    width: 100%;
    max-width: 370px;
    height: 370px;
}
/* Contact */
.contact-div {
    display: flex;
    flex-wrap: wrap;
    margin: 20px auto;
    max-width: 95%;
    box-sizing: border-box;
    height: 33rem;
}
.inside-contact-div {
    flex: 1;
    margin-left: 17rem;
    margin-right: 20rem;
    padding-left: 10rem;
    border-style: hidden;
}
.inside-contact-div h1 {
    color: white;
    font-size: 1.5rem;
    font-family: Arial, Helvetica, sans-serif;
}
.lets h1{
    font-size: 2.2em;
    margin-bottom: 15px;
    color: #ccc;
}
.lets h1 span{
    color: #f9c738;
}
.lets p{
    font-size: 18px;
    margin-bottom: 30px;
    color: #ccc;
}
.inside_div_2 {
    display: flex;
    gap: .4rem;
}
.input {
    width: 100%;
    max-width: 16.9rem;
    height: 2.2rem;
    background-color: transparent;
    border: 1px solid rgb(160, 157, 157);
    margin: .7rem 0rem;
    padding: .7rem;
    border-radius: .7rem;
    color: #ffffff;
}
#input1, #input2 {
    width: 100%;
    max-width: 34rem;
    margin: auto;
    padding: .7rem;
    background-color: transparent;
    border: 1px solid rgb(160, 157, 157);
    color: white;
    box-sizing: border-box;
    border-radius: .7rem;
}
#input2 {
    height: 15rem;
    margin: .7rem auto;
}
.input::placeholder,
#input1::placeholder,
#input2::placeholder {
    color: white;
    font-weight: bold;
    font-style: italic;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
#but{
    margin: 1rem 12rem auto;
}

#but:hover{
    background-color: rgb(185, 46, 46);
}
/* To fit all systems*/
@media (max-width: 768px) {
    #about {
        flex-direction: column;
    }
    .about-image {
        height: 300px;
        width: 100%;
    }
    #head, #head_1, #head_2 {
        margin-left: 5%;
        font-size: 1.5rem;
    }
    #menu_2 {
        margin-left: 0;
        justify-content: center;
    }
    .inside_menu {
        font-size: 1rem;
    }
    .contact-div {
        flex-direction: column;
        align-items: center;
    }
    .inside-contact-div {
        padding: 20px;
        text-align: center;
    }
    #div6 {
        margin-left: auto;
        margin-right: auto;
        padding: 2rem;
    }
    #img1 {
        width: 100%;
        max-width: 300px;
        height: auto;
    }
}