@font-face { font-family: 'Poppins-Regular'; src: url('../assets/fonts/Poppins-Regular.ttf') format('truetype'); } @font-face { font-family: 'Poppins-Medium'; src: url('../assets/fonts/Poppins-Medium.ttf') format('truetype'); } @font-face { font-family: 'Poppins-SemiBold'; src: url('../assets/fonts/Poppins-SemiBold.ttf') format('truetype'); } @font-face { font-family: 'Poppins-Bold'; src: url('../assets/fonts/Poppins-Bold.ttf') format('truetype'); } * { font-family: 'Poppins-Regular', sans-serif; } body { background-color: #111111; } .container { display: flex; /* flex-direction: column; justify-content: center; align-items: center; */ flex-wrap: wrap; justify-content: center; gap: 20px; } .column { min-width: 500px; max-width: 500px; padding: 10px; color: white; /* border: 1px solid #ffffff80; */ } .options, .players { min-width: 200px; max-width: 200px; } .map { aspect-ratio: 1; background-color: #151515; overflow: hidden; position: relative; } .map .playerDot { position: absolute; transform: translate(-50%, -50%); height: 5px; width: 5px; border-radius: 100%; background-color: red; } .map img { position: relative; } .options h2, .players h2 { margin-top: 0; font-size: 20px; text-align: center; font-family: 'Poppins-SemiBold', sans-serif; } .player { height: 30px; margin-top: 10px; display: flex; align-items: center; background-color: #151515; border: 1px solid #1c1c1c; border-radius: 3px; } .bar-container { width: 5px; height: 15px; background-color: #1c1c1c; border-radius: 2px; position: relative; overflow: hidden; display: inline-block; } .bar-container div { border-radius: 2px; position: absolute; bottom: 1px; width: calc(100% - 2px); left: 50%; transform: translateX(-50%); } .first { margin-left: 7.5px; } .second { margin-left: 1px; } .health { height: 50%; background-color: #2bff00; } .armor { height: 33%; background-color: #0095ff; } .name { margin-left: 7.5px; color: #b3b3b3; font-size: 14px; } .option { height: 30px; margin-top: 10px; display: flex; align-items: center; background-color: #151515; border: 1px solid #1c1c1c; border-radius: 3px; position: relative; } .optionLabel { color: #b3b3b3; font-size: 14px; margin-left: 7.5px; } .option input[type="checkbox"] { position: absolute; right: 7.5px; } input[type="checkbox"] { appearance: none; cursor: pointer; position: relative; width: 15px; height: 15px; border: 1px solid #1c1c1c; border-radius: 2px; background-color: #111111; } /* input[type="checkbox"]:checked { } */ input[type="checkbox"]::before { content: "✔"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 8px; color: #ffffff; opacity: 0; transition: opacity 0.3s ease-in-out; } input[type="checkbox"]:checked::before { content: "✔"; opacity: 1; } .circle { position: absolute; transform: translate(-50%, -50%); aspect-ratio: 1 / 1; border-radius: 100%; } .innerCircle { aspect-ratio: 1 / 1; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background-color: #1c1c1c; border-radius: 100%; } .slider { width: 100%; height: 15px; -webkit-appearance: none; appearance: none; background: #151515; border: 1px solid #1c1c1c; border-radius: 10px; } .slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 25px; height: 25px; background: #151515; border: 1px solid #1c1c1c; cursor: pointer; border-radius: 50%; } .slider::-moz-range-thumb { width: 25px; height: 25px; background: #1c1c1c; border: 1px solid #1f1f1f; cursor: pointer; border-radius: 50%; }