
html, body {
    scroll-behavior: smooth;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

#header {
    background: #64150C;
    height: 50px;
    position: relative;
}

.Icons{
    display: none;
}

@media(max-width: 374px){
    #logo div {
        display: none;
    }
}


@media(max-width: 1052px){
    .Icons{display: block;}
    #navigation {
        display: none;
    }
}


#logo {
    color: aliceblue;
    display: flex;
}


#logo img:first-child{
    width: 62.1px;
    margin-right: 10px;
    border-radius: 100%;
    animation: spin 2s linear infinite;
}

#logo img:nth-child(8) {
    width: 42.1px;
    padding-right: 20px;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}


@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


#logo > dIV{
    padding: 10px;
    color: yellow;
    font-size: large;
    border: 1px solid rgb(246, 234, 234);
    border-radius: 15%;
    /*background-image: rgb(91, 6, 6);*/
    animation: glow 1.5s infinite alternate;
}

@keyframes glow {
    0% { color: yellow; text-shadow: 0 0 10px rgb(255, 255, 0); }
    100% { color: white; text-shadow: 0 0 20px rgb(91, 6, 6); }
}

#navigation {
    width: fit-content;
    height: fit-content;

    position: absolute;
    top: 0;
    bottom: 0;
    right: 30px;
    margin: auto;
}


#navigation>a {
    color: white;
    text-decoration: none;
    padding: 15px 10px;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url('assets/images/profileImage.webp');
    color: white;
    width: 100%;

    padding: 0 16px;
    box-sizing: border-box;


}


.profile-img {

    border-radius: 50%;
    border: 3px solid yellow;
    width: 400px;
    height: 400px;
    object-fit: cover;
    max-width: 100%;
    animation: pulse 1.5s infinite ease-in-out;
}


@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 10px yellow;
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px yellow;
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 10px yellow;
    }
}


.info {
    text-align: center;
    font-size: large;
    max-width: 400px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1.5s ease-out forwards;
}






@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation for Heading */
.info h2 {
    opacity: 0;
    transform: translateY(-20px);
    animation: slideDown 1.5s ease-out 0.5s forwards;
}

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation for Name */
.info h1 {
    opacity: 0;
    transform: scale(0.8);
    animation: popIn 1.5s ease-out 1s forwards;
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation for Paragraph */
.info p {
    opacity: 0;
    font-size: medium;
    transform: translateY(20px);
    animation: fadeInUp 1.5s ease-out 1.5s forwards;
}


.stat-box {
    background: #050202;
    border-radius: 10px;
    text-align: center;
    color: white;
    margin: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    font-weight: bold;
    font-size: 14px;

}


/* Hover effect */
.stat-box:hover {
    transform: scale(1.1);
    box-shadow: 6px 6px 20px rgba(0, 0, 0, 0.3);
}

/* Progress bar */
.progress-bar {
    width: 80%;
    background: #ddd;
    border-radius: 10px;
    overflow: hidden;
    height: 5px;
    margin-top: 10px;
}

.progress-fill {
    height: 100%;
    background: yellow; /* Adjust color */
    transition: width 1.5s ease-in-out;
}




.buttons button, .btn {
    background: yellow;
    color: black;
    border: none;
    padding: 9px 15px;
    margin: 10px;
    font-weight: bold;
    cursor: pointer;
    font-size: 18px;
    border-radius: 5px;
    transition: all 0.3s ease;

    /* Apply Animation */
    animation: moveLeftRight 2s ease-in-out infinite;
}

/* Hover Effect */
.btn:hover, .buttons button:hover {
    transform: scale(1.1);
    background: orange;
    box-shadow: 0 0 15px rgba(255, 165, 0, 0.7);
}

/* Animation: Move Slightly Left & Right */
@keyframes moveLeftRight {
    0% { transform: translateX(0px); }
    50% { transform: translateX(10px); } /* Move Right */
    100% { transform: translateX(0px); } /* Back to Center */
}

#navigation a:hover {
    color: yellow;
    border-bottom: 2px solid yellow;
}


/* profile poto midea query */
/* Combined media queries for profile image and stat-box */
/* Base styles for the profile image and stat-box */
.profile-img {
    width: 300px;
    height: 300px;
}

.stat-box {
    width: 150px;
    height: 150px;
    font-size: 14px;
    padding: 15px;
}

/* Combined media queries for profile image and stat-box */
@media (max-width: 768px) {
    #navigation {
        position: static;
        text-align: center;
        margin-top: 10px;
    }

    .container {
        flex-direction: column;
        text-align: center;
    }

    #navigation > a {
        display: none;
    }

    #navigation > img {
        display: block;
    }

    .profile-img {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 320px) {
    /*.profile-img {*/
    /*    display: none !important; !* Force hide profile image *!*/
    /*}*/

    .stat-box {
        width: 100px;
        height: 100px;
        font-size: 12px;
        padding: 10px;
    }
}

@media (max-width: 200px) {
    .stat-box {
        width: 80px;
        height: 80px;
        font-size: 10px;
        padding: 5px;
    }
}


.aboutme{
    font-size: 26px;
    color: #f1e948;
}

.about {
    padding: 4rem 2rem;
    background: #5a1207;
    color: white;

}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.about-text {

    text-align: center;
    margin-bottom: 2rem;
}

.about-text p {
    max-width: 600px;
    margin: 0 auto 1rem;
}

.btn {
    display: inline-block;
    background: yellow;
    color: black;
    padding: 0.5rem 1rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

.skills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    width: 100%;
    max-width: 800px;
}

.skill-card {
    background: #000;
    color: #fff;
    padding: 1rem;
    text-align: center;
    border-bottom: 4px solid yellow;
    width: 100px;
    height: 70px;
}



#about-me img {
    max-width: 90%;
    height: auto;
}

#about-me > div > div {
    position: static;
    width: 100%;
    text-align: center;
    margin-top: 20px;
}
/* animation Section */



/* General fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Navigation links hover effect */
nav a {
    transition: color 0.3s ease-in-out, transform 0.2s ease-in-out;
}
nav a:hover {
    color: #ff5733;
    transform: scale(1.1);
}

/* Hero Section Animation */
.hero {
    animation: fadeIn 1s ease-in-out;
}
.hero img {
    animation: fadeIn 1.5s ease-in-out;
}

/* Service Cards Animation */
.service-card {
    transition: transform 0.3s ease-in-out;
}
.service-card:hover {
    transform: translateY(-10px);
}

/* Portfolio Items Animation */
.portfolio-item {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.portfolio-item:hover {
    transform: scale(1.05);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Experience Section Fade-in on Scroll */
.experience {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* Contact Form Input Focus Animation */
.contact-form input, .contact-form textarea {
    transition: border-color 0.3s ease-in-out;
}
.contact-form input:focus, .contact-form textarea:focus {
    border-color: #ff5733;
}

/* Social Icons Hover Effect */
.social-icon {
    transition: transform 0.3s ease-in-out;
}
.social-icon:hover {
    transform: rotate(10deg) scale(1.1);
}


/* watch out this codes line */
/* My Service Section Styling */
#my-service {
    background-color: #1e1e1e;
    color: white;
    padding: 60px 20px;
    text-align: center;
}

#my-service h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: yellow;
}

#my-service p {

    max-width: 600px;
    margin: 0 auto 40px auto;
    font-size: 16px;
    color: #ddd;
}

/* Service Card Grid */
.service-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    justify-content: center;
    padding: 20px;
}

/* Service Cards */
.service-card {
    background: #2a2a2a;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.service-card h2 {
    font-size: 22px;
    color: yellow;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    color: #ccc;
}

/* Hover Effects */
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 6px 15px rgba(255, 255, 0, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .service-container {
        grid-template-columns: 1fr;
    }
}


/* my portfolio section  */
/* Portfolio Section */
.portfolio {
    background-color: #651b12; /* Dark brown background */
    color: #ffffff;
    text-align: center;
    padding: 50px 15px;
}

/* Portfolio Header */
.portfolio-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.portfolio-header .highlight {
    color: #ffcc33; /* Gold color */
}

.portfolio-header p {
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 30px auto;
    line-height: 1.5;
    color: #d1d1d1;
}

/* Portfolio Gallery */
.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    justify-content: center;
    max-width: 900px;
    margin: auto;
}

/* Portfolio Items */
.portfolio-item {
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
    height: 180px; /* Reduce image height */
}

.portfolio-item:nth-child(2) {
    height: 200px;
}

.portfolio-item.large {
    grid-column: span 2; /* Large item spans 2 columns */
    height: 200px; /* Slightly larger for a focal point */
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Hover Effect */
.portfolio-item:hover {
    transform: scale(1.03);
}




/* my expirience Page */


/* Section Background */
.myExpirience {
    background-color: #1e1b1b; /* Dark background */
    color: #e0e0e0; /* Light text */
    padding: 50px;
    text-align: center;
}

/* Title and Description */
.experience-header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
}

.experience-header h1 span {
    color: #f7b500; /* Highlighted color */
}

.experience-header p {
    max-width: 600px;
    margin: 10px auto 40px;
    font-size: 1rem;
    line-height: 1.6;
    color: #bdbdbd;
}

/* Experience Cards Layout */
.experience-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Individual Experience Card */
.experience-card {
    background-image:  url('assets/gif/LrMw.gif'); /* Dark navy color */
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    aspect-ratio: 1/1;
    text-align: left;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease-in-out;
}

.experience-card:hover {
    transform: translateY(-5px);
}

/* Date Styling */
.experience-date {
    font-size: 0.9rem;
    color: #bdbdbd;
}

/* Title Styling */
.experience-card h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #f7b500;
}

/* Software Used */
.experience-software {
    color: #ffffff;
    display: block;
    margin-bottom: 10px;
}

/* Description */
.experience-card p:last-child {
    font-size: 0.9rem;
    color: #bdbdbd;
}


/* COntact Me */

/* Contact Me Section */
.contactMe {
    background-color: #600d04; /* Dark red background */
    color: #e0e0e0; /* Light text */
    padding: 60px 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Title */
.contactMe h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
}

.contactMe h1 span {
    color: #f7b500; /* Yellow highlight for 'Me' */
}

/* Subtitle */
.contactMe p {
    max-width: 600px;
    font-size: 1rem;
    color: #bdbdbd;
    margin-bottom: 40px;
}

/* Content Wrapper */
.contactContent {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 90%;
    max-width: 1200px;
    gap: 50px;
}

/* Left Side (Contact Details) */
.contactDetails {
    width: 40%;
    text-align: left;
}

.contactDetails p {
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.6;
}

.contactDetails span {
    color: #f7b500;
    font-weight: bold;
}

/* Right Side (Form) */
.contactForm {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

/* Input Fields */
.contactForm input,
.contactForm textarea {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: none;
    background-color: #1a1311;
    color: #ffffff;
    font-size: 1rem;
}

.contactForm input::placeholder,
.contactForm textarea::placeholder {
    color: #bdbdbd;
}

/* Button */
.contactForm button {
    background-color: #f7b500;
    color: #000;
    font-size: 1rem;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.contactForm button:hover {
    background-color: #e0a200;
}


/* =====footer==== */

.footer {
    background-image: url(assets/gif/fire.gif);
    color: #e0e0e0;
    padding: 60px 10%;
    text-align: center;
}

/* Footer Title */
.footerContent h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
}

.footerContent h1 span {
    color: #f7b500;
}

.footerContent p {
    max-width: 600px;
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 30px;
    margin: auto;
}

/* Social Icons */
.socialIcons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.socialIcons a {
    color: #e0e0e0;
    font-size: 2rem;
    text-decoration: none;
    transition: transform 0.3s ease-in-out, opacity 0.3s;
}

.socialIcons a:hover {
    transform: scale(1.2);
    opacity: 0.8;
}

.socialIcons a i {
    transition: color 0.3s ease;
}

/* Hover Effect on Icons */
.socialIcons a:hover i {
    color: #f7b500;  /* Golden color on hover */
}


@media (max-width: 320px) {
    /*.profile-img {*/
    /*    display: none !important; !* Force hide profile image *!*/
    /*}*/
}

@media (max-width: 100px) {
    .profile-img {
        display: none !important; /* Force hide profile image */
    }
    .stat-box {
        display: none; /* Hide if screen too small */
    }
}

/* Hide profile image at smaller screen widths */
@media (max-width: 768px) {
    .profile-img {
        width: 200px;
        height: 200px;/* Hide profile image for screens less than 768px */
    }

    .stat-box {
        width: 120px; /* Adjust width for smaller screens */
    }
}

@media (max-width: 320px) {
    .stat-box {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 100px) {
    .stat-box {
        width: 80px;
        height: 80px;
    }
}

/* Basic styling */
h1 {
    font-size: 2em;
    color: yellow;
}

p {
    font-size: 1.2em;
}

.btn {
    padding: 10px 20px;
    background-color: blue;
    color: white;
    border: none;
    cursor: pointer;
}

/* Media Query for 320px screens */
@media (max-width: 320px) {
    h1 {
        font-size: 1.5em;
    }

    p {
        font-size: 1em;
    }

    .btn {
        font-size: 0.8em;
        padding: 8px 15px;
    }
}

@media (max-width: 100px) {
    #about-me p {
        color: black;
    }
}

.font-type-1 {
    font-family: 'Tagesschrift', sans-serif;
}

.font-type-2 {
    font-family: 'Bebas Neue', sans-serif;
}

.font-type-3 {
    font-family: 'Cinzel', sans-serif;
}

.font-type-4 {
    font-family: 'Caveat', sans-serif, serif;
}