*,*::after,*::before{margin:0;padding:0;box-sizing:inherit;user-select:none}html{font-size:62.5%}body{box-sizing:border-box;background:#282c34;display:grid;grid-template-rows:80px 1fr;width:100vw;height:100vh}#main{transition:margin-left .5s;padding:16px}.invisible{display:none}#username img{float:left;height:50px;width:50px;margin-top:10px;margin-right:7px;border-radius:25px}.center{display:flex;flex-flow:column nowrap;justify-content:center;align-items:center}@font-face{font-family:"MagicSchoolOne";src:url("../fonts/MagicSchoolOne.ttf") format("truetype")}@font-face{font-family:"Digital";src:url("../fonts/batmfa__.ttf") format("truetype")}body{font-family:"MagicSchoolOne",sans-serif;font-size:4rem;color:#fff}h1{font-family:"MagicSchoolOne",sans-serif;font-size:7rem;margin:1rem}button{font-family:"MagicSchoolOne",sans-serif;font-style:italic;font-size:4rem}a{color:#fff}.digitalFont{font-family:"Digital",sans-serif;font-size:3rem}.underline{text-decoration:underline}.smaller{font-size:3rem}@media(max-width: 430px){.smaller{font-size:2.5rem}}@media(max-width: 380px){.smaller{font-size:2rem}}.classicFont,.alert,.toast,.accountParams{font-family:"Helvetica",sans-serif;font-size:3rem}.chatPart,.btn--chat,.gameMasterPart{font-family:"Helvetica",sans-serif;font-size:2rem}.modal,.offcanvas{color:#000}.modal__close,.offcanvas__close{font-family:"MagicSchoolOne",sans-serif}.noGameToShow{text-align:center}.textDark{color:#000}.btn{padding:1.5rem;border:.1rem solid #282c34;color:#fff;background:linear-gradient(#F1BC56, #9B5F00);cursor:pointer;transform:scale(1);transition:transform 200ms}.btn:hover{transform:scale(1.15)}.btn--full-width{width:100%;margin:1rem auto}.btn--thinner{padding:.5rem 1.5rem;font-size:3rem}.btn--chat{font-size:2rem;padding:1rem}.form{display:flex;flex-flow:column nowrap;justify-content:center}.form__heading{text-shadow:.55rem .55rem #3e4451}.form__field{display:flex;justify-content:flex-end;align-items:center}.form__field--centered{justify-content:center}.form__field--hidden{display:none}.form input,.form select{font-size:2rem;margin:1rem;padding:.5rem}.form button{align-self:center}.form--chat{display:flex;flex-flow:row nowrap}.form--chat input{font-size:2rem;margin:0;padding:0;padding-left:1rem;flex-grow:1}.unconnected{display:flex;justify-content:center;align-items:center;background:linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),url(../img/hb_wallpaper.jpg) center center fixed no-repeat}.unconnected__container{text-align:center;max-width:492px;background-color:rgba(242,231,191,.4);padding:2rem;border-radius:5%}@media(max-width: 500px){.unconnected__container{background-color:rgba(127,127,127,.3);align-self:stretch;border-radius:0}}@media(max-width: 430px){.unconnected__container{font-size:3rem;padding:0}.unconnected__container button{max-width:80vw}}@media(max-width: 380px){.unconnected__container{font-size:2.5rem}}.unconnected__container a{text-decoration:none}.unconnected__container a:hover{background:-webkit-linear-gradient(#ff3300, #ffff00);-webkit-background-clip:text;-webkit-text-fill-color:rgba(0,0,0,0)}.nav{grid-row-start:1;display:flex;flex-wrap:nowrap;justify-content:space-between;align-items:center;padding:1rem 2rem;background:#121417;z-index:2}.nav a{text-decoration:none;color:#fff}.nav a:hover,.nav a :focus{color:#999;text-decoration:none;cursor:pointer}.nav input[type=checkbox]{display:none}.nav__link{list-style:none;margin:1rem;color:#fff}.nav__link:hover,.nav__link :focus{color:#999;text-decoration:none;cursor:pointer}.nav__menu{display:flex}.nav__hamburger{display:none;font-size:24px}.nav__hamburger:hover{cursor:pointer}@media(max-width: 711px){.nav__menu{display:none;position:absolute;background:#121417;right:0;text-align:center;padding:1rem;border-bottom-left-radius:10px}.nav__hamburger{display:block}input[type=checkbox]:checked~.nav__menu{display:block}}@media(max-width: 430px){.nav a{font-size:3rem}.nav a span{font-size:2.5rem}}.modal{position:fixed;display:flex;justify-content:center;align-items:center;z-index:3;left:0;top:0;width:100vw;height:100vh;overflow:auto;background-color:#000;background-color:rgba(0,0,0,.4)}.modal__container{display:none}.modal__content{display:grid;grid-template-columns:40px 1fr 40px;grid-template-rows:40px 1fr 40px;background-color:#3e4451;margin:auto;border:1px solid #545d6e;width:auto;color:#fff}@media(max-width: 711px){.modal__content{grid-template-columns:30px 1fr 30px;grid-template-rows:30px 1fr 30px}}@media(max-width: 430px){.modal__content{grid-template-columns:20px 1fr 20px;grid-template-rows:20px 1fr 20px}}.modal__content__position{grid-area:2/2;padding-top:3rem}.modal__content__heading{grid-area:1/2;text-align:center;font-weight:normal}@media(max-width: 830px){.modal__content__heading{font-size:.9em}}.modal__content--forced{display:grid;grid-template-rows:auto 1fr;background-color:#3e4451;padding:1rem;border:1px solid #545d6e;width:70%;color:#fff;text-align:center}.modal__close{font-size:6rem;font-weight:bold;grid-area:1/3/2/4;color:#fff}.modal__close:hover,.modal__close :focus{color:#999;text-decoration:none;cursor:pointer}@media screen and (max-device-width: 480px),screen and (max-device-height: 480px){.modal--forced{display:block}}.alert{display:none;text-align:center;padding:1rem;margin-bottom:1rem;border:1px solid;border-radius:5px}.alert--danger{color:#842029;background:#f8d7da;border-color:#f5c2c7}.alert--success{color:#0f5132;background:#abd3c1;border-color:#badbcc}.offcanvas{height:100%;width:0;position:fixed;z-index:1;top:0;right:0;background-color:#111;overflow-x:hidden;transition:.5s;padding-top:60px;background:url(../img/parchment.jpg)}.offcanvas__close{position:absolute;top:0;right:25px;font-size:6rem;margin-left:50px;color:#000}.offcanvas__close:hover,.offcanvas__close :focus{color:#666;text-decoration:none;cursor:pointer}.offcanvas__content{margin:2rem}@media screen and (max-height: 450px){.offcanvas{padding-top:15px}.offcanvas a{font-size:18px}}.toast{visibility:hidden;min-width:250px;max-width:400px;text-align:center;border-radius:2px;padding:16px;position:fixed;z-index:1;right:20px;bottom:30px;font-size:2rem}.toast--error{color:#842029;background-color:#f8d7da;border-color:#f5c2c7}.toast--success{color:#0f5132;background:#abd3c1;border-color:#badbcc}.toast--info{color:#fff;background:#0d6efd;border-color:#cfe2ff}.toast.show{visibility:visible;-webkit-animation:fadein .5s,fadeout .5s 9.5s;animation:fadein .5s,fadeout .5s 9.5s}@-webkit-keyframes fadein{from{bottom:0;opacity:0}to{bottom:30px;opacity:1}}@keyframes fadein{from{bottom:0;opacity:0}to{bottom:30px;opacity:1}}@-webkit-keyframes fadeout{from{bottom:30px;opacity:1}to{bottom:0;opacity:0}}@keyframes fadeout{from{bottom:30px;opacity:1}to{bottom:0;opacity:0}}.message{border:1px solid #f9fafb;border-radius:5px;background:#6b758a;padding:1rem;margin:.5rem}.message--self{align-self:flex-end;background:#1e90ff}.message--chatGPT{background:#3c3;cursor:pointer}.gamePicker{display:grid;grid-template-rows:100px 1fr;padding:2rem}.gamesContainer{display:flex;flex-flow:row wrap;justify-content:flex-start;align-items:flex-start}@media(max-width: 711px){.gamesContainer{display:flex;flex-flow:row wrap;justify-content:center;align-items:flex-start}}.game{background:#49515f;border:1px solid #fff;border-radius:5px;height:30vh;min-height:220px;width:20vw;min-width:280px;margin:3rem;text-align:center;position:relative}.game:hover,.game :focus{background:#333842;cursor:pointer}.game img{height:20vh;min-height:150px}.game h3{height:8vh;min-height:65px}.noGameToShow{flex-grow:1;text-shadow:.55rem .55rem #3e4451}.newGameContainer{justify-self:center}#otherPlayers button{margin-right:1rem;margin-left:1rem}.otherPlayersAdder{margin-bottom:1rem}#players,.otherPlayersAdder{margin-left:3rem}#addPlayerContainer{padding:1rem;border:2px solid #dddfe4;display:flex;flex-flow:column nowrap;justify-content:center;text-align:center}svg{fill:#fff}svg:hover{cursor:pointer;fill:#b3b3b3}#btnEditGames{position:absolute;right:30px;z-index:1}#btnEditGames.active #btnEdit{transform:rotate(90deg) scale(0);opacity:0}#btnEditGames:not(.active) #btnClose{transform:rotate(-90deg) scale(0);opacity:0}#btnEdit,#btnClose{transition:all .35s ease-in-out}.deleteGame{position:absolute;right:0;bottom:-10px}.gamePage{display:grid;grid-template-rows:4fr 1fr;grid-template-columns:4fr minmax(360px, 1fr);margin:2rem;overflow:auto}.gamePart{background:#282c34;grid-area:1/1/2/2;display:flex;flex-flow:row nowrap;justify-content:center;align-items:center}.gameBoard{display:flex;flex-flow:row nowrap;background:url(../img/parchment.jpg);padding:1rem;width:98%;height:90%}.gameBoard__villains{height:100%;width:67%;border:4px dashed #000;display:grid;grid-template-rows:1fr repeat(2, 2fr);grid-template-columns:repeat(3, 1fr);grid-gap:5%}.gameBoard__villains__heading{grid-area:1/1/2/4;text-align:center}.gameBoard__hogwarts{margin-left:-4px;height:100%;width:33%;border:4px dashed #000;display:grid;grid-template-rows:repeat(3, 1fr);grid-template-columns:repeat(2, 1fr);grid-gap:2% 10%}.gameBoard__potions{display:grid;grid-template-rows:repeat(6, 1fr) 4fr 1fr;grid-template-columns:repeat(2, 1fr);grid-gap:2% 10%;width:33%}.gameBoard__potions__heading{grid-area:1/1/2/3;text-align:center}.playersPart{background:#282c34;grid-area:2/1/3/2;display:flex;flex-flow:row nowrap;justify-content:center;align-items:center}.gamePlayer{margin:1rem;border:4px solid;padding:1rem}.chatPart{background:#545d6e;grid-area:1/2/2/3;display:grid;grid-template-rows:auto minmax(0, 1fr) auto;overflow:auto}.chatPart__heading{padding:1rem;text-align:center;border:1px solid #f9fafb;background:#a3aab8}.chatPart__heading ul{list-style:none}.chatPart__content{display:flex;flex-flow:column nowrap;align-items:flex-start;justify-content:flex-start;overflow-y:auto}.gameMasterPart{grid-area:2/2/3/3;border:4px solid #f9fafb;display:flex;flex-flow:column nowrap;align-items:flex-start;justify-content:flex-start;overflow-y:auto;padding:.5rem}.card{display:flex;justify-content:center;align-items:center}.instructions{display:flex;justify-content:center;align-items:center}.item{width:5vh;height:5vh}.item__shelf{display:grid;grid-template-columns:repeat(2, 1fr);justify-items:center}.item__spent{display:grid;grid-template-columns:repeat(3, 1fr);justify-items:center}.gryffindor{border-color:#ae0001}.hufflepuff{border-color:#ffdb00}.ravenclaw{border-color:#222f5b}.slytherin{border-color:#2a623d}.otherPlayer{border-style:dashed}.playerPicker{display:flex;flex-wrap:nowrap;justify-content:center;align-items:center}#characterAdvantage{border:4px solid #f9fafb;margin:.5rem 0 1rem 0;padding:.5rem;text-align:center}.accountPage{display:grid;grid-template:"friends params" 3fr "badges params" 2fr/3fr 1fr}@media(max-width: 711px){.accountPage{display:grid;grid-template:"friends" 1fr "badges" 1fr "params" 2fr/1fr}}.friends{grid-area:friends;border-radius:30px;border:5px solid #dddfe4;margin:2rem;display:flex;flex-flow:column nowrap}.friends__heading{margin-left:4rem}.friends__content{flex-grow:1;display:grid;grid-template-columns:repeat(2, 1fr);grid-template-rows:1fr 4fr}.friends ul{list-style-type:none;margin:1rem}.friends li{border-top:1px solid #dddfe4;padding:1rem}.friends li:first-child{border-top:none}.existingFriends{grid-area:1/1/3/2;border-radius:15px;border:5px solid #dddfe4;margin:1.5rem;display:flex;flex-flow:column nowrap;text-align:center;max-height:40vh;overflow-y:auto}.existingFriends li{text-align:left;margin:1rem}.existingFriends li img{float:left;height:70px;width:70px;margin-right:15px;border-radius:35px}.newFriend{grid-area:1/2/2/3;text-align:center}.friendRequests{grid-area:2/2/3/3;border-radius:15px;border:5px solid #dddfe4;margin:1.5rem;display:flex;flex-flow:column nowrap;text-align:center;max-height:30vh;overflow-y:auto}.friendRequests li:hover{cursor:pointer;background:#49515f}.nothingToShow{flex-grow:1;display:flex;flex-flow:column nowrap;justify-content:center;align-items:center}.badges{grid-area:badges;border-radius:30px;border:5px solid #dddfe4;margin:2rem}.badges__heading{margin-left:4rem}.accountParams{grid-area:params;border-left:7px solid #49515f}.accountParams__heading{background:#49515f;font-size:4rem;text-align:center;padding:2rem;margin-bottom:2rem}.accountParams__content{display:flex;flex-flow:column nowrap;justify-content:center;margin:2rem}.accountParams__content p,.accountParams__content form{margin-bottom:1rem}.accountParams__content button{margin:1rem;align-self:center}.usersFinded{display:flex;flex-flow:column nowrap}.userFinded{display:flex;justify-content:space-between;margin:1rem;padding:1rem 2.5rem;border:2px solid #dddfe4;border-radius:5px}.userFinded button:before{float:left;content:url(../img/person-add.svg);margin-right:5px;margin-top:5px}.emptyResult{align-self:center;text-align:center}.usersSearch{display:flex;justify-content:center;align-items:center}.usersSearch input{font-size:2rem;margin:2rem;padding:.5rem;width:30vw}.actionsOnFriendRequest{display:flex;flex-wrap:nowrap;justify-content:center}.actionsOnFriendRequest button{margin:1rem}.houseChoice{display:grid;grid-template-rows:repeat(2, 1fr);grid-template-columns:repeat(2, 1fr);grid-gap:2rem;justify-items:center}.houseChoice [type=radio]{position:absolute;opacity:0;width:0;height:0}.houseChoice [type=radio]+img{cursor:pointer}.houseChoice [type=radio]:checked+img{outline:2px solid #fff}.houseChoice img{height:30vh;width:30vh;border-radius:15vh;margin-top:2rem}@media(max-width: 711px){.houseChoice img{height:20vh;width:20vh;border-radius:10vh}}.houseChoice button{grid-area:3/1/4/3}.friend{cursor:pointer}.userInfos{display:grid;grid-template:"house username" auto "badges badges" auto "remove remove" auto/auto auto;align-items:center;padding-top:0;grid-row-gap:1rem}.userInfos img{height:150px;width:150px;border-radius:75px;grid-area:house}.userInfos h3{grid-area:username;font-weight:normal}.userInfos .friendBadges{grid-area:badges}.userInfos button{grid-area:remove}.preUsers{margin:2rem;display:flex;flex-flow:column nowrap;justify-content:flex-start;align-items:center;text-align:center}.preUsers ul{list-style-type:none;margin:1rem}.preUser{display:flex;flex-flow:row nowrap;align-items:center;margin:1rem}.preUser button{margin:1rem}.preUser p{margin-right:2rem}/*# sourceMappingURL=style.css.map */
