@import url('https://fonts.googleapis.com/css2?family=Kanit&family=Roboto+Mono:wght@300;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:wght@600&family=Roboto+Mono:wght@300;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
    box-sizing: border-box;
}

/* navigation section */
header {
    position: fixed;
    height: 70px;
    width: 100%;
    display: flex;
    padding-left: 20px;
    align-items: center;
    background: #111113;
}

header .header-left .logo {
    width: 30%;
}

header .header-left .logo a {
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    cursor: pointer;
}

span {
    color: #FF0066;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: bold;
}

.header-left {
    display: flex;
    width: 80%;
}

header .header-left nav {
    margin-left: 80px;
}

header .header-left nav ul {
    display: flex;
    justify-items: center;
    align-items: center;
}

nav ul li a {
    position: relative;
    display: block;
    color: #cfd9e0;
    font-size: 20px;
    padding: 5px 30px;
    transition: 0.2s;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    height: 1px;
    width: 100%;
    background-color: #fff;
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.3s ease-in-out 0s;
}

nav ul li a:hover::after {
    visibility: visible;
    transform: scaleX(1);
}


nav ul li a:hover,
nav ul li a.active {
    color: #fff;
}

header .header-right {
    max-width: 20%;
    display: flex;
    align-items: center;
}

header .header-right .hamburger {
    margin-left: 20px;
    cursor: pointer;
    display: none;
}

header .header-right .hamburger div {
    width: 30px;
    height: 2px;
    margin: 6px 0;
    background: #fff;
}

/* home section start */
.main {
    background-image: url(bg.jpg);
    justify-content: center;
    text-align: center;
    height: 50rem;
    color: #fff;
    padding-top: 12rem;
}

.mediaicon {
    padding-top: 120px;
    text-align: center;
    font-size: 40px;
}

.mediaicon .link {
    text-decoration: none;
    display: inline-flex;
    justify-content: space-between;
}

.left {
    margin-left: 40px;
}

.links i {
    color: #fff;
}

.links i:hover {
    color: #FF0066;
    transition: 0.4s;
}

/*
<video autoplay loop muted plays-inline class="video">
            <source src="#">
        </video>
.video{
    position: absolute;
    right: 0;
    bottom: 60;
    top: 20;
    z-index: -1;
}

@media(min-aspect-ratio: 16/9){
    .video{
        width: 100%;
        height: auto;
    }
}
*/

.main h1 {
    font-size: 3vw;
    letter-spacing: 0.8mm;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.main h1 span {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.main h2 {
    font-size: 3vw;
    letter-spacing: 1.1mm;
    font-family: 'Kanit', sans-serif;
    padding-top: 7px;
}

.main h3 {
    padding-top: 10px;
    font-size: 1.5vw;
    font-family: 'Times New Roman', Times, serif;
}

.main h3 span {
    font-family: 'Times New Roman', Times, serif;
}

.button_hire_contact {
    padding-top: 60px;
}

.button_hire_contact a {
    color: white;
    font-weight: bold;
    border-style: outset solid;
    background-color: transparent;
    text-align: center;
    font-weight: bold;
    padding: 10px;
    border-radius: 0;
}

.contact {
    margin-left: 50px;
}

.button_hire_contact a:hover {
    color: white;
    background-color: #FF0066;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: #212121;
}


/* about section start */
.about {
    height: 120vh;
    background-color: #1c1c1c;
    color: #fff;
}

.about .heading {
    padding-top: 70px;
    text-align: center;
    justify-items: center;
}

.heading h1 {
    font-size: 60px;
    padding-bottom: 40px;
}

.about_content {
    display: flex;
    justify-items: center;
    justify-content: left;
    margin-left: 100px;
}

.about_image img {
    max-width: 30vw;
    max-height: 30vw;
}

.about_right {
    height: 500px;
    width: 900px;
    padding-left: 100px;
    text-align: left;
    justify-content: left;
    overflow: hidden;
}

.about_right h1 {
    font-size: 40px;
}

.about_right h2{
    font-size: 20px;
    padding-bottom: 10px;
}

.about_right h2 span{
    font-size: 25px;
}

.about_right p {
    font-size: 18px;
    align-items: center;
    justify-items: center;
    margin-right: 120px;
    overflow: hidden;
}

.introduction {
    display: block;
    padding-top: 25px;
}

.introduction i {
    font-size: 16px;
    padding-bottom: 10px;
}

.introduction .info {
    padding-left: 20px;
    color: #fff;
}

.moreAbout {
    padding-top: 30px;
}

.moreAbout a {
    color: white;
    font-weight: bold;
    border-style: outset solid;
    background-color: transparent;
    text-align: center;
    font-weight: bold;
    font-size: 1vw;
    padding: 8px;
    border-radius: 0;
}

.moreAbout a:hover {
    background-color: #FF0066;
    color: white;
    transition: 0.3s;
}

/* Skill Section Start */

.skill-section {
    font-family: 'Gill Sans', sans-serif;
    list-style: none;
    text-align: center;
    background-color: rgb(40, 38, 38);
}

.skill-container {
    max-width: 95vw;
    display: flex;
    justify-content: space-between;
    justify-items: center;
    align-items: center;
}

.skill-heading {
    padding: 50px auto;
    text-align: center;
    font-size: 50px;
    color: #fff;
}

.skill-image img {
    margin-right: 30px;
    max-width: 50vw;
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.25), 0 5px 8px rgba(0, 0, 0, 0.22);
}

h3 {
    margin: 5px;
}

.skill {
    text-align: left;
    margin-left: 30px;
    margin-bottom: 50px;
    width: 400px;
    color: #fff;
    padding: 40px;
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.25), 0 5px 8px rgba(0, 0, 0, 0.22);
}

.skill li {
    margin: 20px 0;
    padding: 10px;
}

.bar {
    background: #3553b4;
    display: block;
    height: 10px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgb(0, 0, 0, 0.12), 0 1px 2px rgb(0, 0, 0, 0.24);
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}

.bar:hover {
    box-shadow: 0 14px 28px rgb(0, 0, 0, 0.25), 0 10px 10px rgb(0, 0, 0, 0.22);
}

.bar span {
    height: 20px;
    float: left;
    background: linear-gradient(135deg, rgb(236, 0, 140, 1)0%, rgb(252, 103, 103, 1.0));
}

.html {
    width: 90%;
    animation: html 3s;
}

.css {
    width: 75%;
    animation: css 3s;
}

.javascript {
    width: 35%;
    animation: javascript 3s;
}

.c_program {
    width: 75%;
    animation: c_program 3s;
}

.java {
    width: 70%;
    animation: java 3s;
}

.python {
    width: 40%;
    animation: python 3s;
}

@keyframes html {
    0% {
        width: 0%;
    }

    100% {
        width: 90%;
    }
}

@keyframes css {
    0% {
        width: 0%;
    }

    100% {
        width: 75%;
    }
}

@keyframes javascript {
    0% {
        width: 0%;
    }

    100% {
        width: 35%;
    }
}

@keyframes c_program {
    0% {
        width: 0%;
    }

    100% {
        width: 75%;
    }
}

@keyframes java {
    0% {
        width: 0%;
    }

    100% {
        width: 70%;
    }
}

@keyframes python {
    0% {
        width: 0%;
    }

    100% {
        width: 40%;
    }
}

/* skill section end */

/* service section start */
.services {
    background-color: #171717;
    color: white;
    width: 100%;
}

.titles h2 {
    padding-top: 60px;
    color: #fff;
    font-weight: bolder;
    font-size: 70px;
    text-align: center;
}

.box {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90vh;
}

.cards {
    height: 450px;
    width: 400px;
    background-color: #171717;
    border-radius: 20px;
    margin: 15px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.25), 0 5px 8px rgba(0, 0, 0, 0.22);
}

.cards:hover {
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
    box-shadow: 0 10px 15px rgb(0, 0, 0, 0.20), 0 5px 5px rgb(0, 0, 0, 0.26)
}

.pra{
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
}

.cards i {
    font-size: 50px;
    display: block;
    text-align: center;
    margin: 25px 0px;
    color: #FF0066;
}

.cards h5 {
    font-size: 18px;
    padding-bottom: 10px;
    color: #f3f2f4;
}

.cards p {
    text-align: center;
    font-size: 15px;
    padding-bottom: 30px;
}

/* service section end */

/* resume section start */
.resume {
    min-height: 110vh;
    background-color: rgb(40, 38, 38);
    font-family: 'Gill Sans', sans-serif;
    text-align: center;
    padding-top: 40px;
}

.resume-heading h1 {
    color: #fff;
    font-size: 60px;
}

.resume-heading h3 {
    color: #FF0066;
    font-size: 25px;
}

.resume-heading p {
    font-size: 17px;
    color: rgb(184, 184, 184);
}

.resume-heading h2 {
    font-size: 35px;
    color: #FF0066;
    padding-top: 20px;
}

.resume-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.resume-section {
    height: 350px;
    width: 400px;
    background-color: rgb(40, 38, 38);
    border-radius: 20px;
    margin: 15px;
    padding-top: 30px;
    padding-left: 20px;
    padding-right: 20px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.25), 0 5px 8px rgba(0, 0, 0, 0.22);
}

.resume-section:hover {
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
    box-shadow: 0 15px 15px rgb(0, 0, 0, 0.20), 0 25px 25px rgb(0, 0, 0, 0.26)
}

.resume_header {
    text-align: center;
    color: #f72579;
    font-size: 18px;
}

.resume_header p {
    font-size: 15px;
    color: rgb(184, 184, 184);
}

.resume-content {
    padding-top: 7px;
    align-items: center;
    color: rgb(184, 184, 184);
}

.resume-content h4 {
    padding-bottom: 20px;
    font-size: 20px;
    color: #fff;
}

.resume-content p {
    text-align: center;
    font-size: 15px;
}

.resume-icon {
    padding-top: 20px;
    text-align: center;
    align-items: center;
}

.resume-icon i {
    font-size: 30px;
    color: #f72579;
}

/* resume section  end */

/* contact section start */

.Contact {
    min-height: 160vh;
    background-color: #0e0d0d;
    color: white;
}

.contact_me {
    text-align: center;
}


.contact_me h1 {
    padding-top: 80px;
    font-size: 60px;
}

.contact_me p {
    font-size: 30px;
    color: #FF0066;
    font-weight: bold;
    padding-bottom: 70px;
}

.form-row {
    display: inline-block;
    text-align: left;
}

.form-row .input-data input,
textarea {
    color: white;
    width: 50vw;
    padding: 20px;
    font-size: 15px;
    background: transparent;
    border-color: rgb(47, 46, 46);
    border-top: none;
    border-right: none;
    border-left: none;
}

.no-outline:focus {
    outline: none;
}

.form-row .input-data input:hover {
    border-color: #FF0066;
}

.form-row .input-data textarea:hover {
    border-color: #FF0066;
}


.submit-btn {
    padding-top: 40px;
}

.submit-btn input {
    border: #393333;
    padding: 12px;
    background-color: #FF0066;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    text-transform: capitalize;
    width: 55vw;
    cursor: pointer;
}

.submit-btn input:hover {
    background-color: #891ec8;
    transition: 0.3s;
}

.contact_buttom {
    padding-top: 50px;
    display: flex;
    justify-content: center;
}

.element-one {
    text-align: center;
    justify-content: center;
    margin: 75px;
}

.element-one .icon {
    color: #fff;
    font-size: 35px;
}

.element-one h4 {
    font-size: 20px;
    color: #FF0066;
    padding-bottom: 7px;
}

.element-one p {
    font-size: 17px;
    font-family: sans-serif;
    font-weight: 100;
    color: #9c9494;
}

.copyright {
    padding-left: 20px;
    padding-top: 30px;
    color: #6c6969;
}

.social-icon .socialmedia {
    text-align: right;
    color: white;
}


/*-------------css for small screen----------------*/
@media only screen and (max-width: 1000px) {
    header {
        width: 100vw;
        padding: 0 20px;
    }

    header .header-right .hamburger {
        display: block;
    }

    header .header-left nav {
        margin: 0;
        position: absolute;
        top: -400%;
        left: 0;
        width: 100%;
        height: fit-content;
        background: #111113;
        padding: 30px;
        transition: 0.3s;
        text-align: center;
        z-index: -1;
    }

    header .header-left nav.active {
        top: 30px;
    }

    header .header-left nav ul {
        display: block;
    }

    .main h1 {
        padding-top: 80px;
        font-size: 22px;
    }

    .main h2 {
        font-size: 26px;
    }

    .main h3 {
        font-size: 15px;
    }

    .mediaicon {
        padding-top: 150px;
        font-size: 25px;
    }

    .button_hire_contact {
        font-size: 8px;
    }

    .heading h1 {
        font-size: 40px;
        padding-bottom: 5px;
        margin-top: 0px;
    }

    .about_content {
        display: block;
        text-align: center;
        margin-left: 0px;
        padding: 0px;
    }

    .about_right {
        width: 100%;
        padding-left: 50px;
    }

    .about_right h1 {
        font-size: 22px;
    }

    .about_right h2 {
        font-size: 12px;
    }

    .about_right h2 span{
        font-size: 15px;
    }

    .about_right p{
        font-size: 10px;
    }

    .about_image img {
        min-height: 220px;
        min-width: 150px;
        padding-bottom: 50px;
    }

    .info-box i {
        font-size: 10px;
    }

    .info {
        font-size: 12px;
    }

    .moreAbout a {
        font-size: 8px;
    }

    .skill-container {
        display: flex;
        margin-inline: 25px;
    }

    .skill-heading h1 {
        font-size: 40px;
    }

    .skill {
        width: 80%;
        height: 20%;
        padding-top: 1px;
        padding-bottom: 2px;
    }

    .skill li {
        font-size: 10px;
    }

    .bar {
        height: 5px;
    }

    .skill-image img {
       display: none;
    }

    .services .titles h2 {
        font-size: 40px;
    }

    .box {
        display: block;
        justify-content: center;
        align-items: center;
        padding-left: 10px;
        padding-bottom: 10px;
    }

    .cards {
        height: 100%;
        width: 90%;
    }

    .cards i {
        font-size: 20px;
    }

    .cards h5 {
        font-size: 15px;
    }

    .pra p {
        font-size: 10px;
        text-align: center;
        padding-left: 10px;
        padding-right: 10px;
    }

    .resume {
        height: 100%;
        padding-bottom: 10px;
    }

    .resume-heading h1 {
        font-size: 40px;
    }

    .resume-heading h2 {
        font-size: 20px;
    }

    .resume-heading h3 {
        font-size: 15px;
    }

    .resume-heading p {
        font-size: 12px;
    }

    .resume-container {
        display: block;
        justify-content: center;
    }

    .resume-section {
        height: 100%;
        width: 85%;
        margin-left: 27px;
    }

    .resume_header h4 {
        font-size: 10px;
    }

    .resume_header p {
        font-size: 10px;
    }

    .resume-icon i {
        font-size: 16px;
    }

    .resume-content h4 {
        font-size: 12px;
    }

    .resume-content p {
        font-size: 10px;
        padding-bottom: 30px;
    }

    .Contact {
        min-height: 40%;
    }

    .contact_me h1 {
        font-size: 40px;
    }

    .contact_me p {
        font-size: 18px;
    }

    .form-row {
        text-align: center;
    }

    .form-row .input-data input,
    textarea {
        width: 40vh;
        padding: 8px;
        font-size: 15px;
    }

    .submit-btn {
        padding-top: 10px;
    }

    .submit-btn input {
        padding: 4px;
        font-size: 12px;
        width: 43vh;
    }

    .element-one {
        margin: 8px;
    }

    .element-one .icon {
        font-size: 20px;
    }

    .element-one h4 {
        font-size: 10px;
        padding-bottom: 5px;
    }

    .element-one p {
        font-size: 10px;
    }

    .copyright {
        padding-left: 10px;
        font-size: 10px;
    }

}

