/*
Theme Name: np-01
Theme URI: https://nostalgia-productions.co.uk/
Description: Nostalgia Productions
Version: 1.4
Author: AB Media Solutions
Author URI: https://www.abmediasolutions.co.uk/
*/
@import url("css/reset.css");
@import url("https://fonts.googleapis.com/css2?family=Itim&family=Lato:wght@400;700&family=Rubik:wght@700&display=swap");
/*
font-family: 'Itim', cursive;
font-family: 'Lato', sans-serif;
font-family: 'Rubik', sans-serif;
*/
:root {
  --admin-bar-height: 0px;
  --header-height:87px;
  --transition: all 250ms ease-in-out;
  --padding: 60px;
  --max-width: 1500px;
  --col-1-width: 400px;
  --animation-speed: 500ms;
}

:root .logged-in {
  --admin-bar-height: 32px;
}

@media screen and (max-width: 782px) {
  :root .logged-in {
    --admin-bar-height: 46px;
  }
}
@media screen and (max-width: 1000px) {
  :root {
    --padding: 30px;
  }
}
body {
  min-height: calc(100vh - var(--admin-bar-height) + 1px);
  background: url("img/bg.jpg") no-repeat fixed;
  background-size: cover;
  font-family: "Lato", sans-serif;
  font-size: 15px;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #EAECE7;
}

::-webkit-scrollbar-thumb {
  background-color: #979797;
  border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #007B95;
}

a {
  text-decoration: none;
  color: #838383;
}

a:hover {
  text-decoration: underline;
}

#wpadminbar {
  position: fixed;
}

.logo {
  width: 100%;
  height: auto;
  position: sticky;
  top: var(--admin-bar-height);
  background: url("img/bg.jpg") no-repeat fixed;
  background-size: cover;
  z-index: 1;
  padding: calc(var(--padding) / 2) 0;
}

.logo-mobile {
  display: none;
}

@media screen and (max-width: 1000px) {
  .logo {
    display: none;
  }
  .logo-mobile {
    display: inline-block;
    width: 200px;
    height: auto;
    position: fixed;
    top: var(--admin-bar-height);
    background: transparent;
    padding: calc(var(--padding) / 2) 0;
    z-index: 1;
  }
}
.logo img {
  width: 100%;
}

/*Layout*/
header {
  position: sticky;
  top: var(--admin-bar-height);
  background: url("img/bg.jpg") no-repeat fixed;
  background-size: cover;
  width: 100%;
  max-width: var(--max-width);
  margin: auto;
  height: var(--header-height);
  z-index: 1;
}

.header-contact {
  position: absolute;
  top: calc(var(--padding) / 2);
  right: var(--padding);
  text-align: right;
  font-family: "Lato", sans-serif;
}

@media screen and (max-width: 1230px) {
  .header-contact {
    left: var(--col-1-width);
    margin-left: var(--padding);
    text-align: left;
  }
}
@media screen and (max-width: 1000px) {
  .header-contact {
    display: none;
  }
}
.header-contact a {
  margin-left: calc(var(--padding) / 8);
}

.header-contact span {
  display: inline-block;
}

@media screen and (max-width: 1360px) {
  .header-contact span {
    display: none;
  }
}
@media screen and (max-width: 1230px) {
  .header-contact span {
    display: inline-block;
  }
}
.layout-wrap {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  top: calc(var(--header-height) + var(--admin-bar-height));
  background: url("img/bg.jpg") no-repeat fixed;
  background-size: cover;
  max-width: var(--max-width);
  min-height: calc(100vh - var(--admin-bar-height) - var(--header-height));
  margin: 0 auto 0 auto;
}

@media screen and (max-width: 1000px) {
  .layout-wrap {
    flex-direction: column;
    justify-content: flex-end;
    gap: var(--padding);
  }
  .home .layout-wrap {
    flex-direction: column-reverse;
    gap: 0;
  }
}
.col-1 {
  padding: 0 0 0 var(--padding);
  flex-basis: var(--col-1-width);
  flex-grow: 0;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--admin-bar-height) - var(--header-height));
  color: #838383;
}

@media screen and (max-width: 1000px) {
  .col-1 {
    padding: 0 var(--padding);
    flex-basis: unset;
    min-height: unset;
  }
}
.col-1 p {
  font-family: "Itim", cursive;
  font-size: 18px;
  margin: calc(var(--padding) / 4) 0;
  line-height: 1.2;
}

.col-1 p:last-of-type {
  margin-bottom: 0;
}

.col-2 {
  padding: 0 var(--padding);
  min-height: calc(100vh - var(--admin-bar-height) - var(--header-height));
  display: flex;
  align-items: flex-start;
  width: 100%;
}

@media screen and (max-width: 1000px) {
  .col-2 {
    padding: 0 var(--padding);
    min-height: unset;
  }
}
.screen {
  margin-top: 60px;
  position: relative;
}

@media screen and (max-width: 1000px) {
  .screen {
    margin-top: 0;
  }
}
.col-2 .screen img:not(.play-icon) {
  width: 100%;
  height: auto;
}

/*END Layout*/
/*Nav*/
nav {
  text-transform: uppercase;
  margin-left: var(--col-1-width);
}

@media screen and (max-width: 1230px) {
  nav {
    display: none;
    position: fixed;
    background: url("img/bg.jpg") no-repeat fixed;
    background-size: cover;
    width: 100vw;
    height: 100vh;
    margin-left: 0;
    text-align: center;
  }
}
nav ul {
  display: flex;
  list-style: none;
  gap: 40px;
  font-family: "Lato", cursive;
  font-size: 18px;
  padding: calc(var(--padding) / 2) calc(var(--padding) / 2) calc(var(--padding) / 2) var(--padding);
}

@media screen and (max-width: 1360px) {
  nav ul {
    gap: 20px;
  }
}
@media screen and (max-width: 1230px) {
  nav ul {
    flex-direction: column;
    gap: 50px;
    height: calc(100vh - var(--admin-bar-height));
    justify-content: center;
  }
}
nav ul li a {
  text-decoration: none;
  color: #838383;
  transition: all var(--animation-speed) ease-in-out;
}

nav ul li a:hover, nav ul li.current_page_item a {
  color: #000;
  font-weight: bold;
  text-decoration: underline;
  text-underline-position: under;
}

/*END Nav*/
/*hamburger*/
.hamburger-icon {
  position: absolute;
  right: var(--padding);
  top: calc(var(--padding) / 2);
  z-index: 200000000;
  width: 24px;
  height: 24px;
  margin: 0 auto;
  transform: rotate(0deg);
  transition: var(--transition-time) ease-in-out;
  cursor: pointer;
  display: none;
}

@media screen and (max-width: 1000px) {
  .hamburger-icon {
    top: 35px;
  }
}
@media screen and (max-width: 1230px) {
  .hamburger-icon {
    display: block;
  }
}
.hamburger-icon span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: black;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 250ms ease-in-out;
}

.hamburger-icon span:nth-child(1) {
  top: 0;
}

.hamburger-icon span:nth-child(2), .hamburger-icon span:nth-child(3) {
  top: 7px;
}

.hamburger-icon span:nth-child(4) {
  top: 14px;
}

.hamburger-icon.open span:nth-child(1) {
  top: 20px;
  width: 0;
  left: 50%;
}

.hamburger-icon.open span:nth-child(2) {
  transform: rotate(45deg);
}

.hamburger-icon.open span:nth-child(3) {
  transform: rotate(-45deg);
}

.hamburger-icon.open span:nth-child(4) {
  top: 14px;
  width: 0;
  left: 50%;
}

/*END hamburger*/
/*blog/portfolio*/
h1 {
  font-weight: bold;
  font-size: 36px;
  font-family: "Rubik", sans-serif;
  color: #1E464A;
  line-height: 1.1;
}

.posts {
  background: rgba(255, 255, 255, 0.4);
  border: solid 1px #e5e5e5;
  padding: var(--padding);
  display: flex;
  align-items: flex-start;
  gap: var(--padding);
}

@media screen and (max-width: 1300px) {
  .posts {
    flex-direction: column;
    gap: var(--padding);
  }
}
.post-content, .page-content {
  color: #656565;
  letter-spacing: 1px;
}

.post-content h2, .page-content h2 {
  font-family: "Lato", sans-serif;
  font-weight: bold;
  font-size: 18px;
  line-height: 1.1;
  margin: calc(var(--padding) / 4) 0;
}

.post-content p, .page-content p {
  margin: calc(var(--padding) / 4) 0;
}

.post-content p:last-of-type, .page-content p :last-of-type {
  margin-bottom: 0;
}

.post-content img, .page-content img {
  width: 100%;
  height: auto;
}

.post-content ul li .page-content ul li {
  margin-left: -20px;
  margin-bottom: calc(var(--padding) / 4);
}

/*END blog/portfolio*/
/*pages*/
/*END pages*/
/*side bar*/
.side-bar {
  flex-basis: 20%;
}

/*END side bar*/
/*search*/
.side-bar #searchform {
  position: sticky;
  top: 180px;
}

.side-bar #searchform input {
  border: none;
}

.side-bar #searchform div {
  display: flex;
}

.side-bar #searchform input#s {
  flex-basis: calc(100% - 56px);
}

#searchsubmit {
  background-color: #3B3B3B;
  color: #ffffff;
  flex-basis: 56px;
}

.posts:has(.results) {
  width: 100%;
}

.results {
  width: 100%;
}

.results a {
  display: block;
}

.results-text {
  font-size: 24px;
  margin-bottom: calc(var(--padding) / 2);
}

/*END search*/
.videos {
  display: flex;
  flex-wrap: wrap;
  gap: var(--padding);
}

.videos a {
  flex-basis: calc(50% - var(--padding) / 2);
}

@media screen and (max-width: 1300px) {
  .videos a {
    flex-basis: 100%;
  }
}
.videos a:hover {
  text-decoration: none;
}

.videos a img:not(.play-icon) {
  width: 100%;
  height: auto;
  transition: all 250ms ease-in-out;
}

.videos a:hover img {
  scale: 102%;
}

.videos h2.post-title {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 2px;
  margin-top: 10px;
}

.videos p {
  font-size: 14px;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
  transition: all 500ms ease-in-out;
  height: 100px;
  width: 100px;
}

@media screen and (max-width: 1000px) {
  .play-icon {
    height: 50px;
    width: 50px;
  }
}
.screen .play-icon {
  top: 45%;
}

.screen:hover .play-icon {
  opacity: 1;
}

section#player {
  position: fixed;
  width: 100%;
  height: 100%;
  bottom: 0;
  background: url("img/loader.svg") no-repeat center center, rgba(0, 0, 0, 0.8);
  display: none;
  z-index: 10000;
  align-items: center;
  padding: var(--padding);
}

section#player div {
  margin: auto;
  padding: 0;
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 1500px;
}

section#player iframe {
  width: 100%;
  border: none;
}

iframe {
  box-shadow: 10px 10px 70px 0 rgba(0, 0, 0, 0.47);
  overflow: hidden;
}

section#player a.close {
  fill: #ffffff;
  position: absolute;
  top: 30px;
  right: 30px;
  height: 40px;
  width: 40px;
  opacity: 0.6;
  transition: all 250ms ease-in-out;
  z-index: 100000;
}

section#player a.close:hover {
  opacity: 1;
}

/*Footer*/
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
}

.footer-wrap {
  max-width: var(--max-width);
  background: url("img/bg.jpg") no-repeat fixed;
  background-size: cover;
  margin: auto;
  padding: calc(var(--padding) / 4) var(--padding);
  font-family: "Lato", cursive;
  font-size: 14px;
}

@media screen and (max-width: 1000px) {
  .footer-wrap {
    font-size: 12px;
  }
}
.footer-wrap span:not(.footer-contact span) {
  margin-right: calc(var(--padding) / 8);
  display: inline-block;
  white-space: nowrap;
}

.footer-contact {
  display: none;
  position: relative;
  text-align: left;
  font-family: "Lato", sans-serif;
}

@media screen and (max-width: 1000px) {
  .footer-contact {
    display: block;
  }
}
.footer-contact div {
  display: inline-block;
  white-space: nowrap;
}

/*END Footer*/

/*# sourceMappingURL=style.css.map */
