/* ###   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   ### */
@keyframes fade-in {
	0%             { opacity: 0; }
	100%           { opacity: 1; }
}
.showcase          { position: relative; height: 100vh; width: 100%; background: url('http://res.frozent.pl/m/about/about_back-min.jpg'); background-size: cover; background-position: center 0px; background-repeat: no-repeat; }
.showcase-text     { position: absolute; bottom: 50px; left: 0; width: 100%; color: white; font-family: 'Poiret One', cursive; font-size: 2vw; text-align: center; animation: fade-in 1s linear; }
.showcase-image    { margin-top: 15px; height: 5vw; animation: fade-in 2.5s linear; }

/* ###   Wrap   ### */
.wrap              { position: relative; top: 0; width: 100%; border-top: 5px solid #30395a; background: #fdfdfd }
.wrap-centerize    { position: relative; margin: 50px auto 0 auto; width: 1200px; }
.wrap-text         { padding: 20px; font-family: 'Open Sans', sans-serif; font-size: 20px; font-weight: 700; text-align: center; }
.wrap-header       { position: relative; z-index: 1; clear: both; margin: 0 auto 20px auto; padding: 10px 0 10px 20px; width: calc(100% - 20px); color: black; font-family: 'Open Sans', sans-serif; font-size: 40px; font-weight: 700; border-bottom: 1px solid #ddd; }
.wrap-container-wrap::after { content: " "; display: block; clear: both; height: 0; }

/* ###   Profiles   ### */
.profile           { margin-bottom: 25px; text-align: center; }
.profile::after    { content: " "; display: block; clear: both; height: 0; }
.profile-card      { position: relative; display: inline-block; overflow: hidden; user-select: none; cursor: default; margin: 5px; height: 270px; min-width: 200px; max-width: 290px; width: calc(20% - 20px); }
.profile-back      { position: absolute; top: -10%; left: -10%; height: 120%; width: 120%; background-position: center center; background-size: cover; background-repeat: no-repeat; transition: 0.5s all; }
.profile-image     { position: relative; margin: 20px auto 5px auto; height: 100px; width: 100px; background-position: center center; background-size: cover; background-repeat: no-repeat; border-radius: 50px; box-shadow: 0 2px 10px rgba(0,0,0,1); }
.profile-name      { position: relative; margin: 10px auto 0 auto; color: white; font-family: 'Open Sans', sans-serif; font-weight: 700; font-size: 16px; text-align: center; }
.profile-role      { position: relative; margin: 2px auto; padding-bottom: 3px; color: #F7C873; font-family: 'Open Sans', sans-serif; font-size: 12px; text-align: center; }
.profile-info      { position: relative; margin: 17px auto 0 auto; color: #aaa; font-family: 'Open Sans', sans-serif; font-size: 14px; text-align: center; font-style: italic; }
.profile-line      { position: relative; margin: 5px auto; height: 1px; width: 150px; background: rgba(200,200,200,0.5) }
.profile-card:hover .profile-back { top: -15%; left: -15%; height: 130%; width: 130%; }

.profile-social              { position: relative; margin: 10px 0; width: 100%; font-size: 24px; text-align: center; }
.profile-social-empty        { color: #777; }
.profile-social-icon         { margin: 0 3px; cursor: pointer; color: #eee; text-decoration: none; }
.profile-social-exist        { transition: color 0.3s; }
.profile-social-exist:hover  { color: #FBE1B4; }

/* ###   Wrap container   ### */
.wrap-container         { position: relative; float: left; margin: 10px 10px 20px 10px; padding: 20px; width: calc(50% - 63px); border: 1px solid #e4e4e4; background: #fcfcfc; box-shadow: 0 10px 10px -10px rgba(123,123,123,0.5); }
.wrap-container-title   { margin-bottom: 10px; font-family: 'Open Sans', sans-serif; font-weight: 700; font-size: 28px; }
.wrap-container-text    { font-family: 'Open Sans', sans-serif; font-weight: 300; font-size: 17px; }
.wrap-container-email   { color: #30395a; font-weight: 600; }
.wrap-container-label   { margin: 15px 0 5px 0; color: #444; font-family: 'Open Sans', sans-serif; font-size: 12px; font-weight: 700; }
.wrap-container-notice  { margin: 15px 0 5px 0; padding-right: 10px; color: #bcbcbc; font-family: 'Open Sans', sans-serif; font-size: 12px; font-weight: 700; text-align: right; }
.wrap-container-input   { padding: 5px; width: calc(100% - 12px); color: black; font-family: 'Open Sans', sans-serif; font-size: 16px; border: 1px solid #ccc; background: white; }
.wrap-container-submit  { margin: 5px 0 0 0; padding: 0 10px; width: 100%; cursor: pointer; color: #aaa; font-family: 'Open Sans', sans-serif; font-size: 20px; font-weight: 700; text-align: right; letter-spacing: 1px; border: 0; background: transparent; transition: 0.2s color; }
.wrap-container-submit:hover { color: #30395a; }
.wrap-container-box     { float: left; cursor: pointer; user-select: none; padding: 10px 10px 20px 10px; height: calc(44% - 22px); width: calc(50% - 22px); color: #444; font-size: 80px; text-align: center; transition: 0.15s all; }
.wrap-container-box:hover    { background: #eee; }
.wrap-container-box-icon     { margin: 20px 0 10px 0; }
.wrap-container-box-counter  { font-family: 'Open Sans', sans-serif; font-size: 16px; font-weight: 700; letter-spacing: 1px; }
.wrap-container-box-labal    { font-size: 10px; }
.wrap-container-warning      { margin: 5px 0; color: #f36464; font-size: 18px; }
.wrap-container-success      { margin: 5px 0; color: #4ea86b; font-size: 18px; }

.wrap-container-box-facebook          { background-position: 200px 200px; border-bottom: 1px solid #ccc; border-right: 1px solid #ccc; }
.wrap-container-box-facebook:hover    { color: rgba(59,89,152,1); background-color: rgba(0,0,0,0); background-image: linear-gradient(to bottom right,rgba(0,0,0,0) 50%,rgba(59,89,152,0.2)); background-repeat: no-repeat; background-position: 0 0; }
.wrap-container-box-twitter           { background-position: -200px 200px; border-bottom: 1px solid #ccc; border-left: 1px solid #ccc; }
.wrap-container-box-twitter:hover     { color: rgba(0,172,237,1); background-color: rgba(0,0,0,0); background-image: linear-gradient(to bottom left,rgba(0,0,0,0) 50%,rgba(0,172,237,0.2)); background-repeat: no-repeat; background-position: 0 0; }
.wrap-container-box-steam             { background-position: 200px -200px; border-top: 1px solid #ccc; border-right: 1px solid #ccc; }
.wrap-container-box-steam:hover       { color: rgba(0,0,0,1); background-color: rgba(0,0,0,0); background-image: linear-gradient(to top right,rgba(0,0,0,0) 50%,rgba(0,0,0,0.2)); background-repeat: no-repeat; background-position: 0 0; }
.wrap-container-box-reddit            { background-position: -200px -200px; border-top: 1px solid #ccc; border-left: 1px solid #ccc; }
.wrap-container-box-reddit:hover      { color: rgba(255,69,0,1); background-color: rgba(0,0,0,0); background-image: linear-gradient(to top left,rgba(0,0,0,0) 50%,rgba(255,69,0,0.2)); background-repeat: no-repeat; background-position: 0 0; }

/* ###   Desktop (from 1221px to 1800px width)   ### */
@media (max-width: 1800px) and (min-width: 1221px){
    /* ###   Header   ### */
    .header-wrap       { position: relative; margin: 0 auto; height: 48px; width: 100%; }
}
/* ###   Small Desktops (from 1001px to 1220px width)   ### */
@media (max-width: 1220px) and (min-width: 1001px){
    /* ###   Header   ### */
    .header-wrap       { position: relative; margin: 0 auto; height: 48px; width: 100%; }
    /* ###   Wrap   ### */
    .wrap-centerize    { width: 100%; }
    /* ###   Footer   ### */
    .footer-wrap       { width: calc(100% - 80px); }
}
/* ###   Tablets (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%; }
    /* ###   Wrap   ### */
    .wrap-centerize    { width: 100%; }
    /* ###   Footer   ### */
    .footer-wrap       { width: calc(100% - 80px); }
}
/* ###   Fixes   ### */
@media (max-width: 420px) and (min-width: 120px){
	.profile-card        { max-width: 1000px; width: calc(100% - 20px); }
}
@media (max-width: 767px) and (min-width: 421px){
	.profile-card        { max-width: 1000px; width: calc(50% - 20px); }
}
/* ###   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; }
    /* ###   Showcase   ### */
    .showcase-text         { bottom: 25px; font-size: 20px; }
    .showcase-image        { height: 40px; }
    /* ###   Wrap   ### */
    .wrap-centerize        { position: relative; margin: 20px auto 0 auto; width: 100%; }
	.wrap-text             { font-size: 16px; }
    /* ###   Wrap container   ### */
    .wrap-container              { margin-bottom: 5px; height: auto; width: calc(100% - 62px); }
    .wrap-container-box          { height: auto; }
	.wrap-container-box-icon     { margin: 30px 0 20px 0; font-size: 60px; }
	.wrap-container-box-counter  { font-size: 18px; }
    /* ###   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; }
}