* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: black;
    font-family: 'Segoe UI', Tahoma, Verdana, sans-serif;
    scroll-behavior: smooth;
}

/* Header Section */

.header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgb(248, 245, 245);
    box-shadow: 0px 0px 5px rgb(87, 86, 86);
    z-index: 1000;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

.nav .menu {
    display: flex;
    gap: 30px;
}

.menu li {
    list-style-type: none;
    font-size: 17px;
    font-weight: 700;
}

.menu li a {
    text-decoration: none;
}

.menu li a:hover {
    color: rgb(37, 50, 237);
}

.nav h2 {
    font-size: 27px;
}

.nav span {
    color: rgb(37, 50, 237);
}

.menu_icon {
    cursor: pointer;
    font-size: 25px;
    display: none;
}

#toggle_btn {
    cursor: pointer;
    border: none;
    background: none;
    font-size: 20px;
}

body.dark-mode {
    background-color: #121212;
    color: #ffffff;
}


/* Home Section */

#home {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
}

.home_content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    width: 800px;
}

.home_content h2 {
    font-size: 35px;
}

.home_content h2 span {
    color: rgb(37, 50, 237);
}

.home_content .domain {
    font-size: 25px;
    font-weight: bold;
    font-style: italic;
}

.home_content .domain_details {
    font-size: 21px;
    margin-top: 30px;
}

.home_content .social_link {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    gap: 20px;
    margin-top: 30px;
}

.social_link i {
    cursor: pointer;
}

.home_content .social_link i:hover {
    color: rgb(18, 31, 218);
    transform: scale(1.2) rotate(7deg);
    transition: 0.6s;
}

.home_content .social_link #contact_btn {
    text-decoration: none;
    background-color: rgb(30, 12, 231);
    color: white;
    border-radius: 50px;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.home_content .social_link #contact_btn:hover {
    background-color: rgb(0, 17, 255);
}

/* About Section */

#about {
    background-color: rgb(248, 245, 245);
    box-shadow: 0px 0px 5px rgb(87, 86, 86);
    height: 100%;
    align-content: center;
    padding: 70px 0;
}

.about_content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about_content h3 {
    text-align: center;
    font-size: 35px;
}

.about_content h3 span {
    color: rgb(37, 50, 237);
}

.about_container {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 50px;
}

.about_container .about_image img {
    height: 300px;
    width: 300px;
    border-radius: 15px;
}

.about_container .about_details {
    font-size: 20px;
}

/* Skill Section */

#skill {
    max-width: 1200px;
    margin: 0 auto;
    padding: 63px 20px;
    height: 100%;
}

.skill_container h2 {
    font-size: 35px;
    font-weight: 700;
    text-align: center;
}

.skill_container h2 span  {
    color: rgb(37, 50, 237);
}

.skill_container p {
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    margin-top: 30px;
}

.skill_content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.lang_frame_tools {
    border: 2px solid black;
    border-radius: 13px;
    text-align: center;
    margin: 10px;
    padding: 20px;
}

.skill_content .lang_frame_tools h1  {
    border-bottom: 2px dashed black;
    padding-bottom: 20px;
}

.skill_content .skills_logo {
    height: 130px;
    width: 130px;
    border-radius: 15px;
    box-shadow: 0px 0px 7px rgb(87, 86, 86);
    margin: 30px 10px 10px 10px;
}

.skill_content .skills_logo:hover {
    box-shadow: 0px 0px 4px rgb(87, 86, 86);
}

/* Project Section */

#project {
    background-color: rgb(248, 245, 245);
    box-shadow: 0px 0px 5px rgb(87, 86, 86);
    height: 100%;
}

.project_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    text-align: center;
}

.project_container h2 {
    font-size: 35px;
    font-weight: 700;
}

.project_container h2 span {
    color: rgb(37, 50, 237);
}

.project_content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.project_content .project {
    box-shadow: 0px 0px 5px rgb(87, 86, 86);
    border-radius: 7px;
    min-width: 300px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.project_content .project:hover {
    transform: translateY(-5px);
}

.project_content .project img {
    height: 250px;
    width: 100%;
    border-radius: 7px;
}

.project_content .project .project_info {
    margin-top: 20px;
    text-align: start;
    padding: 0px 20px 20px 20px;
}

.project_container .project .project_info p {
    margin-top: 10px;
}

.project_info .language_uses {
    display: flex;
    justify-content: space-between;
}

.project_info .language_uses p {
    font-weight: bolder;
}

.project_content .project a {
    text-decoration: none;
    background-color: rgb(37, 50, 237);
    color: white;
    border-radius: 50px;
    font-weight: bolder;
    display: inline-block;
    padding: 11px 14px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 20px;
}

/* Contact Section */

#contact {
    height: 100%;
}

.contact_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    text-align: center;
}

.contact_container h2 {
    font-size: 35px;
    font-weight: 700;
}

.contact_container h2 span { 
    color: rgb(37, 50, 237);
}

.contact_details img {
    height: 120px;
    width: 120px;
    border-radius: 50%;
    margin-top: 30px;
    margin-bottom: 15px;
}

.contact_details p {
    font-size: 20px;
    margin-top: 10px;
}

.contact_details .social {
    margin-top: 20px;
    font-size: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.contact_details .social i:hover {
    color: rgb(37, 50, 237);
    transform: scale(1.2) rotate(7deg);
    transition: 0.6s;
}

.copy {
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 20px;
    background-color: rgb(248, 245, 245);
    box-shadow: 0px 0px 5px rgb(87, 86, 86);
    font-size: 17px;
}

@media (max-width: 768px) {
    .nav {
        height: 65px;
    }
    .nav h2 {
        font-size: 23px;
    }
    .nav .menu {
        display: none;
        position: absolute;
        top: 65px;
        left: 0px;
        width: 100%;
        background-color: rgb(252, 251, 251);
        box-shadow: 0px 0px 3px rgb(87, 86, 86);
        flex-direction: column;
        align-items: center;
        gap: 17px;
        padding: 25px 0;
    }
    .menu.active {
        display: flex;
    }
    .menu_icon {
        display: block;
    }
    .home_content {
        padding: 0 20px;
    }
    .home_content h2 {
        font-size: 24px;
    }
    .home_content .domain {
        font-size: 22px;
    }
    .home_content .domain_details {
        font-size: 20px;
    }
    .about_container {
        justify-content: center;
        flex-wrap: wrap;
    }
    .about_container .about_details {
        font-size: 18px;
    }
    .skill_container p {
        font-size: 17px;
    }
    .skill_content .skills_logo {
        height: 110px;
        width: 110px;
    }
    .contact_details p {
        font-size: 16px;
    }
    .skill_content .skills_logo {
        height: 100px;
        width: 100px;
    }
}

