@import url('https://fonts.googleapis.com/css?family=sofia');
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-decoration: none;
    font-family: fantasy, Geneva, Tahoma, sans-serif;
    outline: none;
    border: none;
}
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: sofia;
}
.navbar {
    background: #000;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar__container {
    display: flex;
    justify-content: space-between;
    height: 80px;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
}
#navbar__logo {
    background-color: #ff8177;
    background-image: linear-gradient(to top,#ff0844 0%,#ffb199 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 2.5rem;
    font-family: fantasy;
    animation: glow 2s ease-in-out infinite alternate;
}
.fa-gem {
    margin-right: 0.5rem;
}
.navbar__menu {
    display: flex;
    align-items: center;
    list-style: none;
    text-align: center;
}
.navbar__item {
    height: 80px;
}
.navbar__links {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 1rem;
    height: 100%;
}
.navbar__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    width: 100%;
}
.button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 10px 20px;
    height: 100%;
    width: 100%;
    border: none;
    outline: none;
    border-radius: 4px;
    background-color: #f77062;
    color: #fff;
}
.button:hover {
    background: #b74b4b;
    transition: all 0.3s ease;
}
.navbar__links:hover {
    color: #f77062;
    transition: all 0.3s ease;
}

/* Home*/
section {
    min-height: 100vh;
    padding: 5rem 9% 5rem;
}
.home {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem;
    background-color: black;
}
.home .home-content h1 {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    font-family: fantasy;
}
span {
    color: #b74b4b;
}
.home-content h3 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #fff;
}
.home-content p {
    font-size: 1.3rem;
    text-align: left;
}
.home-img {
    border-radius: 50%;
}

.home-img img {
    position: relative;
    width: 60vh;
    border-radius: 50%;
    box-shadow: 0 0 25px #fff;
    cursor: pointer;
    transition: 0.2s linear;
    margin-bottom: 100px;
}
.home-img:hover {
    font-size: 2.8rem;
    font-weight: 500;
}
.social-icon a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 2rem;
    background-color: transparent;
    font-size: 2rem;
    border-radius: 50%;
    margin: 3rem 1rem 3rem;
    transition: 0.3s ease;
}

.social-icon a:hover {
    color: black;
    transform: scale(1.3)translateY(-5px);
    background-color: #b74b4b;
    box-shadow: 0 0 25px;
}
.social-icon a img {
    width: 50px;
}
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: black;
    font-size: 1.5rem;
    color: #b74b4b;
    letter-spacing: 0.3rem;
    font-weight: 600;
    border-bottom: 2px solid #b74b4b;
    transition: 0.3s ease;
    cursor: pointer;
}

.btn:hover {
    transform: scale3d(1.03);
    background-color: #b74b4b;
    color: black;
    box-shadow: 0 0 10px white;
    padding: 15px 30px;
}

.typing-text {
    font-size: 34px;
    font-weight: 600;
    min-width: 280px;
}

.type-text {
    color: green;
}
.cursor {
    background-color: green;
}
/*Home Ends*/

/* SKILL SECTION*/
.skill-section {
    padding: 50px 20px;
    text-align: center;
}
.skill-section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #2c3e50;
    font-family: fantasy;
}
.skill-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    cursor: pointer;
}
.skill-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 200px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2) ;
}
.skill-card img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 15px;
}
.skill-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #2c3e50;
    font-family: fantasy;
}
.skill-card p {
    font-size: 1rem;
    color: #666;
}
.more-skills {
    display: flex;
    justify-content: center;
    align-items: center;
}
.more-skills img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-right: 10px;
}
/* END OF SKILL SECTION*/

/*ABOUT SECTION*/
.about-me {
    padding: 60px 20px;
    background: #000;
    text-align: center;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.about-me h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
}
.about-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem;
}
.about-content img {
    position: relative;
    width: 60vh;
    border-radius: 50%;
    box-shadow: 0 0 25px #fff;
    cursor: pointer;
    transition: 0.2s linear;
    margin-bottom: 100px;
    margin-top: 50px;
}
.about-text {
    max-width: 600px;
    text-align: left;
    margin-left: 50px;
}
.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #ffffffa6;
}
.about-text strong {
    color: #2c3e50;
}
.abt-btn {
    display: inline-block;
    padding: 12px 24px;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 25px;
    transition: background-color 0.3s ease;
}
.abt-btn:hover {
    background: #b74b4b;
    color: #fff;
}
/*END OF ABOUT SECTION*/

/* CONTACT SECTION*/
#contact {
    padding: 60px 20px;
    background: #000;
    text-align: center;
}
.contact-container {
    
    max-width: 1000px;
    margin: 0 auto;
}
.contact-container h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    font-family: fantasy;
    margin-bottom: 20px;
}
.contact-container p {
    font-size: 1.1rem;
    color: #ffffffa6;
    margin-bottom: 30px;
}
#contact-form {
    width: 100%;
}
.form-group {
    margin-bottom: 20px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
    transition: border-color 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: #007bff;
}
.form-group textarea {
    resize: vertical;
}
.submit-btn {
    background: #007bff;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.submit-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
}
.social-links {
    margin-top: 30px;
}
.social-links a {
    display: inline-block;
    margin: 0 15px;
    transition: transform 0.2s ease, opacity 0.3s ease;
}
.social-links img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}
.social-links img:hover {
    opacity: 0.8;
    transform: scale(1.1);
}
hr {
    border: 2px solid #2c3e50;
    margin-bottom: 30px;
    margin-top: 0;
}
/* END OF CONTACT SECTION*/


/* ANIMATIONS*/
@keyframes glow {
    from {
        text-shadow: 0 0 10px #ff6b6b, 0 0 20px #ff6b6b50;
    }
    t0 {
        text-shadow: 0 0 20px #ff6b6b, 0 0 30px #ff6b6b80;
    }
}
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}
.particle {
    position: absolute;
    background: #ff6b6b;
    border-radius: 50%;
    opacity: 0.5;
    animation: float 15s infinite linear;
}
@keyframes float {
    0% {
        transform: translateY(100vh) scale(0.5);
    }
    100% {
        transform: translateY(-100vh) scale(1);
    }
}

/* RESPONSIVE DESIGN*/
@media screen and (max-width: 960px) {
    * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-decoration: none;
    outline: none;
    border: none;
    font-family: sofia;
}
   .navbar__container {
    display: flex;
    justify-content: space-between;
    position: fixed;
    opacity: 0.8;
    height: 80px;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    padding: 0;
    background: #000;
   }
   
   .navbar__menu {
    display:grid ;
    grid-template-columns: auto;
    margin: 0;
    width: 100%;
    position: absolute;
    top: -100px;
    opacity: 0;
    transition: all 0.5s ease;
    height: 10vh;
    z-index: -1;
    background: #131313;
   }

   .navbar__menu.active {
    background: #131313;
    top: 100%;
    opacity: 1;
    transition: all 0.5s ease;
    z-index: 99;
    height: 70vh;
    font-size: 1.6rem;
   }

   #navbar__logo {
    padding-left: 25px;
    font-family: sofia;
   }
   .navbar__toggle {
    position: fixed;
   }
   .navbar__toggle .bar {
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background: #fff;
   }

   .navbar__item {
    width: 100%;
   }

   .navbar__links {
    text-align: center;
    padding: 2rem;
    width: 100%;
    display: table;
   }

   #mobile-menu {
    position: absolute;
    top: 20%;
    right: 5%;
    transform: translate(5%, 20%);
   }

   .navbar__btn {
    padding-bottom: 2rem;
   }

   .button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    height: 80px;
    margin: 0;
   }

   .navbar__toggle .bar {
    display: block;
    cursor: pointer;
   }

   #mobile-menu.is-active .bar:nth-child(2) {
    opacity: 0;
   }
   #mobile-menu.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
   }
   #mobile-menu.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
   }
    /* Home section*/
   .home {
    display: flex;
    flex-direction: column;
   }
   .home-content h1{
    font-size: 2.5rem;
    text-align: center;
   }
   .home-content p {
    font-size: 1.3rem;
    text-align: center;
   }
   .home-content h3 {
    font-size: 2rem;
    text-align: center;
   }
   /* SKILL SECTION*/
   .skill-card {
    width: 100%;
    max-width: 300px;
   }
   /* ABOUT */
   .about-content{
    flex-direction: column;
    text-align: center;
   }
   .about-content img {
    width: 250px;
    height: 250px;
   }
   /* CONTACT SECTION*/
   .contact-container p {
    font-size: 1.1rem;
   }
   .submit-btn {
    width: 100%;
   }
}