@font-face {
    font-family: 'Roboto';
    src: url('/fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('/fonts/Roboto-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: medium;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('/fonts/Roboto-Bold.ttf') format('truetype');
    font-weight: 800;
    font-style: bold;
    font-display: swap;
}

@font-face {
    font-family: 'Segoe UI';
    src: url('/fonts/SegoeUI-Variable-Static-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Segoe UI';
    src: url('/fonts/SegoeUILight.ttf') format('truetype');
    font-weight: 300;
    font-style: light;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter-Bold.ttf') format('truetype');
    font-weight: 800;
    font-style: Bold;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans Medium';
    src: url('/fonts/DMSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: Medium;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
    -webkit-user-drag: none;
    user-select: none;
    -webkit-touch-callout: none;
    touch-action: manipulation;
}

html {

    background: linear-gradient(180deg, rgba(79, 28, 1, 0.1), rgba(79, 28, 1, 0.95)), url('../image/background2.webp') no-repeat center center fixed;
    background: #4f1c02 !important;
    background-size: cover;
    background-attachment: fixed;
    height: 100%;
    font-size: 16px;

}

/* Qualquer dispositivo em modo retrato */
@media only screen and (orientation: portrait) {
    body{
        width: 100%;
    }
    .container {
      width: 100%;
      min-width: 95%;
      padding: 0px;
      
    }
    .digital {
        min-width: 90%;

    }
    .promo{
        min-width: 95%;
        left: 10px;

    }
  }
  
  

body {

    font-family: 'Roboto', sans-serif;
    background: linear-gradient(180deg, rgba(79, 28, 1, 0.1), rgba(79, 28, 1, 0.95)), url('../image/background2.webp') no-repeat center center fixed;
    background-size: cover;
    background-attachment: fixed;
    color: #eee;
    font-size: 16px;
    height: 100%;

    @supports (-webkit-touch-callout: none) {
        html {
            background-attachment: scroll;

        }

        body {
            background-attachment: fixed;
        }
    }

}

.header {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#options {
    top: 0;
}

.header ion-icon {
    color: #fff;
    font-size: 24px;
    padding-left: 20px;
    cursor: pointer;
}

.icon-top-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-top-right img {
    height: 26px;
}

.date {

    font-size: 0.875rem;
    opacity: 0.8;
    padding: 10px
}

.bem-vindo {
    margin: 0 auto;
    text-align: left;
    position: absolute;
    left: 15px;
    top: 150px;
}

/*MODO PAISAGEM*/

@media (orientation: landscape) {
  .bem-vindo{
      display: none;
  }
    .digital{
        margin: 0;
        width: 60% !important;
    }
    .promo{
        display: none !important;
    }
    .container-bloco{
    display: grid;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 0.5rem !important;
    justify-items: center;
    align-items: center;
    }
}

.bem-vindo h1 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 3.2rem;
    font-weight: 300;
    color: #eee;
    opacity: 0.8;
    padding: 10px;
    line-height: 1;
}

h2 {
    font-size: 2rem;
    font-weight: 500;
}

#user {
    padding: 10px;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    border-radius: 10px;
    color: white;
    justify-content: space-between;
}

.user-info {
    text-align: left;
    cursor: pointer;
}

.user-name {
    font-size: 1.2rem;
    font-family: 'Segoe UI', sans-serif;
}

.user-status {
    font-size: 1.1rem;
    opacity: 0.7;
    font-family: 'Segoe UI', sans-serif;
}

.user-image {
    width: 60px;
    height: 60px;
    margin-right: 10px;
    border-radius: 10px;
}

.digital-image {
    width: 40px;
    height: 40px;
    margin-left: auto;
}

.container {
    width: 100%;
    margin: 0 auto;
    z-index: 4;
}

.digital {position: relative;left: 15px;top: 42%;bottom: 42%;position: absolute;height: 100px;margin: auto;right: 15px;width: 80%;}

/*START ABOUT*/
.about {
    top: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    right: 0;
    transition: top 0.5s ease-in-out;
    margin: 0 auto;
    padding: 10px;
    justify-content: center;
    display: flex;
    align-items: center;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
        url('../image/background2.webp') no-repeat center center fixed;
    background-size: cover;
    filter: blur(20px);
    z-index: -1;
}

.about p {
    text-align: justify;
}

.logo-header {
    width: 36px;
    height: 36px;
}

.content {
    text-align: left;
    user-select: none;
    margin-top: 10%;

}


.animated-link {
    margin-bottom: 10px;
    padding-bottom: 10px;
    display: inline-block;
    position: relative;
}

.animated-link::after {
    content: "";
    position: fixed;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    animation: 2s infinite underline-animation;
    transform-origin: center;
}

#divBack {

    display: flex;
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    height: 50px;
    width: 50px;
}

#backIconLink {

    align-items: center;
    justify-content: center;
    display: flex;
}

.footer {
    text-align: center;
    left: 0;
    right: 0;
    position: fixed;
    bottom: 0px;
    animation: bounce 2s infinite;
    /* Adiciona animação de subir e descer */
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.video {
    display: flex;
    align-items: center;
    margin-top: 8px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
    background: white;
    margin-right: 40px;
}


/* Adiciona a classe 'show-about' quando a página é rolada para cima */
body.show-about .about {
    top: 0;
}

/*END ABOUT*/
.icon-about {
    width: 40px;
    height: 40px;
    align-items: center;
    display: flex;
    font-size: 26px;
}

p {
    line-height: 1.5;
}

a {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

.icon-acesso {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 5px;
    cursor: pointer;
}

.icon-acesso span {
    cursor: pointer;
    margin-left: 5px;
}

.icon-acesso ion-icon,
img {
    font-size: 32px;
    cursor: pointer;
}

.blocos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 10px;
}

.bloco {
    text-align: center;
    padding: 5px;
    border-radius: 10px;
    height: 60px;
    width: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    /*background: linear-gradient(0deg, rgba(2,0,36,1) 0%, rgba(22,5,83,1) 35%, rgba(116,76,191,1) 100%);*/
    /*background: linear-gradient(0deg, rgba(2,0,36,1) 0%, rgba(22,5,83,1) 35%, rgba(116,76,191,0.27503501400560226) 100%);*/
}

.bloco p {
    font-family: 'Roboto', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    text-align: center;
    color: #ddd;
    line-height: 1.1;
    opacity: 0.8;
}


/* START CARROSEL */
.iframe-carrossel {
    height: 100%;
    width: 100%;
}

.carrossel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    /* Inicialmente oculto */
    overflow: hidden;
    z-index: 1000;
}

.carrossel.active {
    display: flex;
    /* Apenas mostrar quando ativo */
}

.carrossel-slide {
    flex: 1;
    display: none;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.carrossel-slide.active {
    display: flex;
}

.carrossel-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 40px;
    line-height: 1.5;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.carrossel-content h2 {
    font-size: 1.1rem;
}

.carrossel-content p {
    font-size: 0.8rem;
}

.prev-slide,
.next-slide,
.finish-intro {
    position: absolute;
    bottom: 20px;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 100%;
    padding: 10px;
}

.prev-slide {
    left: 20px;
}

.next-slide,
.finish-intro {
    right: 20px;
}

.next-slide img {
    height: 24px;
    width: 24px;
}

.carrossel-slide video {
    width: 100%;
    height: auto;
    border-radius: 10px;
}


/*END CARROSSEL*/


/* /////////////////////// BANNER APP INSTALL ///////////////////////*/
.app {
    background: #fff;
    background-size: cover;
    max-width: 480px;
    padding: 10px;
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    border-radius: 20px 20px 0 0;
    transition: bottom 3s ease-in-out;
    z-index: 2000;
    color: #151515;
    font-family: 'Roboto', sans-serif;
}


.app.show {
    bottom: 0;
}

.logo-app {
    float: left;
    margin-right: 10px;
    width: 60px;
    height: 60px;
    background: url('../icons/icon192.png') no-repeat center center;
    background-size: cover;
    border-radius: 15px;
}

.app .content {
    overflow: hidden;
}

.app-title {
    font-weight: bold;
    font-size: 1.2rem;
}

.app-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
}

.add-info {
    font-size: 0.875rem;
    font-weight: 600;
}

.install-message {
    clear: both;
    font-weight: bold;

    font-size: 1.3rem;
    display: flex;
    align-items: center;
    padding: 15px 0px;
    text-align: left;
}

.app .install-btn-app {
    font-size: 1.1rem;
    font-weight: 600;
    width: 100%;
    background: #f76700;
    color: #fff;
    border-radius: 10px;
    border: none;
    padding: 15px;
    cursor: pointer;
    text-align: center;
    display: block;
}

.header-app {
    top: 7px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    left: 0px;
    right: 10px;
}

.header-app p {
    line-height: 1.3 !important;
}

.header-app ion-icon {
    font-size: 32px;
    color: #4E4E4D;
    cursor: pointer;
}

.promo {
    bottom: 5%;
    background: rgba(0,0,0,0.2);
    padding: 10px;
    display: flex;
    border-radius: 5px;
    align-items: flex-start;
    color: #fff;
    position: absolute;
    right: 15px;
    max-width: 480px;
    margin: auto;
    text-align: left;
    font-family: 'Segoe UI', sans-serif;
}

.logo-promo {
    
    margin-right: 8px;
    width: 80px;
    height: 80px;
    align-items: center;
    background-image: url(../image/cart-outline.svg);
    background-attachment: unset;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    /*filter: blur(2px);*/
}

.promo span {
    font-weight: bold;
}

.promo p {
    
    line-height: 1.2;
    font-size: 0.9rem;
    font-weight: 500;

}

.btn-promo {
    margin-top: 2px;
    background: #F76700;
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    border: none;
    white-space: nowrap;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
}



a ion-icon {
    color: #fff;
}

/* CONFIG BLOCO*/

.container-bloco {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    justify-items: center;
    align-items: center;
}

.block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
}

.icon-wrapper {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
}

.icon-wrapper img {
    width: 50px;
    height: 50px;
}

.block-label {
    margin-top: 4px;
    font-size: 13px;
    text-align: center;
}
