/* header text */
#header{
    width: 100%;
    height: 100vh;
}
.header-text h1{
    margin-top: 18%;
    margin-left: 12%;
    font-size: 70px;
    line-height: 120%;
    color: var(--text1);
}
.name{
    color: var(--highlight1);
}
.btn.resumebtn{
    margin: 50px 12%;
    padding: 20px 45px;
    text-decoration: none;
    border-radius: 40px;
    color: var(--text1);
    font-weight: 600;
    font-size: 18px;
    background: linear-gradient(135deg, var(--highlight1), var(--highlight2));
    box-shadow: var(--shadow2);
}

/* typing animation in header text */
.typing-line1,
.typing-line2 {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  border-right: none; 
}
.typing-line1 {
  width: 0ch;
  animation:
    show-cursor 0s 0.4s forwards,         
    typing1 1.1s steps(25, end) 0.5s forwards,
    blink 0.5s step-end infinite 0.5s;
}
.typing-line2 {
  width: 0ch;
  animation:
    show-cursor 0s 1.6s forwards,
    typing2 2.2s steps(35, end) 1.6s forwards,
    blink 0.5s step-end infinite 1.6s;
}
.typing-line1.done,
.typing-line2.done {
  animation: none;
  border-right: none;
  width: auto;
}
@keyframes show-cursor {
  to { border-right: 2px solid var(--text1); }
}
@keyframes typing1 {
  from { width: 0ch }
  to { width: 14ch }
}
@keyframes typing2 {
  0%   { width: 0ch; opacity: 1; }
  100% { width: 27.6ch; opacity: 1; }
}
@keyframes blink {
  50% { border-color: transparent; }
}

/* about me section */
#about{
    margin: 8% 13%;
    scroll-margin-top: 100px;
}
.about-col-1 h2{
    font-size: 60px;
    font-weight: 600;
    color: var(--highlight1);
    margin-bottom: 10px;
}
.about-col-1{
    flex-basis: 65%;
    padding: 5% 5%;
}
.about-col-1 p1{
    color: var(--text2);
    font-size: 18px;
    line-height: 30px;
}
.tab-titles{
    padding: 20px 0px 10px 0px;
    display: flex;
    justify-content: space-between;
    padding-right: 50%;
    color: var(--text1)
}
.tab-links{
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
}
.tab-links::after{
    content: '';
    width: 0%;
    height: 4px;
    background: linear-gradient(135deg, var(--highlight2), var(--highlight1));
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.3s
}
.tab-links.active-link::after{
    width: 80%;
}
.tab-contents{
    display: none;
}
.tab-contents.active-tab{
    display: block;
}
.tab-contents ul li{
    list-style: none;
    font-style: normal;
    line-height: 30px;
    margin: 18px 0px;
}
.role-title{
    font-weight: bold;
    font-size: 19px;
    color: var(--text1);
}
.company{
    font-weight: bold;
    font-style: normal;
    font-size: 19px;
    color: var(--highlight1);
}
.role-details{
    font-weight: normal;
    font-size: 18px;
    font-style: normal;
    color: var(--text1);
}
.role-content{
    font-size: 18px;
    color: var(--text2);
}
.about-col-2{
    flex-basis: 35%;
}
.about-col-2 img{
    width:82%;
    border-radius: 700px;
    margin: 170px 10px 110px 10px;
    box-shadow: var(--shadow1);
}

/*----- css for small screen -----*/
@media only screen and (max-width: 900px){
    .header-text{
        margin-top: 90%;
        font-size: 16px;
    }
    .header-text h1{
        font-size: 20px;
    }
    .btn.resumebtn{
        font-size: 13px;
        padding: 15px 25px;
        margin: 40px 10%;
    }
    /* about section */
    #about{
        margin: 8% 8%;
        scroll-margin-top: 150px;
    }
    .about-col-1, .about-col-2{
        flex-basis: 100%;
    }
    .about-col-1 h2{
        font-size: 40px;
    }
    .about-col-1 p1{
        font-size: 15px;
    }
    .tab-titles{
        font-size: 16px;
        padding-right: 0%;
    }
    .role-title, .role-details, .company{
        font-size: 16px;
    }
    .role-content{
        font-size: 15px;
    }
    .about-col-2{
        align-items: center;
    }
    .about-col-2 img{
        border-radius: 30px;
        width: 90%;
        margin: 5%;
    }
    
}