body { width: 100vw; height: 100vh; display: flex; align-items: center; justify-content: center; margin: 0; padding: 0; user-select: none; /* background-image: url("img/bg.png"); */ background-position: center; background-size: cover; overflow: hidden; position: relative; box-sizing:border-box; /* background-color: black; */ } ::-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); } :root { --bg: #171717; --bg-l: #1e1e1e; --select: #262626; --primary: #ff0000; --text: #EDEDED; --text2: #727272; --green: rgba(255, 0, 0, 0.438); --green2: rgba(0, 0, 0, 0.25); --shadow: 0px 4px 10px rgba(0, 0, 0, 0.5); --gradient-1: rgba(218, 0, 55, 0.25); --gradient-2: rgba(218, 0, 55, 0.1); --gradient-3: rgba(218, 0, 55, 0.25); --gradient-4: rgba(218, 0, 55, 0.5); --heal: rgba(255, 255, 255, 0.974); --armour: rgb(0, 132, 255); } @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); 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; box-shadow: var(--shadow); background-color: var(--select); border-color: var(--primary); } .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); box-shadow: var(--shadow); 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: calc(4vh - .5vh); height: calc(90% - .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; } .searchdiv:hover { cursor: pointer; width: 11vh; box-shadow: var(--shadow); background-color: var(--select); border-color: var(--primary); } .searchdiv:hover > input { transition: .5s ease-out; display: block; } .searchdiv > i { color: var(--text); font-size: 1.25vh; } .searchdiv > input { display: none; width: 80%; height: 60%; border: none; outline: none; background-color: transparent; color: var(--text); font-size: 1.25vh; font-family: 'Montserrat', sans-serif; font-weight: 400; } .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: 2.5vh; height: 100%; 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.25vh; } .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 { box-shadow: var(--shadow); } .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; filter: grayscale(100%); } .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); box-shadow: var(--shadow); 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(45vh - .5vh); height: calc(25vh - .5vh); 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 { 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; } .players:hover { background-color: var(--select); } .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 { width: 8vh; height: 95%; display: flex; align-items: center; justify-content: center; } .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); box-shadow: var(--shadow); cursor: pointer; background-color: var(--primary); color: var(--text); } .players-actions > button:active { position: relative; top: .1vh; } .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; } .player-box { width: calc(100% - 1vh); height: calc(5vh - 1vh); padding: .5vh; display: flex; align-items: center; justify-content: flex-start; background-color: rgba(38, 38, 38, 0.5); gap: .5vh; border-radius: .25vh; } .pb-img { width: 4vh; height: 100%; display: flex; align-items: center; justify-content: center; } .pb-image { height: 3vh; } .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: var(--text); font-size: 1vh; font-family: 'Montserrat', sans-serif; font-weight: 400; text-transform: uppercase; text-overflow: ellipsis; overflow: hidden !important; } .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; }