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

body {
    height: 100vh;
    width: 100%;
    background-color: #0F172A;
    transition: 0.4s ease;
    position: relative;
}

body.light {
    background-color: #F8FAFC;
}

section {
    scroll-margin-top: 100px;
}

/************************  page scrollbar  ************************/

html {
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0F172A;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom,
            #3B82F6,
            #8B5CF6);
    border-radius: 50px;
    border: 2px solid #0F172A;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom,
            #60A5FA,
            #8B5CF6);
}

/* Firefox */

* {
    scrollbar-color: #3B82F6 #0F172A;
}

/*******************************  sidebar  ******************************/
#sidebar {
    height: 250px;
    width: 150px;
    background-color: #0F172A;
    border: 3px solid #3B82F6;
    box-shadow: 0px 0px 5px #60A5FA;
    border-radius: 5px;
    position: fixed;
    top: 100px;
    right: 100px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.4s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
}

#sidebar.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

#sidebar:hover {
    box-shadow: 0px 0px 5px #0F172A;
    transition: background-color 1s ease;
}

/*******************************  sidebar links ******************************/
#side-links {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    user-select: none;
}

.link {
    height: 35px;
    width: 100px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F8FAFC;
    font-size: 15px;
}

.link:hover {
    background-color: #3B82F6;
    transition: background-color 1s ease;
}

/*******************************  navbar  ******************************/
nav {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#nav-div {
    border: 2px solid #3B82F6;
    border-radius: 50px;
    box-shadow: 0px 0px 3px #60A5FA;
    position: fixed;
    top: 10px;
    left: 80px;
    right: 80px;
    z-index: 1000;
    padding: 0 30px;
}

/*******************************  navbar logo ******************************/
#nav-logo {
    height: 100%;
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*******************************  navbar links ******************************/
#nav-links {
    height: 100%;
    width: min-content;
    user-select: none;
}

.links {
    height: 35px;
    width: 100px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F8FAFC;
}

.links:hover {
    background-color: #3B82F6;
    transition: background-color 1s ease;
}

/*******************************  navbar hamburgur ******************************/
#hamburgur {
    height: 50px;
    width: 50px;
    background-color: #3B82F6;
    color: #0F172A;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
}

#hamburgur:hover {
    box-shadow: inset 0px 0px 5px #0F172A;
    transition: background-color 1s ease;
}

/*******************************  responsive navbar  ******************************/
@media (max-width:1024px) {
    #nav-div {
        position: fixed;
        top: 10px;
        left: 30px;
        right: 30px;
        z-index: 1000
    }

    #sidebar {
        position: fixed;
        top: 100px;
        right: 20px;
        z-index: 1000;
    }
}

@media (max-width:400px) {
    nav {
        height: 80px;
    }

    #sidebar {
        position: fixed;
        top: 80px;
        right: 20px;
        z-index: 1000;
    }

    #nav-div {
        height: 60px;
        padding: 0 20px;
    }

    #nav-logo {
        width: 100px;
    }

    #nav-logo h1 {
        font-size: 35px;
    }

    #hamburgur {
        height: 40px;
        width: 40px;
        font-size: 25px;
    }
}

@media (max-width:300px) {
    #nav-div {
        position: fixed;
        top: 10px;
        left: 10px;
        right: 10px;
        z-index: 1000
    }

    #nav-div {
        padding: 0 10px;
    }

    #nav-logo {
        width: 90px;
    }

    #nav-logo h1 {
        font-size: 30px;
    }

    #hamburgur {
        height: 30px;
        width: 30px;
        font-size: 20px;
        border-radius: 3px;
    }
}

/*******************************  hero-container  ******************************/
#hero-container {
    height: 600px;
    width: 100%;
    padding: 0 10px;
    display: flex;
    align-items: end;
    justify-content: center;
    border-top: 2px solid #8B5CF6;
    border-top-left-radius: 100px;
}

#hero-container img {
    height: 550px;
}

/*******************************  responsive hero section  ******************************/
@media (max-width:768px) {
    #hero-container img {
        height: 550px;
        width: 550px;
    }
}

@media (max-width:650px) {
    #hero-container {
        height: 450px;
    }

    #hero-container img {
        height: 400px;
        width: 400px;
    }
}

@media (max-width:500px) {
    #hero-container {
        height: 400px;
    }

    #hero-container img {
        height: 350px;
        width: 350px;
    }
}

@media (max-width:400px) {
    #hero-container {
        height: 300px;
    }

    #hero-container img {
        height: 250px;
        width: 250px;
    }
}

@media (max-width:300px) {
    #hero-container {
        height: 250px;
    }

    #hero-container img {
        height: 200px;
        width: 200px;
    }
}


/*******************************  about section  ******************************/
#about-container {
    height: min-content;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px;
    gap: 40px;
    border-top: 2px solid #8B5CF6;
    border-top-left-radius: 20px;
    border-bottom: 2px solid #8B5CF6;
    border-bottom-right-radius: 100px;
}

#about-container h5 {
    background-color: #8B5CF6;
    border-radius: 8px;
    color: #F8FAFC;
    padding: 10px 20px;
    font-size: 40px;
    font-weight: bold;
}

/*******************************  about div ******************************/
#about-div {
    height: 600px;
    width: 100%;
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    border-radius: 20px;
    background-color: #0F172A;
    border: 2px solid #8B5CF6;
    box-shadow: 0px 0px 5px #8B5CF6;
}

#about-div h2 {
    color: #60A5FA;
    font-size: 30px;
}

#about-div h1 {
    color: #3B82F6;
    font-size: 100px;
    font-weight: bold;
}

#about-div h3 {
    color: #8B5CF6;
    font-size: 45px;
    font-weight: bold;
}

#about-div p {
    color: #F8FAFC;
    font-size: 20px;
    margin-top: 10px;
}

#about-div a {
    background-color: #8B5CF6;
    box-shadow: inset 0px 0px 5px #0F172A;
    padding: 10px 20px;
    font-size: 17px;
    font-weight: bold;
    border: 3px solid #F8FAFC;
    color: #F8FAFC;
    border-radius: 30px;
    user-select: none;
    cursor: pointer;
    margin-top: 30px;
}

#about-div a:hover {
    background-color: #3B82F6;
    transform: scale(1.03);
}

/*******************************  responsive about section  ******************************/
@media (max-width:1280px) {
    #about-container {
        height: min-content;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #about-div {
        height: 650px;
    }
}

@media (max-width:1024px) {
    #about-container {
        padding: 80px 30px;
    }
}

@media (max-width:640px) {
    #about-div {
        height: 650px;
    }

    #about-div h2 {
        font-size: 25px;
    }

    #about-div h1 {
        font-size: 100px;
    }

    #about-div h3 {
        font-size: 35px;
    }

    #about-div p {
        font-size: 18px;
    }
}


@media (max-width:500px) {
    #about-div {
        height: 600px;
        padding: 0 20px;
    }

    #about-div h2 {
        font-size: 25px;
    }

    #about-div h1 {
        font-size: 70px;
    }

    #about-div h3 {
        font-size: 25px;
    }

    #about-div p {
        font-size: 17px;
    }
}

@media (max-width:400px) {
    #about-div {
        height: 600px;
        padding: 0 15px;
    }

    #about-div h2 {
        font-size: 18px;
    }

    #about-div h1 {
        font-size: 60px;
    }

    #about-div h3 {
        font-size: 19px;
    }

    #about-div p {
        font-size: 15px;
    }

    #about-div a {
        padding: 8px 20px;
        font-size: 16px;
        margin-top: 20px;
    }

    #about-container h5 {
        font-size: 25px;
        text-align: center;
    }
}

@media (max-width:300px) {
    #about-container {
        padding: 80px 15px;
    }

    #about-div {
        height: 560px;
    }

    #about-div h2 {
        font-size: 16px;
    }

    #about-div h1 {
        font-size: 50px;
    }

    #about-div h3 {
        font-size: 15px;
    }

    #about-div p {
        font-size: 14px;
    }

    #about-div a {
        padding: 5px 18px;
        font-size: 14px;
        margin-top: 20px;
    }
}

/*******************************  service section  ******************************/
#service-container {
    height: min-content;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px;
    gap: 40px;
    border-top: 2px solid #8B5CF6;
    border-top-left-radius: 100px;
    border-bottom: 2px solid #8B5CF6;
    border-bottom-right-radius: 100px;
}

#service-container h5 {
    background-color: #8B5CF6;
    border-radius: 8px;
    color: #F8FAFC;
    padding: 10px 20px;
    font-size: 40px;
    font-weight: bold;
}

/*******************************  service box ******************************/
#service-box {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 80px;
    padding: 80px;
}

.s-box {
    height: 300px;
    width: 250px;
    background-color: #0F172A;
    border: 2px solid #8B5CF6;
    box-shadow: 0px 0px 5px #8B5CF6;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 10px;
}

.s-box:hover {
    cursor: pointer;
    transform: scale(1.03);
}

.s-box h6 {
    font-size: 60px;
    user-select: none;
}

.s-box h1 {
    color: #3B82F6;
    font-size: 30px;
    font-weight: bold;
}

.design-list {
    list-style: disc;
    padding: 5px 5px;
    color: #F8FAFC;
}


/*******************************  responsive service section  ******************************/
@media (max-width:1024px) {
    #service-container {
        padding: 80px 30px;
    }
}

@media (max-width:500px) {
    #service-box {
        padding: 50px 0;
        gap: 50px;
    }
}

@media (max-width:400px) {
    #service-container {
        padding: 80px 15px;
    }

    .s-box {
        height: 250px;
        width: 220px;
        padding: 0 5px;
    }

    .s-box h6 {
        font-size: 50px;
    }

    .s-box h1 {
        font-size: 25px;
    }

    .design-list {
        font-size: 15px;
    }
}

@media (max-width:300px) {
    #service-container h5 {
        font-size: 30px;
        text-align: center;
    }

    .s-box {
        height: 200px;
        width: 180px;
        padding: 0 5px;
    }

    .s-box h6 {
        font-size: 40px;
    }

    .s-box h1 {
        font-size: 20px;
    }

    .design-list {
        font-size: 12px;
    }
}

/*******************************  skill section  ******************************/
#skill-container {
    height: min-content;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px;
    gap: 40px;
    border-top: 2px solid #8B5CF6;
    border-top-left-radius: 100px;
    border-bottom: 2px solid #8B5CF6;
    border-bottom-right-radius: 100px;
}

#skill-container h5 {
    background-color: #8B5CF6;
    border-radius: 8px;
    color: #F8FAFC;
    padding: 10px 20px;
    font-size: 40px;
    font-weight: bold;
    text-align: center;
}

/*******************************  skill box ******************************/
#skill-box {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 30px;
    user-select: none;
}

.skill {
    padding: 7px 15px;
    background-color: #0F172A;
    border: 2px solid #8B5CF6;
    box-shadow: 0px 0px 5px #8B5CF6;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 5px;
}

.skill:hover {
    cursor: pointer;
    transform: scale(1.03);
}

.skill img {
    height: 40px;
    width: 40px;
}

.skill p {
    font-size: 18px;
    color: #F8FAFC;
}

/*******************************  responsive skill section  ******************************/
@media (max-width:1024px) {
    #skill-container {
        padding: 80px 30px;
    }
}

@media (max-width:300px) {
    #skill-container h5 {
        font-size: 30px;
        text-align: center;
    }

    #skill-container {
        padding: 80px 15px;
    }

    .skill img {
        height: 30px;
        width: 30px;
    }

    .skill p {
        font-size: 16px;
        text-align: center;
    }
}

/*******************************  social section  ******************************/
#social-container {
    height: min-content;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px;
    gap: 40px;
    border-top: 2px solid #8B5CF6;
    border-top-left-radius: 100px;
    border-bottom: 2px solid #8B5CF6;
    border-bottom-right-radius: 100px;
}

#social-container h5 {
    background-color: #8B5CF6;
    border-radius: 8px;
    color: #F8FAFC;
    padding: 10px 20px;
    font-size: 40px;
    font-weight: bold;
    text-align: center;
}

/*******************************  social box ******************************/
#social-box {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    padding: 30px;
    user-select: none;
}

.social {
    height: 150px;
    width: 150px;
    background-color: #0F172A;
    border: 2px solid #8B5CF6;
    box-shadow: 0px 0px 5px #8B5CF6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 8px;
}

.social:hover {
    cursor: pointer;
    transform: scale(1.03);
}

.social img {
    height: 70px;
    width: 70px;
}

.social p {
    font-size: 18px;
    color: #F8FAFC;
}

/*******************************  responsive social section  ******************************/
@media (max-width:1024px) {
    #social-container {
        padding: 80px 30px;
    }
}

@media (max-width:300px) {
    #social-container {
        padding: 80px 15px;
    }

    .social {
        height: 140px;
        width: 140px;
    }

    .social img {
        height: 50px;
        width: 50px;
    }

    .social p {
        font-size: 17px;
        text-align: center;
    }

    #social-container h5 {
        font-size: 30px;
        text-align: center;
    }
}

/*******************************  form section  ******************************/
#form-container {
    height: min-content;
    width: 100%;
    padding: 80px;
    border-top: 2px solid #8B5CF6;
    border-top-left-radius: 100px;
    border-bottom: 2px solid #8B5CF6;
    border-bottom-right-radius: 100px;
}

#form-box {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

#form-head {
    height: 100px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#form-head h1 {
    background-color: #8B5CF6;
    border-radius: 8px;
    color: #F8FAFC;
    padding: 10px 20px;
    font-size: 40px;
    font-weight: bold;
    text-align: center;
}

#contact-container {
    width: 100%;
    max-width: 700px;

    background-color: #1E293B;

    border: 2px solid #8B5CF6;
    border-radius: 20px;

    box-shadow: 0px 0px 5px #8B5CF6;

    padding: 30px;

    display: flex;
    flex-direction: column;
    gap: 20px;
}

#contact-container input,
#contact-container textarea {
    width: 100%;

    background-color: #0F172A;

    border: 2px solid #334155;
    border-radius: 10px;

    padding: 15px;

    color: #F8FAFC;
    font-size: 16px;

    outline: none;
    transition: 0.3s ease;
}

#contact-container input:focus,
#contact-container textarea:focus {
    border-color: #8B5CF6;
    box-shadow: 0px 0px 8px #8B5CF6;
}

#contact-container textarea {
    height: 180px;
    resize: none;
}

#contact-container button {
    height: 55px;

    border: none;
    border-radius: 50px;

    background-color: #8B5CF6;

    color: #F8FAFC;
    font-size: 18px;
    font-weight: 600;

    cursor: pointer;
    transition: 0.3s ease;
}

#contact-container button:hover {
    background-color: #8B5CF6;
}

#form-status {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    min-height: 20px;
}

/************************ responsive form section ************************/
@media (max-width: 1024px) {
    #contact-container {
        width: 90%;
    }

    #form-container {
        padding: 80px 30px;
    }
}

@media (max-width: 768px) {
    #contact-container {
        width: 92%;
        padding: 25px;
    }
}

@media (max-width: 640px) {
    #contact-container {
        padding: 22px;
    }
}

@media (max-width: 500px) {
    #contact-container {
        width: 95%;
        padding: 20px;
    }

    #contact-container input,
    #contact-container textarea {
        font-size: 15px;
        padding: 12px;
    }

    #contact-container button {
        height: 50px;
        font-size: 16px;
    }
}

@media (max-width: 400px) {
    #contact-container {
        padding: 15px;
    }

    #contact-container input,
    #contact-container textarea {
        padding: 10px;
        font-size: 14px;
    }

    #form-head h1 {
        font-size: 25px;
    }
}

@media (max-width: 300px) {
    #form-container {
        padding: 80px 10px;
    }

    #contact-container {
        width: 90%;
        padding: 10px;
        gap: 12px;
    }

    #contact-container input,
    #contact-container textarea {
        font-size: 12px;
        padding: 8px;
    }

    #contact-container textarea {
        height: 120px;
    }

    #contact-container button {
        height: 40px;
        font-size: 13px;
    }

    #form-status {
        font-size: 12px;
    }
}

/************************ footer section 1 ************************/
#footer {
    width: 100%;
    padding: 80px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 2px solid #8B5CF6;
    border-top-left-radius: 100px;
    border-bottom: 2px solid #8B5CF6;
    border-bottom-right-radius: 100px;
}

.f-box {
    width: 100%;
    max-width: 700px;
    padding: 30px 25px;
    text-align: center;
    border-radius: 15px;
    background-color: #0F172A;
    border: 2px solid #8B5CF6;
    box-shadow: 0px 0px 5px #8B5CF6;
}

.f-box:hover {
    cursor: pointer;
    transform: scale(1.03);
}

.f-box h1 {
    font-size: 50px;
    font-weight: bold;
    color: #3B82F6;
    margin-bottom: 10px;
}

.f-box h2 {
    font-size: 25px;
    font-weight: 500;
    color: #F8FAFC;
    margin-bottom: 10px;
}

.f-box h3 {
    font-size: 20px;
    font-weight: 500;
    color: #60A5FA;
    margin-bottom: 15px;
}

.f-box p {
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-size: 30px;
    font-weight: 500;
    color: #F8FAFC;
}

.f-box h4 {
    font-size: 30px;
    font-weight: bold;
    color: #60A5FA;
    margin-bottom: 20px;
}

.f-box a {
    padding: 5px 15px;
    background-color: #8B5CF6;
    border: 2px solid #8B5CF6;
    box-shadow: 0px 0px 3px #8B5CF6;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    font-size: 20px;
    font-weight: bold;
}

.f-box a:hover {
    cursor: pointer;
    transform: scale(1.03);
}

/************************ responsive footer section 1 ************************/
@media (max-width:768px) {
    #footer {
        padding: 80px 15px;
    }

    .f-box {
        padding: 25px 20px;
    }
}

@media (max-width:500px) {
    .f-box h1 {
        font-size: 40px;
    }

    .f-box h2 {
        font-size: 20px;
    }

    .f-box h3 {
        font-size: 18px;
    }

    .f-box p {
        font-size: 25px;
    }

    .f-box h4 {
        font-size: 25px;
    }
}

@media (max-width:450px) {
    .f-box h2 {
        font-size: 18px;
    }

    .f-box p {
        font-size: 20px;
    }
}

@media (max-width:400px) {
    .f-box {
        padding: 25px 10px;
    }

    .f-box h1 {
        font-size: 35px;
    }

    .f-box h2 {
        font-size: 16px;
    }

    .f-box h3 {
        font-size: 16px;
    }

    .f-box p {
        font-size: 18px;
    }
}

@media (max-width:300px) {
    .f-box h1 {
        font-size: 30px;
    }

    .f-box a {
        font-size: 18px;
    }
}

/************************ footer section 2 ************************/
footer {
    height: 100px;
    width: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 2px solid #8B5CF6;
    border-top-left-radius: 20px;
    border-bottom: 2px solid #8B5CF6;
    border-bottom-right-radius: 20px;
}

footer p {
    color: #F8FAFC;
    font-size: 16px;
    text-align: center;
}

/************************ responsive footer section 2 ************************/
@media (max-width:400px) {
    footer p {
        font-size: 14px;
    }
}