main {
    font-family: 'Inter', sans-serif;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    padding: 7.5rem 4rem;
}

.sobre-mim {
    /* display: flex; */
    display: block;
    grid-column-start: 1;
    grid-column-end: 4;
}

.imagem {
    display: inline-block;
    width: 30%;
    margin-right: 2rem;
    margin-bottom: 2rem;
    float: left;
}

.imagem img {
    border-radius: 0.25rem;
    filter: grayscale(100%);
    max-width: 18.75rem;
    max-height: 18.75rem;
}

.texto-sobre {
    display: inline-block;
    width: 62%;
    color: #161616;
    font-style: normal;
    float: right;
    padding-right: 1rem;
    
}

.texto-sobre h1 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 2.75rem;
    margin-bottom: 2.25rem;
}

.texto-sobre p {
    max-width: 100%;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.5rem;
    margin-bottom: 1.1rem;
}

.texto-sobre h2, .texto-sobre h3, .texto-sobre h4, .texto-sobre h5{
    font-weight: 700;
    line-height: 128%;
    margin-bottom: 1.5rem;
}

.texto-sobre h2 {
    font-size: 1.5rem;
}

.texto-sobre h3 {
    font-size: 1.3rem;
}

.texto-sobre h4 {
    font-size: 1.2rem;
}

.texto-sobre h5 {
    font-size: 1.1rem;
}

.texto-sobre h6 {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 128%;
    margin-bottom: 1.5rem;
}

.texto-sobre a {
    text-decoration: underline;
    text-underline-position: under;
}

.texto-sobre a:hover {
    color: #5a5b63;
}

.texto-sobre blockquote {
    border-left: 0.2rem solid #3a3b44;
    padding: 1rem 2rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.texto-sobre blockquote p {
    margin-bottom: 0;
}

.texto-sobre strong {
    font-weight: 700;
}

.texto-sobre ol, .texto-sobre ul {
    margin-bottom: 3rem;
}

.texto-sobre ol li ul, .texto-sobre ol li ol 
.texto-sobre ul li ul, .texto-sobre ul li ol  {
    margin-bottom: 1rem;
}

.texto-sobre ul {
    padding: 0rem 1.5rem;
    list-style: disc;
}

.texto-sobre ol {
    padding: 0rem 1.7rem;
    list-style: decimal;
}

.texto-sobre li {
    padding-left: 0.5rem;
    padding: 0.5em 0rem;
    line-height: 1.5rem;
}

.barra-lateral {
    display: flex;
    flex-direction: column;
    border-left: 0.15rem solid #1A1A23;
}

.card-barra-lateral {
    display: flex;
    flex-direction: column;
    margin-left: 2.11rem;
    border-bottom: 0.15rem solid #1A1A23;
    padding-bottom: 3rem;
    margin-bottom: 3rem;
}

.card-barra-lateral a {
    text-decoration: underline;
    text-underline-position: under;
}

.card-barra-lateral a:hover {
    color: #5a5b63;
}

.card-barra-lateral a.botao {
    text-decoration: none;
    text-underline-position: unset;
}

.barra-lateral div:last-child {
    border-bottom: 0rem transparent;
    padding-bottom: 0rem;
    margin-bottom: 0rem;
}

.titulo-barra-lateral {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.188rem;
    margin-bottom: 1rem;
}

.paragrafo-barra-lateral, li {
    max-width: 18.875rem;
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 1.3rem;
}

.creditos {
    margin-bottom: 1rem;
}

.botao {
    max-width: 5.4rem;
    padding: 0.75rem;
    border-radius: 0.25rem;
    background-color: #1A1A23;
    color: #FAFAFC;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
    transition: 0.5s;
    margin-top: 1.11rem;
}

.botao:hover {
    background-color: #FAFAFC;
    color: #1A1A23;
}

.licenca-container, .licenca-icone {
    display: flex;
}

.licenca-container p {
    margin-right: 1rem;
}

.licenca-icone img {
    max-width: 1rem;
    max-height: 1rem;
}

@media (max-width: 1366px) {
    html {
        font-size: 94.86% !important;
    }
}

@media (max-width: 1280px) {
    html {
        font-size: 88.89% !important;
    }
}

@media (max-width: 1190px) {
    html {
        font-size: 71.11% !important;
    }
}

@media (max-width: 940px) {
    html {
        font-size: 55.56% !important;
    }

    main {
        padding: 3.5rem 2rem;
    }

    .sobre-mim {
        grid-column-end: 5;
    }

    .imagem img {
        max-width: none;
        max-height: none;
        width: clamp(15rem, 30vw, 35rem);
        height: clamp(15rem, 30vw, 35rem);
    }

    .texto-sobre {
        width: 100%;
        padding-right: 0;
    }

    .texto-sobre h1 {
        font-size: clamp(2.6rem, 2vw, 6rem);
    }
    
    .texto-sobre p {
        font-size: clamp(1.7rem, 2vw, 4rem);
        line-height: 2.7rem;
    }

    .barra-lateral {
        grid-column-start: 1;
        grid-column-end: 5;
        border-top: 0.15rem solid #1A1A23;
        padding-top: 3rem;
        margin-top: 3rem;
        border-left: none;
    }

    .card-barra-lateral{
        margin-left: 0rem;
        align-items: center;
    }

    .titulo-barra-lateral {
        font-size: clamp(1.7rem, 2.3vw, 2rem);
        text-align: center;
        margin-bottom: 2rem;
    }

    .paragrafo-barra-lateral, li {
        font-size: clamp(1.6rem, 2vw, 3rem);
        line-height: 2.6rem;
        text-align: center;
        max-width: 100%;
    }

    .botao {
        max-width: none;
        margin-top: 3rem;
        font-size: clamp(1.7rem, 3vw, 2rem);
        padding: 1rem;
    }

    .licenca-icone img {
        max-width: none;
        max-height: none;
    }

}