/* ###   Reset default CSS   ### */
body               { padding: 0; margin: 0; background: #fdfdfd; }
a 				   { color: blue; text-decoration: none; outline: none; }

/* ###   Menu for mobiles   ### */
.mobile-menu-blackout       { position: fixed; z-index: 5; top: 0; left: 0; height: 100%; width: 100%; display: none; background: rgba(0,0,0,0.75); }
.mobile-menu-button         { display: none; margin: 0; }
.mobile-menu-button-login   { display: none; margin: 0; }
.mobile-menu-button-logout  { display: none; margin: 0; }
.mobile-menu-button-text    { font-size: 18px; }

/* ###   Header   ### */
.header                   { position: fixed; z-index: 10; top: 0px; left: 0px; height: 48px; width: 100%; background: rgba(34,34,34,0.95); font-family: 'Open Sans', sans-serif; font-weight: 600; transition: 0.5s all; }
.header-wrap              { position: relative; margin: 0 auto; height: 48px; width: 1800px; }
.header-mobile-menu       { display: none; }

.header-logo              { position: absolute; top: 12px; left: 15px; height: 28px; width: auto; }
.header-button-wrapper    { position: absolute; bottom: 0px; right: 10px; }
.header-button            { position: relative; margin: 0 10px; float: left; user-select: none; cursor: pointer; color: white; font-size: 18px; font-weight: 600; line-height: 48px; transition: 0.2s all; }
.header-button:hover      { color: #ADD1FC }
.header-button-spread     { margin: 16px 10px 0 10px; height: 18px; width: 1px; float: left; background: #aaa; }

.header-nick              { max-width: 100px; overflow: hidden; font-size: 14px; font-weight: 300; text-transform: uppercase; text-overflow: ellipsis; white-space: nowrap; transition: color 0.5s, max-width 2s; }
.header-nick:hover        { max-width: 1000px; }
.header-logout            { position: relative; margin: 0 5px; float: left; user-select: none; cursor: pointer; color: #777; font-size: 14px; font-weight: 600; line-height: 48px; transition: 0.2s all; }
.header-logout:hover      { color: #aaa }

/* ###   Footer   ### */
.footer                   { position: relative; padding: 10px 20px; margin: 50px auto 0 auto; width: calc(100% - 40px); font-family: 'Open Sans', sans-serif; font-size: 25px; text-align: left; background: #2a2d38; box-shadow: 0 -5px 10px #0000004d; }
.footer-wrap              { margin: 10px auto; max-width: 1200px; width: calc(100% - 40px); }
.footer-logo              { margin-top: 10px; height: 30px; width: auto }
.footer-icon              { position: relative; margin-left: 10px; padding-top: 13px; float: right; color: #b1b1b1; transition: 0.5s all; }
.footer-icon-fb:hover       { color: #5b79b8; }
.footer-icon-twitter:hover  { color: #65bcfe; }
.footer-icon-reddit:hover   { color: #ff4500; }

/* ###   Showcase   ### */
.showcase                 { position: relative; overflow: hidden; height: 200px; width: 100%; }
.showcase-image           { position: absolute; top: -10%; left: -10%; height: 120%; width: 120%; background: url('http://res.frozent.pl/live/backgrounds/allyt_background.jpeg'); background-size: cover; background-position: right; background-repeat: no-repeat; filter: blur(3px); }

/* ###   Wrap   ### */
.wrap                     { position: relative; min-height: calc(100vh - 342px); width: 100%; border-top: 5px solid #3A718C; background: #fdfdfd; }
.wrap-centerize           { position: relative; margin: 20px auto 0 auto; margin-top: 20px; width: 1200px; }
.wrap-header              { position: relative; z-index: 1; margin: 0 auto 10px auto; padding: 10px 0; width: calc(100% - 60px); color: black; font-family: 'Titillium Web', sans-serif; font-size: 26px; letter-spacing: 3px; }


.card { position: relative; display: inline-block; height: 260px; width: calc(25% - 12px); min-width: 240px; margin: 5px; background: #dee0e1; overflow: hidden; box-shadow: 0 10px 10px -10px rgba(123,123,123,0.5); border-bottom: 3px solid #577AB0; }
.card-icon { position: absolute; top: 31px; left: calc(50% - 25px); width: 48px; height: 48px; border-radius: 24px; background-size: cover; border: 1px solid rgba(123,123,123,0.25); box-shadow: 0 10px 10px -10px rgba(123,123,123,0.5); }
.card-back { position: absolute; top: 0; left: 0; height: 56px; width: 100%; background-size: cover; background-position: center; box-shadow: 0 10px 10px -10px rgba(123,123,123,0.5); } 
.card-nick { font-family: 'Open Sans', sans-serif; color: black; font-size: 18px; font-weight: 700; position: absolute; top: 84px; left: 0; width: 100%; text-align: center; }
.card-video { font-family: 'Open Sans', sans-serif; font-size: 14px; float: left; position: relative; width: calc(33.33% - 10px); margin: 5px; text-align: center; color: #577AB0; }
.card-subs { font-family: 'Open Sans', sans-serif; font-size: 14px; float: left; position: relative; width: calc(33.33% - 10px); margin: 5px; text-align: center; color: #577AB0; }
.card-views { font-family: 'Open Sans', sans-serif; font-size: 14px; float: left; position: relative; width: calc(33.33% - 10px); margin: 5px; text-align: center; color: #577AB0; }
.card-label { font-family: 'Open Sans', sans-serif; font-size: 9px; font-weight: 700; color: #777 }
.card-desc { font-family: 'Open Sans', sans-serif; position: absolute; margin: 10%; width: 80%; text-align: center; color: #54626f; font-size: 13px; top: 110px; height: 80px; display: flex; justify-content: center; align-items: center; }
.card-bottom { position: absolute; bottom: 0px; left: 15px; width: calc(100% - 30px); text-align: center; }
.card-social { width: 100%; text-align: center; position: absolute; top: 110px; }
.card-social-icon { position: relative; display: inline-block; font-size: 14px; color: #959595; margin: 5px; transition: 0.2s color }
.card-social-icon:hover { color: #595eaf }
.card-social-icon-empty { position: relative; display: inline-block; font-size: 14px; color: #cbcbcb; margin: 5px; }

/* ###   Desktop (from 971px to 1800px width)   ### */
@media (max-width: 1800px) and (min-width: 971px){
    /* ###   Header   ### */
    .header-wrap       { position: relative; margin: 0 auto; height: 48px; width: 100%; }
    /* ###   Wrap   ### */
    .wrap-header       { width: calc(100% - 60px) }
}
/* ###   Small Desktops (from 1001px to 1200px width)   ### */
@media (max-width: 1200px) and (min-width: 1001px){
    /* ###   Header   ### */
    .header-wrap       { position: relative; margin: 0 auto; height: 48px; width: 100%; }
    /* ###   Footer   ### */
    .footer-wrap       { width: calc(100% - 80px) }
    /* ###   Wrap   ### */
    .wrap-centerize    { width: 100%; }
}
/* ###   Tablet (from 768px to 1000px width)   ### */
@media (max-width: 1000px) and (min-width: 768px){
    /* ###   Header   ### */
    .header-wrap       { position: relative; margin: 0 auto; height: 48px; width: 100%; }
    .header-logo       { position: absolute; z-index: 9; top: 13px; left: 13px; height: 22px; width: auto; }
    /* ###   Footer   ### */
    .footer-wrap       { width: calc(100% - 80px); }
    /* ###   Wrap   ### */
    .wrap-centerize    { width: 100%; }
}
/* ###   Phones (from 120px to 767px width)   ### */
@media (max-width: 767px) and (min-width: 120px){
    /* ###   Header   ### */
	.header                { position: fixed; z-index: 10; top: 0px; left: 0px; height: 54px; width: 100%; background: rgba(34,34,34,0.95); transition: 0.5s all; }
	.header-wrap           { position: relative; margin: 0 auto; height: 54px; width: 100%; }
	.header-logo           { position: absolute; z-index: 9; top: 15px; left: 10px; height: 24px; width: auto; }
    .header-button-wrapper { position: absolute; bottom: 0px; right: 90px; }
    .header-mobile-menu    { position: absolute; display: inline-block; cursor: pointer; top: -45px; right: -65px; color: white; font-size: 24px; }
	.header-button, .header-nick, .header-button-spread, .header-logout { display: none; }
    /* ###   Menu for mobiles   ### */
    .mobile-menu               { position: fixed; z-index: 10; top: 52px; left: 0; right: 0; }
	.mobile-menu-button        { position: relative; display: none; user-select: none; cursor: pointer; overflow: hidden; padding: 10px 15px; width: calc(100% - 30px); float: left; color: white; font-family: 'Open Sans', sans-serif; font-size: 24px; font-weight: 600; text-align: center; white-space: nowrap; background: rgba(50,50,50,0.95); border-bottom: 1px solid #111; transition: 0.5s all; }
	.mobile-menu-button-login  { position: relative; display: none; user-select: none; cursor: pointer; overflow: hidden; padding: 15px 15px; width: calc(100% - 130px); float: left; color: white; font-family: 'Open Sans', sans-serif; text-overflow: ellipsis; line-height: 24px; white-space: nowrap; text-transform: uppercase; text-align: center; white-space: nowrap; background: rgba(35,35,35,0.95); border-bottom: 1px solid #111; transition: 0.5s all; }
	.mobile-menu-button-logout { position: relative; display: none; user-select: none; cursor: pointer; overflow: hidden; padding: 15px 15px; width: 70px; float: left; color: white; font-family: 'Open Sans', sans-serif; font-weight: 300; line-height: 24px; text-align: center; white-space: nowrap; background: rgba(20,20,20,0.95); border-bottom: 1px solid #111; transition: 0.5s all; }
    /* ###   Footer   ### */
    .footer               { padding: 5px 20px; }
    .footer-wrap          { margin: 0 auto; padding: 5px 10px; width: calc(100% - 40px); }
	.footer-logo          { margin-top: 10px; height: 20px; width: auto }
    .footer-icon          { font-size: 18px; }
    /* ###   Wrap   ### */
    .wrap                 { min-height: calc(100vh - 312px); }
    .wrap-centerize       { width: 100%; }
}