* {
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

html::-webkit-scrollbar {
    width: 0.8rem;
}

html::-webkit-scrollbar-track {
    background: rgb(235, 202, 245);
}

html::-webkit-scrollbar-thumb {
    background: #420177;
}

.mobile-menu {
    cursor: pointer;
    display: none;
    font-size: 2.3rem
}

.mobile-menu:hover {
    color: #147efb;
    transition: all .3s
}

@media (max-width: 900px) {
    .mobile-menu {
        display: flex
    }
}

.closed-menu {
    left: -100% !important
}

.open-menu {
    left: 0 !important
}

.mobile-nav {
    align-items: center;
    background-color: #fff;
    display: flex;
    height: 100vh;
    justify-content: center;
    left: 0;
    position: fixed;
    text-align: center;
    top: 0;
    transition: all .3s ease-in-out;
    width: 100%;
    z-index: 300
}

.mobile-nav span {
    cursor: pointer;
    font-size: 3.3rem;
    position: absolute;
    right: 4rem;
    top: 2rem
}

.mobile-nav span:hover {
    color: #147efb;
    transition: all .3s
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    font-size: 2.3rem;
    gap: 4rem;
    list-style: none
}

.mobile-nav ul a {
    color: #000;
    font-weight: 500;
    text-decoration: none
}

.mobile-nav ul a:hover {
    color: #147efb;
    transition: all .3s
}



@media (max-width: 400px) {
    nav {
        padding: 25px 30px
    }
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none
}

nav ul a {
    color: #2d2e32;
    text-decoration: none;
    transition: all .23s
}

@media (max-width: 900px) {
    nav ul a {
        display: none
    }
}

nav ul a:hover {
    color: #147efb
}

.logo {
    color: #2d2e32;
    cursor: pointer
}

.logo:hover {
    color: #dc3545;
}

.hero {
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: relative;
    width: 100%
}

@media (max-width: 900px) {
    .hero {
        height: auto;
        padding: 11rem 0
    }
}

.hero #particles-js {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.hero-main {
    align-items: center;
    display: flex;
    gap: 10rem;
    justify-content: center;
    position: relative
}

@media (max-width: 900px) {
    .hero-main {
        flex-direction: column-reverse;
        gap: 3rem;
        height: auto;
        text-align: center
    }
}

.content {
    align-items: center;
    display: flex;
    gap: 10rem;
    height: 65rem;
    justify-content: center;
    position: relative
}

@media (max-width: 900px) {
    .content {
        flex-direction: column;
        gap: 3rem;
        height: auto;
        text-align: center
    }
}

@media (min-width: 1600px) {
    .content {
        margin-top: 6rem
    }
}

@media (min-width: 1900px) {
    .content {
        margin-top: 10rem
    }
}

.content2 {
    align-items: center;
    gap: 10rem;
    height: 65rem;
    justify-content: center;
    position: relative
}

@media (max-width: 900px) {
    .content2 {
        flex-direction: column;
        gap: 3rem;
        height: auto;
        text-align: center
    }
}

@media (min-width: 1600px) {
    .content2 {
        margin-top: 6rem
    }
}

@media (min-width: 1900px) {
    .content2 {
        margin-top: 10rem
    }
}

.hero-text {
    /* display: flex; */
    flex-direction: column;
    max-width: 50rem;
    position: relative
}

.hero-text h1 {
    color: #2d2e32;
    font-size: 5.5rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    margin-top: 2rem
}

@media (max-width: 500px) {
    .hero-text h1 {
        font-size: 4rem
    }
}

.hero-text p {
    color: #555;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.6
}

@media (max-width: 900px) {
    .hero-text p {
        margin-bottom: 5rem
    }
}

.hero-text span {
    cursor: pointer;
    display: flex;
    gap: 1.3rem;
    margin: 2.5rem 0
}

.hero-text span a {
    color: #2d2e32;
    font-size: 3rem
}

@media (max-width: 900px) {
    .hero-text span {
        gap: 1.6rem;
        justify-content: center;
        margin-bottom: 4rem;
        margin-top: -2rem
    }
}

.hero-text span a {
    transition: all .2s
}

.hero-text span a:hover {
    color: #147efb
}

.hero-text img {
    height: 6rem;
    position: absolute;
    right: 13rem;
    top: 8.7rem;
    width: 6rem
}

@media (max-width: 900px) {
    .hero-text img {
        right: 3rem
    }
}

@media (max-width: 500px) {
    .hero-text img {
        height: 4.5rem;
        right: 4rem;
        top: 6.4rem;
        width: 4.5rem
    }
}

@media (max-width: 400px) {
    .hero-text img {
        right: 3rem
    }
}

@media (max-width: 380px) {
    .hero-text img {
        right: 3rem
    }
}

@media (max-width: 375px) {
    .hero-text img {
        right: 1.7rem
    }
}

.hero-img {
    -webkit-animation: morph 8s ease-in-out infinite;
    animation: morph 2s ease-in-out infinite;
    background-image: url(../../admin/image/users/2.jpg);
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 60% 40% 30% 70%/60% 30% 70% 40%;
    height: 35rem;
    position: relative;
    transition: all 1s ease-in-out;
    width: 35rem
}

@media (max-width: 500px) {
    .hero-img {
        height: 28rem;
        width: 28rem
    }
}

@-webkit-keyframes morph {
    0% {
        border-radius: 60% 40% 30% 70%/60% 30% 70% 40%
    }

    50% {
        border-radius: 30% 60% 70% 40%/50% 60% 30% 60%
    }

    to {
        border-radius: 60% 40% 30% 70%/60% 30% 70% 40%
    }
}

@keyframes morph {
    0% {
        border-radius: 60% 40% 30% 70%/60% 30% 70% 40%
    }

    50% {
        border-radius: 30% 60% 70% 40%/50% 60% 30% 60%
    }

    to {
        border-radius: 60% 40% 30% 70%/60% 30% 70% 40%
    }
}

.skills {
    align-items: center;
    bottom: 0;
    color: #767676;
    display: flex;
    font-size: 1.7rem;
    left: 0;
    position: absolute
}

@media (max-width: 900px) {
    .skills {
        flex-direction: column;
        position: static
    }
}

.skills p {
    border-right: 2px solid rgba(45, 46, 50, .5);
    color: #2d2e32;
    font-weight: 600;
    margin-right: 7rem;
    padding-right: 2rem
}

@media (max-width: 900px) {
    .skills p {
        border-bottom: 2px solid rgba(45, 46, 50, .5);
        border-right: none;
        margin-bottom: 3rem;
        margin-right: 0;
        padding-bottom: 1rem;
        padding-right: 0
    }
}

.skills ul {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    list-style: none
}

@media (max-width: 900px) {
    .skills ul {
        justify-content: center
    }
}

.skills ul li {
    cursor: pointer
}

.skills ul li img {
    height: 5rem;
    transition: all .3s ease-in-out;
    width: 11rem
}

.skills ul li img:hover {
    -webkit-transform: translateY(-1rem);
    transform: translateY(-1rem)
}

.about {
    background-color: #fff;
    padding: 15rem 0
}

@media (max-width: 1020px) {
    .about {
        padding: 8rem 0
    }
}

.about-content {
    align-items: center;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center
}

@media (max-width: 1020px) {
    .about-content {
        grid-template-columns: 1fr;
        text-align: center
    }
}

.text-side {
    padding-right: 1.5rem
}

@media (max-width: 1020px) {
    .text-side {
        margin: 0 auto;
        max-width: 54rem
    }
}

@media (max-width: 400px) {
    .text-side {
        padding-right: 0
    }
}

.text-side span {
    -webkit-text-decoration: underline #147efb;
    text-decoration: underline #147efb
}

.text-side h3 {
    color: #147efb;
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase
}

.text-side h4 {
    color: #2d2e32;
    font-size: 2.5rem;
    line-height: 1.4;
    margin-bottom: 2rem
}

.text-side p {
    color: #767676;
    font-size: 1.7rem;
    font-weight: 500;
    line-height: 1.5
}

.img-side {
    position: relative
}

.img-side span {
    background-color: #fff;
    border-radius: 50%;
    bottom: -33px;
    height: 19rem;
    position: absolute;
    right: 33px;
    width: 19rem
}

@media (max-width: 1020px) {
    .img-side span {
        bottom: -3px;
        height: 17rem;
        right: 190px;
        width: 17rem
    }
}

@media (max-width: 880px) {
    .img-side span {
        bottom: -3px;
        right: 100px
    }
}

@media (max-width: 750px) {
    .img-side span {
        display: none
    }
}

.img-side span img {
    -webkit-animation: rotate 9s linear infinite;
    animation: rotate 9s linear infinite;
    width: 19rem
}

@media (max-width: 1020px) {
    .img-side span img {
        width: 17rem
    }
}

@-webkit-keyframes rotate {
    to {
        -webkit-transform: rotate(1turn);
        transform: rotate(1turn)
    }
}

@keyframes rotate {
    to {
        -webkit-transform: rotate(1turn);
        transform: rotate(1turn)
    }
}

.img-side__main-img {
    border-radius: 1.7rem;
    height: 35rem;
    width: 41rem
}

@media (max-width: 1020px) {
    .img-side__main-img {
        margin-bottom: 3.5rem
    }
}

@media (max-width: 460px) {
    .img-side__main-img {
        height: auto;
        width: 90%
    }
}

.work-emoji {
    bottom: 35px;
    position: absolute;
    right: 98px;
    width: 6rem !important;
    z-index: 10
}

@media (max-width: 1020px) {
    .work-emoji {
        bottom: 25px;
        right: 245px
    }
}

@media (max-width: 880px) {
    .work-emoji {
        bottom: 57px;
        right: 156px
    }
}

@media (max-width: 750px) {
    .work-emoji {
        display: none
    }
}

.project {
    background-color: #f9f9f9;
    padding: 15rem 0
}

@media (max-width: 1020px) {
    .project {
        padding: 8rem 0
    }
}

.project-content {
    display: flex;
    flex-direction: column
}

@media (max-width: 600px) {
    .project-content {
        text-align: center
    }
}

.project-content p {
    color: #147efb;
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase
}

.project-content h3 {
    color: #2d2e32;
    font-size: 2.5rem;
    margin-bottom: 6rem
}

.projects-grid {
    grid-gap: 5rem;
    display: grid;
    gap: 5rem;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    height: auto;
    width: 100%
}

.projects-grid .pro {
    background-color: #fff;
    border-radius: 1.7rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    display: flex
}

.projects-grid .pro__1 {
    flex-direction: row;
    gap: 8rem;
    height: 40rem;
    padding: 2rem
}

@media (max-width: 1020px) {
    .projects-grid .pro__1 {
        flex-direction: column !important;
        gap: 3rem;
        height: 75rem;
        margin: 0 auto;
        width: -moz-fit-content;
        width: -webkit-fit-content;
        width: fit-content
    }
}

@media (max-width: 400px) {
    .projects-grid .pro__1 {
        width: 100%
    }
}

.projects-grid .pro__img {
    background-color: hsla(0, 0%, 46%, .2);
    border-radius: 1.7rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    height: auto;
    overflow: hidden;
    width: 53rem
}

@media (max-width: 650px) {
    .projects-grid .pro__img {
        width: 100%
    }
}

.projects-grid .pro__img img {
    height: auto;
    width: 100%
}

.projects-grid .pro__text {
    display: flex;
    flex-direction: column;
    height: auto;
    justify-content: center;
    text-align: center;
    width: 30rem
}

@media (max-width: 1020px) {
    .projects-grid .pro__text {
        margin: 0 auto
    }
}

@media (max-width: 400px) {
    .projects-grid .pro__text {
        width: 100%
    }
}

.projects-grid .pro__text img {
    position: absolute;
    right: -19px;
    top: -2px;
    width: 7rem
}

.projects-grid .pro__text h3 {
    align-items: center;
    color: #2d2e32;
    display: flex;
    font-size: 1.7rem;
    gap: .2rem;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
    text-transform: uppercase
}

.projects-grid .pro__text p {
    color: #767676;
    font-size: 1.7rem;
    font-weight: 500;
    text-align: center;
    text-transform: none
}

.stack {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem
}

.stack p {
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    color: #000 !important;
    font-weight: 600 !important;
    padding: 1rem 1.3rem
}

.links {
    gap: 1rem;
    justify-content: space-evenly;
    margin-top: 3rem
}

.links,
.links a {
    align-items: center;
    display: flex
}

.links a {
    color: #2d2e32;
    font-size: 1.7rem;
    font-weight: 500;
    gap: 5px;
    text-decoration: none
}

.links a i {
    font-size: 2.8rem
}

.links a .link-icon {
    font-size: 2rem !important
}

.links a img {
    width: 3.5rem
}

.links a:hover {
    color: #147efb;
    transition: all .3s
}

.reversed-proj {
    flex-direction: row-reverse !important
}

@media (max-width: 460px) {
    .container {
        padding: 0 1.7rem
    }
}

.new-projects {
    color: #2d2e32;
    font-size: 2.6rem;
    text-align: center
}

.date-class {
    color: hsla(0, 5%, 8%, .773);
    font-size: 1.4rem;
    margin-left: .2rem
}

.contact {
    background-color: #fff;
    padding: 11rem 0
}

@media (max-width: 1020px) {
    .contact {
        padding: 8rem 0
    }
}

.contact__content {
    display: flex;
    flex-direction: column
}

@media (max-width: 750px) {
    .contact__title {
        text-align: center
    }
}

.contact__title p {
    color: #147efb;
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase
}

.contact__title h3 {
    color: #2d2e32;
    font-size: 2.5rem
}

.contact__icons {
    display: flex;
    flex-wrap: wrap;
    gap: 8rem;
    margin-top: 6rem
}

@media (max-width: 750px) {
    .contact__icons {
        flex-direction: column;
        gap: 5rem;
        justify-content: center;
        text-align: center
    }
}

.contact__icon-box {
    align-items: center;
    display: flex;
    gap: 1.5rem
}

@media (max-width: 750px) {
    .contact__icon-box {
        flex-direction: column
    }
}

.contact__icon-box span {
    align-items: center;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    color: #147efb;
    display: flex;
    height: 5rem;
    justify-content: center;
    width: 5rem
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: .5rem
}

.contact__info h3 {
    color: #2d2e32;
    font-size: 1.7rem
}

.contact__info a,
.contact__info p {
    color: #767676;
    cursor: pointer;
    font-size: 1.7rem;
    text-decoration: none
}

.contact__info a:hover,
.contact__info p:hover {
    color: #147efb;
    transition: all .3s
}

.footer {
    min-height: auto;
    padding-top: 12;
    background: rgb(255, 255, 255);
}

.footer .box-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.footer .box-container .box {
    flex: 1 1 25rem;
    margin: 2.5rem;
}

.footer .box-container .box h3 {
    font-size: 2.5rem;
    color: #363636;
    font-weight: normal;
}

.footer .box-container .box p {
    font-size: 1.5rem;
    color: #363636;
    text-transform: none;
}

.footer .box-container .box p i {
    padding-right: 1rem;
    color: #ffae00;
}

.footer .box-container .box a {
    font-size: 1.5rem;
    color: rgb(238, 238, 238);
    padding: 0.3rem 0;
    display: block;
}

.footer .box-container .box a:hover {
    color: #ffae00;
}

.footer .box-container .box .share {
    display: flex;
    flex-wrap: wrap;
    padding: 1rem 0;
}

.footer .box-container .box .share a {
    height: 4rem;
    width: 4rem;
    padding: 1rem;
    text-align: center;
    border-radius: 5rem;
    font-size: 1.7rem;
    margin-right: 1rem;
    transition: 0.2s;
    background: rgb(230, 230, 230);
    color: #02094b;
    border: none;
}

.footer .box-container .box .share a:hover {
    background: transparent;
    transform: scale(0.98);
    border: 0.1rem solid rgb(180, 178, 178);
    color: #ffae00;
}

.footer .credit {
    padding: 2rem 0 0 0;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    border-top: 0.1rem solid #fff3;
}

.footer .credit a {
    color: #ffae00;
}

.footer .fa {
    color: #e90606;
    margin: 0 0.3rem;
    font-size: 1.5rem;
    animation: pound 0.35s infinite alternate;
}

@-webkit-keyframes pound {
    to {
        transform: scale(1.1);
    }
}

@keyframes pound {
    to {
        transform: scale(1.1);
    }
}

@media (max-width: 450px) {
    .footer .box-container .box {
        margin: 1.5rem;
    }

    .footer .box-container .box .share a {
        padding: 1.2rem;
    }
}

/* Container do artigo */ 
.article-container {
    max-width: 97%;
    margin: 20px auto;
    /* padding: 20px; */
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.md-author {
    border-radius: 100%;
    display: block;
    flex-shrink: 0;
    height: 8rem;
    overflow: hidden;
    position: relative;
    transition: color 125ms, transform 125ms;
    width: 8rem;
}

/* Imagem do artigo */
.article-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    /* border-radius: 10px; */ 
    margin-bottom: 10px;
}

/* Cabeçalho do artigo */
.article-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* margin-bottom: 10px; */
    padding-left: 10px;
    padding-right: 10px;
}

.article-header span {
    font-size: 14px;
    color: gray;
}

/* Título do artigo */
.article-title {
    font-size: 24px;
    color: #0077cc;
    text-decoration: none;
    margin-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
}

/* Texto do artigo */
.article-content {
    color: #333;
    font-size: 16px;
    /* margin-bottom: 15px; */
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 0.1px;
}

/* Link de leitura */
.read-more {
    text-decoration: none;
    color: #0077cc;
    font-weight: bold;
    transition: color 0.3s;
}

.read-more:hover {
    color: #0056a3;
}

.md-profile {
    align-items: center;
    display: flex;
    font-size: .7rem;
    gap: .6rem;
    line-height: 1.4;
    width: 100%;
}

.md-profile__description {
    flex-grow: 1
}

.md-content--post {
    display: flex;
}

@media screen and (max-width: 76.234375em) {
    .md-content--post {
        flex-flow:column-reverse
    }
}

.md-content--post>.md-content__inner {
    min-width: 0
}

@media screen and (min-width: 76.25em) {
    [dir=ltr] .md-content--post>.md-content__inner {
        margin-left:1.2rem
    }

    [dir=rtl] .md-content--post>.md-content__inner {
        margin-right: 1.2rem
    }
}

@media screen and (max-width: 76.234375em) {
    .md-sidebar.md-sidebar--post {
        padding:0;
        position: static;
        width: 100%
    }

    .md-sidebar.md-sidebar--post .md-sidebar__scrollwrap {
        overflow: visible
    }

    .md-sidebar.md-sidebar--post .md-sidebar__inner {
        padding: 0
    }

    .md-sidebar.md-sidebar--post .md-post__meta {
        margin-left: .6rem;
        margin-right: .6rem
    }

    .md-sidebar.md-sidebar--post .md-nav__item {
        border: none;
        display: inline
    }

    .md-sidebar.md-sidebar--post .md-nav__list {
        display: inline-flex;
        flex-wrap: wrap;
        gap: .6rem;
        padding-bottom: .6rem;
        padding-top: .6rem
    }

    .md-sidebar.md-sidebar--post .md-nav__link {
        padding: 0
    }

    .md-sidebar.md-sidebar--post .md-nav {
        height: auto;
        margin-bottom: 0;
        position: static
    }
}