@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap'); :root { --text-color-big: hsl(0, 100%, 22%); --text-color-a: hsl(0,0%,100%); --hover-details-button: hsl(240, 100%, 60%); --hover-buy-button: hsl(50deg 100% 50%); --hover-category-button: hsl(0, 100%, 60%); --hover-close-button: hsl(0,100%,60%) } * { margin: 0; padding: 0; box-sizing: border-box; user-select: none; } body, html { width: 100%; height: 100%; font-family: 'Inter', sans-serif; color: var(--text-color-a); } /* Interface Styles */ .interface { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } .store-interface { background-color: rgba(0, 0, 0, 0.25); width: 100vw !important; height: 100vh !important; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2vw; } /* Main Store Content */ .store-main-content { width: 90%; height: 90%; border-radius: 40px; background: linear-gradient(to bottom, rgba(36, 36, 36, 0.986) 0%, rgba(36, 36, 36, 0.986) 100%); border: 20px solid transparent; border-image: url('http://localhost/img/bordstaff.png') 30 stretch; border-image-slice: 70; padding: 1.5vw; box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); display: flex; flex-direction: column; gap: 1vw; } /* Header Styles */ .store-header { width: 100%; height: 5vw; display: flex; align-items: center; justify-content: space-between; padding: 0 1vw; position: relative; right: 100px; } .store-header .store-header-brand, .store-close-button { width: 1.5vw; /* Largura do quadrado */ height: 1.5vw; /* Altura do quadrado */ display: flex; justify-content: center; align-items: center; position: relative; /* Necessário para usar top, left, etc. */ top: -3.3vw; /* Movendo para cima */ left: 7.10vw; /* Movendo para a direita, ajuste conforme necessário */ background-color: red; /* Cor de fundo vermelha */ border: none; /* Removendo a borda */ box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); /* Sombras para dar destaque */ cursor: pointer; /* Mudando o cursor para pointer */ align-content: normal; } .store-header .store-header-brand img { width: 3vw; display: none; } .store-close-button { cursor: pointer; transition: background .3s ease-in-out; } .store-close-button:hover { background: var(--hover-close-button); box-shadow: 0 0 1vw .1vw var(--hover-close-button); } .store-close-button .material-symbols-outlined { font-size: 1.75vw; } /* Category Styles */ .store-header .store-header-categorys { width: 70%; height: 3.5vw; display: flex; overflow: auto; gap: .75vw; padding: 0 1vw; margin-left: -500px; /* Ajuste o valor para movê-lo mais para a esquerda */ } .store-header-category-single { flex: none; padding: 0 1vw; height: 100%; display: flex; justify-content: center; align-items: center; font-size: 1.25vw; font-weight: 600; cursor: pointer; transition: background .3s ease-in-out; background: rgba(0, 0, 0, 0.3); border-radius: .5vw; } .store-header-category-single:hover, .store-header-category-single.selected { background: var(--hover-category-button); } .store-header-category-single.selected { opacity: .75; cursor: not-allowed; } /* Store Content */ .store-content { flex: 1; display: flex; overflow: auto; padding: 1vw; background: rgba(0, 0, 0, 0.2); border-radius: 1vw; } .store-content-wrapper { display: flex; flex-wrap: wrap; justify-content: center; gap: 1vw; padding: .5vw; height: min-content; width: 100%; } /* Product Cards */ .store-single-product { width: calc(100% / 6 - 1vw); display: flex; flex-direction: column; gap: .75vw; background: rgba(0, 0, 0, 0.3); border-radius: .5vw; padding: .5vw; } .store-single-product-image { width: 100%; } .store-single-product-name { width: 100%; text-align: center; font-size: 1vw; font-weight: 600; } .store-single-product-buttons { display: flex; justify-content: space-between; flex-wrap: wrap; } .store-single-product-single-button { width: 48.5%; display: flex; justify-content: center; align-items: center; font-size: .9vw; font-weight: 600; cursor: pointer; transition: background .3s ease-in-out, box-shadow .3s ease-in-out; background: rgba(0, 0, 0, 0.3); border-radius: .5vw; padding: .5vw; position: relative; /* Necessário para posicionar o pseudoelemento */ overflow: hidden; } .store-single-product-single-button::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 2px solid rgba(0, 255, 255, 0.5); /* Define a borda */ border-right: none; /* Remove a borda direita */ border-bottom: none; /* Remove a borda inferior */ border-radius: inherit; /* Mantém o mesmo raio de borda do elemento principal */ pointer-events: none; /* Garante que o pseudoelemento não afete a interação */ } .store-single-single-buy-button:hover { background: var(--hover-buy-button); box-shadow: 0 0 1vw -.1vw var(--hover-buy-button); } .store-single-single-details-button:hover { background: var(--hover-details-button); box-shadow: 0 0 1vw -.1vw var(--hover-details-button); } .store-test-drive-button { width: 100% !important; margin-top: .5vw; } /* Popup Styles */ .popup-interface { display: flex; justify-content: center; align-items: center; background: rgba(0, 0, 0, 0.5); } .popup-modal { width: 30vw; display: flex; flex-direction: column; gap: .75vw; position: relative; background: linear-gradient(to bottom, rgba(36, 36, 36, 0.986) 0%, rgba(36, 36, 36, 0.986) 100%); border: 20px solid transparent; border-image: url('http://localhost/img/bordstaff.png') 30 stretch; border-image-slice: 70; padding: 1.5vw; border-radius: 40px; } .popup-modal-title { width: 100%; text-align: center; font-size: 1vw; font-weight: 600; } .popup-modal-content { font-size: .9vw; text-align: center; } .popup-modal-close { position: absolute; top: 0; right: 0; transform: translateX(50%) translateY(-50%); width: 2.5vw; height: 2.5vw; transition: background .3s ease-in-out; display: flex; justify-content: center; align-items: center; cursor: pointer; background: rgba(0, 0, 0, 0.3); border-radius: .5vw; } .popup-modal-close:hover { background: var(--hover-close-button); box-shadow: 0 0 1vw .1vw var(--hover-close-button); } .popup-modal-close span { font-size: 1.25vw; } .popup-model-buttons { display: flex; justify-content: space-between; } .popup-model-single-button { padding: .5vw 1.5vw; border-radius: .5vw; display: flex; justify-content: center; align-items: center; font-size: .9vw; transition: background .3s ease-in-out; cursor: pointer; background: rgba(0, 0, 0, 0.3); } .popup-model-button-cancel:hover { background: var(--hover-close-button); box-shadow: 0 0 1vw .1vw var(--hover-close-button); } .popup-model-button-confirm:hover { background: var(--hover-buy-button); box-shadow: 0 0 1vw .1vw var(--hover-buy-button); } /* Player Info Window */ .player-info-window { position: absolute; top: 0.70vw; /* Ajuste conforme necessário */ right: -05vw; /* Ajuste conforme necessário */ width: auto; padding: 0.5vw 0.8vw; /* Reduzindo o espaçamento interno */ background: rgba(0, 0, 0, 0.75); border: 2px solid rgba(255, 255, 255, 0.1); border-radius: 0.2vw; box-shadow: 0 3px 4px rgba(0, 0, 0, 0.3); /* Reduzindo a sombra */ color: var(--text-color-a); font-size: 0.8vw; /* Diminuindo a fonte */ font-weight: 600; display: flex; align-items: center; gap: 1vw; /* Reduzindo o espaço entre itens */ z-index: 1000; } .player-info-content { display: flex; flex-direction: column; gap: 0.4vw; } .player-name, .player-coins { display: flex; align-items: center; } .player-info-window span { font-weight: 700; color: hsl(127deg 100% 50%); margin-left: 0.5vw; } .buy-coins-button { padding: 0.6vw 1vw; background: linear-gradient(to bottom, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.75) 100%); border: 2px solid hsl(50deg 100% 50%); border-radius: 0.2vw; color: hsl(50deg 100% 50%); font-size: 0.9vw; font-weight: 600; cursor: pointer; transition: all 0.3s ease; } .buy-coins-button:hover { background: var(--hover-buy-button); color: white; /* box-shadow: 0 0 1vw .1vw var(--hover-buy-button); */ } /* Scrollbar Styles */ ::-webkit-scrollbar { background: rgba(0, 0, 0, 0.5); width: .25vw; height: .25vw; z-index: 1; } ::-webkit-scrollbar-corner { background: #cfcfcf; } ::-webkit-scrollbar-thumb { background-color: var(--text-color-big); z-index: 11; } ::-webkit-scrollbar-thumb:hover { opacity: .5; }