@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Manrope", sans-serif;
    text-decoration: none;
}

body {
    font-family: "Manrope", sans-serif;
    background-color: #000;

    color: #fff;
}
.index_all{
    background-color: #000;
    margin-block: 20px;
}
.top_two_all {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 0 5%;
    /* margin-top: 50px; */
}



.top_first {
    position: relative;
    background-color: #1E1B1E;
    padding: 0 5%;
    padding-block: 20px;
    border-radius: 15px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.top_first h1 {
    font-size: 50px;
}

.hire_btn {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    position: absolute;
    width: 100%;
    bottom: 10px;
    right: 7%;
}

.hire_btn button {
    padding: 15px 25px;
    border: none;
    background-color: #8325FD;
    border-radius: 30px;
    color: #fff;
    font-weight: 800;
    font-size: 25px;
}

.top_grid_three {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-top: 10px;
}

.top_box {
    background-color: #00C39A;
    padding: 0 5%;
    padding-block: 50px;
    text-align: center;
    border-radius: 20px;
}

.yellow {
    background-color: #FFBF3C;
    color: #000;
}

.pink {
    background-color: #fc4759;
}

.top_box h1 {
    font-size: 55px;
}

.profile {
    background-image: url(../images/profile.png);
    background-size: cover;
    background-repeat: no-repeat;
    width: 350px;
    height: 370px;
    border-radius: 30px;
}

.hello {
    padding: 0 3%;
    background-color: #1E1B1E;
    padding-block: 20px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    color: #fff;
}


.profile_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.name {
    background-color: #1E1B1E;
    padding: 0 5%;
    padding-block: 25px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
}

.social a {
    color: #fff;
    font-size: 30px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    background-color: #1E1B1E;
    border-radius: 50%;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}


.social {
    background-color: #1E1B1E;
    padding: 0 5%;
    padding-block: 10px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
}

.based {
    border-radius: 15px;
    padding: 0 5%;
    padding-block: 20px;
    margin-block: 10px;
    background-color: #1E1B1E;
}

.based img {
    width: 100%;
    height: 130px;
}

.based_flex {
    display: flex;
    justify-content: space-between;
}


.second_bottom_all {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 20px;
    margin-top: 15px;
    /* border: 2px dashed salmon; */
    padding: 0 5%;
}

.second_left {
    background-color: #1E1B1E;
    padding: 0 5%;
    padding-block: 15px;
    border-radius: 20px;
}

.second_flex {
    display: flex;
    justify-content: space-between;
}

.project_grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.project_box {
    height: 160px;
    border-radius: 15px;
    /* border: 2px dashed; */
    position: relative;
}

.project_box img{
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 15px;
}
.read_more{
    position: absolute;
    width: 100%;
    background-color: #0000007a;
    height: 160px;
    border-radius: 15px;
   
    opacity: 50;

}
.read_more p{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
position: absolute;
top: 0;
width: 100%;
background-color: #0000009c;
height: 160px;
color: #fff;
border-radius: 15px;
}

.read_more img{
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 15px; 
}

.second_right{
    background-color: #1E1B1E;
    padding: 0 5%;
    padding-block: 15px;
    border-radius: 20px;
}

.about_me{
    margin-top: 10px;
}

p, span{
    color: #A6A5A6;
}
.top_box p{
    color: #fff;
}
.yellow p{
    color: #000;
}

.animated {
    opacity: 0;
}

@media only screen and (max-width: 1160px) {
    .top_two_all{
        display: flex;
        flex-direction: column-reverse;
    }
    .hire_btn{
        display: none;
    }
    .top_grid_three{
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .project_grid{
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .second_bottom_all{
        display: flex;
        flex-direction: column;
    }
}

@media only screen and (max-width: 1000px) {
.profile_grid{
    display: flex;
    flex-direction: column;
}
.profile{
    width: 100%;
}
.top_grid_three{
    display: grid;
    grid-template-columns: 1fr ;
}
}