@charset "UTF-8";

/*Nullstyle*/

* {
  padding: 0;
  margin: 0;
  border: 0;
}

*, *:before, *:after {
  box-sizing: border-box;
}

:focus, :active {
  outline: none;
}

a:focus, a:active {
  outline: none;
}

nav, footer, header, aside {
  display: block;
}

html, body {
  height: 100%;
  width: 100%;
  font-size: 100%;
  line-height: 1;
  font-size: 14px;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

input, button, textarea {
  font-family: inherit;
}

input::-ms-clear {
  display: none;
}

button {
  cursor: pointer;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

a, a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*--------------------*/

@font-face {
  font-family: "Press Gothic";
  src: url("../fonts/Press Gothic Regular.eot");
  src: local("☺"), url("../fonts/Press Gothic Regular.woff") format("woff"), url("fonts/Press Gothic Regular.ttf") format("truetype"), url("fonts/Press Gothic Regular.svg") format("svg");
  font-weight: 400;
  font-style: normal;
}

html {
  font-size: 15px;
}

body {
  background-color: #000;
  color: #fff;
  font-family: "Press Gothic";
  font-weight: 400;
  background-image: url(../img/bg-image/last-of-us__bg-image.jpg);
  background-position: 50% 60%;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

a {
  font-family: Times New Roman;
  color: white;
}

.navbar {
  float: right;
  padding: 10px;
  display: flex;
  align-items: center;
}

.list {
  display: flex;
  justify-content: space-around;
  position: relative;
}

.list-link__img {
  display: inline-block;
  padding: 10px;
  height: 84.5px;
}

.list-link__img > img {
  width: 300px;
}

.list-link:focus {
  outline: 1px solid #fff;
}

.list-item__img:hover .list-link__img:after {
  content: "";
  display: inline-block;
  width: 300px;
  height: 3px;
  background-color: #fff;
  position: absolute;
  top: 85px;
  right: 9px;
}

.menu {
  position: relative;
  padding: 8px;
}

.menu-input,
.more-input {
  position: absolute;
  z-index: -1;
  opacity: 0;
}

.menu-input:focus + .menu-label {
  outline: 1px solid #fff;
  cursor: pointer;
}

.menu-input:checked ~ .menu-inside {
  display: flex;
}

.menu-label {
  padding: 8px;
  display: block;
  cursor: pointer;
}

.menu-inside {
  display: none;
  justify-content: center;
  align-self: flex-end;
  flex-wrap: wrap;
  background-color: rgba(8, 8, 8, 0.5);
  position: absolute;
  right: -50%;
  z-index: 1;
  overflow-y: scroll;
  margin-top: 20px;
  width: 320px;
  height: 300px;
  padding: 20px;
  border: 1px solid #fff;
  border-radius: 10px;
}

.menu-inside__link,
.more-list__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 4px;
  padding: 5px;
  height: 80px;
  width: 70px;
}

.menu-inside__link:focus,
.more-list__link:focus {
  outline: 1px solid #fff;
}

.menu-inside__link > p,
.more-list__item > p {
  margin-top: 10px;
}

.hidden,
.button {
  display: none;
}

.button {
  padding: 0;
  margin: 0;
  width: 100%;
  margin-right: 15px;
}

.btn {
  background-color: red;
  width: 100%;
  text-align: center;
  margin-top: 10px;
  padding: 10px 0;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 15px;
}

.more-input:focus + .more-label {
  background-color: blue;
  transition: background-color 1s;
  transition-timing-function: easy-in-out;
}

.more-input:checked ~ .more-label {
  display: none;
}

.more-input:checked ~ .more-block .hidden {
  display: flex;
  justify-content: center;
}

.more-input:checked ~ .more-block .button {
  display: flex;
}

.more-label {
  display: flex;
  font-weight: bold;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  width: 250px;
  height: 30px;
  background-color: rgba(255, 255, 255, 0.7);
  font-family: "Times New Roman";
  letter-spacing: 1px;
}

.more-list {
  display: flex;
  flex-wrap: wrap;
  margin-left: 20px;
}

.more-kottans:focus {
  outline: 1px solid #fff;
}

.visually-hidden {
  position: absolute !important;
  clip: rect(1px 1px 1px 1px);
  /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0 !important;
  border: 0 !important;
  height: 1px !important;
  width: 1px !important;
  overflow: hidden;
}
