:root{
    --bg-black-100: #dddddd;
    --bg-black-50: #eff0f4;
    --bg-btn-1:#a0b0c5;
    --bg-btn-2: #a0b0c563;
    --text-black-900: #000000;
    --text-black-600: #666666;
    --text-black-300: #bbbbbb;
    --text-black-200:#aaaaaa;
    --text-white: #ffffff;
    --text-hover:#80ffff;
}
@font-face {
    font-family: Cinzel Decorative;
    src: url(fonts/CinzelDecorative-Regular.ttf);
}
*{
    margin:0;
    padding:0;
    box-sizing: border-box;
    font-family: 'Poppins',sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
    
}
body{
    font-size:16px;
    line-height: 1.5;
    overflow-x: hidden;
    background-color: var(--bg-black-50);
}
#preloader{
    background: #222 url(Pictures/dark-loader.gif) no-repeat center center;
	background-size: 6%;
	height: 100vh;
	width: 100vw;
	position: fixed;
	z-index: 100;
    filter: invert();
}
.header{
    position: fixed;
    top:0;
    left:0;
    width:100%;
    padding:40px 100px;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color:transparent;
    transition: 0.4s;
    
}
.header.sticky{
    background-color: #fff;
    padding:20px 100px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
.header .logo{
    color: #fff;
    font-size:24px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 2px;
    font-family: "Cinzel Decorative";
   
}

.header.sticky .logo{
    color: #111;
}
.header .menu{
    position: relative;
    display: flex;
    
}
/* .header .menu li{
    position: relative;
    list-style: none;
} */
.header .menu li a{
    position: relative;
    display: inline-block;
    margin:0 15px;
    text-decoration: none;
    color: #fff;
    transition: 0.4s ease all;
}
.header .menu li a:hover{
    color: var(--text-hover);
}
.header.sticky ul li a{
    color: #111;
}
.header .menu li a.active{
    background-color:(--text-hover);
}


section{
    padding:100px;
}
section .heading{
    text-align: center;
    margin-bottom: 30px;
}
section .heading span{
    opacity: 0.8;
}
.content-wrapper{
    display: flex;
    flex-wrap: wrap;
    justify-content:space-between;
    flex-direction: row;
    gap:10px;
   
}
.mBottom50{
    margin-bottom: 50px;
}
.landing-page{
    background: url(Pictures/img4.jpg);
    background-position:center;
    background-repeat: no-repeat;
    background-size:cover;

    position:relative;
    width: 100vw;
    height: 100vh;
    background-color: #fff;
    display: flex;
    justify-content:space-between;
    align-items: center;
    padding-top: 150px;
    
    

}

.landing-page h2 {
	padding-top: 150px;
	font-size: 3em;
	color: #fff;
	font-weight: 500;
	line-height: 1.5em
    
}

.landing-page h2 span {
	font-size: 1.5em;
	font-weight: 700
}

.landing-page h3 {
	font-size: 1.5em;
	color: #fff;
	font-weight: 500
}

.btn {
	position: relative;
	background: var(--bg-btn-1);
	display: inline-block;
	color: #fff;
	margin-top: 20px;
	padding: 10px 30px;
	font-size: 18px;
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: 2px;
	font-weight: 500;
	border-radius: 5px;
	font-weight: 600;
	transition-duration: .4s;
    border: 2px solid var(--bg-btn-1);
    
    
}
.btn:hover{
    background-color: var(--bg-btn-2);
    
}
.about .textBox {
    width:50%;
}
.about #myPic{
    width:40%;
} 
.about .textBox p:nth-of-type(1){
    font-size: 1em;
    font-weight: 500;
    color:var(--text-black-900);
    text-align: justify;
    margin-bottom: 0.3em;

}
.about .textBox p:nth-of-type(2){
    font-size: 0.9em;
    font-weight:400;
    color: var(--text-black-600);
    text-align: justify;
}

img{
    max-width: 400px;
}

.qualification-tabs{
    display: flex;
    justify-content: center;
    gap:25px;
}

.qualification .timeline#work{
    display: none;
}

.qualification .timeline{
    position: relative;
    max-width: 1200px;
    /* min-height: 510px; */
    margin: 100px auto;
    
}
.timeline .container{
    padding: 10px 50px;
    position: relative;
    width: 50%;
    overflow: visible;
    animation: movedown 1s linear forwards;
    opacity:0;
}
@keyframes movedown{
    0%{
        opacity:1;
        transform: translateY(-30px);
    }
    100%{
        opacity: 1;
        transform: translateY(0px);
    }
}



.container:nth-child(2){
    animation-delay: 1s;
}
.container:nth-child(3){
    animation-delay: 2s;
}
.container:nth-child(4){
    animation-delay: 3s;
}

.timeline .container .text-box{
    /* width:fit-content; */
    padding:25px 30px;
    /* background: rgba(255, 255, 255, 0.2); */
    position: relative;
    border-radius: 6px;
    font-size: 15px;
    overflow: visible;
    background: rgba(184, 184, 184, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(185, 185, 185, 0.3);

}

.left-container{
    left:0;
}
.right-container{
    left:50%;
}
.timeline .container .circle{
    position: absolute;
    right: -20px;
    top:32px;
    width:40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--text-black-300);
    z-index: 2;
}
.right-container .circle{
    left:-20px;
}
.timeline::after{
    content: "";
    position: absolute;
    width: 6px;
    height: 100%;
    background: var(--text-black-300);
    border-radius: 12px;
    top:0;
    left:50%;
    margin-left:-3px;
    animation: moveline 4s linear forwards;

}
@keyframes moveline{
    0%{
        height:0;
    }
    100%{
        height: 100%;
    }
}
.left-container-arrow{
    height: 0;
    width: 0;
    position: absolute;
    top:28px;
    z-index: 1;
    border-top:15px solid transparent;
    border-bottom:15px solid transparent;
    border-left:15px solid rgba(255,255,255,0.3);
    right: -15px;
}
.right-container-arrow{
    height: 0;
    width: 0;
    position: absolute;
    top:28px;
    z-index: 1;
    border-top:15px solid transparent;
    border-bottom:15px solid transparent;
    border-right:15px solid rgba(255,255,255,0.3);
    left: -15px;
}

.qualification .timeline .text-box h3{
    font-size: 1.4em;
    letter-spacing: 1.1px;
    font-weight: 600;
    color:var(--text-black-300);
}
.qualification .timeline .text-box .calender{
    margin-bottom:10px;
}
.qualification{
    padding:100px 20px;
    background-color: #000;
    color:var(--text-black-200);
    
}
.qualification .heading{
    color:#fff;
    
}


.skill-item{
    width:max(45%,380px);
    margin:10px 0;
    
}
.skill-item .outer{
    min-width:320px;
    border-radius: 50px;
    background-color: rgb(71, 71, 71);
    
   
}
.skill-item .outer .progress-bar{
    max-width:80%;
    height: 0.5em;
    background-color: #80ffff;
    border-radius: 50px;
    text-align: center;
    font-size: 26px;
    font-weight: 500;
    animation: move-right 1s linear forwards;
    
}





@keyframes move-right{
    0%{
        width:0%;
    }
    100%{
        width:100%;
    }
}
.content-wrapper .contentBox{
    width:300px;
    max-width:90%;
    padding: 70px 20px;
    color: var(--text-black-300);
    background-color: #111;
    text-align: center;
    border-radius: 8px;

}

.content-wrapper .contentBox img{
    max-width:150px;   
}

.projects-container .project-item{
    width:350px;
    display: block;
}


.contact{
    background-color: #000;
    color:var(--text-black-300);
}

.content-wrapper .forum{
    color:var(--text-black-300);
    /* min-width: 360px; */
    min-width: 50%;

}
.forum input,form textarea{
    width:100%;
    padding:12px 5px;
    border-radius: 2px;
    margin:0px 0;
    background-color: transparent;
    /* border-width: 0 0 2px; */
    border: 0;
    outline:0;
    border-bottom: 2px solid white;
    border-color:var(--bg-black-25);
    color:var(--text-white);

}
.forum h5{
    margin-top:30px;
}
#sendBtn{
    width: 80%;
    margin: 20px 5% 0 5%;
}

.success{
    margin-top:10px;
    background-color:rgb(44, 234, 27);
    border-radius: 8px;
    color:#e0e0e0;
    padding:10px;
    display:block;
}

/* Change the color of input fields and ext area */
input:focus,
input:active,
textarea:focus,
textarea:active{
    border-color:var(--bg-black-50);
}
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active  {
  transition: background-color 5000s;
  
  -webkit-text-fill-color: var(--text-black-300) !important;
}
footer{
    text-align: center;
    color:var(--text-color);
    /* color:rgb(59, 59, 59); */
    margin-top:150px;
    font-size: 14px;
    font-weight: 400;

}
footer a{
    text-decoration: none;
    color:var(--text-black-600);
    margin:0.2em;
    font-size: 1.5em;
}
footer a:nth-of-type(1):hover{
    color:#0000ff;
}
footer a:nth-of-type(2):hover{
    color:#DD2A7B;
}
footer a:nth-of-type(3):hover{
    color:#171515;
}

footer h4{
    font-weight: normal;
    font-size: 1.4em;
    margin-bottom: 0.5em;
}


.location{
    background-color: black;
    color:white;
    min-width:40%;
    /* min-width: 360px; */
    
}
.location h3{
    font-weight: 500;
    color:var(--text-black-300);
    margin-bottom: 0;
}
.location .text{
    color:var(--text-black-600);
    font-size: 16px;
    font-weight: 300;
}
.location .box{
    max-width: 100%;
    display: flex;
    gap:30px;
    margin:20px 0;
}
.location .box .pic{
    min-width: 40px;
    display:flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;


}
.location .box .pic img{
    width: 100%;
    opacity: 0.5;
}


@media(max-width:991px)
{
    
    .header,.header.sticky{
        padding:20px 50px;
        z-index:10;
        
    }
    .header .menu{
        position:fixed;
        top: 75px;
        right:-100%;
        display: block;
        padding:100px 50px;
        text-align: center;
        width:60%;
        height:100vh;
        background: var(--bg-black-100); 
        border-top:1px solid rgba(0, 0, 0, 0.2);
        transition: 0.6s;
        overflow:scroll;
        
        

    }
    .header .menu.active{
        right:0;
        
    }
    .header .menu li a {
        padding: 10px ;
        color:#111;
        font-size: 21px;
        
    }
    .header .toggle{
        width:40px;
        height:40px;
        background: url(Pictures/menu-bar.png);
        background-position: center;
        background-repeat: no-repeat;
        background-size: 30px;
        cursor:pointer;
        
    }
    .header .toggle.active
    {
        background: url(Pictures/close.png);
        background-position: center;
        background-repeat: no-repeat;
        background-size: 25px;
        cursor: pointer;
    }
    .header.sticky .toggle
    {
        filter: invert(1);
    }
    section{
        padding: 100px 50px;
    }
    .landing-page{
        padding: 150px 50px 100px;
    }
    .landing-page h2{
        font-size: 2.4em;
    }
    .landing-page h3{
        font-size:1.2em;
    }
    .btn {
		margin-top: 10px;
		padding: 10px 20px;
		font-size: 16px
	}
    
    .content-wrapper .contentBox{
        margin:10px;
    }
    .about .content-wrapper{
        flex-direction: column-reverse;
        align-items: center;
    }
    .about #myPic{
        width:50%;
        min-width:300px;
    }
    .about .textBox{
        width:90%;
    }
    .forum h3{
        margin-top: 25px;
    }

}

@media screen and (max-width:600px)
{

    .header, 
    .header.sticky{
        padding:20px 50px;
        
    }
    .landing-page{
        width:120vw;
        padding: 150px 20px 100px;
        background-position: top;
     
    }
    section{
        padding: 100px 20px;
    }
    .landing-page h2{
        font-size: 1.8em;
    }
     .mBottom50{
        margin-bottom: 20px;
    }
    .content-wrapper{
        flex-direction: column;
        justify-content: space-evenly;
        
    }
    .content-wrapper.skill-container{
        align-items: center;
    }
    .content-wrapper .contentBox{
        padding: 40px 10px;
    }
    .timeline{
        margin:50px 0;
    }
    
    .timeline::after{
        left:31px;
        
    }
    .timeline .container{
        width:100%;
        padding-left: 80px;
        padding-right: 25px;
        word-wrap:break-word;
        
        
    }
    .timeline .text-box{
        font-size: 13px;
    }
    .right-container{
        left:0;
    }
    .left-container .circle,
    .right-container .circle{
        left:10px;
    }
    .left-container-arrow,
    .right-container-arrow{
        border-right:15px solid rgba(255,255,255,0.3);
        border-left: 0;
        left:-15px;
        
    }
   
    
}