@import url('https://fonts.googleapis.com/css2?family=Lilita+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lilita+One&family=Zen+Kaku+Gothic+New:wght@300;400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
}

.violet {
    font-weight: 700;
}

h1.short {
    color: #695aa6;
    font-weight: 700;
}

.head-sm {
    font-size: 1.2rem;
    color: #707070;
    font-family: "Poppins", sans-serif;
    padding-bottom: 10px;
    font-weight: 300;
}

.head-bg {
    font-size: 3.1rem;
    color: #695aa6;
    font-family: "Lilita One", sans-serif;
    padding-bottom: 20px;
}

h1.current {
    margin-top: 0%;
    font-size: 3.7rem;
    font-weight: 700;
}

.data-h1 {
    color: #695aa6;
    font-size: 2.55rem;
    font-family: "Lilita One", sans-serif;
    font-weight: 700;
    word-spacing: 10%;
    margin: 2% auto;
}

.data-h3 {
    color: #707070;
    font-size: 1.7rem;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    word-spacing: 10%;
    margin: 1% auto;
}

.data p {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    word-spacing: 8px;
}

p {
    font-family: "Poppins", sans-serif;
}

/* Navbar section */

.nav {
    width: 100%;
    height: 65px;
    position: fixed;
    line-height: 65px;
    text-align: center;
    z-index: +3;
    padding-top: 1.5rem;
}

.nav .logo {
    float: left;
    width: auto;
    height: auto;
    padding-left: 3rem;
}

.nav .logo a {
    text-decoration: none;
    color: #fff;
    font-size: 2.2rem;
    font-family: "Lilita One", sans-serif;

}

.nav .logo a:hover {
    color: #00E676;
    transition-duration: 0.3s;
}

.nav .main_list {
    height: 65px;
    float: right;
}

.nav .main_list ul {
    width: 100%;
    height: 65px;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: "Lilita One", sans-serif;
}

.nav .main_list ul li {
    width: auto;
    height: 65px;
    padding: 0;
    padding-right: 3rem;
}

.nav .main_list ul li a {
    text-decoration: none;
    color: #fff;
    line-height: 65px;
    font-size: 1.7rem;
}

.nav .main_list ul li a:hover {
    color: #00E676;
    transition-duration: 0.3s;
}

/* Animation */

.navTrigger {
    cursor: pointer;
    width: 30px;
    height: 25px;
    margin: auto;
    position: absolute;
    right: 30px;
    top: 0;
    bottom: 0;
    display: none;
}

.navTrigger i {
    background-color: #fff;
    border-radius: 2px;
    content: '';
    display: block;
    width: 100%;
    height: 4px;
}

.navTrigger i:nth-child(1) {
    -webkit-animation: outT 0.8s backwards;
    animation: outT 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger i:nth-child(2) {
    margin: 5px 0;
    -webkit-animation: outM 0.8s backwards;
    animation: outM 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger i:nth-child(3) {
    -webkit-animation: outBtm 0.8s backwards;
    animation: outBtm 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger.active i:nth-child(1) {
    -webkit-animation: inT 0.8s forwards;
    animation: inT 0.8s forwards;
}

.navTrigger.active i:nth-child(2) {
    -webkit-animation: inM 0.8s forwards;
    animation: inM 0.8s forwards;
}

.navTrigger.active i:nth-child(3) {
    -webkit-animation: inBtm 0.8s forwards;
    animation: inBtm 0.8s forwards;
}

@-webkit-keyframes inM {
    50% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(45deg);
    }
}

@keyframes inM {
    50% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(45deg);
    }
}

@-webkit-keyframes outM {
    50% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(45deg);
    }
}

@keyframes outM {
    50% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(45deg);
    }
}

@-webkit-keyframes inT {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }

    50% {
        -webkit-transform: translateY(9px) rotate(0deg);
    }

    100% {
        -webkit-transform: translateY(9px) rotate(135deg);
    }
}

@keyframes inT {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(9px) rotate(0deg);
    }

    100% {
        transform: translateY(9px) rotate(135deg);
    }
}

@-webkit-keyframes outT {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }

    50% {
        -webkit-transform: translateY(9px) rotate(0deg);
    }

    100% {
        -webkit-transform: translateY(9px) rotate(135deg);
    }
}

@keyframes outT {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(9px) rotate(0deg);
    }

    100% {
        transform: translateY(9px) rotate(135deg);
    }
}

@-webkit-keyframes inBtm {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }

    50% {
        -webkit-transform: translateY(-9px) rotate(0deg);
    }

    100% {
        -webkit-transform: translateY(-9px) rotate(135deg);
    }
}

@keyframes inBtm {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-9px) rotate(0deg);
    }

    100% {
        transform: translateY(-9px) rotate(135deg);
    }
}

@-webkit-keyframes outBtm {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }

    50% {
        -webkit-transform: translateY(-9px) rotate(0deg);
    }

    100% {
        -webkit-transform: translateY(-9px) rotate(135deg);
    }
}

@keyframes outBtm {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-9px) rotate(0deg);
    }

    100% {
        transform: translateY(-9px) rotate(135deg);
    }
}

.affix {
    padding: 0;
    background-color: #111;
}

/* Section */

.home {
    width: 100%;
    height: 100vh;
    background:
        linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.9)),
        /* Fading effect */
        url('img/header.jpg') no-repeat center center;
    background-position: center top;
    background-size: cover;
    position: relative;
    z-index: -1;
}

/* Heading */

.heading {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Lilita One", sans-serif;
}

.heading h2 {
    color: #595a60;
    font-size: 4rem;
}

.heading h1 {
    color: #42474e;
    font-size: 5rem;
}

.heading h3 {
    color: #3d3d3e;
    font-size: 1.3rem;
    font-family: "Zen Kaku Gothic New", sans-serif;
    letter-spacing: 10px;
    font-weight: 400;
}

/* About */

.about {
    display: flex;
    justify-content: center;
    align-items: start;
    width: 80%;
    height: auto;
    margin: 40px auto;
}

.about .left {
    width: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about .right {
    width: 55%;
}

.about .right p {
    margin-bottom: 10px;
}

.about .right button {
    border: 2px solid #695aa6;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    color: #695aa6;
    margin-top: 40px;
    padding: 12px;
    background-color: #fff;
    border-radius: 30px;
}

.about .right button:hover {
    transition: 0.3s;
    background-color: #695aa6;
    color: #fff;
    border-radius: 30px;
}

.about .left img {
    width: 80%;
    margin: auto;
    border-radius: 30px;
    box-shadow: 0px 0px 10px 0px black;
}

.about .left img:hover {
    transition-duration: 0.2s;
    box-shadow: 0px 0px 16px 0px black;
}

/* Sliding Images */

/* Position the image wrapper (needed to position the left and right arrows) */
.wrapper {
    margin: 10% auto;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
    width: 80%;
}

/* Hide the images by default */
.mySlides {
    display: none;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
    cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 40%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* Container for image text */
.caption-container {
    text-align: center;
    background-color: #222;
    padding: 2px 16px;
    color: white;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Six columns side by side */
.column {
    float: left;
    width: 16.66%;
}

/* Add a transparency effect for thumnbail images */
.demo {
    opacity: 0.6;
}

.active,
.demo:hover {
    opacity: 1;
}

/* Education */

.education {
    padding-top: 2%;
    padding-bottom: 2%;
    text-align: center;
    background-color: aliceblue;
    height: auto;
}

.education .cards {
    width: 85%;
    margin: auto;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
    gap: 1%;
}

.education .inner {
    font-size: 1.4rem;
}

.education .carding {
    height: 270px;
    width: 27%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px rgb(171, 171, 171) solid;
    border-radius: 6px;
    background-color: #efebfd;
}


.education .carding h2 {
    font-size: 1.9rem;
}

.education .carding h1 {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    padding: 2% 0%;
    font-size: 1rem;
}

.education .carding h3 {
    font-size: 1.5rem;
    padding-bottom: 2%;
}

.education .carding p {
    font-size: 1.15rem;
    word-spacing: 2px;
}

/* Experience */

.experience {
    width: 100%;
    height: auto;
    margin: 4% auto;
}

.experience h1.head-bg,
.experience h1.head-sm {
    text-align: center;
}

.experience .data h1 {
    text-align: left;
}

.experience .data {
    width: 80%;
    margin: 6% auto;
}

.experience .data h2.violet {
    font-size: 1.2rem;
}

.experience .data ul {
    margin-top: 2%;
    padding-left: 2%;
    color: #707070;
    font-family: "Poppins", sans-serif;
}

/* Hire Me */

.hireme {
    padding: 3%;
    width: 70%;
    padding: auto;
    width: 100%;
    background-color: #695aa6;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20%;
    height: auto;
}

.hireme h1 {
    color: #fff;
    font-size: 1.3rem;
    font-family: "Lilita One", sans-serif;
    font-weight: 100;
}

.hireme h2 {
    color: #fff;
    font-size: 1rem;
    font-family: "Poppins", sans-serif;
    font-weight: 200;
}

.hireme a button {
    padding: 7% 17px;
    border-radius: 5px;
    background-color: #fff;
    font-size: 1.5rem;
    font-family: "Lilita One", sans-serif;
    border: 2px solid #695aa6;
}

.hireme a button:hover {
    transition-duration: 0.3s;
    border: 2px solid #fff;
    color: #fff;
    background-color: #695aa6;
}

/* Testimonial (Bootstrap used) */

/* Testimonial-form */

.testimonial-form {
    width: 45%;
    margin: auto;
    margin-bottom: 10%;
    height: auto;
    margin-top: 6%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.testimonial-form form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.testimonial-form .upper {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 2%;
}

.testimonial-form .upper input {
    width: 100%;
    border: 2px solid #707070;
    border-radius: 5px;
    padding: 0.6rem;
    margin: 0.6rem 0rem;
    font-size: 1rem;
}

.testimonial-form textarea {
    border: 2px solid #707070;
    border-radius: 5px;
    padding: 0.6rem;
    font-size: 1rem;
    width: 100%;
}

.testimonial-form input.submit {
    width: 60%;
    font-family: "Poppins", sans-serif;
    font-size: 1.15rem;
    font-weight: 400;
    background-color: #fff;
    color: #695aa6;
    border: 2px solid #695aa6;
    border-radius: 5px;
    padding: 1% 3%;
    margin-top: 10%;
}

.testimonial-form input.submit:hover {
    transition-duration: 0.3s;
    background-color: #695aa6;
    color: #fff;

}

/* Footer */

footer {
    height: 10vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30%;
    border-top: 1px solid #a0a0a0;
}

footer .head-sm {
    margin: 0;
    padding: 0;
}

footer .right a {
    color: #111;
}

footer .right {
    width: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12%;
}

@media screen and (min-width: 768px) and (max-width: 900px) {
    .container {
        margin: 0;
    }
}

@media screen and (max-width:768px) {

    .home {
        height: 100vh;
    }

    .navTrigger {
        display: block;
    }

    .nav div.logo {
        margin-left: 15px;
    }

    .nav div.main_list {
        width: 100%;
        height: 0;
        overflow: hidden;
    }

    .nav div.show_list {
        height: auto;
        display: none;
    }

    .nav div.main_list ul {
        flex-direction: column;
        width: 100%;
        height: auto;
        padding: 30px 0px;
        right: 0;
        left: 0;
        bottom: 0;
        background-color: #111;
        /*same background color of navbar*/
        background-position: center top;
        font-size: 1.2rem;
    }

    .nav div.main_list ul li {
        width: 90%;
        text-align: right;
    }

    .nav div.main_list ul li a {
        text-align: center;
        width: 100%;
        font-size: 2rem;
        padding: 20px;
    }

    .nav div.media_button {
        display: block;
    }

    /* Heading */

    .heading {
        width: 100%;
    }

    .heading .inner {
        width: 90%;
        margin: auto;
    }

    .inner h3 {
        font-size: 1.2rem;
    }

    .inner h2 {
        font-size: 3.2rem;
    }

    .inner h1 {
        font-size: 4rem;
    }

    /* About */

    .about {
        flex-direction: column;
        width: 100%;
        align-items: center;
        text-align: center;
        height: auto;
    }

    .about .left,
    .about .right {
        width: 80%;
    }

    .about .left img {
        width: 90%;
        margin-bottom: 40px;
    }

    /* Education */

    .education {
        width: 100%;
        margin: 10% auto;
        padding: 10% 0%;
        height: auto;
    }

    .education .cards {
        width: 100%;
        flex-direction: column;
        text-align: center;
    }

    .education .carding {
        width: 70%;
        margin: 6% auto;
    }

    .education .carding h1 {
        font-size: 1.6rem;
    }

    /* Experience */

    .experience {
        margin: 1% auto;
    }

    h1.current {
        font-size: 3rem;
    }

    .experience .data ul {
        margin: 10% auto;
        padding-left: 3%;
    }

    .experience .data ul li {
        font-size: 0.9rem;
    }

    /* Hire Me */

    .hireme {
        padding: 5% 0%;
        gap: 15%;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        height: auto;
    }

    /* Testimonial-form */

    .testimonial-form {
        width: 100%;
    }

    .testimonial-form input {
        width: 100%;
        margin-top: 4%;
    }

    .testimonial-form textarea {
        width: 80%;
    }

    .testimonial-form .upper {
        width: 80%;
        flex-direction: column;
    }

    /* Footer */

    footer {
        padding-bottom: 10%;
        height: 10vh;
        gap: 8%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    footer h1 {
        font-size: 1rem;
    }
}