* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    width: 100%;
    min-height: 100%;
}


body {

    width: 100%;
    min-height: 100vh;

    overflow-x: hidden;
    overflow-y: auto;

    font-family: Arial, Helvetica, sans-serif;

    background: #101510;

    color: white;

    display: flex;
    justify-content: center;

    position: relative;

    padding: 45px 0 80px;
}


/* =========================================================
   FUNDO
========================================================= */

.background {

    position: fixed;
    inset: -5%;

    z-index: -10;

    background-image:

        linear-gradient(
            180deg,
            rgba(8, 15, 10, 0.30),
            rgba(4, 8, 5, 0.82)
        ),

        url("assets/fundoquis.jpg");

    background-size: cover;
    background-position: center;

    transform: scale(1.05);
}


/* =========================================================
   CAMADAS
========================================================= */

.background-dark {

    position: fixed;
    inset: 0;

    z-index: -9;

    background:
        radial-gradient(
            circle at center,
            transparent 15%,
            rgba(0, 0, 0, 0.22) 50%,
            rgba(0, 0, 0, 0.70) 100%
        );
}


.vignette {

    position: fixed;
    inset: 0;

    z-index: -8;

    box-shadow:
        inset 0 0 180px rgba(0, 0, 0, 0.75),
        inset 0 0 60px rgba(0, 0, 0, 0.35);

    pointer-events: none;
}


.ambient-light {

    position: fixed;

    width: 700px;
    height: 700px;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    z-index: -7;

    background:
        radial-gradient(
            circle,
            rgba(112, 176, 72, 0.10),
            transparent 65%
        );

    pointer-events: none;
}


/* =========================================================
   PARTÍCULAS
========================================================= */

.particles {

    position: fixed;
    inset: 0;

    overflow: hidden;

    pointer-events: none;

    z-index: -5;
}


.particle {

    position: absolute;

    width: 4px;
    height: 4px;

    background:
        rgba(255, 255, 255, 0.22);

    animation:
        particleFloat linear infinite;
}


.particle:nth-child(1) {
    left: 8%;
    bottom: -20px;
    animation-duration: 11s;
}

.particle:nth-child(2) {
    left: 18%;
    bottom: -20px;
    animation-duration: 14s;
}

.particle:nth-child(3) {
    left: 31%;
    bottom: -20px;
    animation-duration: 9s;
}

.particle:nth-child(4) {
    left: 47%;
    bottom: -20px;
    animation-duration: 13s;
}

.particle:nth-child(5) {
    left: 59%;
    bottom: -20px;
    animation-duration: 10s;
}

.particle:nth-child(6) {
    left: 71%;
    bottom: -20px;
    animation-duration: 15s;
}

.particle:nth-child(7) {
    left: 83%;
    bottom: -20px;
    animation-duration: 12s;
}

.particle:nth-child(8) {
    left: 93%;
    bottom: -20px;
    animation-duration: 10s;
}


@keyframes particleFloat {

    0% {
        transform: translateY(0);
        opacity: 0;
    }

    20% {
        opacity: 0.7;
    }

    100% {
        transform: translateY(-110vh);
        opacity: 0;
    }
}


/* =========================================================
   CONTAINER
========================================================= */

.sobre-container {

    width: min(950px, 94vw);

    padding: 60px 55px 45px;

    position: relative;

    text-align: center;

    background:

        linear-gradient(
            135deg,
            rgba(91, 53, 27, 0.98),
            rgba(55, 30, 15, 0.98)
        );

    border: 5px solid #24150b;

    box-shadow:

        0 0 0 2px rgba(255, 255, 255, 0.04),

        0 8px 0 #171008,

        0 18px 0 #0e0b07,

        0 30px 45px rgba(0, 0, 0, 0.70);

    isolation: isolate;
}


/* =========================================================
   GRAMA
========================================================= */

.sobre-container::before {

    content: "";

    position: absolute;

    top: -5px;
    left: -5px;
    right: -5px;

    height: 31px;

    background:

        repeating-linear-gradient(
            90deg,

            #3d7424 0px,
            #3d7424 8px,

            #4f8f2d 8px,
            #4f8f2d 17px,

            #5c9d34 17px,
            #5c9d34 25px
        );

    border-bottom: 5px solid #2d571b;

    z-index: 3;
}


/* =========================================================
   DETALHES
========================================================= */

.block-detail {

    position: absolute;

    width: 7px;
    height: 7px;

    background:
        rgba(20, 11, 6, 0.5);
}


.detail-1 {
    top: 85px;
    left: 24px;
}

.detail-2 {
    top: 150px;
    right: 25px;
}

.detail-3 {
    top: 230px;
    left: 45px;
}

.detail-4 {
    bottom: 70px;
    right: 28px;
}

.detail-5 {
    bottom: 35px;
    left: 80px;
}

.detail-6 {
    top: 310px;
    right: 55px;
}


/* =========================================================
   LOGO
========================================================= */

.logo-wrapper {

    width: 150px;
    height: 150px;

    margin: 0 auto 15px;

    display: flex;

    align-items: center;
    justify-content: center;
}


.logo {

    width: 120px;
    height: 120px;

    object-fit: cover;

    image-rendering: pixelated;

    border: 4px solid #274c18;

    box-shadow:

        0 0 0 3px #14240d,

        6px 6px 0 #101010,

        0 0 22px rgba(84, 163, 48, 0.30);
}


/* =========================================================
   TÍTULO
========================================================= */

.title {

    font-size: clamp(38px, 6vw, 52px);

    font-weight: 900;

    letter-spacing: 1px;

    color: white;

    text-transform: uppercase;

    text-shadow:

        3px 3px 0 #202020,
        6px 6px 0 #111111;

    margin-bottom: 20px;
}


/* =========================================================
   SEPARADOR
========================================================= */

.separator {

    width: 80%;

    height: 4px;

    margin: 0 auto 35px;

    background:

        repeating-linear-gradient(
            90deg,

            #6a9d43 0px,
            #6a9d43 10px,

            transparent 10px,
            transparent 16px
        );

    opacity: 0.7;
}


/* =========================================================
   INTRODUÇÃO
========================================================= */

.introducao {

    padding: 25px;

    margin-bottom: 35px;

    background:
        rgba(0, 0, 0, 0.25);

    border:
        2px solid rgba(255, 255, 255, 0.10);

    text-align: left;
}


.introducao h2 {

    text-align: center;

    font-size: 25px;

    margin-bottom: 18px;
}


.introducao p {

    color: #dedede;

    font-size: 17px;

    line-height: 1.7;

    margin-bottom: 15px;
}


.introducao p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   BLOCOS COM IMAGEM + TEXTO
========================================================= */

.historia-bloco {

    display: grid;

    grid-template-columns: 42% 58%;

    align-items: center;

    margin-bottom: 35px;

    background:
        rgba(0, 0, 0, 0.24);

    border:
        2px solid rgba(255, 255, 255, 0.10);

    overflow: hidden;

    text-align: left;
}


/* =========================================================
   IMAGEM
========================================================= */

.imagem {

    height: 280px;

    padding: 15px;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        rgba(0, 0, 0, 0.18);
}


.imagem img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    border: 4px solid #24150b;

    box-shadow:
        5px 5px 0 rgba(0, 0, 0, 0.5);

    transition:
        transform 0.25s ease;
}


.imagem img:hover {

    transform: scale(1.03);
}


/* =========================================================
   TEXTO
========================================================= */

.texto {

    padding: 30px;
}


.texto h2 {

    font-size: 26px;

    margin-bottom: 18px;

    color: white;

    text-shadow:
        2px 2px 0 #111;
}


.texto p {

    color: #dedede;

    font-size: 17px;

    line-height: 1.7;

    margin-bottom: 15px;
}


.texto p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   BLOCO INVERTIDO
========================================================= */

.invertido {

    grid-template-columns: 58% 42%;
}


.invertido .imagem {
    order: 2;
}


.invertido .texto {
    order: 1;
}


/* =========================================================
   FINAL
========================================================= */

.final {

    padding: 30px;

    margin-top: 5px;
    margin-bottom: 35px;

    background:
        rgba(0, 0, 0, 0.28);

    border:
        2px solid rgba(255, 255, 255, 0.10);

    text-align: center;
}


.final h2 {

    font-size: 27px;

    margin-bottom: 18px;
}


.final p {

    color: #dedede;

    font-size: 17px;

    line-height: 1.7;

    margin-bottom: 15px;
}


.final p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   BOTÕES
========================================================= */

.button {

    width: 100%;

    min-height: 60px;

    margin-top: 16px;

    display: flex;

    align-items: center;
    justify-content: center;

    position: relative;

    text-decoration: none;

    color: white;

    font-size: 18px;

    font-weight: 900;

    background:

        linear-gradient(
            180deg,
            #6ba83b,
            #4d8b2b
        );

    border: 4px solid #31591c;

    box-shadow:

        inset 3px 3px 0
        rgba(255, 255, 255, 0.13),

        inset -3px -3px 0
        rgba(0, 0, 0, 0.16),

        0 6px 0 #203c13;
}


.button:hover {
    filter: brightness(1.10);
}


.button:active {
    transform: translateY(5px);
}


.start-icon {

    position: absolute;

    left: 20px;

    font-size: 24px;
}


/* =========================================================
   VOLTAR
========================================================= */

.back-button {

    background:

        linear-gradient(
            180deg,
            #5b5b5b,
            #414141
        );

    border-color: #303030;

    box-shadow:

        inset 3px 3px 0
        rgba(255, 255, 255, 0.10),

        inset -3px -3px 0
        rgba(0, 0, 0, 0.18),

        0 6px 0 #242424;
}


/* =========================================================
   RODAPÉ
========================================================= */

.footer {

    margin-top: 28px;

    color:
        rgba(255, 255, 255, 0.42);

    font-size: 11px;

    letter-spacing: 1px;

    text-transform: uppercase;
}


/* =========================================================
   DESENVOLVIDO POR
========================================================= */

.desenvolvido {

    position: fixed;

    bottom: 15px;
    right: 20px;

    font-size: 13px;

    color:
        rgba(255, 255, 255, 0.6);

    letter-spacing: 1px;

    z-index: 100;
}


/* =========================================================
   CELULAR
========================================================= */

@media (max-width: 700px) {

    body {
        padding: 30px 0 70px;
    }


    .sobre-container {

        width: 92vw;

        padding: 50px 18px 35px;
    }


    .title {
        font-size: 32px;
    }


    .introducao {
        padding: 18px;
    }


    .introducao p,
    .texto p,
    .final p {

        font-size: 15px;

        line-height: 1.6;
    }


    /* Imagem em cima e texto embaixo */

    .historia-bloco,
    .invertido {

        display: flex;

        flex-direction: column;
    }


    .imagem,
    .invertido .imagem {

        order: 1;

        width: 100%;

        height: 230px;
    }


    .texto,
    .invertido .texto {

        order: 2;

        width: 100%;

        padding: 22px;
    }


    .texto h2 {
        font-size: 22px;
    }


    .final {
        padding: 22px;
    }


    .desenvolvido {

        font-size: 10px;

        bottom: 8px;
        right: 10px;
    }

}