
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #1a1a1a;
    color: #000000;
}

.container {
    width: 80%;
    margin: 0 auto;
}
/**/
.header-box {
    background: linear-gradient(90deg, rgba(99, 99, 99, 0.459), #141414); 
    color: #ececec; 
    padding: 20px; 
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}

h1 {
    margin: 0; 
    font-family: Arial, sans-serif; 
    font-weight: 500;
    font-size: 25px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline;
    margin-left: 20px;
}

nav ul li:first-child {
    margin-left: 0; 
}

nav ul li a {
    color: #ececec; 
    text-decoration: none;
    font-weight: 500; 
    font-size: 17px;
    transition: color 0.3s ease; 
}
.item {
    position: relative;
    padding: 5px 10px;
    padding: 5px 10px;
}

.item::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    border-top: 3px solid #ececec;
    border-left: 3px solid #ececec;
    top: 0;
    left: 0;
    transform: scale(0);
    transition: all 0.3s;
}
.item::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    border-right: 3px solid #ececec;
    border-bottom: 3px solid #ececec;
    bottom: 0;
    right: 0;
    transform: scale(0);
    transition: all 0.3s;
}
.item:hover::before,
.item:hover::after {
    transform: scale(0.8);
}

/** mobiles-tabs**/
@media (max-width: 950px) {
    .header-box {
        display: none;
    }

    .sidebar-header {
        display: flex;
        justify-content: space-between;
        padding: 10px 20px;
        background: linear-gradient(90deg, rgba(85, 85, 85, 0.459), #141414); 
        background-size: cover;
        background-position: center;
        color: #ececec;
    }
    .sidebar-header h1 {
        font-size: 24px;
        font-weight: 500;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        height: 338px;
        width: 200px;
        background-color: #000000;
        z-index: 999;
        display: none;
        justify-content: space-between;
        align-items: flex-start;
        padding: 10px 10px;
        box-shadow: 0px 0px 5px 1px rgba(227, 227, 227, 0.536);
    }
    .sidebar ul {
        width: 100%;
    }
    .sidebar ul li{
        list-style: none;
        margin: 10px 0;
        padding: 5px 3px;
        transform: scale(0.9);
        transition: all 0.3s ease-out;
        
    }
    .sidebar ul li:hover {
        transform: scale(1);
    }

    .sidebar ul li a {
        text-decoration: none;
        color: #ffffff;
        font-size: 18px;
    }
    .box {
        margin: 10px 0;
    }
    .close-icon {
        color: #f3f3f3;
        font-size: 22px;
        cursor: pointer;
       
    }
    .menu-icon {
        font-size: 22px;
        cursor: pointer;
    }
}
@media (min-width: 951px) {
    .sidebar-header {
        display: none;
    }
}

/* welcome-section*/
.welcome {
    background-image: url('./assets/welcome.jpg'); 
    background-size: cover;
    background-position: bottom;
    padding: 100px 0; 
    text-align: center;
    color: #ffffff;
   
}

.welcome-content {
    max-width: 800px;
    height: 476px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.welcome h2 {
    font-size: 36px;
    margin-bottom: 20px;
    transform: scale(0.8);
    transition:  all 1s;
}
.welcome-message p {
    font-size: 18px;
    margin-bottom: 40px;
    transform: scale(0.8);
    transition: all 1s;
}
.welcome:hover {
    .welcome-content h2,
    .welcome-message p {
        transform: scale(1.2);
    }
}

@media screen and (max-width: 768px) {
    .welcome h2 {
        font-size: 26px;
        margin-bottom: 15px;
    }
    .explore {
        font-family: cursive;
    }

    .welcome-message p {
        font-size: 16px;
        width: 300px;
        margin: 20px auto;
    }
}

/*about-section*/
.about {
    background: linear-gradient(90deg, rgba(62, 62, 62, 0.436), #000000); 
    background-size: cover;
    background-position: center;
    opacity: 0.8;
    padding: 50px 0; 
    color: white;
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.about-text {
    width: 50%;
}

.about-text h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 18px;
    line-height: 1.6;
}

.about-image {
    width: 30%;
    text-align: right;
    border: none;
}

.about-image img {
    max-width: 100%;
    border-radius: 8px;
    border: 5px solid black;
    transform: scale(0.6);
    transition: transform 1s;
    box-shadow: 0px 0px 5px 1px rgba(227, 227, 227, 0.934);
}
.about:hover {
    .about-image img {
        transform: scale(1);
    }
}

@media screen and (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-text,
    .about-image {
        width: 100%;
    }

    .about-image {
        margin-top: 20px;
    }
}

/*skills*/
.skills {
    padding: 50px 0;
    background-color: black; 
    text-align: center;
}

.skill-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.skill-item {
    width: calc(50% - 20px);
    margin-bottom: 40px;
}

.skill-item h3 {
    margin-bottom: 10px;
    font-size: 24px;
    color: #ececec;
}

.skill-level {
    background-color: #e0e0e0; 
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.skill-level-bar {
    height: 100%;
    background-color: #2d8b30; 
    transform: translateX(-100%);
    transition: all 1s;
}
.skills:hover {
    .skill-level-bar {
        transform: translateX(0);
    }
}

.topic {
    position: relative;
    display: inline-block;
    color: white;
}
.topic::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 10px;
    top: -3px;
    left: -3px;
    border-top: 3px solid #2d8b30;
    border-left: 3px solid #2d8b30;
    transform: scale(1);
    transition: all 0.4s;
}
.topic::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 10px;
    bottom: -3px;
    right: -4px;
    border-bottom: 3px solid #2d8b30;
    border-right: 3px solid #2d8b30;
    transform: scale(1);
    transition: all 0.4s;
}
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/*projects-section*/
.dark-bg {
    background-image: url(./assets/portf-wall.jpg);
    background-size: cover;
    background-position: center;
    color: black;
}
section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    margin-top: 20px;
}
.hh {
    color: #101010;
}

.portfolio-items {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}
.portfolio-item {
    width: 450px;
    margin-bottom: 40px;
    animation: fadeIn 5s ease forwards;
    padding: 5px;
    border: 5px solid black;
    box-shadow: 0px 0px 5px 1px rgba(12, 12, 12, 0.934);
    transform: scale(0.8);
    transition: all 1s;
}
.portfolio-item:hover {
    transform: scale(1);
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    margin-bottom: 20px;
}
.portfolio-item h3 {
    margin-bottom: 14px;
}
.portfolio-item p {
    line-height: 25px;
}

/*resume-section*/
.resume {
    padding: 50px 0;
    background-color: black; 
    text-align: center;
}

.resume p {
    margin-bottom: 20px;
    color: #ececec;
}

.resume-link {
    display: inline-block;
    padding: 12px 20px;
    background-color: #2d8b30; 
    color: #fff; 
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.resume-link:hover {
    background-color: #4caf50; 
}

/*contacts*/
.contact {
    padding: 50px 0;
    background-color: #101010; 
    text-align: center;
}
.contact h2 {
    margin-bottom: 0px;
}

.contact-list {
    list-style-type: none;
    margin-top: 20px;
}
.contact-list li {
    margin-bottom: 15px;
    font-size: 18px;
    color: #ececec;
}

.contact-list li a {
    text-decoration: none;
    color: #676767;
}

.bar2 {
    min-width: 200px;
    max-width: 600px;
    margin: 20px auto;
    height: 3px;
    border-radius: 8px;
    background-color: rgb(184, 184, 184);
    border: none;
}
.bar1 {
    min-width: 100px;
    max-width: 180px;
    margin: 3px auto;
    margin-bottom: 20px;
    height: 6px;
    border-radius: 8px;
    background-color: rgb(220, 74, 30);
    border: none;
}

/*contact-form*/
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 auto;
}
#contact h2 {
    color: white;
}
.form-group {
    margin-bottom: 20px;
}
input {
    position: relative;
}


input[type="text"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    outline: none;
    background-color: #ededed;
    font-family: cursive;
    letter-spacing: 0.5px;
    margin: 10px auto;
}
textarea {
    height: 150px;
}
input[type="submit"] {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}
input[type="submit"]:hover {
    background-color: #0056b3;
}

 @media (max-width: 600px) {
        input[type="text"],
        textarea {
        width: 350px;
    } 
}


footer {
    background-color: black;
    color: #ececec;
    padding: 20px 0;
    text-align: center;
    animation: slideInUp 1s ease;
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

footer p {
    font-size: 14px;
}
@media screen and (max-width: 768px) {
    .container {
        width: 90%;
    }

    section h2 {
        font-size: 28px;
    }

    .portfolio-item {
        width: 100%;
    }
}

/* scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: #2d8b30;
    border-radius: 5px;
}

/* Custom cursor styles */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
}

.custom-cursor::after {
    content: '';
    position: absolute;
    width: 20px; 
    height: 20px; 
    border-radius: 50%;
    background-color: #ff4a0d;  
    box-shadow: 0 0 10px rgba(144, 140, 140, 0.684); 
    transform: translate(-50%, -50%);
}
/* Hided default cursor */
body {
    cursor: none;
}


