* {
    margin: 0;
    padding: 0;
    font-family: 'Times New Roman', Times, serif;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body{
    background-color: black;
    color: white;
}
#introImage {
    border-radius: 50%;
    width:300px;
    /* float: right;
    margin-right: 150px ;
    margin-top: 150px; */
  }
#header{
    padding-top: 150px;
    width: 100%;
}

#x{
    background: black;
    width: 100%;
    display: flex;
    position: sticky;
    top: 0px;
    justify-content: space-between;
    
}    



#name {
    padding: 20px 50px;
    color: plum;
    font-size: 50px;
}
nav {
    background: black;
    margin-top: 20px;
}
nav ul li{
    display: inline-block;
    justify-content: space-between;
    margin: 20px 20px;
    
}
nav ul li a {
    color: white;
    font: 18 sans-serif;
    text-decoration: none;
    position: relative;
}
nav ul li a::after{
    content: '';
    width: 0;
    height: 3px;
    background: plum;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.3s;
}
nav ul li a:hover::after{
    width: 100%;
}

.header-text {
    font-weight: normal;
    font-size: 20px;
}
.header-text h1{
    margin-top: 20px;
    font-size: 40px;
}
.header-text h1 span{
    color: plum;
    font-size: 45px;
}

#intro{
    display: flex;
    justify-content: space-evenly;
    margin: 50px 0px;
    align-items: center;
}

/* -----------about-------------- */
#about{
    /* padding: 50px 0px; */
    padding: 150px 100px 0px 100px;
    color: #ababab;
}

.row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.col1 {
    flex-basis: 35%;
    padding-left: 100px;
}
.col1 img{
    width: 70%;
    height: 80%;
    border-radius: 15px;
}
.col2{
    flex-basis: 65%;
}

.col2 h1{
    color: white;
    font-weight: 600;
    font-size: 35px;
}
.col2 p{
    font-weight: normal;
    font-size: 20px;
    
}

.tab-titles{
    display: flex;
    margin: 20px 0px 40px;

}
.tab-links{
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    color: white;
}

.tab-links::after{
    content: "";
    width: 0;
    height: 3px;
    background: plum;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}
.tab-links.active-link::after{
    width: 50%;
}

.tab-contents ul li{
    list-style: none;
    margin: 10px 0px;
    font-weight: normal;
    font-size: 20px;
}
.tab-contents a{
    text-decoration: none;
    font-weight: normal;
    color: white;
}
.tab-contents ul li span{
    color: plum;
    font-size: 20px;   
}

.tab-contents{
    display: none;
}
.tab-contents.active-tab{
    display: block;
}

/* -------Projects-------- */

#projects{
    padding: 150px 100px 0px 100px;
}
.project-img{
    width: auto;
    height: 200px;
    
    
}
.project-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    grid-gap: 40px;
    margin-top:50px;
    overflow: scroll; 
}

.project-list div{
    background: #262626;
    padding: 20px;
    font-weight: 300;
    border-radius: 10px;
    transition: background 0.5s, transform 0.5s;
    
}
.project-list div h2{
    font-weight: bold;
    font-size: 20px;
    padding: 5px 0px;
    color: plum;

}

.project-list div p{
    display: inline;
    font-weight: lighter;
    font-size: 10px;
    padding: 5px 5px;
    border-radius: 5px;
    background: gainsboro;
    color: black;
    margin: 5px 5px;

}

.project-list div ul{
    font-weight: lighter;
    font-size: 15px;
    margin: 10px 10px;
    

}
.project-list div a{
    text-decoration: none;
    margin-top: 20px;
    display: inline-block;
    color:white;
    margin-left: 10px;

}

.project-list div:hover{
    background: rgb(83, 67, 83);
    transform: translateY(-10px);
}
/* -------workHistory----------- */
#workall{
    padding: 150px 100px 0px 100px;
}
.work-img{
    width: 200px;
    height: 250px;
}
.time{
    font-weight: bold;
    float: right;
}
.work{
    display: flex;
    color: grey;
    margin-top:30px;
}

.work p{
    padding: 5px 5px;
}
.tech{
    display: inline;
    font-weight: lighter;
    font-size: 12px;
    border-radius: 5px;
    background: gainsboro;
    color: black;
    margin: 10px 5px;

}
.work ul{
    padding: 5px 8px;
}
.ita{
    font-style: italic;
}
.details{
    width: 100%;
    padding: 10px 10px;
    background: whitesmoke;
    color: black;
}

/* ----contact--------- */
#contact{
    padding: 50px 100px;
}

.contact-left p{
    font-weight: normal;
    font-size: 15px;
    margin: 10px 10px;
}
.contact-left a{
    display: block;
    font-weight: normal;
    font-style: italic;
    text-decoration: none;
    font-size: 30px;
    color: aliceblue;
    margin: 10px 10px;
}

/* ---- */
.endline {
    text-align: center;
    color: plum;
}