html { background-color:#2f2e2e; } html, body { margin: 0; padding: 0; } body { width: 100vw; min-height: 100vh; min-height: -webkit-fill-available; margin: auto; font-family: Verdana; color: #e7e2e2; position: relative; overflow-x: hidden; } .bg { top: 0; height: 100vh; left: 0; right: 0; z-index: -1; background: url("artwork/artwork11.jpg") center center; position: fixed; background-attachment: fixed; background-size: cover; } @supports ( -webkit-touch-callout : none) { .bg { background-attachment: scroll } } @supports not ( -webkit-touch-callout : none) { .bg { background-attachment: fixed; } } a { color: #e7e2e2; font-weight: bold; } h1 { font-size: 1.7em; } h2 { text-align: center; } h3 { font-variant: small-caps; } /**** HEADER ****/ header { background: #2f2e2e; display: flex; justify-content: space-between; } header img { display: flex; align-items: flex-start; margin-left: 8vw; padding-top: 0.5vh; padding-bottom: 0.5vh; max-height: 80px; } header nav { display: flex; align-items: flex-end; margin-right: 8vw; margin-bottom: 3vh; } header nav ul, header nav ul li { display: inline; padding: 0; margin: 0; list-style-type: none; } header nav ul li a { padding: 0px; margin-left: 3.5vw; color: rgb(202, 207, 208); text-decoration: none; font-size: 1.6em; font-variant: small-caps; } header nav ul li a:hover { color: #ff6b79; } /**** MAIN CONTENT ****/ article { width: 100vw; margin-top: 5vh; margin-bottom: 5vh; } article #container { margin-left: 10vw; margin-right: 10vw; padding: 5px 20px; background: rgba(0, 0, 0, .85); } article #container .poketest-companion { float: right; width: 210px; margin-left: 15px; } article #container .flashdex-companion { float: right; width: 265px; margin-left: 15px; } article #container .top-companion { margin-top: 20px; margin-bottom: 10px; float: right; width: 250px; margin-left: 25px; margin-right: 25px; } article #container .middle-companion { float: right; width: 250px; margin-left: 25px; margin-right: 25px; } article #container.about p { margin-left:20px; } article #container.about ul li { margin-top: 5px; margin-bottom: 5px; } article #container.about ul li a { margin-top: 5px; margin-bottom: 5px; font-weight: normal; } /**** GENERATIONS COLOR ****/ .RB1 { background: #FF1111; color: black; padding: 5px; border-radius: 10px 0px 0px 10px; } .RB2 { background: #1111FF; color: white; padding: 5px; border-radius: 0px 10px 10px 0px; } .GS1 { background: #DAA520; color: black; padding: 5px; border-radius: 10px 0px 0px 10px; } .GS2 { background: #C0C0C0; color: black; padding: 5px; border-radius: 0px 10px 10px 0px; } .RS1 { background: #A00000; color: white; padding: 5px; border-radius: 10px 0px 0px 10px; } .RS2 { background: #0000A0; color: white; padding: 5px; border-radius: 0px 10px 10px 0px; } .DP1 { background: #AAAAFF; color: black; padding: 5px; border-radius: 10px 0px 0px 10px; } .DP2 { background: #FFAAAA; color: black; padding: 5px; border-radius: 0px 10px 10px 0px; } .BW1 { background: #444444; color: white; padding: 5px; border-radius: 10px 0px 0px 10px; } .BW2 { background: #E1E1E1; color: black; padding: 5px; border-radius: 0px 10px 10px 0px; } .XY1 { background: #025DA6; color: white; padding: 5px; border-radius: 10px 0px 0px 10px; } .XY2 { background: #EA1A3E; color: black; padding: 5px; border-radius: 0px 10px 10px 0px; } .SM1 { background: #ef9039; color: black; padding: 5px; border-radius: 10px 0px 0px 10px; } .SM2 { background: #589ac8; color: black; padding: 5px; border-radius: 0px 10px 10px 0px; } .SWSH1 { background: #00A1E9; color: black; padding: 5px; border-radius: 10px 0px 0px 10px; } .SWSH2 { background: #BF004F; color: white; padding: 5px; border-radius: 0px 10px 10px 0px; } .SV1 { background: #F34134; color: black; padding: 5px; border-radius: 10px 0px 0px 10px; } .SV2 { background: #8334B7; color: white; padding: 5px; border-radius: 0px 10px 10px 0px; } .RB { border-radius:50%; background: linear-gradient(-45deg, #FF1111 50%, #1111FF 50%); display:block; border: 1px solid white; } .GS { border-radius:50%; background: linear-gradient(-45deg, #DAA520 50%, #C0C0C0 50%); display:block; border: 1px solid white; } .RS { border-radius:50%; background: linear-gradient(-45deg, #A00000 50%, #0000A0 50%); display:block; border: 1px solid white; } .DP { border-radius:50%; background: linear-gradient(-45deg, #AAAAFF 50%, #FFAAAA 50%); display:block; border: 1px solid white; } .BW { border-radius:50%; background: linear-gradient(-45deg, #444444 50%, #E1E1E1 50%); display:block; border: 1px solid white; } .XY { border-radius:50%; background: linear-gradient(-45deg, #025DA6 50%, #EA1A3E 50%); display:block; border: 1px solid white; } .SM { border-radius:50%; background: linear-gradient(-45deg, #ef9039 50%, #589ac8 50%); display:block; border: 1px solid white; } .SWSH { border-radius:50%; background: linear-gradient(-45deg, #00A1E9 50%, #BF004F 50%); display:block; border: 1px solid white; } .LA { border-radius:50%; background: #36597B; display:block; border: 1px solid white; } .SV { border-radius:50%; background: linear-gradient(-45deg, #F34134 50%, #8334B7 50%); display:block; border: 1px solid white; } /**** FOOTER ****/ #content-wrap { padding-bottom: 5vh; /* Footer height */ } footer { bottom:0; background: #2f2e2e; text-align: center; position: absolute; width: 100vw; height: 5vh; display: flex; justify-content: center; align-items: center; } footer p { margin: auto; } /**** POKETEST ****/ article #container #game #configuration { min-width: 200px; max-width: 600px; margin: auto; } article #container #game #configuration input[name="gen"], article #container #game #selected_options input { margin-left: 40px; margin-bottom: 11px; } article #container #game #configuration input[type="checkbox"] { margin-left: 75px; } article #container #game #configuration .first { margin-left: 40px; } article #container #game #configuration select { font-size: 15px; } article #container #game #configuration #selected_options { display: none; margin-top: 10px; padding-top: 10px; } article #container #game #configuration #left_config { float: left; } article #container #game #configuration #right_config { float: right; } article #container #game .button { margin: auto; padding: 20px; clear: both; text-align: center; } article #container input[type=submit] { padding: 10px; border: 2px; border-radius: 15px; background: #e7e2e2; color: #2f2e2e; font-size: 20px; font-weight: bold; cursor: pointer; } article #container input[type=submit]:hover { background: #2f2e2e; color: #e7e2e2; } /**** GAME LAUNCHED ****/ article #container.game_active { height: 72vh; } article #container #top_game { display: flex; justify-content: space-between; height: 10vh; } article #container #top_game .whois { display: flex; align-items: flex-start; } article #container #top_game .chrono { width: 2.6rem; height: 2.6rem; line-height: 2.4rem; padding: 10px; margin-top: 10px; border-radius: 100%; background: #e7e2e2; color: #2f2e2e; text-align: center; } article #container .pokemon { margin: auto; text-align: center; font-size: 2.1em; } article #container .pokemon img { height: 50vh; } article #container .pokemon img.silhouette { filter: contrast(0%) brightness(170%); } article #container #answers { text-align: center; height: 14vh; display: flex; align-items: center; justify-content: center; } article #container #answers input { margin-right: 15px; margin-left: 15px; display: inline; } article #container #answers form input:last-child { margin: initial; } article #container #answers form input.choice { padding: 10px; min-width: 25vw; margin: auto; margin-bottom: auto; border-radius: 9px; margin-bottom: 5px; margin-right: 15px; } article #container #answers form .button { margin: 5px; display: inline-block; } article #container #answers .final_answer { font-size: 23px; } article #container #answers .final_answer .good { color:#3ad48d; font-weight:bold; } article #container #answers .final_answer .bad { color: #f85050; font-weight:bold; } /* game end screen */ article #container #score .score-text { margin-top:40px; } article #container #share { width: 200px; margin: auto; margin-top: 8px; margin-bottom: 10px; text-align: center; } article #container #seed { text-align: center; font-size: 22px; font-variant: small-caps; } article #container #seed input { width: 35em; padding-top: 4px; padding-bottom: 4px; border-radius: 5px; background: #e7e2e2; border: #e7e2e2; color: #2f2e2e; text-align: center; font-size: 16px; } article #container #copyseed { width: 60px; height: 16px; display: block; padding: 10px; padding-top: 4px; padding-bottom: 8px; border-radius: 5px; background: darkcyan; font-size: 15px; font-variant: small-caps; text-decoration: none; cursor: pointer; margin: auto; } article #container #copyseed a { color: white; text-decoration: none; font-weight: bold; } article #container #copyseed:hover { background:lightseagreen; } article #container.diploma #score { background: url('img/red.png') no-repeat; background-size: 180px; background-position: right bottom; padding: 5px 20px; } /**** FLASHDEX ****/ #game #flashdex_config { margin:auto; } #game #flashdex_config p { text-align: center; } #game #flashdex_config p a { text-decoration: none; } #game #flashdex_config p label { display: inline-block; margin: 7px; } #game #flashdex_config h2 { text-decoration: underline; font-size: 1.05em; margin-top: 25px; } #game #flashdex_config span.alternate_forms { margin-top: 20px; margin-bottom: 0px; display: block; font-variant: small-caps; font-size: 19px; } #loading { display: block; font-size: 1.5em; text-align: center; margin-top: 15px; margin-bottom: 15px; } #container #game #flashdex { margin:auto; display:none; text-align:center; } #container #game #flashdex .pokedex { width: 250px; border: 1px solid white; padding: 10px; margin: 10px; border-radius: 10px 10px; background-color: rgba(60, 60, 60, 0.9); text-align: center; display: inline-block; position: relative; } #game #flashdex .pokedex img { height: 250px; display: block; margin: auto; margin: 12px auto; } #game #flashdex .pokedex .button { position: absolute; bottom: 0; left: 0; margin: 8px; background: white; padding: 0px; border-radius: 5px; color: dimgray; padding-bottom: 1.5px; padding-top: 0.5px; } #game #flashdex .pokedex .left-arrow, #game #flashdex .pokedex .right-arrow { cursor: pointer; user-select: none; font-size: 0.9rem; padding: 0rem 0.2rem; line-height: 1.2rem; } #game #flashdex .pokedex span.form { display: block; float: right; width: 25px; height: 25px; background-size: 25px 25px; right: 10px; } #game #flashdex .pokedex span.form.mega { background-image: url('img/icon_mega.png'); } #game #flashdex .pokedex span.form.giga { background-image: url('img/icon_giga.png'); background-color: white; background-position: center; background-size:20px; border-radius: 50%; border: 1px solid white; } #game #flashdex .pokedex span.types { display: flex; float: left; margin-bottom: 12px; } #game #flashdex .pokedex span.types:after { clear: both; } #game #flashdex .pokedex span.types span { margin: 0px; margin-right: 5px; padding: 5px; border-radius: 2px; font-family: Sans-Serif; font-weight: bold; color: #fff; font-size: 0.8rem; text-shadow: 0 0 2px #000; } #game #flashdex .pokedex span.types .Grass { background: #78C850; } #game #flashdex .pokedex span.types .Poison { background: #A040A0; } #game #flashdex .pokedex span.types .Fire { background: #F08030; } #game #flashdex .pokedex span.types .Dragon { background: #7038F8; } #game #flashdex .pokedex span.types .Flying { background: #A890F0; } #game #flashdex .pokedex span.types .Water { background: #6890F0; } #game #flashdex .pokedex span.types .Bug { background: #A8B820; } #game #flashdex .pokedex span.types .Normal { background: #A8A878; } #game #flashdex .pokedex span.types .Dark { background: #705848; } #game #flashdex .pokedex span.types .Electric { background: #F8D030; } #game #flashdex .pokedex span.types .Ground { background: #E0C068; } #game #flashdex .pokedex span.types .Psychic { background: #F85888; } #game #flashdex .pokedex span.types .Ice { background: #98D8D8; } #game #flashdex .pokedex span.types .Steel { background: #B8B8D0; } #game #flashdex .pokedex span.types .Fairy { background: #EE99AC; } #game #flashdex .pokedex span.types .Fighting { background: #C03028; } #game #flashdex .pokedex span.types .Rock { background: #B8A038; } #game #flashdex .pokedex span.types .Ghost { background: #705898; } /*** MOBILE ***/ @media screen and (max-width:1100px) { article #container { margin-left: 5vw; margin-right: 5vw; } } @media screen and (max-width:800px) { h1 { margin: 0.2em 0; font-size:1.3em; } h2 { font-size:1.25em; } h3 { margin: 10px; margin-left: 0; } header img { margin-left: 4vw; } header nav ul { display: none; } header { display: block; } header nav { display: auto; align-items: auto; margin-right: auto; margin-bottom: auto; } header nav #hamburger { cursor: pointer; position: absolute; top: 1.75rem; right: 1.2rem; } header nav #hamburger .bar1, header nav #hamburger .bar2, header nav #hamburger .bar3 { width:30px; height:3px; background-color:#ff3636; margin:6px 0; transition:0.4s; } header nav.active #hamburger .bar1 { transform:rotate(-45deg) translate(-4px, 6px); } header nav.active #hamburger .bar2 { opacity:0; } header nav.active #hamburger .bar3 { transform:rotate(45deg) translate(-6px, -9.5px); } header nav.active ul { margin: auto; margin-top: 0; background: #2f2e2e; width: 100%; text-align:center; padding: 10px; padding-top: 0px; z-index:0; } header a { display: inline-block; } header nav ul, header nav ul li { margin: 15px; } header nav ul li a { margin-left: 0; font-size: 1.3em; } #content-wrap { padding-bottom: 8vh; } article { margin-top: 2vh; margin-bottom: 0vh; } article #container { margin-left: 4vw; margin-right: 4vw; padding: 5px 10px; border-radius: 18px; } /* poketest */ /*article #container #game #configuration #left_config { float: none; } article #container #game #configuration #right_config { float: none; }*/ article #container #game #configuration input[name="gen"], article #container #game #selected_options input, article #container #game #configuration .first { margin-left:15px; margin-bottom:5px; } article #container #game .button { padding: 10px; padding-top: 20px; } article #container #game #configuration input[type="checkbox"] { margin-left: 15px; margin-top: 7px; margin-bottom: 8px; } article #container input[type="submit"] { padding: 5px; border: 2px; border-radius: 8px; font-size: 15px; margin: 3px; } article #container.game_active { max-height: 76vh; height: auto; } article #container #answers { height: 100%; display: block; } article #container #answers input:last-child { margin-right: 0px; margin-left: 0px; } article #container.game_active div#answers span { display: block; } article #container #answers form input.choice { min-width: 75vw; margin-right:0px; } article #container.diploma #score { background: none; } article #container #seed input { width: 90%; margin-top: 10px; } article #container.diploma #score { padding: 0px; } article #container.diploma { border: none; } article #container .pokemon img { height: 37vh; margin-top: 1vh; } article #container .pokemon img.input { height: 42vh; margin-top: 1vh; } article #container #top_game .whois { width: 80%; } article #container #top_game .chrono { width: 2rem; height: 2rem; line-height: 1.8rem; padding: 5px; margin-top: 5px; } article #container #game .button { padding: 10px; padding-top: 15px; } article #container #answers form .button { display: block; } /* flashdex */ #container #game #flashdex .pokedex { width: 230px; } #game #flashdex_config p { text-align: left; } #game #flashdex_config .generation { position: relative; display: flex; flex-direction: row; justify-content: space-around; flex-wrap: wrap; } #game #flashdex .pokedex img { height: 230px; } #game #flashdex_config .generation .gen { display: block; position: relative; padding: 10px; } #game #flashdex_config .gen { padding: 0; margin: 0; display: block; } #game #flashdex_config .gen label { padding: 2px; margin: 2px; margin-left: 8px; } #game #flashdex_config select.lang { margin-left: 15px; margin-top:5px; } #game #flashdex_config p.button { padding-top: 0px; margin-top: 0px; } /* about */ article #container .poketest-companion, article #container .flashdex-companion, article #container .top-companion, article #container .companion { display: none; } article #container .middle-companion { width: 250px; margin: auto; display: block; } article #container.about ul { margin-left: 10px; padding-left: 5px; } article #container.about p { margin-left: 0px; } footer { height:6vh; } } @media screen and (max-width:500px) { article #container #game #configuration #left_config { float: none; text-align: center; } article #container #game #configuration #right_config { float: none; text-align: center; } article #container #game #configuration input[name="gen"], article #container #game #selected_options input, article #container #game #configuration .first { margin-left: 0px; } } @media screen and (max-width:400px) { header img { height: 60px; } header nav #hamburger { top: 1.05rem; } }