body { --bgColor: #051c25; --borderSize: 3px; background: var(--bgColor); } /* width */ ::-webkit-scrollbar { width: 10px; } /* Track */ ::-webkit-scrollbar-track { background: #020a0e91; } /* Handle */ ::-webkit-scrollbar-thumb { background: #076969; } /* Handle on hover */ ::-webkit-scrollbar-thumb:hover { background: #064e4e; } html, body { margin: 0; padding: 0; height: 100%; } body { display: flex; width: 100%; align-items: center; justify-content: center; } .in { position: absolute; top: 1em; /* left:1em; */ left:10%; height: 2.5em; width: 80%; background-color: #020a0e; color: #9fc3c3; font-family: 'Eczar', serif; font-weight: bold; text-transform: uppercase; border: 0px; padding-left: 1.3em; } .in:focus { border:0px; outline: none; } .infoContainer { position: absolute; top:4em; left:20%; width:60%; height: 3%; } #ChampGrid { position: absolute; display: block; height: 90%; width: 90%; top:6em; left:5em; } #missingGrid { position: absolute; display: block; width: 87%; height: 72%; top:6em; left:5%; padding-top: 3vh; padding-left: 2vw; z-index: 999; overflow-y: scroll; background-color: #020a0e; border: 2px solid #7A6B43; } .card { display: block; float: left; height: 100px; width: 75px; background-color: #181e22; padding: 0.2em; border: 2px solid #7A6B43; margin: 0.1em; justify-content: center; align-items: center; } img { margin:0; max-width: 100%; max-height: 100%; } p { margin-top: 0%; text-align: center; font-family: 'Eczar', serif; font-weight: bold; color: #9fc3c3; max-width: 90%; max-height: 20%; } .infoContainer p { display: inline-block; max-height: 100%; } #guessedInfo { float: left; } #totalInfo { float: right; position: relative; right: 20% } .timer { position: absolute; top: 1.1em; right: 12vw; } .timer_Nums { font-family: 'Eczar', serif; font-weight: bold; font-size: 1.5em; color: #9fc3c3; } #endCard { position: absolute; height: 38vh; width: 40vw; background-color: #020a0e; border: 2px solid #7A6B43; top:calc(50% - 17.5vh); left:calc(50% - 20vw); align-items: center; justify-content: center; font-size: 3vmin; font-weight: bolder; font-family: 'Eczar', serif; color: #9fc3c3; padding: 0; margin: 0; z-index: 10; } #endCard p { position: relative; font-size: 0.5em; left:2vw; } .bt { display: block; position: relative; left: calc(50% - 2em); height: 1em; width: 4em; background-color: #082c3a; border: 2px solid #7A6B43; cursor: pointer; text-align: center; } #reload { position: relative; bottom:-3vh; } #missed_bt { position: relative; bottom: -4vh; left:calc(50% - 9.5vw); width: 19vw; } .bt:hover { box-shadow:0 0 3px 3px #635738; } .bt_text { position: relative; bottom: 10%; font-size: 0.7em; } #giveUp { background-color: #082c3a; position: absolute; top: 4em; left: 74vw; text-align: center; font-family: 'Eczar', serif; font-weight: bold; color: #9fc3c3; } #giveUp .bt_text { left:0; } .hidden { display: none !important; } #close_bt { /* position: relative; */ position: -webkit-sticky; /* Safari */ position: sticky; margin-bottom: -100%; top: -2.4vh; right: 0.4vw; float:right; display: block; cursor: pointer; color: #076969; } .material-symbols-outlined { font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48 } .rank { background-image:url('https://static.developer.riotgames.com/img/docs/lol/emblems_and_positions.png'); background-repeat: no-repeat; /* Iron 0 Bronze -140 Silver -280 Gold -425 Platinum -570 Diamond -716 Master -860 GrandMaster -1010 Challanger -1151*/ background-position: -150px 32px ; width: 150px; height: 200px; margin-top: -27px; position: relative; top:calc(50%-100px); left:calc(50% - 75px) }