* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
body {
    margin: 0;
    padding: 0;
    background: url(https://i.pinimg.com/564x/e9/d5/d5/e9d5d525d1630f1c1c903161e155c7dc.jpg);
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: blurIn 1s forwards;    
    z-index: 0;
}
@keyframes blurIn {
    0% {
        opacity: 0;
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        filter: blur(0px);
    }
}
html {
    scroll-behavior: smooth;
}
::selection {
    color: gold;
    background-color: grey;
}
/* Navbar container */
.navbar {
    display: flex;
    align-items: center;
    background :black;
    padding: 10px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(40px);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.logo-menu {
    display: flex;
    align-items: center;
    margin-right: auto;
}

.logo {
    font-size: 25px;
    color: #fff;
    margin-right: 20px;
}

.toggle-btn {
    font-size: 22px;
    color: #fff;
    cursor: pointer;
    display: none; /* Hide toggle button for horizontal navbar */
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-item {
    margin: 0 15px;
}

.nav-item a {
    display: flex;
    align-items: center;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s;
    padding: 5px 10px;
}

.nav-item a:hover, .nav-item.active a {
    background: rgba(255, 255, 255, 0.2);
    border-bottom: aqua;
}

.nav-item a i {
    margin-right: 8px;
}

/* Responsive design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .toggle-btn {
        display: block;
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
        display: none; /* Hide nav items initially */
    }
    
    .nav-list.active {
        display: flex;
    }
}

.container-2, .container-3 {
    padding-left: 50px;
    display: flex;
    font-weight: 600;
}
.container{
    padding-left: 50px;
    height: fit-content;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap-reverse;
    font-weight: 600;
}
.paragraph {
    height: 400px;
    width: 500px;
    display: flex;
    align-items: end;
    justify-content: flex-end;
}
.paragraph .content-para {
    font-size: 60px;
    font-weight: 500;
    color: #ffffff;
}
/*this is st */
.image{
    height: 400px;
    width: 400px;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-end;
    justify-content: center; 
}
#profile_img {
    height: 300px;
    background-color: white;
    border-radius: 50%;
    animation: shadowAnimation 3s infinite;
  
  }
  
  
  
  @keyframes shadowAnimation {
  
    0% {
  
      box-shadow: 0 0 5px 10px rgba(21, 60, 111, 0.5);
  
    }

    25% {
        box-shadow: 0px 0px 7.5px 7.5px rgba(92, 102, 132, 0.5) ;
    }
  
    50% {
  
      box-shadow: 0px 0px 10px 10px rgba(0, 255, 242, 0.5);
  
    }

    75% {
        box-shadow: 0px 0px 7.5px 7.5px rgba(92, 102, 132, 0.5) ;

    }
  
    100% {
  
      box-shadow: 0px 0px 5px 10px rgba(21, 60, 111, 0.5);
  
    }
  
  }
  
  
  
  /* Using a pseudo-element for more control */
  
  img::after {
  
    content: '';
  
    position: absolute;
  
    top: 0;
  
    left: 0;
  
    width: 100%;
  
    height: 100%;
  
    box-shadow: 10px 10px 10px 10px rgba(0, 0, 0, 0.5);
  
    animation: shadowAnimation 2s infinite;
  
  }

/*this is end*/
.container-2 .paragraph-2 {
    color: #fff;
    height: 15vh;
    width: 40vw;
    display: flex;
    align-items: start;
    justify-content: flex-start;
}
.content-para2 {
    font-size: 30px;
}
.highlighted-2 {
    color: yellowgreen;
    font-weight: 600;
}
#mydetails {
    color: White;
}
.aboutme {
    height: 30vh;
    width: 100%;
    padding-left: 10%;
    padding-right: 10%;
    padding-top: 5%;
    color: #fff;
}
.highlighted {
    color: aqua;
    font-weight: 600;
}
#aboutmeheader {
    color: aqua;
    display: flex;
    justify-content: center;
}
.container-4 {
    margin: 10%;
}
.container-4-0 {
    display: flex;
    flex-wrap: wrap;
}
.container-4-1, .container-4-2 {
    width: 50%;
    color: white;
}
.myskills {
    padding: 0;
    padding-top: 5%;
    padding-bottom: 2%;
    margin-top: 0;
}
#myskills {
    text-align: center;
}
.loader-container {
    width: 50%;
    max-width: 400px;
    background-color: #e0e0e0;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
}
.loader1 {
    width: 90%;
    height: 30px;
    background-color: #02e70d;
    position: relative;
    animation: load1 2s ease-in-out forwards;
}
.loader-text {
    position: absolute;
    width: 100%;
    text-align: center;
    top: 0;
    left: 0;
    line-height: 30px;
    color: #fff;
    font-weight: bold;
}
@keyframes load1 {
    from {
        width: 0;
    }
    to {
        width: 90%;
    }
}
.loader2 {
    width: 90%;
    height: 30px;
    background-color: #02e70d;
    position: relative;
    animation: load2 2s ease-in-out forwards;
}
@keyframes load2 {
    from {
        width: 0;
    }
    to {
        width: 90%;
    }
}
.loader3 {
    width: 90%;
    height: 30px;
    background-color: #02e70d;
    position: relative;
    animation: load3 2s ease-in-out forwards;
}
@keyframes load3 {
    from {
        width: 0;
    }
    to {
        width: 70%;
    }
}

.myproject {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center the content */
    margin-left: 10%;
    margin-right: 10%;
    background: transparent;
}


/* Styles for medium to large screens */
.projects{
    margin: 10px;
    padding: 5px;
    height: 300px;
    width: 400px;
    border:3px solid #02e70d ;
    border-radius: 15px;
    overflow: hidden;
}
.projects:hover {
    height: fit-content;
    transform: scale(1.05);
}

.projects p::after{
    opacity:1;
}

.project-img{
    height: 300px;
    width: 400px;
}




/* Styles for smaller screens */
@media (max-width: 1024px) {
    .project-1, .project-2 {
        width: 40vw;
    }
}

/* Styles for very small screens (e.g., phones) */
@media (max-width: 600px) {
    .myprojects {
        margin-left: 5%;
        margin-right: 5%;
    }
    
    .project-1, .project-2 {
        width: 80vw;
        margin: 2% 0;
    }
}



.hireme, .message {
    text-align: center;
    color: white;
    margin-top: 100px;
    padding-top:5%;
}
.hireme ul {
    list-style-type: none;
    padding: 0;
}
.hireme ul li {
    margin: 10px 0;
}
.hireme ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}
.hireme ul li a:hover {
    text-decoration: underline;
}
#contact-form {
    margin-bottom: 20px;
    display: inline-block;
    text-align: left;
    width: 100%;
    max-width: 400px;
}
#contact-form label {
    display: block;
    margin: 10px 0 5px;
}
#contact-form input, #contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}
#contact-form button {
    background-color: aqua;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width:100%;
}
#contact-form button:hover {
    background-color: orangered;
}

.rate-me-section {
    margin: 50px auto;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 10px;
    max-width: 500px;
    text-align: center;
}

.rate-me-section h2 {
    margin-bottom: 20px;
    color: aqua;
}

.rate-me-section form {
    display: flex;
    flex-direction: column;
}

.rate-me-section label {
    margin: 10px 0 5px;
}

.rate-me-section select,
.rate-me-section textarea {
    padding: 10px;
    border-radius: 5px;
    border: none;
    margin-bottom: 15px;
}

.rate-me-section button {
    padding: 10px;
    background-color: aqua;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.rate-me-section button:hover {
    background-color: orangered;
}
