html,
body {
    width: 100%;
    display: flex;
    background-color: #1a1a1d;
    font-family: "Poppins", sans-serif;
    margin: 0px;
    padding: 0px;
    scroll-behavior: smooth;
    overflow-x: hidden;
    transition: 0.2s ease-in-out;
}

.preload * {
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -ms-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
}

::selection {
    background: #4e4e50;
    color: #ff0a54;
}

.preloader {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    position: fixed;
    background: transparent;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.8s ease-out;
}

.preloader.loaded {
    opacity: 0;
    pointer-events: none;
}

.preloader img {
    width: 15em;
    height: 15em;
}

.main-container {
    display: flex;
    flex-flow: column nowrap;
    width: 100%;
}

section {
    display: flex;
    min-width: 100%;
    margin: 8vh 0 5vh 0;
}

/* Style for the nav starts here */
nav {
    position: fixed;
    top: 2%;
    left: 1%;
    padding: 0;
    margin: 0;
    cursor: pointer;
    z-index: 15;
    transition: opacity 0.3s ease-in;
}

.hamburger-icon {
    animation: fade-in 2s ease-in;
}

.nav-icon-1,
.nav-icon-2,
.nav-icon-3 {
    width: 40px;
    height: 6px;
    background: white;
    margin-bottom: 5px;
    border-radius: 999em;
    transition: 0.5s;
    mix-blend-mode: difference;
}

.change .nav-icon-1 {
    -webkit-transform: rotate(-45deg) translate(-8px, 5px);
    transform: rotate(-45deg) translate(-8px, 5px);
}

.change .nav-icon-2 {
    opacity: 0;
}

.change .nav-icon-3 {
    -webkit-transform: rotate(45deg) translate(-9px, -9px);
    transform: rotate(45deg) translate(-9px, -9px);
}

.side-nav {
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-end;
    align-items: center;
    padding-top: 4vh;
    width: 0;
    min-width: 0;
    min-height: 96vh;
    position: fixed;
    background: rgba(13, 13, 15, 0.98);
    left: 0;
    top: 0;
    z-index: -1;
    overflow-x: hidden;
    transition: 0.5s;
}

.side-nav a {
    display: inline-flex;
    text-decoration: none;
    font-size: 1.2em;
    line-height: 1.2em;
    font-weight: 600;
    color: white;
    width: 100%;
    min-height: 17vh;
    margin-top: 1vh;
    justify-content: center;
    align-items: center;
    padding: 0;
    animation: fade-in 0.4s ease-in-out;
}

.side-nav a:hover {
    background: rgba(195, 7, 63, 0.9);
}

/* landing for the normal navbar to be displayed on larger screens */
div.normal-nav {
    position: fixed;
    min-width: 100vw;
    height: 50px;
    background-color: transparent;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-end;
    align-items: center;
    z-index: 100;
    transition: background-color 0.1s ease-in-out;
}

div.normal-nav.dark {
    background-color: #c3073f;
    opacity: 0.9;
}

ul.normal-nav-ul>a.current {
    color: white;
    font-weight: 600;
}

ul.normal-nav-ul {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    min-width: 50%;
    margin-right: 1em;
}

ul.normal-nav-ul>a {
    list-style-type: none;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    animation: fade-in 0.4s ease-in-out;
}

ul.normal-nav-ul>a:hover {
    color: white;
}

/* Style for the landing page starts here */

.landing {
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    /* opacity: 0; */
    background: rgb(195, 7, 63);
    background: linear-gradient(180deg,
            rgba(195, 7, 63, 1) 10%,
            rgba(111, 34, 50, 1) 45%,
            rgba(26, 26, 29, 1) 90%);
    transition: opacity 0.5s ease-in;
}

.landing .links {
    display: inline-flex;
    justify-content: space-around;
    align-items: center;
    position: absolute;
    top: 1%;
    left: 85%;
    width: 15%;
    animation: fade-in 1s ease-in-out;
}

.landing .links>a {
    text-decoration: none;
    color: white;
    transform: translateY(0);
    font-size: 1.5em;
    transition: transform 0.2s ease-in-out;
}

.links>a:hover {
    transform: translateY(-10%);
}

.links-landing>a {
    color: white;
}

.landing .landing-links {
    display: inline-flex;
    justify-content: space-around;
    margin-top: 1em 0 -1em 0;
    width: 18vw;
    align-items: center;
    transform: translateY(50%);
    animation: pullup 3s linear;
    -moz-animation: pullup 3s linear;
    -webkit-animation: pullup 3s linear;

    transition: 0.3s ease-in-out;
}

.landing .landing-links>a {
    text-decoration: none;
    color: white;
    transform: translateY(0);
    font-size: 1.5em;
    transition: transform 0.2s ease-in-out;
}

.landing-links>a:hover {
    transform: translateY(-10%);
}

.landing-links>a {
    color: white;
}

.landing header {
    display: flex;
    flex-flow: column nowrap;
    margin: auto 0;
    align-items: center;
    justify-content: space-evenly;
    color: white;
    min-height: 50vh;
    padding: 0;

}

h1.landing-header {
    display: flex;
    font-family: "Lora", serif;
    text-transform: uppercase;
    font-size: 4em;
    font-weight: 700;
    line-height: 0.4em;
    letter-spacing: 0.02em;
    margin: 0.4em 0 0 0;
    opacity: 1;
    text-shadow: -2px 2px 0 #1a1a1d, 2px 2px 0 #1a1a1d, 2px -2px 0 #1a1a1d,
        -2px -2px 0 #1a1a1d;
    transform: translateY(-50%);
    animation: riseup 2.5s linear;
    -moz-animation: riseup 2.5s linear;
    -webkit-animation: riseup 2.5s linear;
}

@keyframes riseup {
    from {
        transform: translateY(50%);
        opacity: 0;
    }

    30% {
        transform: translateY(25%);
        opacity: 0;
    }

    60% {
        opacity: 0;
        transform: translateY(0%);
    }

    80% {
        transform: translateY(-25%);
        opacity: 0.7;
    }

    to {
        transform: translateY(-50%);
        opacity: 1;
    }
}

h2.landing-header {
    display: flex;
    font-family: "Merriweather", serif;
    text-transform: uppercase;
    font-size: 1.5em;
    font-weight: 600;
    line-height: 1em;
    margin: 0;
    letter-spacing: 0.02em;
    text-shadow: -1px 1px 0 #1a1a1d, 1px 1px 0 #1a1a1d, 1px -1px 0 #1a1a1d,
        -1px -1px 0 #1a1a1d;
    transform: translateY(50%);
    animation: pullup 2.5s linear;
    -moz-animation: pullup 2.5s linear;
    -webkit-animation: pullup 2.5s linear;
}

@keyframes pullup {
    from {
        transform: translateY(-50%);
        opacity: 0;
    }

    30% {
        transform: translateY(-25%);
        opacity: 0;
    }

    60% {
        transform: translateY(0%);
        opacity: 0;
    }

    80% {
        transform: translateY(25%);
        opacity: 0.7;
    }

    to {
        transform: translateY(50%);
        opacity: 1;
    }
}

hr.landing-hr {
    border: 0;
    margin: 0;
    height: 1px;
    width: 85%;
    border-top: 1px solid white;
    animation: intro 2s linear;
}

@keyframes intro {

    0%,
    50% {
        width: 0;
    }

    75% {
        width: 150%;
    }

    100% {
        width: 75%;
    }
}

a.mail-link {
    color: white;
    border: 2px solid #c3073f;
    text-decoration: none;
    font-family: "Poppins", "sans serif";
    font-size: 1.2em;
    line-height: 1.2em;
    letter-spacing: 0.02em;
    font-weight: 600;
    border-radius: 10em;
    padding: 0.25em 0.5em;
    /* margin-top: auto; */
    opacity: 1;
    z-index: 5;
    transform: translateY(50%);
    animation: pullup 3s linear;
    -moz-animation: pullup 3s linear;
    -webkit-animation: pullup 3s linear;
    -webkit-box-shadow: 0px 0px 4px 2px #c3073f;
    -moz-box-shadow: 0px 0px 4px 2px #c3073f;
    box-shadow: 0px 0px 4px 2px #c3073f;
    transition: 0.3s ease-in-out;
}

a.mail-link:active {
    background-color: transparent;
}

a.mail-link:hover {
    background: #c3073f;
}

.arrow a {
    color: white;
    text-decoration: none;
    font-size: 4em;
    opacity: 1;
    -moz-animation: fade-in 3s ease-in;
    -webkit-animation: fade-in 3s ease-in;
    animation: fade-in 3s ease-in;
}

@keyframes fade-in {

    from,
    75% {
        opacity: 0;
    }

    80% {
        opacity: 0.3;
    }

    90% {
        opacity: 0.6;
    }

    to {
        opacity: 1;
    }
}

.bounce {
    -moz-animation: bounce 5s infinite;
    -webkit-animation: bounce 5s infinite;
    animation: bounce 5s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-30px);
    }

    60% {
        transform: translateY(-15px);
    }
}

/* style for the about section starts here */

.about {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-around;
    align-items: center;
    min-height: 100vh;
    background: #1a1a1d;
    scroll-snap-align: start;
}

.about main {
    display: flex;
    flex-flow: column wrap;
    justify-content: space-around;
    align-items: flex-start;
    margin-left: 3%;
    color: white;
    max-width: 60%;
}

h1.about-header {
    font-family: "Lora", serif;
    font-size: 3em;
    line-height: 0.5em;
    letter-spacing: 0.02em;
    margin-bottom: 0.75em;
}

h3.about-header {
    font-family: "Merriweather", serif;
    font-size: 1.2em;
    line-height: 1.2em;
    letter-spacing: 0.02em;
    margin-bottom: 1.2em;
}

hr.about-hr {
    width: 30%;
    margin-left: 0;
    border: 0;
    height: 5px;
    background: #c3073f;
}

p.about-me {
    font-size: 1em;
    line-height: 1.5em;
    letter-spacing: 0.02em;
}

.about img {
    border-radius: 50%;
    width: 14em;
    height: 14em;
    margin-right: 3%;
    border: 3px solid #950740;
    -webkit-box-shadow: 0px 0px 5px 5px #c3073f;
    -moz-box-shadow: 0px 0px 5px 5px #c3073f;
    box-shadow: 0px 0px 5px 5px #c3073f;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: 0.2s ease-in-out;
    transition: 0.2s ease-in-out;
}

.about img:hover {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

/* Style for the projects section starts here */

.projects {
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-around;
    align-items: center;
    min-height: max-content;
    background: #1a1a1d;
    padding-top: 50px;
    /* scroll-snap-align: end; */
}

.projects header {
    display: flex;
    width: 85%;
    flex-flow: column wrap;
    align-items: flex-start;
    justify-content: space-between;
}

h1.project-header {
    font-family: "Lora", serif;
    font-size: 3em;
    line-height: 0.5em;
    letter-spacing: 0.02em;
    color: white;
    margin: 0.5em 0;
}

h3.project-header {
    font-family: "Merriweather", serif;
    font-size: 1.2em;
    line-height: 1.2em;
    letter-spacing: 0.02em;
    margin-bottom: 0.6em;
    color: white;
}

hr.project-hr {
    height: 5px;
    width: 30%;
    background: #c3073f;
    border: 0;
    margin-left: 0;
}

.project-list {
    display: flex;
    min-width: 85%;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    margin: 2em 0;
}

.project-list.second-row {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    margin: 2em 0;
}

.project-list .card {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: flex-start;
    border: 1px solid white;
    min-height: 100%;
}

.project-img {
    transform: scale(1);
    z-index: 5;
    transition: all 0.5s ease-in-out;
}

.project-img:hover {
    transform: scale(1.4);
    z-index: 10;
}

.project-img img {
    max-width: 26vw;
    height: auto;
}

.project-img img.static {
    position: absolute;
    border-bottom: 1px solid white;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.project-img img.static:hover {
    opacity: 0;
}

.project-desc-tech {
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
}

.project-desc {
    font-size: 0.8em;
    line-height: 1.9em;
    letter-spacing: 0.02em;
    color: white;
    width: 26vw;
    text-align: center;
}

.project-list .project-links {
    width: 100%;
    position: relative;
    overflow: hidden;
    text-align: center;
    margin-top: auto;
    border-top: 1px solid white;
}

.project-links i {
    color: white;
}

.project-links .project-code {
    background: #c3073f;
    color: white;
    font-weight: 600;
    font-size: 1em;
    line-height: 1.5em;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: -100%;
    left: 0%;
    width: 100%;
    height: 100%;
    text-decoration: none;
    margin: 0;
    transition: bottom 0.1s ease-in-out;
}

.project-links:hover .project-code {
    bottom: 0%;
}

.tech-used {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-evenly;
    align-items: center;
    font-weight: 700;
    font-size: 0.75em;
    line-height: 2em;
    letter-spacing: 0.02em;
    color: rgb(156, 156, 160);
}

/* Style for the skills section starts below */

.skills {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    justify-content: space-evenly;
    min-height: 100vh;
    background: #1a1a1d;
    padding-top: 20px;
    scroll-snap-align: start;
}

.skills header {
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: flex-start;
    width: 85%;
    color: white;
}

h1.skill-header {
    font-family: "Lora", serif;
    font-size: 3em;
    line-height: 0.5em;
    letter-spacing: 0.02em;
    margin-bottom: 0.5em;
}

hr.skill-header {
    border: 0;
    width: 30%;
    height: 5px;
    background: #c3073f;
    margin-left: 0;
}

.skill-list {
    display: flex;
    justify-content: space-between;
    width: 85%;
}

.skill-list p {
    transform: translateY(0);
    transform: scale(1);
    transition: all 0.2s ease-in-out;
}

.skill-list p:hover {
    transform: translateY(-15%);
    transform: scale(1.01);
    color: #c3073f;
    cursor: default;
}

.skill-list>.full-stack {
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
    align-items: center;
    width: 50%;
}

.full-stack>.main-list {
    font-family: "Merriweather", serif;
    font-size: 1em;
    line-height: 1.5em;
    letter-spacing: 0.02em;
    font-weight: 600;
    color: rgb(156, 156, 168);
}

.skill-list h3 {
    font-size: 1.5em;
    line-height: 1em;
    color: white;
    margin: 0;
    padding: 0.5em 0.25em;
    letter-spacing: 0.02em;
    border-bottom: 2px solid #c3073f;
}

.skill-list .other-skills {
    display: flex;
    flex-flow: column wrap;
    justify-content: space-between;
    align-items: center;
    width: 50%;
}

.other-skills .other-tools {
    display: flex;
    flex-flow: column nowrap;
    width: 100%;
    align-items: center;
}

.other-skills .version-control {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    width: 100%;
}

.other-skills .other-languages {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    width: 100%;
}

.list {
    display: flex;
    flex-flow: row nowrap;
    font-family: "Merriweather", serif;
    justify-content: space-evenly;
    font-size: 1em;
    line-height: 1.5em;
    font-weight: 600;
    color: rgb(156, 156, 168);
    width: 100%;
}

/* The style for the blog section starts here */

.blog {
    display: flex;
    flex-flow: column wrap;
    justify-content: space-evenly;
    background: #1a1a1d;
    align-items: center;
    min-height: 100vh;
    scroll-snap-align: start;
    margin-top: -2em;
}

.blog>header {
    display: flex;
    flex-flow: column nowrap;
    width: 85%;
}

h1.blog-header {
    font-family: "Lora", serif;
    font-size: 3em;
    line-height: 0.5em;
    margin-bottom: 0.5em;
    letter-spacing: 0.02em;
    color: white;
}

h3.blog-header {
    font-family: "Merriweather", serif;
    font-size: 1.2em;
    line-height: 1.2em;
    color: white;
    letter-spacing: 0.02em;
    margin-bottom: 0.6em;
}

hr.blog-header {
    border: 0;
    width: 30%;
    height: 5px;
    margin-left: 0;
    background: #c3073f;
}

.blog .posts {
    display: flex;
    justify-content: space-between;
    width: 85%;
}

.posts .blog-card {
    display: flex;
    width: 26vw;
    flex-flow: column nowrap;
    text-decoration: none;
    z-index: 5;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    transform: scale(1);
    border: 1px solid white;
    transition: 0.3s ease-in-out;
}

.blog-card:hover {
    transform: scale(1.05);
    z-index: 10;
    border: 1px solid #c3073f;
    -webkit-box-shadow: 0px 0px 5px 2px rgba(195, 7, 63, 1);
    -moz-box-shadow: 0px 0px 5px 2px rgba(195, 7, 63, 1);
    box-shadow: 0px 0px 5px 2px rgba(195, 7, 63, 1);
}

img.blog-img {
    max-width: 26vw;
    min-height: 30vh;
    max-height: 30vh;
    height: auto;
    border-bottom: 1px solid white;
    margin: 0;
    padding: 0;
    -o-object-fit: cover;
    object-fit: cover;
    overflow: hidden;
}

h3.blog-title {
    font-size: 1em;
    line-height: 1.5em;
    letter-spacing: 0.02em;
    color: white;
    margin-bottom: auto;
    padding: 0 0.5em;
}

div.blog-date {
    /* don't display the dates */
    display: none;
    flex-flow: row-reverse nowrap;
    justify-content: space-between;
    align-items: center;
    font-family: "Lora", serif;
    font-size: 0.9em;
    line-height: 1.6em;
    letter-spacing: 0.04em;
    color: white;
    margin-top: auto;
    padding: 0 0.5em;
}

.blog-tags {
    display: flex;
    font-family: "Merriweather", serif;
    justify-content: space-between;
    font-size: 0.75em;
    line-height: 2em;
    letter-spacing: 0.06;
    color: rgb(160, 160, 170);
    margin-top: auto;
    padding: 0 0.5em;
}

.blog-tags p {
    background: rgba(78, 78, 84, 0.3);
    padding: 0 0.5em;
}

/* The style for the contact section starts here onwards */

.contact {
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-around;
    align-items: center;
    min-height: 80vh;
    padding-top: 30px;
    margin: 0;
    margin-bottom: 1em;
    background: #1a1a1d;
}

.contact header {
    width: 85%;
    display: flex;
    flex-flow: column nowrap;
}

.contact-body {
    display: flex;
    flex-flow: row-reverse nowrap;
    justify-content: center;
    width: 85%;
    color: white;
    font-family: "Merriweather", serif;
    font-size: 1.2em;
    line-height: 1.2em;
    letter-spacing: 0.02em;
}

.contact-body .other-details {
    display: inline-flex;
    flex-flow: column nowrap;
    margin-top: 5em;
    margin-left: 2em;
    /* justify-content: flex-end; */
}

.contact-body .other-details p {
    font-size: 0.9em;
    margin: 0;
    margin-top: 1em;
}

a.contact-link {
    font-family: "Poppins", sans-serif;
    text-decoration: none;
    color: #ff0954;
    font-weight: 600;
}

a.contact-link:hover {
    text-decoration: underline;
}

h1.contact-header {
    font-family: "Lora", serif;
    font-size: 3em;
    line-height: 0.5em;
    letter-spacing: 0.02em;
    margin-bottom: 0.5em;
    color: white;
}

.contact a.fa-angle-double-up {
    bottom: 1%;
    color: white;
    align-self: flex-end;
    text-decoration: none;
    margin: 0 0.5em;
    font-size: 3.5em;
    animation: bounce 7s infinite;
    -moz-animation: bounce 7s infinite;
    -webkit-animation: bounce 7s infinite;
}

.contact a.fa-angle-double-up.moving {
    opacity: 0;
    position: fixed;
    bottom: 1%;
    color: white;
    align-self: flex-end;
    text-decoration: none;
    margin: 0 0.5em;
    font-size: 3.5em;
    animation: bounce 7s infinite;
    -moz-animation: bounce 7s infinite;
    -webkit-animation: bounce 7s infinite;
    transition: opacity 0.2s ease-in-out;
}

hr.contact-header {
    border: 0;
    width: 30%;
    height: 5px;
    background: #c3073f;
    margin-left: 0;
}

form.contact-form {
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-evenly;
    align-items: center;
    font-size: 0.9em;
    line-height: 1.5em;
    margin: 1em 0 0 0;
}

.contact-form label.contact-label {
    margin: 0;
    font-family: "Lora", serif;
}

.contact-form input.contact-input {
    min-width: 40vw;
    outline: transparent;
    height: 2em;
    border-radius: 0.5em;
    margin: 0.8em 0;
    border: 0;
    font-size: 1em;
    font-family: "Poppins", sans-serif;
    padding: 0 0.2em;
    color: black;
    border: 1px solid white;
}

.contact-form input:focus {
    border: 2px solid #c3073f;
}

.contact-form textarea.contact-message {
    min-width: 40vw;
    max-width: 75vw;
    min-height: 10ch;
    max-height: 30ch;
    outline: none;
    font-size: 1em;
    font-family: "Poppins", sans-serif;
    padding: 0.1em 0.2em;
    margin: 0.8em 0;
    border-radius: 0.5em;
}

.contact-form textarea:focus {
    border: 1px solid #c3073f;
}

.contact-form button.contact-submit {
    width: 15em;
    height: 2.5em;
    color: white;
    border: 1px solid #c3073f;
    background-color: #c3073f;
    border: 2px solid #c3073f;
    text-decoration: none;
    font-family: "Poppins", sans-serif;
    font-size: 1em;
    line-height: 1.5em;
    letter-spacing: 0.02em;
    font-weight: 500;
    border-radius: 0.2em;
    padding: 0.25em;
    cursor: pointer;
    margin: 0;
    margin-top: 1em;
    -webkit-box-shadow: 0px 0px 4px 2px #1a1a1d;
    -moz-box-shadow: 0px 0px 4px 2px #1a1a1d;
    box-shadow: 0px 0px 4px 2px #1a1a1d;
    transition: all 0.3s ease-in;
}

.contact-form button.contact-submit:hover {
    -webkit-box-shadow: 0px 0px 4px 2px #c3073f;
    -moz-box-shadow: 0px 0px 4px 2px #c3073f;
    box-shadow: 0px 0px 4px 2px #c3073f;
    border: 2px solid #ff0a54;
    background: #ff0a54;
}



footer {
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-evenly;
    align-items: center;
    min-height: 20vh;
    background: #c3073f;
    background: linear-gradient(90deg,
            rgba(195, 7, 63, 1) 0%,
            rgba(149, 7, 64, 1) 73%,
            #6f2232 100%);
}

.icons {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.icons i {
    font-size: 1.5em;
    line-height: 1em;
    margin: 0 0.5em;
    color: white;
    transform: translateY(0);
    transition: 0.3s ease-in-out;
}

.icons i:hover {
    transform: translateY(-20%);
}

div.last-line {
    display: inline-flex;
    justify-content: center;
    font-size: 1em;
    line-height: 1.5em;
    letter-spacing: 0.02em;
    color: white;
}

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

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

::-webkit-scrollbar-thumb {
    background: #c3073f;
    border: 0;
}

@media screen and (max-width: 768px) {
    .preloader img {
        width: 10em;
        height: 10em;
    }

    .landing .links {
        left: 70%;
        width: 30%;
    }

    .landing .links>a {
        font-size: 1.5em;
    }

    a.mail-link {
        font-size: 1em;
        line-height: 1.5em;
        letter-spacing: 0.04em;
    }

    .arrow a {
        font-size: 3em;
    }

    .about {
        min-height: 100vh;
    }

    section {
        min-height: auto;
    }

    h1.about-header {
        font-size: 2.5em;
        line-height: 0.6em;
        margin-bottom: 0.6em;
    }

    h3.about-header {
        font-size: 1em;
        line-height: 1.5em;
        margin-bottom: 1.5em;
    }

    hr.about-hr {
        height: 3px;
    }

    p.about-me {
        font-size: 1em;
        line-height: 1.5em;
    }

    /* Style for the projects section starts here */
    .projects {
        min-height: auto;
    }

    h1.project-header {
        font-size: 2.7em;
        line-height: 0.4em;
        margin: 0.4em 0;
    }

    h3.project-header {
        font-size: 1.2em;
        line-height: 1.2em;
        margin-bottom: 0.6em;
    }

    hr.project-hr {
        height: 3px;
    }

    .project-list {
        height: 90%;
        flex-flow: column nowrap;
        justify-content: space-around;
        align-items: center;
    }

    .project-list.second-row {
        margin: 0;
        margin-top: -1.5em;
        height: 90%;
        flex-flow: column nowrap;
        justify-content: space-around;
        align-items: center;
    }


    .project-list .card {
        width: 85%;
        margin: 2em 0;
        flex-flow: column nowrap;
        justify-content: space-between;
        min-height: auto;
    }

    .project-img {
        width: 100%;
    }

    .project-img:hover {
        transform: scale(1);
    }

    .project-img img {
        min-width: 100%;
        height: auto;
    }

    .project-desc {
        width: 100%;
    }

    .project-links i {
        font-size: 3em;
    }

    /* Style for the skills section starts below */
    .skill {
        justify-content: space-between;
    }

    h1.skill-header {
        font-size: 2.5em;
        line-height: 0.6em;
        margin-bottom: 0.6em;
    }

    hr.skill-header {
        height: 3px;
    }

    .skill-list {
        display: flex;
        justify-content: space-between;
        width: 85%;
    }

    .skill-list p:hover {
        transform: scale(1);
    }

    .skill-list h3 {
        font-size: 1.2em;
        line-height: 1.2em;
        padding: 0.6em 0.3em;
    }

    .full-stack>.main-list {
        font-size: 1em;
        line-height: 1.5em;
    }

    .list {
        font-size: 0.9em;
        line-height: 1.6em;
    }

    .list p {
        margin: 0 0.5em;
    }

    /* The style for the blog section starts here */
    .blog {
        min-height: auto;
    }

    h1.blog-header {
        font-size: 2.5em;
        line-height: 0.6em;
        margin-bottom: 0.6em;
    }

    h3.blog-header {
        font-size: 1em;
        line-height: 1.5em;
        margin-bottom: 0.75em;
    }

    hr.blog-header {
        height: 3px;
    }

    .blog .posts {
        flex-flow: column nowrap;
        height: 80%;
    }

    .posts .blog-card {
        width: 100%;
        margin: 2em 0;
    }

    .blog-card:hover {
        transform: scale(1.02);
    }

    img.blog-img {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 30vh;
    }

    .blog-tags {
        justify-content: space-evenly;
    }

    /* The style for the contact section starts here onwards */
    .contact {
        min-height: auto;
    }

    h1.contact-header {
        font-size: 2.5em;
        line-height: 0.6em;
        margin: 5em 0 0.6em 0;
    }

    .contact-body {
        font-size: 1.2em;
        line-height: 1.2em;
        margin: 2em 0 -3em 0;
    }

    .contact a.fa-angle-double-up {
        font-size: 3em;
        margin: 1em 0;
    }

    hr.contact-header {
        height: 3px;
    }

    .contact-body .other-details {
        margin: 1em 0;
    }

    .contact-form input.contact-input {
        min-width: 80vw;
    }

    .contact-form textarea.contact-message {
        min-width: 80vw;
        max-width: 90vw;
        min-height: 10ch;
        max-height: 50ch;
    }

    .contact-form button.contact-submit {
        width: 40%;
        margin: 1.2em 0;
    }

    /* Footer style */

    .icons i {
        font-size: 2em;
        line-height: 0.75em;
        margin: 0 0.75em;
    }

    div.last-line {
        font-size: 1.2em;
        line-height: 1.2em;
    }
}

@media screen and (max-width: 600px) {
    .preloader img {
        width: 10em;
        height: 10em;
    }

    .nav-icon-1,
    .nav-icon-2,
    .nav-icon-3 {
        width: 30px;
        height: 4px;
        margin-bottom: 4px;
    }

    .change .nav-icon-1 {
        -webkit-transform: rotate(-45deg) translate(-5px, 3px);
        transform: rotate(-45deg) translate(-5px, 3px);
    }

    .change .nav-icon-2 {
        opacity: 0;
    }

    .change .nav-icon-3 {
        -webkit-transform: rotate(45deg) translate(-7px, -7px);
        transform: rotate(45deg) translate(-7px, -7px);
    }

    .side-nav {
        justify-content: flex-start;
        padding-top: 10vh;
    }

    .side-nav a {
        min-height: 15vh;
    }

    /* Style for the landing page starts here */
    .landing .links {
        left: 50%;
        width: 50%;
        justify-content: space-evenly;
    }

    .landing .links>a {
        font-size: 1.5em;
    }

    h1.landing-header {
        font-size: 3em;
        line-height: 0.5em;
        margin: 0;
        margin-top: 0em;
        letter-spacing: 0.04em;
        text-shadow: -1px 1px 0 #1a1a1d, 1px 1px 0 #1a1a1d, 1px -1px 0 #1a1a1d,
            -1px -1px 0 #1a1a1d;
    }

    h2.landing-header {
        font-size: 1em;
        line-height: 1.5em;
        align-self: center;
        margin-top: -2em;
        letter-spacing: 0.04em;
        text-shadow: -0.5px 0.5px 0 #1a1a1d, 0.5px 0.5px 0 #1a1a1d,
            0.5px -0.5px 0 #1a1a1d, -0.5px -0.5px 0 #1a1a1d;
    }

    hr.landing-hr {
        margin-top: -1em;
        width: 80%;
    }

    @keyframes intro {
        from {
            width: 0;
        }

        30% {
            width: 0;
        }

        60% {
            width: 100%;
        }

        100% {
            width: 75%;
        }
    }

    a.mail-link {
        font-size: 0.9em;
        line-height: 1.6em;
        letter-spacing: 0.04em;
    }

    .arrow a {
        font-size: 3em;
        margin-bottom: 1.2em;
    }

    /* style for the about section starts here */
    .about {
        flex-flow: column-reverse nowrap;
        justify-content: space-around;
        align-items: center;
        background: #1a1a1d;
        margin: 3em 0;
    }

    .about main {
        display: flex;
        flex-flow: column wrap;
        justify-content: space-around;
        align-items: space-around;
        margin-left: 0;
        color: white;
        max-width: 90%;
    }

    h1.about-header {
        font-size: 1.5em;
        line-height: 1em;
        letter-spacing: 0.04em;
        margin-bottom: 0.5em;
    }

    h3.about-header {
        font-size: 1em;
        line-height: 1.5em;
        letter-spacing: 0.04em;
        margin-bottom: 1.5em;
    }

    hr.about-hr {
        width: 50%;
        height: 3px;
    }

    p.about-me {
        font-size: 0.9em;
        line-height: 1.6em;
        letter-spacing: 0.02em;
    }

    .about img {
        width: 6em;
        height: 6em;
        margin: 1em 0;
        border: 2px solid #950740;
        -webkit-box-shadow: 0px 0px 2px 2px #c3073f;
        -moz-box-shadow: 0px 0px 2px 2px #c3073f;
        box-shadow: 0px 0px 2px 2px #c3073f;
    }

    .about img:hover {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    /* Style for the projects section starts here */
    h1.project-header {
        font-size: 2.5em;
        line-height: 0.6em;
        margin: 0.4em 0;
    }

    h3.project-header {
        font-size: 1em;
        line-height: 1.5em;
        margin-bottom: 0.5em;
    }

    hr.project-hr {
        height: 3px;
        width: 50%;
    }

    .projects {
        margin: 0;
    }

    .project-list {
        height: 100%;
        max-width: 100%;
        margin: 1.5em 0;
        flex-flow: column nowrap;
        justify-content: space-around;
        align-items: center;
    }

    .project-list.second-row {
        height: 100%;
        max-width: 100%;
        margin: 0;
        margin-top: -1.5em;
        flex-flow: column nowrap;
        justify-content: space-around;
        align-items: center;
    }

    .project-list .card {
        width: 85%;
        flex-flow: column nowrap;
        justify-content: space-between;
        margin: 1.5em 0;
    }

    .project-img {
        width: 100%;
    }

    .project-img:hover {
        transform: scale(1);
    }

    .project-img img {
        min-width: 100%;
        height: auto;
    }

    .project-desc {
        width: 100%;
    }

    .project-links i {
        font-size: 3em;
    }

    /* Style for the skills section starts below */

    .skills {
        justify-content: space-around;
    }

    h1.skill-header {
        font-size: 2em;
        line-height: 0.75em;
        letter-spacing: 0.02em;
        margin-bottom: 0.75em;
    }

    hr.skill-header {
        width: 50%;
        height: 3px;
    }

    .skill-list {
        display: flex;
        flex-flow: column wrap;
        justify-content: space-between;
        align-items: center;
        margin-top: 3em;
        width: 85%;
    }

    .skill-list p {
        transform: translateY(0);
        transform: scale(1);
        transition: all 0.2s ease-in-out;
    }

    .skill-list p:hover {
        transform: translateY(0);
        transform: scale(1);
    }

    .skill-list>.full-stack {
        flex-flow: column wrap;
        align-items: center;
        width: 90%;
    }

    .full-stack>.main-list {
        font-size: 0.9em;
        line-height: 1.6em;
        letter-spacing: 0.04em;
        width: 100%;
        text-align: center;
    }

    .skill-list h3 {
        font-size: 1.2em;
        line-height: 1.2em;
        padding: 0.3em;
    }

    .skill-list .other-skills {
        flex-flow: column nowrap;
        width: 90%;
    }

    .list {
        font-size: 1em;
        line-height: 1.5em;
        flex-flow: column nowrap;
        margin: 1em 0;
    }

    .list p {
        margin: 0.4em 0;
        width: 100%;
        text-align: center;
    }

    /* The style for the blog section starts here */

    h1.blog-header {
        font-size: 2em;
        line-height: 0.75em;
        margin-bottom: 0.3em;
    }

    h3.blog-header {
        font-size: 1em;
        line-height: 1.5em;
        margin-bottom: 0.75em;
    }

    hr.blog-header {
        height: 3px;
        width: 50%;
    }

    .blog .posts {
        flex-flow: column nowrap;
    }

    .posts .blog-card {
        width: 100%;
        margin: 1.5em 0;
    }

    .blog-card:hover {
        transform: scale(1);
    }

    img.blog-img {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 30vh;
    }

    .blog-tags {
        justify-content: space-evenly;
    }

    /* The style for the contact section starts here onwards */

    .contact {
        min-height: auto;
        margin-top: 8em;
        margin-bottom: 0;
        /* margin-top:1em; */
    }

    .contact .contact-header {
        margin-top: 0;
    }

    h1.contact-header {
        font-size: 2em;
        line-height: 0.75em;
        margin-top: 2em;
    }

    .contact-body {
        font-size: 1em;
        line-height: 1.5em;
        letter-spacing: 0.04em;
        margin: 0 0 -3em 0;
    }

    .contact a.fa-angle-double-up {
        font-size: 2.7em;
        margin-bottom: 1em;
        margin-right: 0.2em;
    }

    hr.contact-header {
        height: 3px;
        width: 50%;
    }

    form.contact-form {
        font-size: 0.9em;
        line-height: 1.5em;
        margin: 1em 0 0 0;
    }

    .contact-form input.contact-input {
        min-width: 85vw;
        height: 2.2em;
        font-size: 1em;
    }

    .contact-form textarea.contact-message {
        min-width: 85vw;
        max-width: 85vw;
        min-height: 15ch;
        max-height: 30ch;
    }

    .contact-form button.contact-submit {
        width: 80%;
        height: 3em;
    }

    /* Footer style */

    .icons i {
        font-size: 1.2em;
        line-height: 1.2em;
        margin: 0 0.6em;
    }

    div.last-line {
        font-size: 1em;
        line-height: 1.5em;
    }
}