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

body {
    /* font-size: 2rem; */
    /* display: flex; */
    justify-content: center;
    color: white;
    font-family: sans-serif;
    align-items: center;
    align-content: center;
    position: center;
    height: 100vh;
    margin: 0;
    /*padding-top: 8vh;*/
    padding: 0;
}

.centered-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

h4 a {
    text-decoration: none;
    color: inherit; /* Inherit color from parent */
    font-family: inherit; /* Inherit font family from parent */
}

.type {
    display: inline-block;
    vertical-align: bottom;
}

.type>span {
    color: yellow;
    display: grid;
    overflow: hidden;
    height: 1.2em;
}

.type span span {
    width: 0%;
    max-width: max-content;
    overflow: hidden;
    height: inherit;
    word-break: break-all;
    animation:
        c 0.5s infinite steps(1),
        t 2s linear infinite alternate,
        m 16s steps(4) infinite;
}

.type span span:before {
    content: " ";
    display: inline-block;
}

@keyframes t {

    90%,
    100% {
        width: 100%
    }
}

@keyframes c {

    0%,
    100% {
        box-shadow: 5px 0 0 #0000
    }

    50% {
        box-shadow: 5px 0 0 white
    }
}

@keyframes m {
    100% {
        transform: translateY(-400%)
    }
}

body {
    background-color: slategray;
}



.loader-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #242f3f;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    display: inline-block;
    width: 30px;
    height: 30px;
    position: relative;
    border: 4px solid #fff;
    animation: loader 5s infinite ease;
}

.loader-inner {
    vertical-align: top;
    display: inline-block;
    width: 100%;
    background-color: #fff;
    animation: loader-inner 5s infinite ease-in;
}

@keyframes loader {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(180deg);
    }

    50% {
        transform: rotate(360deg);
    }

    75% {
        transfrom: rotate(360deg);
    }

    100% {
        transfrom: rotate(360deg);
    }
}

@keyframes loader-inner {
    0% {
        height: 0%;
    }

    25% {
        height: 0%;
    }

    50% {
        height: 100%;
    }

    75% {
        height: 100%;
    }

    100% {
        height: 0%;
    }
}

nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 8vh;
    background-color: #787878;
    font-family: 'Poppins', sans-serif;
    max-width: 100%;
    position:-webkit-sticky; position:sticky; top:0;
    z-index: 1500; /*Always above*/
}

.logo {
    color: rgb(226, 226, 226);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 20 px;

}

.nav-links {
    display: flex;
    justify-content: space-between;
    width: auto;
}

.nav-links li {
    list-style: none;
    margin-right: 30px;
}

.nav-links a {
    color: rgb(226, 226, 226);
    text-decoration: none;
    letter-spacing: 3px;
    font-weight: bold;
    font-size: 14px;
}

/* Burger menu styling*/
.burger {
    display: none;
    cursor: pointer;
    top: 30px;
    position:-webkit-sticky; position:sticky; top:30px;
    z-index: 999;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: rgb(226, 226, 226);
    margin: 5px;
    transition: all 0.3s ease;
}

@media screen and (max-width:1024px) {
    .nav-links {
        width: 60%;
    }
}

@media screen and (max-width:768px) {
    body {
        overflow-x: hidden;
    }

    .nav-links {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 8vh;
        background-color: #787878;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        /*
        width: 100%
        */
        transform: translateX(100%);
        transition: transform 0.3s ease-in;
    }

    .navLinks li {
        opacity: 0;
    }

    .burger {
        display: block;
    }
}

.nav-active {
    transform: translateX(0%);
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

img {
    pointer-events: none;
}
/*Media Content*/
.box2,
.box3,
.box4,
.box5,
.box6,
.box7 {
    width: 80rem;
    height: 30rem;
    border: 2px solid yellow;
    margin: 1rem;
    background-color: slategray;
    font-family: 'Poppins', sans-serif;
    font-size: 2.0rem;
    align-items: center;
}

.box {
    margin: 10rem;
    text-align: center;
}

h1, h2, p {
    display: block;
    margin: 0 auto;
    justify-content: center;
}

h1 {
    font-size: 94px;
}

h2 {
    font-size: 24px;
}

p {
    font-size: 14px;
}
.box1 {
    flex-direction: column;
    font-family: 'Poppins', sans-serif;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    margin: 10px 10px 10px 10px;
}


.box2 {
    margin: 5rem;
    align-content: center;
    width: auto;
    height: auto;
    padding: 45px;
    /*text-align: center;*/
}

.iframe-container {
  position: relative;
  width: 100%;
  padding-bottom: 75%;
  height: 0;
  overflow: hidden;
  margin-top: 1rem;
  z-index: 1; /*Lower than navbar*/
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 1; /*Lower than navbar*/
}

.box3 {
    margin: 5rem;
    align-content: center;
    width: auto;
    height: auto;
    padding: 25px;
    /*text-align: center;*/
}

.box4 {
    margin: 5rem;
    align-content: center;
    width: auto;
    height: auto;
    padding: 25px;
    /*text-align: center;*/
}

.box5 {
    margin: 5rem;
    align-content: center;
    width: auto;
    height: auto;
    padding: 25px;
    /*text-align: center;*/
}

.box6 {
    margin: 5rem;
    align-content: center;
    width: auto;
    height: auto;
    padding: 25px;
    /*text-align: center;*/
}

.box7 {
    margin: 5rem;
    align-content: center;
    width: auto;
    height: auto;
    padding: 25px;
    /*text-align: center;*/
}

.form-section {
    background-color: slategray;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    width: 50rem;
    height: auto;
    border: 2px solid yellow;
    margin: 1rem;
    padding: 25px;
    /*text-align: center;*/
}

.footer {
    flex-direction: column;
    align-items: center;
    background-color: #787878;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #fff;
    text-align: center;
}

/** resume.html styling **/
/* Styling for the iframe */
.iframe-container iframe {
    width: 100%;
    height: 600px;
    border: none;
}
