*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{
    background: #e5e0e0;
    color: #493939;

}

#header{
    width: 100%;
    height: 100vh;
    /* background: linear-gradient(rgba(0,0,0,0.2),rgba(0,0,0,0.5)), url(images/background.JPG); */
    background-size: cover;
    background-position: left;
    background-blend-mode: color-burn;
}

.container{
    padding: 20px 10%;
}

nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

nav ul li{
    display:inline-block;
    list-style: none;
    margin: 10px 20px;
}

nav ul li a{
    color: #493939;
    text-decoration: none;
    font-size: 20px;
    position: right;

}

nav ul li a::after{
    content: '';
    width: 0;
    height: 3px;
    background-color: #5d3939;
    position: absolute;
    left: 0; 
    bottom: -6px;
    transition: 0.5s
}

nav ul li a:hover::before{
    width: 100%;
}

.header-txt{
    padding-top: 35px;
    /* align-items: center; */
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.header-txt h1{
    font-size: 35px;
}

.header-txt p {
    padding-top: 15px;
    font-size: 18px;
    line-height: 35px;
}

.header-col-1{
    flex-basis: 60%;
}

.header-col-2{
    flex-basis: 35%;
}

.header-col-2 img{
    width: 100%;
    border-radius: 15px;
}

/* ----Education----*/
#About{
    padding: 80px 0;
    color: #493939;
}

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

.Education-col-1{
    flex-basis: 35%;
}

.Education-col-1 img{
    width: 100%;
    border-radius: 15px;
}

.Education-col-2{
    flex-basis: 60%;
}

.Education-col-2 p{
    padding-top: 10px;
    padding: 10px;
    font-size: 20px;
}

.sub-title{
    font-size: 35px;
    font-weight: 600;
    color: black;
}

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

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

.tab-links::after{
    content: "";
    width: 0;
    height: 3px;
    background: #9567b5;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}

.tab-links.active-link::after{
    width: 100%;
}

.tab-contents ul li span{
    color: #9567b5;
    font-size: 20px;
}

.tab-contents ul li span p{
    font-size: 18px;
}

.tab-contents ul li span a{
    color: #9567b5;
    font-size: 20px;
}

.tab-contents ul li p{
    font-size: 15px;
}

.tab-contents ul li a{
    color: #000000;
    font-size: 15px;
}

.tab-contents{
    display: none;
}

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

/*------My Experience------*/
#Experience{
    padding: 30px 0;
    color: #493939;
}

.Experience-list{
    /* display: grid; */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}

.Experience-list div{
    background: linear-gradient(180deg, rgba(149, 103, 181, 0.86) 0%, rgba(59, 104, 190, 0.205129) 99.97%, rgba(217, 217, 217, 0) 99.98%, rgba(217, 217, 217, 0) 99.99%);
    padding: 40px;
    font-size: 13px;
    font-weight: 300;
    border-radius: 10px;
    transition: background 0.5s, transform 0.5s;
}

.Experience-list div i{
    font-size: 40px;
    margin-bottom: 15px;
}

.Experience-list li span{
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 15px;
}

.Experience-list p{
    padding-top: 20px;
    font-size: 16px;
    padding-left: 40px;
    line-height: 30px;
    padding-bottom: 20px;
}

.Experience-list li ul{
    padding-top: 18px;
    font-size: 16px;
    padding-left: 40px;
    line-height: 15px;
    padding-bottom: 10px;
}

.Experience-list div a{
    text-decoration: none;
    color:#764e92;
    font-size: 15px;
    margin-top: 20px;
    display: inline-block;
}

.Experience-list div:hover{
    background:#beafe0;
    transform: translateY(-10px);
}

/*---- project ----*/
#project{
    padding: 50px 0;
    color: #493939;
}

/*----contact----*/
.contact-items{
    flex-basis: 35%;
    color:#493939;
    margin-top: 10px;
}

.contact-items p{
    margin-top: 20px;
}

.contact-items p i{
    color:#493939;
    margin-right: 15px;
    font-size: 25px;
}

.social-icons{
    margin-top: 15px;
}

.social-icons a{
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    color: #493939;
    display: inline-block;
    transition: transform 0.5s;
}

.social-icons a:hover{
    color:#764e92;
    transform: translateY(-5px);
}

.social-icons a p{
    display: inline-block;
    font-size: 25px;
    padding-left: 10px;
}

.btn{
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #764e92;
    padding: 14px 50px;
    border-radius: 10px;
    text-decoration: none;
    color:#493939;
    transition: 0.5s;
}

.btn:hover{
    background: #beafe0;
}

.btn{
    display: inline-block;
}

/*-- HackMIT page --*/

.HackMIT-content{
    padding-top: 20px;
}

ul{
    font-size: 20px;
}

li{
    padding: 10px;
}

i{
    font-size: 30px;
    margin-bottom: 15px;
    padding-left: 10px;
}

#About nav ul li a{
    color: #5d3939;
    text-decoration: none;
    font-size: 20px;
    position: right;
}

nav ul li i{
    color:#493939;
    margin-right: 15px;
    font-size: 25px;
}

/*----css for mobile layout----*/
nav .fa-solid{
    display: none;
}

@media only screen and (max-width: 600px){
    #header{
        background-image: url(images/mobile-bg.jpg);
    }
    .header-txt{
        margin-top: 100%;
    }
    .header-txt h1{
        font-size: 25px;
        position: relative;
    }
    nav .fa-solid{
        display: block;
        font-size: 25px;
    }
    nav ul{
        background: #AFC7E0;
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;
        z-index: 2;
        transition: 0.5s;
    }
    nav ul li{
        display: block;
        margin: 25px;
    }
    nav ul li a{
        font-size: 20px;
    }
    nav ul .fa-solid{
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }
}