body { width: 100vw; height: 100vh; display: flex; align-items: center; justify-content: center; margin: 0; padding: 0; user-select: none; background-position: center; background-size: cover; overflow: hidden; position: relative; box-sizing:border-box; } ::-webkit-scrollbar { width: 10px; } ::-webkit-scrollbar-track { background: var(--bg-l); border-radius: 10px; } ::-webkit-scrollbar-thumb { background-color: var(--primary); border-radius: 10px; border: 3px solid var(--bg-l); } ::-webkit-scrollbar-thumb:hover { background-color: var(--green); } ::-webkit-scrollbar-thumb:active { background-color: var(--green2); } @import url("https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@300;600&display=swap"); @import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro&display=swap'); @font-face { font-family: regular; src: url(fonts/Metropolis-Regular.otf); } @font-face { font-family: medium; src: url(fonts/Metropolis-Medium.otf); } @font-face { font-family: bold; src: url(fonts/Metropolis-Bold.otf); } @font-face { font-family: italic; src: url(fonts/SignPainter\HouseScript.ttf); } @font-face { font-family: kmh; src: url(fonts/HKNova-Medium.otf); } @font-face { font-family: italic; src: url(fonts/gta5.ttf); } .wrapper { width: calc(60vh - 1vh); height:calc(35vh - 1vh); display: flex; align-items: center; justify-content: flex-start; flex-direction: column; background-color: var(--bg-l); border-radius: .25vh; padding: .5vh; gap: .25vh; } .header { width: calc(100% - .5vh); height: calc(4.5vh - .5vh); display: flex; align-items: center; justify-content: space-between; } .categories { width: 50%; height: 90%; display: flex; align-items: center; justify-content: flex-start; gap: .5vh; } .category { width: calc(4vh - .5vh); height: calc(100% - .5vh - .1vh); display: flex; align-items: center; justify-content: center; padding: .25vh; gap: .5vh; border-radius: .25vh; background-color: var(--bg-l); transition: .5s ease-out; border-bottom: .1vh solid transparent; text-align: center; } .category > i { color: var(--text); font-size: 1.25vh; } .category > span { display: none; color: var(--text); font-size: 1.25vh; font-family: 'Montserrat', sans-serif; font-weight: 600; text-transform: capitalize; text-overflow: ellipsis; overflow: hidden !important; } .category:hover { cursor: pointer; width: 8vh; background-color: var(--select); } .category:hover > i { font-size: 1.25vh; } .category:hover > span { display: block; } .category:active { transition: .1s ease-out; transform: scale(1.05); } .category.active { width: 8vh; border-color: var(--primary); background-color: var(--select); } .category.active > span { display: block; } .search { width: 50%; height: 100%; display: flex; align-items: center; justify-content: flex-end; } .searchdiv { width: 4vh; height: 90%; position: relative; display: flex; align-items: center; justify-content: center; border-radius: .25vh; background-color: rgba(214, 76, 76, 0.1); /* rouge transparent */ border: 1px solid rgba(214, 76, 76, 0.2); /* contour rouge léger */ transition: width 0.3s ease-in-out, background-color 0.3s ease, transform 0.2s, box-shadow 0.3s ease; overflow: hidden; box-shadow: none; } .searchdiv:hover { width: 16vh; justify-content: flex-start; background-color: rgba(214, 76, 76, 0.25); /* fond rouge plus visible */ border-color: rgba(214, 76, 76, 0.4); transform: scale(1.05); box-shadow: 0 0 10px rgba(214, 76, 76, 0.2); /* glow subtil */ } .searchdiv > i { position: absolute; left: 50%; transform: translateX(-50%); color: var(--text2); font-size: 1.25vh; z-index: 2; transition: left 0.3s ease, transform 0.3s ease, color 0.3s; } .searchdiv:hover > i { left: 0.75vh; transform: none; color: #fff; } .searchdiv > input { flex: 1; opacity: 0; padding-left: 3vh; border: none !important; outline: none !important; box-shadow: none !important; background-color: transparent !important; color: var(--text); font-size: 1.25vh; font-family: 'Montserrat', sans-serif; font-weight: 400; transition: opacity 0.3s ease; } .searchdiv:hover > input { opacity: 1; } .searchdiv > input:focus { border: none !important; outline: none !important; box-shadow: none !important; } .line { width: calc(100% - .5vh); height: .1vh; background-color: var(--select); } .content { width: calc(100% - .5vh); height: 29.5vh; display: flex; align-items: center; justify-content: center; } .squads, .invites { width: 100%; height: 100%; overflow-y: auto; overflow-x: hidden; background-color: var(--bg); } .creates { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; } .create-squad { width: fit-content; height: 2.5vh; display: flex; align-items: center; justify-content: flex-start; border-radius: .25vh; gap: .5vh; } .create-squad > input { border-radius: .25vh; border: none; outline: none; width: 80%; height: 100%; text-align: left; color: var(--text); font-size: 1.25vh; font-family: 'Montserrat', sans-serif; font-weight: 600; padding-left: .5vh; background-color: var(--bg-l); } .create-squad > span { color: var(--text); font-size: 1.25vh; font-family: 'Montserrat', sans-serif; font-weight: 400; } #squadprivate { width: 2vh; border-radius: .25vh; border: none; outline: none; } .create-squads { width: 3.5vh; height: 3.5vh; display: flex; align-items: center; justify-content: center; background-color: var(--green); border-radius: .25vh; transition: .2s ease-out; } .create-squads:hover > i { color: var(--text); } .create-squads:hover { transform: scale(1.15); background-color: var(--green2); } .create-squads:active { transform: scale(1.025); background-color: var(--green2); } .create-squads > i { color: var(--text2); font-size: 1.5vh; } .privateselect { width: 2.5vh; height: 100%; display: flex; align-items: center; justify-content: center; background-color: var(--green); border-radius: .25vh; transition: .2s ease-out; } .privateselect:hover > i { color: var(--text); } .privateselect:hover { transform: scale(1.15); background-color: var(--green2); } .privateselect:active { transform: scale(1.025); background-color: var(--green2); } .privateselect > i { color: var(--text2); font-size: 1.25vh; } .privatesquad { position: absolute; right: 4vh; width: 3vh; height: 70%; display: flex; align-items: center; justify-content: center; background-color: var(--bg-l); border-radius: .25vh; transition: .2s ease-out; } .privatesquad:hover > i { color: var(--text); } .privatesquad:hover { transform: scale(1.15); background-color: var(--green2); } .privatesquad:active { transform: scale(1.025); background-color: var(--green2); } .privatesquad > i { color: var(--text2); font-size: 1.25vh; } .showhud { position: absolute; right: 7.5vh; width: 3vh; height: 70%; display: flex; align-items: center; justify-content: center; background-color: var(--bg-l); border-radius: .25vh; transition: .2s ease-out; } .showhud:hover > i { color: var(--text); } .showhud:hover { transform: scale(1.15); background-color: var(--green2); } .showhud:active { transform: scale(1.025); background-color: var(--green2); } .showhud > i { color: var(--text2); font-size: 1.25vh; } .squad { width: calc(100% - .5vh); height: calc(4.5vh - .6vh); display: flex; align-items: center; justify-content: flex-start; border-radius: .25vh; margin-block-end: .5vh; background-color: var(--bg-l); padding: .25vh; transition: .3s ease-out; gap: .5vh; } .squad:hover > .s-properties > .decline { background-color: var(--gradient-3); } .squad:hover > .s-properties > .accept { background-color: var(--green2); } .squad:hover > .s-properties > .accept > i { color: var(--text); cursor: pointer; } .squad:hover > .s-properties > .decline > i { color: var(--text); cursor: pointer; } .squad:hover > .s-img { filter: grayscale(0%); } .squad:hover > .s-name > span { color: var(--text); } .squad:hover > .s-properties > span { color: var(--text); } .squad:hover > .s-properties > i { color: var(--text); } .squad:hover > .s-properties > button { background-color: var(--primary); color: var(--text); } .s-img { width: 4vh; height: 100%; display: flex; align-items: center; justify-content: center; } .roomimg { height: 4.5vh; } .s-name { width: 40vh; height: 100%; display: flex; align-items: center; justify-content: flex-start; } .s-name > span { color: var(--text2); font-size: 1.5vh; font-family: 'Montserrat', sans-serif; font-weight: 600; text-transform: uppercase; text-overflow: ellipsis; overflow: hidden !important; } .s-properties { width: 13vh; height: 100%; display: flex; align-items: center; justify-content: center; gap: 1.25vh; } .s-properties > i { color: var(--text2); font-size: 1.25vh; } .s-properties > span { color: var(--text2); font-size: 1.25vh; font-family: 'Montserrat', sans-serif; font-weight: 600; text-transform: uppercase; text-overflow: ellipsis; overflow: hidden !important; } .s-properties > button { border: none; outline: none; width: 5vh; height: 2vh; padding: .25vh; text-align: center; font-family: 'Montserrat', sans-serif; font-weight: 600; border-radius: .25vh; text-transform: uppercase; color: var(--text2); background-color: var(--gradient-1); transition: .2s ease-out; font-size: 1.25vh; } .s-properties > button:hover { transform: scale(1.025); cursor: pointer; } .s-properties > button:active { position: relative; top: .1vh; } .accept { width: 2.25vh; height: 60%; display: flex; align-items: center; justify-content: center; background-color: var(--green); border-radius: .25vh; transition: .2s ease-out; } .decline { width: 2.25vh; height: 60%; display: flex; align-items: center; justify-content: center; background-color: var(--green); border-radius: .25vh; transition: .2s ease-out; } .decline { background-color: var(--gradient-2); } .accept:hover { transform: scale(1.15); background-color: var(--green2); } .decline:hover { transform: scale(1.15); background-color: var(--gradient-4); } .accept:active { background-color: var(--green2); } .accept > i { color: var(--text2); font-size: 1vh; } .decline > i { color: var(--text2); font-size: 1vh; } .inmenu { width: calc(60vh - 1vh); height: calc(35vh - 1vh); display: flex; align-items: center; justify-content: flex-start; flex-direction: column; gap: .25vh; border-radius: .25vh; background-color: var(--bg); padding: .25vh; } .i-header { width: 100%; height: 4vh; display: flex; align-items: center; justify-content: center; border-bottom: .1vh solid var(--bg-l); position: relative; } .leave-squad { position: absolute; right: .5vh; width: 3vh; height: 70%; display: flex; align-items: center; justify-content: center; background-color: var(--bg-l); border-radius: .25vh; transition: .2s ease-out; } .leave-squad:hover { transform: scale(1.075); cursor: pointer; background-color: var(--select); } .leave-squad:active { transform: scale(1.1); } .leave-squad:hover > i { color: var(--text); } .leave-squad > i { color: var(--text2); font-size: 1vh; } .i-header > span { color: var(--text); font-size: 1.75vh; font-family: 'Montserrat', sans-serif; font-weight: 600; text-transform: uppercase; text-overflow: ellipsis; overflow: hidden !important; } .i-players { width: calc(100% - 1vh); height: calc(25vh - 1vh); overflow-y: auto; overflow-x: hidden; padding: .5vh; } .players-img { width: 4vh; height: 100%; display: flex; align-items: flex-end; justify-content: flex-start; } .pimg { height: 3.5vh; } .players-n-r { width: 30vh; height: 95%; display: flex; align-items: center; justify-content: flex-start; flex-direction: column; } .players-name { width: 100%; height: 60%; display: flex; align-items: center; justify-content: flex-start; } .players-name > span { color: var(--text); font-size: 1.5vh; font-family: 'Montserrat', sans-serif; font-weight: 600; text-transform: uppercase; text-overflow: ellipsis; overflow: hidden !important; } .players-rank { width: 100%; height: 80%; display: flex; align-items: center; justify-content: flex-start; margin-left: -.5vh; gap: .5vh; } .players-rank > span { color: var(--text2); font-size: 1.25vh; font-family: 'Montserrat', sans-serif; font-weight: 600; text-transform: capitalize; text-overflow: ellipsis; overflow: hidden !important; } .players-rank > i { color: var(--text2); font-size: 1vh; } .players-actions { flex: 1; height: 95%; display: flex; align-items: center; justify-content: flex-end; } .players-actions > button { border: none; outline: none; width: 5vh; height: 2vh; padding: .25vh; text-align: center; font-family: 'Montserrat', sans-serif; font-weight: 600; border-radius: .25vh; text-transform: uppercase; color: var(--text2); background-color: var(--gradient-1); transition: .2s ease-out; font-size: 1.25vh; } .players-actions > button:hover { transform: scale(1.025); cursor: pointer; background-color: var(--primary); color: var(--text); } .players-actions > button:active { position: relative; top: .1vh; } .kick-btn { margin-left: auto; margin-right: 0.5vh; /* ajustable selon ton goût */ } .left-wrapper { position: absolute; left: 2vh; top: 2vh; width: 21vh; height: fit-content; display: flex; align-items: center; justify-content: flex-start; flex-direction: column; gap: .75vh; background-color: transparent !important; box-shadow: none !important; backdrop-filter: none !important; } .player-box { width: calc(100% - 1vh); height: calc(5vh - 1vh); padding: .5vh; display: flex; align-items: center; justify-content: flex-start; gap: .5vh; border-radius: .25vh; background-color: rgba(24, 24, 28, 0.671); border: 1px solid rgba(255, 255, 255, 0.05); box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); } .pb-img { width: 4vh; height: 100%; display: flex; align-items: center; justify-content: center; } .pb-image { width: 3vh; height: 3vh; border-radius: 50%; object-fit: cover; border: 1px solid rgba(255, 255, 255, 0.1); background-color: rgba(255, 255, 255, 0.05); padding: .2vh; } .pb-information { width: calc(100% - 4vh - 1vh); height: 100%; display: flex; align-items: center; justify-content: flex-start; flex-direction: column; gap: .25vh; } .pb-name { width: 100%; height: 40%; display: flex; align-items: center; justify-content: flex-start; } .pb-name > span { color: #ffffffdd; font-size: 1vh; font-family: 'Montserrat', sans-serif; font-weight: 600; text-transform: uppercase; text-overflow: ellipsis; overflow: hidden !important; text-shadow: 0 0 3px #000000aa; } .pb-armour { width: 100%; height: 20%; display: flex; align-items: center; justify-content: flex-start; border-radius: .25vh; background-color: rgba(0, 0, 0, 0.25); margin-bottom: 2px; } .pb-armour-in { width: 100%; height: 100%; border-radius: .25vh; background-color: var(--armour); transition: width 0.2s ease; } .pb-hp { width: 100%; height: 20%; display: flex; align-items: center; justify-content: flex-start; border-radius: .25vh; background-color: rgba(0, 0, 0, 0.25); } .pb-hp-in { width: 100%; height: 100%; border-radius: .25vh; background-color: #ffffff; transition: width 0.2s ease; } :root { --bg: rgba(24, 24, 24, 1); /* Fond secondaire */ --bg-l: rgba(24, 24, 24, 1); /* Fond secondaire */ --select: rgba(40, 40, 40, 0.85); /* Hover / sélection */ --primary: #d64c4c; /* Rouge adouci (corail foncé) */ --text: #f0f0f0; /* Texte principal */ --text2: #a0a0a0; /* Texte secondaire */ --green: #388e3c88; /* Vert succès */ --green2: #ff000088; /* Hover succès */ --gradient-1: linear-gradient(135deg, #d64c4c44, #d64c4c22); --gradient-2: linear-gradient(135deg, #d64c4c22, transparent); --gradient-3: linear-gradient(135deg, #d64c4c55, transparent); --gradient-4: linear-gradient(135deg, #d64c4caa, transparent); --heal: rgba(255, 255, 255, 0.9); --armour: #3399ff; } .category, .category.active { background-color: rgba(214, 76, 76, 0.1); border: 1px solid rgba(214, 76, 76, 0.2); transition: all 0.3s ease-in-out; color: var(--text2); box-shadow: none; } .category:hover { width: 8vh; background-color: rgba(214, 76, 76, 0.25); border-color: rgba(214, 76, 76, 0.4); transform: scale(1.05); box-shadow: 0 0 10px rgba(214, 76, 76, 0.2); cursor: pointer; } .category:hover > i, .category:hover > span { color: white; } input { background-color: rgba(255, 255, 255, 0.05) !important; border: 1px solid transparent !important; border-radius: 5px; padding: 0.5vh; transition: all 0.3s ease; } input:focus { border: 1px solid var(--primary) !important; background-color: rgba(255, 255, 255, 0.08) !important; } .s-properties > button, .players-actions > button { background: var(--primary); color: #fff; font-weight: bold; text-shadow: 0 0 2px rgba(0, 0, 0, 0.2); } .s-properties > button:hover { background: #ff7070; } .accept, .decline { backdrop-filter: blur(3px); border: 1px solid rgba(255, 255, 255, 0.05); } .accept:hover { background: #26c36b55; } .decline:hover { background: #ff000055; } .players { width: calc(100% - .5vh); height: calc(4vh - .5vh); display: flex; align-items: center; justify-content: flex-start; gap: .5vh; background-color: var(--bg-l); padding: .25vh; border-radius: .25vh; transition: .2s ease-out; margin-block-end: .75vh; border: 1px solid rgba(214, 76, 76, 0.4); box-shadow: 0 0 4px rgba(214, 76, 76, 0.1); } .players:hover { background-color: var(--select); box-shadow: 0 0 6px rgba(214, 76, 76, 0.3); } .squad { box-shadow: 0 0 8px rgba(255, 0, 0, 0.05); transition: transform 0.2s ease; } .squad:hover { transform: scale(1.02); background-color: var(--select); } .close-menu { width: 4vh; height: 90%; display: flex; align-items: center; justify-content: center; border-radius: .25vh; background-color: rgba(214, 76, 76, 0.1); /* rouge transparent */ border: 1px solid rgba(214, 76, 76, 0.2); /* bordure rouge légère */ transition: .2s ease-out; margin-left: 0.5vh; } .close-menu > i { color: var(--text2); font-size: 1.25vh; } .close-menu:hover { background-color: rgba(214, 76, 76, 0.25); /* plus visible */ border-color: rgba(214, 76, 76, 0.4); transform: scale(1.05); } .close-menu:hover > i { color: #fff; } .close-menu:active { transform: scale(1.025); } .squads, .invites, .creates { background-color: var(--bg) !important; border-radius: 0 0 .25vh .25vh; overflow-y: auto; } .fade-in { animation: fadeInMenu 0.4s ease-out forwards; opacity: 0; } @keyframes fadeInMenu { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }