@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
:root{
    --primary-color: #a855f7;
    --primary-color-dark: #9333ea;
    --secondary-color: #4d8693;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --extra-light: #faf5ff;
    --max-width: 1200px;
}
*{
    padding:0;
    margin: 0;
    box-sizing: border-box;
}
a{
    text-decoration: none;
}

body{
    .poppins-light {
        font-family: "Poppins", sans-serif;
        font-weight: 300;
        font-style: normal;
      }
      
      .poppins-regular {
        font-family: "Poppins", sans-serif;
        font-weight: 400;
        font-style: normal;
      }
      
      .poppins-medium {
        font-family: "Poppins", sans-serif;
        font-weight: 500;
        font-style: normal;
      }
      
      .poppins-semibold {
        font-family: "Poppins", sans-serif;
        font-weight: 600;
        font-style: normal;
      }
      
      .poppins-bold {
        font-family: "Poppins", sans-serif;
        font-weight: 700;
        font-style: normal;
      }
      
}
#video-background {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
    object-fit: cover;
  }
.animated-text {
    animation-name: myAnimation;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-out;
}

@keyframes myAnimation {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

 
  .falling-text {
    opacity: 0;
    animation-name: fallDown;
    animation: fallDown 1s ease-in-out forwards;
  }
  
  @keyframes fallDown {
    0% {
      transform: translateY(-100vh);
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }
  

nav{
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    /* background-color: #ffff; */
    z-index: 99;
}
.nav_content{
    max-width: var(--max-width);
    margin: auto;
    padding: 1rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;

}
nav .logo a{
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: 0.3s;
}
nav .logo a:hover{
    color: var(--primary-color-dark);
}
nav .checkbox{
    display: none;
}
nav input{
    display: none;
}
nav .checkbox i{
    font-size: 2rem;
    color: var(--primary-color);
    cursor: pointer;
}
ul{
    display: flex;
    align-items: center;
    gap: 1rem;
    list-style: none;
    transition: left 0.3s;
}
ul li a{
    padding: 0.5rem 1 rem;
    border: 2px solid transparent;
    text-decoration: none;
    font-weight: 600;
    color: var(--text-dark);
    transition: 0.3s;
}
ul li a:hover{
    border-top-color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
    color: var(--secondary-color);
}
/* .section{
    background-color: var(--extra-light);
} */
.section_container{
    min-height: 100vh;
    max-width: var(--max-width);
    margin: auto;
    padding: 1rem;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 4rem;
}
.content{
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.subtitle{
    letter-spacing: 2px;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.title{
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}
.title span{
    font-weight: 600;
}
.description{
    line-height: 1.5rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}
.action_btns{
    display: flex;
    gap: 1rem;
}
.action_btns button{
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    padding: 1rem 2rem;
    outline: none;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    transition: 0.3s;
    cursor: pointer;
}
.Hire_me{
    background-color: var(--primary-color);
    color: #ffff;
}
.Hire_me:hover{
    background-color: var(--primary-color-dark);
}
.portfolio{
    background-color: var(--primary-color);
    color: #ffff; 
}
.portfolio:hover{
    background-color: var(--primary-color-dark);
}
.image{
    display: grid;
    place-items: center;
}
.image img{
    width: min(25rem, 90%);
    margin-top: 25px;
    border-radius: 100%;
}
#aboutMe{
    text-align: center;
}
.container-abt{
    width: 100%;
    padding: 35px 10%;
}
.container-abt{
    padding-right: calc(10% - 30px);
}
main.rows{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 20px;
}
.col header.title{
    padding: 0px 0px 20px 30px;
}
.col .contents{
    padding: 0px 30px;
    border-left: 2px solid var(--primary-color);
}
.col .contents .box{
    position: relative;
    padding: 20px;
    border: 1px solid #eaeaea;
    background-color: var(--extra-light);
    cursor: pointer;
    transition: all 0.4s;
    margin-bottom: 20px;
}
.col .contents .box:hover{
    box-shadow: 0px 3px 12px 0px #ccc;
    border: 1px solid transparent;
}
.col .contents .box::before{
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    right: calc(100% + 22px);
    top: 0;
    background-color: var(--primary-color-dark);
    border: 2px solid white;
}
.box h4{
    padding: 10px 6px 0px;
    position: relative;
    color: var(--primary-color-dark);
}
.box h3{
    font-size: 19px;
    padding: 10px 6px 0px;
    color: #444; 
}
.box p{
    line-height: 1.2;
    color: #666;
    font-size: 17px;
    padding: 10px 6px 0px;
}
.progress-bar {
    position: relative;
    width: 100%;
    height: 10px;
    background-color: #f5f5f5; /* Light gray background */
    border-radius: 5px;
  }
  
  .progress-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: #007bff; /* Blue fill color */
    width: 60%; /* Adjust the percentage here */
  }
  
  .progress-bar-text {
    position: absolute;
    top: -50%;
    left: 100%;
    transform: translate(-50%, -50%);
    color: #2e8590; /* White text color */
    font-size: 12px;
  }
.container-skills{
    width: 100%;
    padding: 30px 10%;
}
.container-skills .row{
    width: 100%;
    display: flex;
    justify-content: center;
}
.row .col{
    flex-basis: 46%;
}
.subject{
    font-size: 18px;
    letter-spacing: 2px;
    font-weight: thin;
    color: var(--primary-color);
    padding-bottom: 15px;
    /* text-transform property is used to transform the text from lowercase to uppercase or vice versa. */
}
.skills-container {
    position: relative;
  }
  
.progress-bar {
  position: relative;
  width: 100%;
  height: 5px;
  background-color: #ffff;
  border-radius: 15px;
  margin-bottom: 20px;
  }
  
.progress-line{
    position: absolute;
    width: 0%;
    height: 7px;
    background-color: var(--primary-color-dark);
    border-radius: 15px;
    top: -1px;
    animation: animate 1.5s cubic-bezier(1 , 0.2 , 0.2 , 1) forwards;
}
@keyframes animate{
    100%{
        width: 100%;
    }
}

.contact-container{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}
.contact-left{
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 20px;
}
.contact-left-title{
    font-weight: 600;
    color: var(--primary-color);
    font-size: 40px;
    margin-bottom: 5px;

}
.contact-inputs{
    width: 400px;
    height: 50px;
    border: none;
    outline: none;
    padding-left: 25px;
    font-weight: 500;
    color: #666;
    border-radius: 50px;
}
.contact-left textarea{
    height: 140px;
    padding-top: 10px;
    border-radius: 20px;
}
.contact-inputs:focus{
    border: 2px solid var(--primary-color-dark);
}
.contact-inputs::placeholder{
    color: #a9a9a9;
}
.contact-left button{
    display: flex;
    align-items: center;
    padding: 15px 30px;
    font-size: 16px;
    color: #fff;
    gap: 10px;
    border: none;
    border-radius: 50px;
    background-color: var(--primary-color);
    cursor: pointer;
}
footer{
    /* background-color: var(--extra-light); */
    text-align: center;
    margin-top: 20px;
    /* margin-bottom: 20px; */
}
.icons{
    display: flex;
    justify-content: center;
    font-size: 30px;
    margin: 0px 30px 0px 30px;
}
.icons a{
    text-decoration: none;
    color: inherit;
}
.my-custom-button {
    background-color: var(--primary-color);
    color: var(--extra-light);
  }
  
@media (width < 750px){
    nav .checkbox{
        display: block;
    }
    ul{
        position: absolute;
        width: 100%;
        height: calc(100vh - 85px);
        left: -100%;
        top: 85px;
        background-color: var(--extra-light);
        flex-direction: column;
        justify-content: center;
        gap: 3rem;
    }
    nav #check:checked ~ ul{
        left: 0;

    }
    ul li a{
        font-size: 1.25rem;
    }
    .section_container{
        padding: 10rem 1rem 5rem 1rem;
        text-align: center;
        grid-template-columns: repeat(1,1fr);
    }
    .image{
        grid-area: 1/1/2/2;
    }
    .action_btns{
        margin: auto;
    }
    .contact-inputs{
        width: 80vw;
    }
    .contact-right{
        display: none;
    }
    main.row{
        grid-template-columns: 1fr;
    }
    .row .col:nth-child(2){
        margin-top: 30px;
    }
}