@import url(/css/root.css);

/* Mobile */
@media screen and (max-width: 900px) {
    :root {
        --greetings-height: 80dvh;
    }
}
/* Desktop */
@media screen and (min-width: 900px) {
    :root {
        --greetings-height: 80dvh;
    }
}

.as_greetings {
    width: 100%;
    min-height: var(--greetings-height);
    height: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

/* Background Personalizado com Faixas */
.as_greet_customBg { 
    display: block;
    width: 100dvw;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    overflow: hidden;
    border: none;
    border-radius: 0 0 0.6em 0.6em;
}
.as_greet_customBg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;

    background: radial-gradient(
        ellipse at center,
        rgba(0,0,0,0.5) 0%,
        rgba(0,0,0,1) 100%
    );

    pointer-events: none;
}

.as_greet_customBg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 3;
    filter: brightness(40%);
}

.as_greet_customBg-faixas {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: linear-gradient(
        to bottom,
        var(--color-verde-arcca) 0%, var(--color-verde-arcca) 33.33%,
        var(--color-amarelo-arcca) 33.33%, var(--color-amarelo-arcca) 66.66%,
        var(--color-vermelho-arcca) 66.66%, var(--color-vermelho-arcca) 100%
    );

    opacity: 0.3;
    pointer-events: none;
    z-index: 4;
}

/* *$ec* Greetings Content */

.as_greet_content {
    width: 100%;
    min-height: var(--greetings-height);
    z-index: 6;
}

/* *$sub Texts * */

.as_greet_cont_texts {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    color: var(--color-base-white);
    z-index: 10;
}

.as_greet_cont_texts h1 {
    width: 100%;
}

.as_greet_cont_texts div {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}
.as_greet_cont_texts div p {
    width: 100%;
}

/* *$sub Carrosel * */

.as_greet_cont_carrosel {
    height: auto;
    display: flex;
    flex-direction: column;
    z-index: 9;
}

.area_disable_greetCarrosel {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
}
.area_disable_greetCarrosel div {
    display: flex;
    justify-content: center;
    align-items: center;
}
.area_disable_greetCarrosel div input[type="checkbox"] {
    cursor: pointer;
}
.area_disable_greetCarrosel div input[type="checkbox"]:checked {
    filter: hue-rotate(140deg) saturate(200%);
}
.area_disable_greetCarrosel p {
    text-align: left;
}

@media screen and (max-height: 900px) {
    .area_disable_greetCarrosel p {
        color: var(--color-azul-arcca);
    }
}
@media screen and (min-height: 901px) {
    .area_disable_greetCarrosel p {
        color: var(--color-base-white);
    }
}

@media screen and (min-width: 900px) {
    .area_disable_greetCarrosel p {
        color: var(--color-base-white);
    }
}


/* Carrosel */

.all_carrosel {
    position: relative;
    background-color: var(--color-overlay-black_1);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border: none;
    /* box-shadow: 0px 0px 20px 10px rgba(0,0,0,0.75); */
    /* -webkit-box-shadow: 0px 0px 20px 10px rgba(0,0,0,0.75); */
    /* -moz-box-shadow: 0px 0px 20px 10px rgba(0,0,0,0.75); */
}

.all_carrosel_list  {
    --current-translate: 0%;
    list-style: none;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    transition: transform 0.4s ease-in-out;
    /* transition: opacity 0.3s ease-in-out; */
}
.all_carrosel_list.isMoving {
    --opacity-toThis: 0;
    transform: translateX(var(--current-translate));
    opacity: var(--opacity-toThis);
}

.all_carrosel_list_i {
    flex: 0 0 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

}

.all_carrosel_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Pontos na Parte Inferior */
.all_carrosel_dots {
    position: absolute;
    left: 50%;
    translate: -50% 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.all_carrosel_dots i {
    background-color: var(--color-overlay-black_1);
    border: none;
    border-radius: 50%;
    aspect-ratio: 1/1;
}
.all_carrosel_dots i.active {
    background-color: var(--color-amarelo-arcca);
}

/* Controles | Ir para Left ou Right */
.all_carrosel_controls {
    width: 100%;
    position: absolute;
    bottom: 2%;
    left: 0%;
    translate: 0% 0%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.all_carrosel_controls button {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-overlay-black_1);
    border: none;
    border-radius: 50%;
    aspect-ratio: 1/1;
}
.all_carrosel_controls button i {
    color: var(--color-base-white);
}
/* #btn-greet-carrosel-prev i {
    margin-top: 10%;
    margin-right: 20%;
}
#btn-greet-carrosel-next i {
    margin-top: 10%;
    margin-left: 20%;
} */

/* *$creen* ============= Media Query's */

/* Leave it separate | Deixe separado */
@media screen and (max-width: 900px) {
    .as_greet_customBg {
        margin-top: calc(var(--header-size-small) * -1 );
        height: calc(var(--greetings-height) + var(--header-size-small));
    }
}
@media screen and (min-width: 900px) {
    .as_greet_customBg {
        margin-top: calc(var(--header-size-large) * -1);
        height: calc(var(--greetings-height) + var(--header-size-large));
    }
}

/* Mobile */
@media screen and (max-width: 900px) {

    /* *$ec* Greetings Content */

    .as_greet_content {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 1em;
    }

    /* *$sub Texts * */

    .as_greet_cont_texts {
        width: 100%;
        gap: 0.5em;
    }

    .as_greet_cont_texts div {
        gap: 0.5em;
    }
    .as_greet_cont_texts div p {
        font-size: calc(0.8rem + 5%);
        text-align: justify;
    }

    /* *$sub Carrosel * */

    .as_greet_cont_carrosel {
        justify-content: center;
        align-items: center;
        margin-top: clamp(4px, calc(1% + 1vh), 1.5vh);
        width: 100%;
        height: auto;
        gap: 0.5em;
    }
    
    .area_disable_greetCarrosel {
        justify-content: center;
        padding: 0 1em;
        width: 100%;
        gap: 1em;
        padding-left: 1.5em;
        padding-right: 1.5em;
    }
    .area_disable_greetCarrosel div {
        height: 100%;
    }
    .area_disable_greetCarrosel div input[type="checkbox"] {
        width: 20px;
        height: 20px;
    }
    .area_disable_greetCarrosel p {
        height: 100%;
        font-size: calc(0.6rem + 1dvw);
    }

    /* Carrosel */

    /* !!!!!! ERROR TALVEZ O CARROSEL OU O SEU TEXTO ABAIXO FIQUE MAL ENCAIXADO NA PAGINA, DEPENDENDO DO TAMANHO X E Y */

    .all_carrosel {
        width: 95%;
        max-width: 500px;
        height: auto;
        aspect-ratio: 9/6;
        border-radius: 0.5em;
    }

    /* Pontos na Parte Inferior */
    .all_carrosel_dots {
        bottom: 0.2em;
        gap: 0.5em;
    }
    .all_carrosel_dots i {
        width: 8px;
        height: 8px;
    }

    /* Controles | Ir para Left ou Right */
    .all_carrosel_controls {
        padding: 0 0.4em;
    }
    .all_carrosel_controls button {
        padding: 1em;
        width: 24px;
        height: 24px;
        cursor: auto;
    }
    .all_carrosel_controls button i {
        font-size: calc(1rem);
    }

}

/* Desktop */
@media screen and (min-width: 900px) {

    /* *$ec* Greetings Content */

    .as_greet_content {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        gap: 2em;
    }

    /* *$sub Texts * */

    .as_greet_cont_texts {
        height: 100%;
        width: 40%;
        gap: 1em;
    }

    .as_greet_cont_texts div {
        gap: 1em;
    }
    .as_greet_cont_texts div p {
        font-size: 1rem;
        text-align: justify;
    }

    /* *$sub Carrosel * */

    .as_greet_cont_carrosel {
        width: 60%;
        justify-content: center;
        align-items: center;
        height: calc(100% - 10%);
        gap: 1em;
        padding-bottom: 0em;
    }
    .area_disable_greetCarrosel {
        justify-content: flex-start !important;
        padding: 0 3em;
        gap: 1em;
    }
    .area_disable_greetCarrosel div {
        height: 100%;
        width: 5%;
    }
    .area_disable_greetCarrosel div input[type="checkbox"] {
        width: 24px;
        height: 24px;
    }
    .area_disable_greetCarrosel p {
        font-size: calc(1rem + 5%);
        text-wrap: nowrap;
    }

    /* Carrosel */

    .all_carrosel {
        width: 90%;
        max-width: 1000px;
        height: auto;
        aspect-ratio: 10/6;
        border-radius: 1em;
        box-shadow: 0px 0px 20px 10px rgba(0,0,0,0.75);
        -webkit-box-shadow: 0px 0px 20px 10px rgba(0,0,0,0.75);
        -moz-box-shadow: 0px 0px 20px 10px rgba(0,0,0,0.75);
    }

    /* Pontos na Parte Inferior */
    .all_carrosel_dots {
        bottom: 0.4em;
        gap: 0.6em;
    }
    .all_carrosel_dots i {
        width: 16px;
        height: 16px;
    }

    /* Controles | Ir para Left ou Right */
    .all_carrosel_controls {
        padding: 0 0.6em;
    }
    .all_carrosel_controls button {
        transition: all 0.3s ease-in-out;
        padding: 0.4em;
        width: calc(24px + 2%);
        height: calc(24px + 2%);
        cursor: pointer;
        position: relative;
    }
    .all_carrosel_controls button::after {
        transition: all 0.3s ease-in-out;
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        translate: -50% -50%;
        width: 125%;
        height: 125%;
        border: none;
        border-radius: 50%;
        background-color: var(--color-overlay-black_2);
        opacity: 0;
    }
    .all_carrosel_controls button:hover::after {
        opacity: 1;
    }
    .all_carrosel_controls button:hover {
        filter: brightness(200%);
    }
    .all_carrosel_controls button i {
        transition: all 0.3s ease-in-out;
        font-size: calc(1.2rem + 30%);
    }
    .all_carrosel_controls button:hover i {
        color: var(--color-amarelo-arcca);
    }

}  
