* {margin:0;
padding:0;
text-decoration: none;
font-family: 'arial';}

body {background: #444;}

h1, .logotype, header nav a  {text-shadow: 1px 1px 2px black;}

header 
{background: #222 linear-gradient(to bottom, #151515 0%, transparent 90%); 
border-bottom: 1px #444 solid; }
header
{display: flex;
justify-content: space-around; 
flex-wrap: wrap;}

h1, .logotype
{color: #ff9001;
font-weight: bold; 
font-size: 1.6em;
line-height: 1.3em;
padding: 0.4em 20px;
width: 275px;}
h1 b, .logotype b {color:#ddd;text-shadow:none}

h1 strong, .logotype strong {color:black;font-size:90%;background:#ff9001;padding:.2rem;border-radius:4px;text-shadow:none}
header nav {display: flex;
align-items: stretch;
flex-basis:45%;}

header nav a, header nav label {flex:1; border-right: 1px black solid;
border-left: 1px #333 solid;
line-height: 2.6em; text-align: center;
font-size: 1.3em;
max-height: 2.6em;
white-space: nowrap;
overflow: hidden;
color: #aaa; padding: 0 10px;}
header nav label {display: none;}
header nav a:hover {background: #111; transition: .1s; color: #ff9001;}
header nav a:first-child {box-shadow: -1px 0 0 black;} header nav a.ch {box-shadow: 1px 0 0 #333;} header nav label {box-shadow: 1px 0 0 #333;} 
header nav a:first-letter {text-transform: uppercase;}
header div {display:flex; align-items: center;padding: 0 10px;}
input,button  {background: #151515;
padding: 10px;border:none; } 
input {color: red; border-radius: 8px 0 0 8px;
border: 1px #333 solid;border-right: none;}
button { color: red; border-radius: 0 8px 8px 0;
border: 1px #333 solid;
border-left: none;cursor: pointer;}
button span {background: #999; border-radius: 3px;
padding: 5px 8px; color: black;
box-shadow: inset 0 -8px 10px #222, 1px 1px 1px black;text-shadow: 0 1px 0 #aaa;}
button:hover span { box-shadow: inset 0 -8px 10px #008500;
background: #ff9001; text-shadow: 0 1px 0 #67E667; transition: .2s; }
section {background: #5a5a5a;
border-top: 1px #111 solid;
display: flex; 
justify-content: space-between;
padding: 5px 10px; 
box-shadow: 0 1px 3px black;}

section h1 {width: 100%; color: black; text-align: center; text-shadow: none; line-height: .8em;}

section nav a { color: #777;
text-transform: uppercase;
background: #222; border-radius: 5px; padding: 8px 12px;
box-shadow: inset 0 -8px 3px black, 1px 1px 1px black;
border: 1px #333 solid; font-size: .9em; line-height: 2.8em;
white-space: nowrap;}
section nav a:hover {transition: .2s; color: #ff9001;}
 .ct {display: none;}


#player { display:block;
width: 80%; background: black;
padding: 10px; margin: 20px calc(10% - 10px);}

main {width: 99%; margin: 0 auto; max-width: 1660px;
padding-top: 10px; display: flex;
justify-content: space-between; flex-wrap: wrap;}
main a {height:0; padding: 0px 4px; 
width: calc(19.4% - 6px);
padding-top:calc(19.4%/1.5);
padding-bottom: 1.8em ;
margin-bottom: 6px; 
position: relative; 
font: 1em/1.8em 'arial'; overflow: hidden;}
main a img  { width: calc(100% - 8px);
height: calc(100% - 1.8em - 5px); 
position: absolute; top: 4px; left:4px;}
main a {border-radius: 4px; background: #111;
box-shadow: inset 0 -100px 40px #222, 1px 1px 2px #000;
border: 1px #333 solid;   color: #777;  } main a:hover {color: #ff9001;}

footer {display:block; width:100%; text-align:center; }
footer a {background: none; display: block;
margin: 20px 0; padding: 0 0 20px 0; color: #999;}

@media screen and (max-width: 1280px) { main a { width: calc(24.6% - 10px);
 padding-top:calc(24.6%/1.5); } }
@media screen and (max-width: 960px)  { main a {  width: calc(32.1% - 6px);
 padding-top:calc(32.8%/1.5); } }
@media screen and (max-width: 540px)  { main a {  width: calc(48.6% - 6px);
 padding-top:calc(49%/1.5); } }

@media all and (max-width: 1050px) {header { justify-content: space-around;}   
    header nav {flex-basis:none;
width: calc(100% - 280px);} 
 header nav a {white-space: nowrap;
 flex: auto;} 
 header nav label {flex: auto;}
header div {  align-items: stretch; margin: 10px 0;}

}
@media all and (max-width: 1050px) {section nav:first-child {display: none;}
 section {justify-content: center;}}

@media all and (max-width: 760px) {h1 {width: 100%;
 text-align: center;} 
 header nav .link{display:none;}  
.ct {display: block;}}