* {
  outline: none;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: #fafafc;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 14px;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  color: #222;
}

img {
  max-width: 100%;
}

a {
  color: #161616;
  text-decoration: none;
}
a:hover {
  color: #f5837b;
  text-decoration: underline;
}

h1, h2, h3 {
  margin: 10px 0;
  font-size: 20px;
  font-weight: 500;
  color: #161616;
  line-height: normal;
  text-transform: uppercase;
}
h1 small, h2 small, h3 small {
  font-size: 16px;
  font-weight: 400;
  color: #222;
}

.input {
  width: 100%;
  height: 32px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 3px;
  background-color: #f2f2f7;
  box-sizing: border-box;
  font-size: 14px;
  color: #333;
  -webkit-appearance: none;
}
.input:focus {
  border-color: #f5837b;
}

.btn {
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  display: inline-block;
  border: 0;
  border-radius: 3px;
  box-sizing: border-box;
  background-color: #ebebed;
  font-size: 14px;
  font-weight: 500;
  color: #161616;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  line-height: 32px;
}
.btn:hover {
  background-color: #f5837b;
  color: #fff;
  text-decoration: none;
}
.btn.btn-alt {
  background-color: #f5837b;
  color: #fff;
}
.btn.btn-alt:hover {
  opacity: 0.8;
}
.btn[disabled] {
  pointer-events: none;
}

.wrapper {
  min-height: 100vh;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
          flex-direction: column;
}

.porn-content {
  -webkit-flex-grow: 1;
          flex-grow: 1;
}
.porn-content > .container {
  max-width: 1920px;
}

.container {
  width: 100%;
  max-width: 1298px;
  margin: 0 auto;
  padding: 0 10px;
  box-sizing: border-box;
}

.porn-header {
  padding: 10px 0;
  background-color: #221f30;
  color: #fff;
}
.porn-header a {
  color: #fff;
}
.porn-header .container {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-align-items: center;
          align-items: center;
}
.porn-header .btn:not(.btn-alt) {
  background-color: #37324a;
  color: #fff;
}
.porn-header .btn:not(.btn-alt):hover {
  background-color: #f5837b;
}

.logo {
  width: 118px;
  height: 45px;
  -webkit-flex-shrink: 0;
          flex-shrink: 0;
}
.logo img {
  display: block;
}

.nav {
  margin: 0 0 0 12px;
  padding: 0 0 0 15px;
  border-left: 1px solid #37324a;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-flex-grow: 1;
          flex-grow: 1;
  -webkit-align-items: center;
          align-items: center;
  -webkit-justify-content: space-between;
          justify-content: space-between;
}
.nav ul {
  margin: 0;
  padding: 0;
  display: -webkit-flex;
  display: flex;
}
.nav ul li {
  margin: 0 10px 0 0;
  padding: 0;
  list-style: none;
}
.nav ul li:last-child {
  margin-right: 0;
}

.languages, .categories {
  width: auto;
  min-width: 160px;
  background-image: url(../images/select.png);
  background-position: right;
  background-repeat: no-repeat;
}

.categories {
  display: none;
}

.nav-toggle {
  width: 32px;
  height: 32px;
  margin: 0 0 0 auto;
  display: none;
  background: url(../images/menu.png) no-repeat center;
  background-size: 32px;
  cursor: pointer;
}
.nav-toggle.toggled {
  background-image: url(../images/close.png);
}

.results-pagination {
  margin: 8px auto;
  padding: 0;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-justify-content: center;
          justify-content: center;
  text-align: center;
  line-height: 32px;
}
.results-pagination li {
  margin: 2px;
  padding: 0;
  list-style: none;
}
.results-pagination .btn {
  min-width: 40px;
  height: 40px;
  line-height: 40px;
}
.results-pagination .btn.btn-empty {
  line-height: 38px;
}

.results {
  margin: 10px -3px;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
}

.single {
  width: calc(100% / 4 - 6px);
  margin: 0 3px 6px 3px;
  display: block;
}
.single-preview {
  position: relative;
  padding: 56.25% 0 0 0;
  display: block;
}
.single-preview img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.single-title, .single-tags {
  height: 24px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 24px;
}
.single-title {
  font-size: 16px;
  font-weight: 500;
  text-align: center;
}
.single:hover {
  text-decoration: none;
}
.single:hover .single-preview img {
  outline: 1px solid #f5837b;
  outline-offset: -1px;
}
.single:hover .single-title {
  text-decoration: none;
}

.stream {
  max-width: 1278px;
  margin: 10px auto;
  display: -webkit-flex;
  display: flex;
}
.stream-col {
  -webkit-flex-grow: 1;
          flex-grow: 1;
}
.stream-player {
  position: relative;
  padding: 56.25% 0 0 0;
}
.stream-player > iframe, .stream-player .player-code {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
}
.stream-aside {
  width: 300px;
  margin: 0 0 0 10px;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-flex-direction: column;
          flex-direction: column;
}
.stream-aside > div {
  -webkit-flex-shrink: 0;
          flex-shrink: 0;
  margin-bottom: 10px;
}
.stream-aside > div:last-child {
  margin-bottom: 0;
}

.mobile-blocks {
  width: 300px;
  margin: 10px auto;
  display: none;
}

.desktop-blocks {
  margin: 30px 0;
  height: 250px;
  overflow: hidden;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-justify-content: center;
          justify-content: center;
}
.desktop-blocks .block {
  width: 300px;
  height: 250px;
  margin: 0 5px;
  -webkit-flex-shrink: 0;
          flex-shrink: 0;
}

.porn-footer {
  margin-top: 20px;
  padding: 15px 0;
  background-color: #221f30;
  text-align: center;
  color: #fff;
}
.porn-footer a {
  color: #fff;
}
.porn-footer .container {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
          flex-direction: column;
  -webkit-align-items: center;
          align-items: center;
}
.porn-footer-menu {
  margin: 0;
  padding: 0;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
          justify-content: center;
  -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
}
.porn-footer-menu li {
  margin: 0 10px;
  padding: 0;
  list-style: none;
}
.porn-footer .logo {
  margin: 15px 0;
}
.porn-footer .copyright {
  margin: 0;
}

@media screen and (max-width: 1199px) {
  .single {
    width: calc(100% / 3 - 6px);
  }

  .stream {
    -webkit-flex-direction: column;
            flex-direction: column;
  }
  .stream-aside {
    width: 100%;
    height: 250px;
    margin: 10px 0 0 0;
    overflow: hidden;
    -webkit-flex-direction: row;
            flex-direction: row;
    -webkit-justify-content: center;
            justify-content: center;
  }
  .stream-aside > div {
    margin: 0 5px;
  }
}
@media screen and (max-width: 960px) {
  .container {
    padding: 0 6px;
  }

  .nav {
    margin: 0;
    padding: 10px 0 0 0;
    border: 0;
    display: none;
    -webkit-flex-direction: column;
            flex-direction: column;
  }
  .nav .languages {
    width: 100%;
  }
  .nav .categories {
    width: 100%;
    margin: 10px 0 0 0;
    display: block;
  }
  .nav ul {
    width: 100%;
  }
  .nav ul li {
    margin: 10px 10px 0 0;
  }
  .nav.open {
    display: -webkit-flex;
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .single {
    width: calc(100% / 2 - 6px);
  }
  .single-title {
    font-size: 14px;
  }

  .mobile-blocks {
    display: block;
  }
}
