
body {
    background-image: url("https://res.cloudinary.com/dnsrtzzwr/image/upload/v1658036218/v1016-b-08_cdfkzo.jpg");
    background-size: cover;
    height: 100vh;
}
#logo {
    font-family: 'Ubuntu', sans-serif;
    color: white;
    font-size: 35px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 1px;
}
#logo span {
    font-family: 'Ubuntu', sans-serif;
    color: rgb(56, 27, 221);
}
#item1, #item2, #item3, #item4, #item5 {
    color: white;
    font-size: 20px;
    font-weight: 400;
    margin: 0 10px;
}
.text3 span {
    color: rgb(56, 27, 221);
    font-weight: 500;
}
.header {
    position: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 20%;
    padding: 2rem 9%;
    background: dark;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}
.header.sticky {
    background: black;
}
.main-content {
    padding-left: 15px;
    margin-left: -50px;
}
a.btn {
    margin-top: 20px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 35px;
    background-color: rgb(56, 27, 221);
    border-radius: 8px;
    border: none;
    display: inline-block;
    white-space: nowrap;
    transition: all 0.3s ease;
}
a.btn:hover {
    transform: scale(1.05);
    background-color: transparent;
    color: white;
    border: 1px solid rgb(56, 27, 221);
}
.media-body a.btn:hover {
    color: black;
}
.typing, .typing-1 {
    color: rgb(56, 27, 221);
    font-weight: 500;
}
.line {
    color: rgb(56, 27, 221);
}
h1.name {
    font-size: 75px;
    font-weight: 700;
}
h3.hello {
    font-size: 68px;
    margin: 15px 0;
}
.home {
    min-height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    padding: 0 2%;
}
.row {
    display: flex;
    flex-wrap: wrap;
}
.container {
    max-width: 1120px;
    width: 100%;
    margin: auto;
}
.my-profession {
    padding-top: 10px;
}
.about div {
    padding: 20px;
}
.media-card {
    max-width: 1800px;
    display: flex;
    background-color: white;
    border: 5px solid white;
    border-radius: 20px;
    margin: auto;
}
.media-card .about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.about-content .left img {
    height: 100%;
    width: 95%;
    object-fit: cover;
    border-radius: 6px;
}
.about-content .right .about-heading {
    font-size: 30px;
    padding-bottom: 10px;
    font-weight: 500;
}
.about-content .right .about-description {
    color: black;
    line-height: 1.5;
    font-size: 18px;
}
.fas {
    font-weight: 700;
}
i {
    font-size: 30px;
    color: rgb(56, 27, 221);
    margin-top: 20px;
    margin-bottom: 10px;
}
.my-skill-card {
    padding-top: 20px;
    padding-bottom: 50px;
}
.my-skill-icon {
    color: rgb(56, 27, 221);
}
.my-skill-card {
    background-color: #111;
    width: 100%;
    color: white;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
}
.my-skill-card:hover {
    background-color: rgb(56, 27, 221);
    transform: scale(1.02);
}
.my-skill-description {
    font-size: 22px;
    font-weight: 300;
    color: rgb(56, 27, 221);
}
.my-skill-heading {
    font-size: 25px;
    font-weight: 400;
    margin: 10px 0 7px 0;
}
.my-skill-text {
    color: white;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 20px;
    font-size: 25px;
    font-weight: 500;
}
.my-skills {
    background-color: black;
    padding: 25px;
    padding-top: 80px;
}

/* UPDATED SKILLS PROGRESS BARS */
.bars {
    margin-bottom: 15px;
}

.line {
    height: 8px;
    width: 100%;
    background: lightgrey;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.line::after {
    content: "";
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    background: rgb(56, 27, 221);
    transition: width 1.5s ease-in-out;
}

.html::after { width: 70%; }
.css::after { width: 80%; }
.js::after { width: 70%; }
.java::after { width: 90%; }
.mysql::after { width: 90%; }

.skill-title {
    position: relative;
    text-align: center;
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 60px;
    padding-bottom: 20px;
    font-family: 'Ubuntu', sans-serif;
}
.skill-title::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 180px;
    height: 3px;
    background: #111;
    transform: translateX(-50%);
}
.skill-title::after {
    content: "what i know";
    position: absolute;
    bottom: -8px;
    left: 50%;
    font-size: 20px;
    color: rgb(56, 27, 221);
    padding: 0 5px;
    background: #fff;
    transform: translateX(-50%);
}
.skills {
    padding-top: 30px;
    padding-bottom: 50px;
    background-color: white;
}

/* @@@@@ PROJECTS @@@@@ */
.project-layer a i {
    font-size: 1.2rem;
    color: black;
    align-items: center;
}
.project-layer a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 2rem;
    height: 2rem;
    background: white;
    border-radius: 50%;
}
.project-layer p {
    font-size: 1rem;
    margin: .3rem 0 .7rem;
    color: white;
}
.project-layer h4 {
    font-size: 1.6rem;
    color: white;
}
.project-box .project-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(33, 20, 220, 0.53), rgb(0, 0, 255));
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 0 2rem;
    transform: translateY(100%);
    transition: .5s ease;
}
.project-box:hover .project-layer {
    transform: translateY(0);
}
.project-box img {
    width: 100%;
    transition: .5s ease;
}
.project-box:hover img {
    transform: scale(1.1);
}
.project-container .project-box {
    position: relative;
    border-radius: 1.5rem;
    box-shadow: 0 0 1.5rem;
    overflow: hidden;
    display: flex;
}
.project-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 2.5rem;
}
.project-img {
    height: 240px;
    width: 320px;
    border-radius: 1.5rem;
}
.project-title {
    position: relative;
    text-align: center;
    color: white;
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 60px;
    padding-bottom: 20px;
    font-family: 'Ubuntu', sans-serif;
}
.project-title::before {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 180px;
    height: 3px;
    background: #fff;
    transform: translateX(-50%);
}
.project-title::after {
    position: absolute;
    bottom: -8px;
    left: 50%;
    font-size: 20px;
    color: rgb(56, 27, 221);
    padding: 0 5px;
    background: black;
    transform: translateX(-50%);
}
.project-title::after {
    content: "Achivements";
}
.projects {
    padding-top: 100px;
    padding-bottom: 50px;
    background-color: black;
}
/* Contact page */
.me {
    color: rgb(56, 27, 221);
}
.contact {
    background-color: white;
}
.contact h2 {
    font-size: 40px;
    text-align: center;
    color: black;
    padding-top: 80px;
}
.contact form {
    max-width: 65rem;
    margin: auto;
    text-align: center;
}
.contact form .input-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.contact form .input-box input,
.contact form textarea {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    border-radius: .5rem;
    margin: .7rem 0;
    color: white;
    background-color: black;
}
.contact form .input-box input {
    width: 49%;
}
.contact form textarea {
    resize: none;
}
.contact form .btn {
    margin-top: 1rem;
    cursor: pointer;
    margin-bottom: 1.5rem;
}
.contact form .btn:hover {
    color: white;
    background-color: black;
}
/* footer */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: .5rem 9%;
    background-color: black;
}
.footer-text p{
    font-size: 1rem;
    color: white;
}
.footer-iconTop a {
    height: 2.5rem;
    width: 2rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: .7rem;
    border-radius: .5rem;
    background-color: white;
}
.footer-iconTop a i {
    font-size: 1.8rem;
    color:rgb(56, 27, 221);
}
/* BREAKPOINTS */
@media (max-width: 991px) {
    .footer {
        padding: 2rem 3%;
    }
    .project {
        padding-bottom: 7rem;
    }
    .contact {
        min-height: auto;
    }
}
@media (max-width: 768px) {
    #menu-icon {
        display: block;
    }
    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem 3%;
        background: black;
        border-top: .1rem solid rgba(0, 0, 0, .2);
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .2);
    }
    .navbar a {
        display: block;
        font-size: 20px;
        margin-left: 20px;
    }
    .project h2 {
        margin-bottom: 3rem;
    }
    .project-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 617px) {
    .project-container {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 450px) {
    html {
        font-size: 50%;
    }
}
.anime-gif {
  width: 500%;
  max-width: 550px;
  margin-left: 60px; /* Moved animation slightly to the right (increased from 30px to 60px) */
  height: auto;
  border-radius: 10px;
  animation: fadeInUp 1.5s ease-out forwards;
  opacity: 0;
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(60px);
  }
  60% {
    opacity: 1;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
