*,
body,
html {
    box-sizing: border-box
}

a {
    color: #000;
    text-decoration: none;
}

body {
    margin: 0px;
    font-family: 'Lexend Deca', sans-serif;
    background: #e1e1e1;
}

header {
    width: 100%;
    padding: 5px 8px;
    padding-right: 0px;
    color: #fff;
    background-color: #011627;
}

@media (max-width:790px) {
    header {
        padding: 4px 8px;
        padding-right: 0px;
    }
}

.nav {
    max-width: 990px;
    margin: 0em auto;
    box-sizing: content-box;
    padding: 0.4rem 1rem;
    align-items: center;
    display: flex;
    color: #fff;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-content: center;
}

.nav>.nav-header {
    display: inline;
}

.logo {
    display: flex;
    align-items: flex-end;
    color: unset;
    text-decoration: unset;
}

.logo-text {
    font-weight: 600;
    display: inline-block;
    font-size: 22px;
    line-height: 24px;
    padding-left: 8px;
    position: relative;
    top: -1.5px;
    letter-spacing: 0px;
    vertical-align: middle;
    color: #fff;
    white-space: nowrap;
}

.nav>.nav-btn {
    display: none;
}

.nav>.nav-links {
    display: inline;
    float: right;
    font-size: 16px;
}

.nav>.nav-links>a {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    padding-left: 32px;
    padding-right: 0px;
    font-weight: 500;
}

.nav>#nav-check {
    display: none;
}

@media (max-width:820px) {
    .nav {
        margin: 0em 0em;
        padding: 6px 6px;
    }

    .nav>.nav-btn {
        display: contents;
        position: absolute;
        right: 0px;
        top: 0px;
    }

    .nav>.nav-btn>label {
        display: inline-block;
        width: 50px;
        height: 40px;
        padding: 12px;
        cursor: pointer;
    }

    .nav>.nav-btn>label>span {
        display: block;
        width: 28px;
        height: 7px;
        border-top: 2px solid #fff;
    }

    .nav>.nav-links {
        position: absolute;
        display: block;
        width: 100%;
        font-size: 16px;
        background: #011627;
        height: 0px;
        transition: all 0.3s ease-in;
        overflow-y: hidden;
        top: 60px;
        left: 0px;
        z-index: 9999;
    }

    .nav>.nav-links>a {
        display: block;
        width: 100%;
        text-align: center;
        margin: 45px 0px;
        color: #fff;
        padding: 0;
    }

    .nav>#nav-check:not(:checked)~.nav-links {
        height: 0px;
    }

    .nav>#nav-check:checked~.nav-links {
        height: 100%;
        overflow-y: auto;
    }
}




.main {
    max-width: 1000px;
    margin: 0em auto;
    display: block;
    padding: 20px;
    width: 100%;
}

@media (max-width:540px) {
    .main {
        padding: 10px;
    }
}

h1 {
    margin-top: 0px;
    margin-bottom: 20px;
    font-size: 26px;
    text-align: center;
}

@media (max-width:520px) {
    h1 {
        margin-top: 10px;
        font-size: 24px;
    }
}

input#myfont-text {
    color: #000;
    height: 80px;
    resize: none;
    font-family: cursive;
    width: 100%;
    padding: 10px;
    border-radius: 14px;
    font-size: 17px;
    text-align: left;
    background: #fff;
    border-color: #3c3c3c;
    border-width: 2px;
    border-style: solid;
    outline: none;
    margin-bottom: 1.5rem;
}

.myfont p {
    padding: 14px 10px;
    background: #fff;
    font-size: 20px;
    margin: 6px;
    margin-bottom: 12px;
}

.myfont span {
    margin-left: 6px;
}

.Instagram-fonts-article {
    display: block;
    max-width: 950px;
    margin: 0em auto;
    margin-top: 2.5em;
    background: #fff;
    padding: 6px 20px;
    padding-bottom: 20px;
}

.Instagram-fonts-article p {
    line-height: 1.7em;
}

.Instagram-fonts-article li {
    margin-bottom: 5px;
    line-height: 1.7em;
}

h2 {
    font-size: 1.6em;
}

h3 {
    font-size: 1em;
}

.aload {
    font-size: 20px;
    position: relative;
    width: 4em;
    height: 1em;
    margin: 10px auto;
    text-align: center;
}

.aload span {
    display: block;
    width: 1em;
    height: 1em;
    border-radius: .5em;
    background: #555;
    position: absolute;
    animation-duration: .5s;
    animation-timing-function: ease;
    animation-iteration-count: infinite
}

.aload span:nth-child(1), .aload span:nth-child(2) {
    left: 0
}

.aload span:nth-child(3) {
    left: 1.5em
}

.aload span:nth-child(4) {
    left: 3em
}

@keyframes reveal {
    from {
        transform: scale(.001)
    }

    to {
        transform: scale(1)
    }
}

@keyframes slide {
    to {
        transform: translateX(1.5em)
    }
}

.aload span:nth-child(1) {
    animation-name: reveal
}

.aload span:nth-child(2), .aload span:nth-child(3) {
    animation-name: slide
}

.aload span:nth-child(4) {
    animation-name: reveal;
    animation-direction: reverse
}