*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}
:root{
    --bg-color:#080808;
    --second-bg-color:rgb(21, 54, 116);
    --text-color:white;
    --main-color:#ea580c;

}
html{
    font-size: 60%;
  
}
body{
    background-color: rgb(21, 54, 116);
    color: var(--text-color);
}
.header{
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 4rem 15%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}
#menu-icon{
    font-size: 3.5rem;
    color: var(--main-color);
    display: none;

}
.logo{
    font-size: 3rem;
    color: var(--text-color);
    font-weight:800 ;
    cursor: pointer;
    transition: 0.4s ease-in-out;

}
.logo:hover{
    transform: scale(1.1);
}
span{
    background: linear-gradient(270deg,
    #DF8908 10%,
    #ff1d15 100%
    );
    background-clip: text;
    color: transparent;
}
.navbar a{
    font-size: 1.8rem;
    color: var(--text-color);
    margin-left: 4rem;
    font-weight: 500;
    transition: 0.3s ease-in-out;
    border-bottom: 3px solid transparent;
}
.navbar a:hover{
    color: var(--main-color);
    border-bottom: 3px solid var(--main-color);
}
.gradient-btn{
    
    font-size: 1.8rem;
    padding: 1rem 2rem;
    border-radius: 3rem;
    background: linear-gradient(
        270deg,
        #DF8908 10%,
        #ff1d15 100%
    );
    letter-spacing:1px;
    cursor:pointer;
    transition: 0.3s ease-in-out;
    color:rgba(0, 0, 0, 0.3);
    border: none;
    text-wrap:balance;
}
.gradient-btn:hover{
    transform: scale(1.05);
}

section{
    min-height: 100vh;
    padding: 10rem 15%;
}
.home{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15rem;
}
.home-content{
    display: flex;
    flex-direction: column;
    align-items: baseline;
    text-align: left;
    justify-content: center;
    margin-top: 3rem;

}
.home-content h1{
    font-size: 8rem;
    font-weight: 700;
    margin-top: 1.5rem;
    line-height: 1;
   
}

.home-content p{

    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.8;
}
.home-img img{
    margin-top: 50px;
    width: 27vw;
    border-radius: 50%;
    box-shadow: 0 0 25px var(--main-color);
    transition: 0.4s ease-in-out;
    cursor: pointer;
}
.home-img img:hover{
    box-shadow: 0 0 25px var(--main-color),
         0 0 50px var(--main-color),
        0 0 100px var(--main-color);
}
.social-icons a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    padding: 1rem;
    background-color: transparent;
    border: 2px solid var(--main-color);
    border-radius: 50%;
    color:var(--main-color); 
    margin:3rem 0.5rem;
    transition: 0.3s ease-in-out;

}
.social-icons a:hover{
    color:white;
    background-color: var(--main-color);
   transform: scale(1.2) translateY(-5px);
   box-shadow: 0 0 25px var(--main-color);
}
.btn-group{
    display: flex;
    gap: 1.5rem;

}
.btn{
    display: inline-block;
    padding: 1rem 3rem;
    background-color: var(--main-color);
    box-shadow: 0 0 15px var(--main-color);
    border-radius: 3rem;
    font-size: 1.8rem;
    color: black;
    border: 2px solid transparent;
    font-weight: 600;
    transition: 0.3s ease-in-out;
}
.btn:hover{
    transform: scale(1.05);
    box-shadow:0 0 25px var(--main-color) ,
    0 0 50px var(--main-color);
}
.btn-group a:nth-of-type(2){
    background: #080808;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    box-shadow: 0 0 25px transparent;
}
.btn-group a:nth-of-type(2):hover{
    box-shadow: 0 0 25px var(--main-color);
    background-color: var(--main-color);
    color: black;
}

.text-animation{
    font-size: 34px;
    font-weight: 600;
    min-width: 280px;
}
.text-animation span{
    position: relative;
}
.text-animation span::before{
    content: "Computer Instructor";
    color:var(--main-color);
    animation: words 20s infinite;

}
.text-animation span::after{
    content: "";
    background-color:rgb(21, 54, 116);
    position: absolute;
    width: calc(100% + 8px);
    height: 100%;
    border-left: 3px solid rgb(21, 54, 116);
    right: -8px;
    animation: cursor 0.6s infinite, typing 20s steps(14) infinite;

}

@keyframes cursor{
    to{
        border-left: 2px solid var(--main-color);
    }
}
@keyframes words{
    0%,
    20%{
        content: "Software Developer";
    }
    21%, 
    40%{
        content: "Web Designer";
    }
    41%,
    60%{
        content: "YouTuber";
    }
    61%,
    80%{
        content: "Graphic Designer";
    }
    81%,
    100%{
        content: "Fronted Designer";
    }
}

@keyframes typing{
    10%,
    15%,
    30%,
    35%,
    50%,
    55%, 
    70%,
    75%,
    90%,
    95%{
        width: 0;
    }
    5%,
    20%,
    25%,
    40%,
    45%,
    60%,
    65%,
    80%,
    85%{
        width: calc(100% + 8px);
    }
}



.about{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10rem;
    background: rgb(21, 54, 116);
}
.about-img img{
    width: 40vh;
    border-radius: 50%;
    box-shadow: 0 0 25px var(--main-color);
    transition: 0.4s ease-in-out;
}
.about-img img:hover{
    box-shadow: 0 0 25px var(--main-color),
    0 0 50px var(--main-color),
    0 0 100px var(--main-color);
}
.about-content h2{
    font-size: 7rem;
    text-align: left;

}
.about-content h3{
    font-family:  'Arial Narrow Bold', sans-serif;
 text-decoration: underline;
    font-size: 5rem;
    text-align: left;
}
.about-content p{ 
    font-size: 1.8rem;
}
.about-content p a{
    color: var(--main-color);
}
.about-content .btn{
    margin: 3rem 0;
}
::-webkit-scrollbar{
    width: 20px;
}
::-webkit-scrollbar-thumb{
    background-color:var(--main-color);
}
::-webkit-scrollbar-track{
    background-color: var(--bg-color);
}
.heading{
    text-align: center;
    font-size: 7rem;
    margin:5rem 0;

}



.services{
    background-color: rgb(21, 54, 116);
    color:rgb(21, 54, 116); 
}
.services h2{
    color: var(--text-color);
}
.services-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px
    ,1fr));
    align-items: center;
    gap: 2.5rem;
}
.box{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--main-color);
    height: 400px;
    border-radius: 3rem;
    cursor: pointer;
    border: 5px solid transparent;
    transition: 0.4s ease-in-out;

}
.box:hover{
    background: rgb(21, 54, 116);
    color: var(--main-color);
    border: 5px solid var(--main-color);
    transform: scale(1.03);

}
.services-info{
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    padding: 5rem;
}
.services-info h4{
    font-size: 4rem;
    margin: 2rem 0;
    font-weight: 800;
}
.services-info p{
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.7;
}
.services-info i{
    font-size:8rem ;
}


.projects{
    background-color:  rgb(21, 54, 116);
}
.projects-box{
    display: flex;
    grid-template-columns: repeat(auto-fit, minmax
    (350px, 1fr));
    place-items: center;
    gap: 3rem;
    row-gap: 5rem;
}
.project-card{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: rgb(21, 54, 116);
    border: 2px solid var(--main-color);
    border-radius: 3rem;
    gap: 2rem;
    padding: 5rem 2rem;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 0 5px var(--main-color);
    transition: 0.3s ease;
}
.project-card:hover{
    box-shadow: 0 0 25px var(--main-color),
    0 0 50px var(--main-color);
    transform: scale(1.02);
}
.project-card img{
    max-width: 300px;
    border-radius: 2em;
    object-fit: cover;
}
.project-card h3{
    font-size: 1.6rem;
}
.project-card p{
    font-size: 1.6rem;

}



.contact{
    background-color:  rgb(21, 54, 116);

}
.contact h2{
    margin-bottom: 3rem;
    color: var(--text-color);

}
.contact form{
    display: flex;
    align-items: center;
    justify-content: center;
    gap:3rem;
    margin: 5rem 0;
    text-align: center;
}
.contact form .input-box input, 
.contact form textarea{
    width: 100%;
    padding: 2.5rem;
    font-size: 1.8rem;
    color: var(--text-color);
    background-color: rgb(21, 54, 116);
    border-radius: 2rem;
    border: 2px solid var(--main-color);
    margin: 1.5rem 0;
    resize: none;

}
.footer{
    background-color: rgba(0, 5, 40, 0.219);
    padding: 50px 0;

}
.footer .social-icons{
    text-align: center;

}
.footer ul{
    text-align: center;
    font-size: 1.8rem;
}
.footer ul li{
    text-align: inline-block;
    margin-left: 20px;

}
.footer ul li a{
    color: white;
    border-bottom: 3px solid transparent;
    transition: 0.3s ease-in-out;
}
.footer ul li a:hover{
    border-bottom: 3px solid var(--main-color);
}

  /* Style for the list container */
.list {
    display: flex; /* Makes the items align horizontally */
    justify-content: center; /* Centers the items horizontally */
    align-items: center; /* Centers the items vertically (if needed) */
    list-style-type: none; /* Removes bullet points */
    padding: 0; /* Removes default padding */
    margin: 0; /* Removes default margin */
  }
  
  /* Style for individual list items */
  .list li {
    margin: 1px 15px; /* Adds spacing between items */
  }
  
  /* Style for the links */
  .list a {
    text-decoration: none; /* Removes underline */
    color: #333; /* Default color for links */
    font-size: 15px; /* Adjusts font size */
    font-weight: bold; /* Makes text bold */
    transition: color 0.3s ease; /* Adds smooth transition effect on hover */
  }
  
  /* Hover effect for links */
  .list a:hover {
    color: var(--main-color); /* Change to your desired hover color */
  }
    
      
.footer .p{
    text-align: center;
}
.footer .copyright{
text-align: center;
margin-top: 40px;
font-size: 16px;
}


@media(max-width:1285px){
    #menu-icon{
        display: block;
        cursor: pointer;
    }
    .navbar{
        position: absolute;
        top: 100%;
        right: 0;
        width: 50%;
        padding: 1rem 3rem;
        background: rgb(0, 0, 0,0.8);
        border-bottom-left-radius:2rem ;
        border-left: 2px solid var(--main-color);
        border-bottom: 2px solid var(--main-color);
        display: none;
    }
    .navbar a{
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
        color: var(--text-color);
    }
    .navbar.active{
        display: block;

    }
   .gradient-btn{
    margin-right: 0; /* Ensures the button aligns to the edge */
    float: right; 
    display: flex;
    justify-content: flex-end;
    font-size: 1.8rem;
    padding: 1rem 2rem;
    border-radius: 3rem;
    background: linear-gradient(
        270deg,
        #DF8908 10%,
        #ff1d15 100%
    );
    letter-spacing:1px;
    cursor:pointer;
    transition: 0.3s ease-in-out;
    color:rgba(0, 0, 0, 0.3);
    border: none;
    text-wrap:balance;
}

    
    
    .home{
        flex-direction: column-reverse;
        margin: 5rem 0;
        gap: 5rem;

    }
    .home-content{
        align-items: center;
        text-align:center ;

    }
    .home-img img{
        width: 45vw;
    }
    .about{
        flex-direction: column-reverse;
        text-align: center;

    }
    .about h2{
        text-align: center;
        margin: 2rem 0;

    }
    .about img{
        width: 56vw;

    }
    .contact form{
        flex-direction: column;
    }
    .list a {
        text-decoration: none; /* Removes underline */
        color: #333; /* Default color for links */
        font-size: 14px; /* Adjusts font size */
        font-weight: bold; /* Makes text bold */
        transition: color 0.3s ease; /* Adds smooth transition effect on hover */
      }
      .text-animation{
        font-size: 25px;
        font-weight: 500;
        min-width: 200px;
    }

}

