/*
Theme Name: Cornwall Laser Tag
Author: Jez Watson
Description: 
Version: 1.0
*/
:root { --page-width: 102rem; --purple: #a50388; --body-color: #020912; --font-heading-family: Righteous, sans-serif; --font-body-family: Righteous, sans-serif; }

* { margin: 0; padding: 0; box-sizing: border-box; }

body { font-size: 16.8px; font-family: var(--font-body-family); line-height: 2rem; letter-spacing: 0.65px; background: var(--body-color); color: white; }

h1 { font-weight: 400; }

h2 { font-weight: 400; }

h3 { font-family: var(--font-heading-family); color: var(--purple); font-size: 1.5rem; font-weight: 400; text-transform: uppercase; margin-bottom: 1.25rem; }

a { color: inherit; text-underline-offset: .2rem; text-decoration-thickness: .05rem; transition: text-decoration-thickness .1s ease; }
a:hover { color: #fcfcfc; text-decoration-thickness: .125rem; }

a.button { color: white !important; display: inline-block; background: #a50388; border: 5px solid #a50388; border-radius: 50px; padding: 5px 24px; margin: 1rem 1rem 0 0; text-decoration: none; transition: .05s ease-in-out; }
a.button:hover { transform: translateY(-0.2rem); }
a.button.orange { background: orange; border-color: orange; color: black; }
a.button.trans { background: none; }
a.button.black { color: white; background: black; border: 3px solid black; }

ul { list-style-type: none; }
ul li a { text-decoration: none; }
ul li a:hover { text-decoration: underline; }

p { margin-bottom: 1rem; }

.page-width { width: 100%; max-width: var(--page-width); margin: 0 auto; padding: 0 1.25rem; }

.main-content { padding: 6dvh 0; }

#book-now a { position: fixed; bottom: 40px; right: 40px; background: #e100ff; color: white; padding: 10px 24px; border-radius: 2px; transition: .1s ease-in-out; text-decoration: none; z-index: 200; }
#book-now a:hover { box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.2); transform: translateY(-3px); }

iframe { margin: 1rem 0; }

@keyframes animateAmbient { 0% { transform: rotate(0deg) translateX(1em) rotate(0deg) scale(1.1); }
  100% { transform: rotate(360deg) translateX(1em) rotate(-360deg) scale(1.1); } }
.announce { color: white; background: black; text-align: center; letter-spacing: .1rem; border-bottom: 1px dashed white; }
.announce .announce-content { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.announce a { text-decoration: none; position: relative; }
.announce a:hover { text-decoration: underline; }

.hamburger { background: #020912; color: white; font-size: 2rem; padding: 1rem; display: none; }
.hamburger i { cursor: pointer; }

.nav { color: white; background: #020912; }
.nav.open ul { height: auto; display: block; }
.nav .nav-contents { display: grid; grid-template-columns: 1fr auto 1fr; min-height: 145px; }
.nav ul { align-content: center; }
.nav ul li { display: inline-block; }
.nav ul li.current-menu-item { text-decoration: underline; }
.nav ul li a { font-size: 0.92rem; display: block; padding: 1rem 0; margin-right: 1rem; }
.nav .logo { text-align: center; height: 145px; }
.nav .logo img { max-height: 145px; }

.hero { background-image: url("assets/images/header-default.png"); background-size: cover !important; background-position: center center !important; min-height: 60dvh; margin-top: -145px; display: flex; flex-direction: column; justify-content: center; color: white; }
.hero.home { min-height: 90dvh; }
.hero.home h1 { text-transform: uppercase; font-size: 1.5rem; font-weight: 400; color: #a50388; }
.hero.home h2 { font-size: 4.25rem; line-height: 4.25rem; }
.hero .hero-content { width: 40%; }
.hero h1 { font-size: 48px; margin-bottom: 1.75rem; line-height: 3rem; }
.hero h2 { margin-bottom: 1.75rem; }
.hero a.button:nth-of-type(2n) { background: none; border-color: orange; }

.action-block { display: flex; flex-direction: row; margin: 2rem 0; color: rgba(255, 255, 255, 0.8); }
.action-block.black { background: black; }
.action-block.black a.button { color: black !important; background: white; border-color: white; }
.action-block.black a { color: white; }
.action-block.third .sec { flex-basis: 33.333%; }
.action-block.third .sec:nth-of-type(2n) { flex-basis: 66.666%; }
.action-block h2 { font-size: 3.25rem; line-height: 4rem; margin-bottom: 2rem; color: white; }
.action-block p { margin-bottom: 0.75rem; }
.action-block ul { margin-left: 2rem; margin-bottom: 0.75rem; list-style-type: inherit; color: inherit; }
.action-block a { color: var(--purple); }
.action-block .sec { position: relative; flex-basis: 50%; border: 2px solid white; }
.action-block .sec:nth-of-type(2n) { border-left: none; padding: 6rem 4rem; }
.action-block .sec img { width: 100%; height: 100%; position: absolute; top: 0; left: 0; object-fit: cover; object-position: center center; }
.action-block:nth-of-type(2n) { flex-direction: row-reverse; }
.action-block:nth-of-type(2n) .sec:nth-of-type(2n) { border-right: none; border-left: 2px solid white; }

.homepage h2 { font-size: 3.25rem; color: white; line-height: 4rem; font-weight: 300; margin-bottom: 2rem; }

.main-content.general img { max-width: 100%; height: auto; }

.dowtk { padding: 0; }
.dowtk img { max-width: 200px; margin-top: -100px; }

.exp { color: rgba(255, 255, 255, 0.8); }
.exp h2 { font-size: 2.5rem; line-height: 3rem; font-weight: 300; margin-bottom: 2rem; }

.light { color: rgba(2, 9, 18, 0.75); background: #f5f5f5; display: flex; justify-content: center; text-align: center; }
.light h2 { color: black; }
.light .page-width { max-width: 52.25rem; }
.light a.button.trans { color: var(--purple) !important; }
.light a.button.orange { color: black !important; }

.start { background: black; color: white; }

.box-contain { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.box-contain .box { position: relative; text-align: center; border: 2px solid white; box-shadow: 10px 10px 0px -7px var(--purple); background: #0a0a0a; transition: .05s ease-in-out; aspect-ratio: 1/1.26133; flex-basis: calc(25% - 1rem); }
.box-contain .box:hover { transform: scale(101%); }
.box-contain .box img { width: 100%; max-width: 100%; height: 85%; object-fit: cover; }
.box-contain .box span { display: block; position: absolute; align-content: center; height: 15%; bottom: 0; width: 100%; }
.box-contain .box span:after { content: '\f061'; font-family: "Font Awesome 7 Pro"; font-weight: 300; margin-left: 0.5rem; }
.box-contain .box a { display: block; height: 100%; text-decoration: none; }
.box-contain .box a:hover { color: var(--purple); }

.rev p { max-width: 52rem; }

.reviews { overflow: hidden; margin: 2rem -1.25rem 0; }
.reviews .slide { height: 38rem; width: 100%; position: relative; display: flex !important; justify-content: center; align-items: center; overflow: hidden; }
.reviews .slide .bg { position: absolute; top: 0; left: 0; z-index: -1; background: black; width: 100%; height: 100%; }
.reviews .slide .bg img { width: 100%; height: 100%; opacity: 0.4; object-fit: cover; animation: animateAmbient 30s linear infinite; }
.reviews .slide .text { max-width: 38rem; padding: 1rem; text-align: center; }
.reviews .slide .text p { font-size: 2rem; line-height: 3rem; color: white; }
.reviews .slide .text p.author { font-size: 1.25rem; color: rgba(255, 255, 255, 0.8); }
.reviews .slide .text p.author:before { content: '-'; margin-right: 10px; }

.cycle-caption { width: 100%; height: 4rem; margin: 0 auto; padding: 1rem 0 1rem; text-align: center; border-bottom: 1px solid rgba(255, 255, 255, 0.2); }

#prev, #next { position: absolute; margin-top: 1rem; padding: 0 1rem; cursor: pointer; }
#prev:hover, #next:hover { color: white; }

#prev { left: calc(50% - 4rem); }

#next { right: calc(50% - 4rem); }

.black-box { background: black; text-align: center; padding: 5rem 0; border: 1px solid white; margin-bottom: 10dvh; }
.black-box .inner { max-width: 52.25rem; margin: 0 auto; padding: 0 1rem; }
.black-box h2 { font-size: 3.25rem; line-height: 4rem; margin-bottom: 2rem; }
.black-box p { color: rgba(255, 255, 255, 0.8); margin-bottom: 2rem; }
.black-box a.button { color: black !important; background: white; border: 3px solid white; }

.find-us h2 { font-size: 1.95rem; margin-bottom: 1.75rem; }

.contact h2 { max-width: 48rem; margin: 0 auto 2rem; font-size: 3rem; line-height: 4rem; }

.wpcf7 { display: flex; justify-content: center; margin-bottom: 6dvh; }
.wpcf7 .wpcf7-form { display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; gap: 1rem; width: 100%; max-width: 48rem; }
.wpcf7 .wpcf7-form .wpcf7-form-control-wrap:nth-of-type(1) { grid-row: 1; grid-column: 1; }
.wpcf7 .wpcf7-form .wpcf7-form-control-wrap:nth-of-type(2) { grid-row: 1; grid-column: 2; }
.wpcf7 .wpcf7-form .wpcf7-form-control-wrap { grid-column: span 2; }
.wpcf7 .wpcf7-form .wpcf7-form-control-wrap input, .wpcf7 .wpcf7-form .wpcf7-form-control-wrap textarea { padding: 10px; width: 100%; background: none; color: white; border: 1px solid white; outline: none; font-family: inherit; font-size: 1.25rem; letter-spacing: 1px; }
.wpcf7 .wpcf7-form .wpcf7-form-control-wrap input:focus, .wpcf7 .wpcf7-form .wpcf7-form-control-wrap textarea:focus { border: 2px solid white; margin-top: -1px; margin-bottom: -1px; }
.wpcf7 .wpcf7-form .wpcf7-textarea { height: 10rem; }
.wpcf7 .wpcf7-form .wpcf7-submit { color: white; display: inline-block; background: #a50388; border: 5px solid #a50388; border-radius: 50px; padding: 8px 34px; margin: 1rem 1rem 0 0; text-decoration: none; transition: .05s ease-in-out; cursor: pointer; font-family: inherit; font-size: 1.1rem; letter-spacing: 1px; }
.wpcf7 .wpcf7-form .wpcf7-submit:hover { transform: translateY(-0.2rem); }
.wpcf7 .wpcf7-form .wpcf7-response-output { text-align: center; align-content: center; margin: 1rem 0 0; padding: 0.5rem; background: var(--purple); border: none; border-radius: 50px; }
.wpcf7 .wpcf7-form .wpcf7-spinner { margin: 0; margin-bottom: -4px; }

.wpcf7-form.invalid .wpcf7-response-output { display: none; }

@keyframes fadeInAnimation { 0% { opacity: 0; }
  100% { opacity: 1; } }
.photo-gallery { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; margin: 0 auto; margin-bottom: 1rem; }
.photo-gallery .image { height: 100%; }
.photo-gallery .image img { width: 100%; height: 100%; object-fit: cover; animation: fadeInAnimation ease 1s; animation-iteration-count: 1; animation-fill-mode: forwards; }
.photo-gallery .image:first-of-type { grid-row: span 2; grid-column: span 2; }
.photo-gallery:nth-of-type(2n) .image:first-of-type { grid-row: 1 / span 2; grid-column: 2 / span 2; }

@media only screen and (max-width: 800px) { .photo-gallery { display: grid; grid-template-columns: 1fr 1fr; }
  .photo-gallery:nth-of-type(2n) .image:first-of-type { grid-row: span 2; grid-column: span 2; } }
@media only screen and (max-width: 500px) { .photo-gallery { display: grid; grid-template-columns: 1fr; }
  .photo-gallery .image:first-of-type { grid-row: span 1 !important; grid-column: span 1 !important; } }
.faq { margin: calc(6dvh + 2rem) 0; padding: 4rem 0; border-top: 1px solid white; border-bottom: 1px solid white; text-align: center; }
.faq h2 { font-size: 3.25rem; }
.faq p { margin-bottom: 20px; }
.faq a { color: var(--purple); }
.faq span { display: block; }
.faq .contain { text-align: left; padding: 0 1.5rem; margin: 3rem auto 0; max-width: 50rem; }
.faq .question { position: relative; border-bottom: 1px solid #444; }
.faq .question:first-of-type { border-top: 1px solid #444; }
.faq .question:before { content: "\f059"; font-family: "Font Awesome 7 Pro"; position: absolute; font-size: 1.5rem; top: 12px; font-weight: 300; }
.faq .question:after { content: "\f078"; font-family: "Font Awesome 7 Pro"; position: absolute; font-size: 1rem; top: 12px; font-weight: 300; right: 12px; }
.faq .question.open:after { content: "\f077"; }
.faq .q { padding: 12px 34px; cursor: pointer; }
.faq .q:hover { background: rgba(255, 255, 255, 0.04); }
.faq .a { display: none; color: rgba(255, 255, 255, 0.8); }

.disclaimer { text-align: left; font-family: arial; }
.disclaimer .button { padding: 12px 24px; margin: 1rem 1rem 0 0; background: none; color: var(--purple); border: 5px solid var(--purple); border-radius: 50px; font-size: inherit; cursor: pointer; font-weight: bold; }
.disclaimer ul { list-style-type: disclosure-closed; list-style-position: inside; margin-bottom: 1rem; }
.disclaimer ul li { margin-bottom: 0.5rem; }
.disclaimer .form-group { margin-bottom: 15px; }
.disclaimer label { display: block; margin-bottom: 5px; }
.disclaimer input[type="text"], .disclaimer input[type="number"] { width: 100%; padding: 8px; box-sizing: border-box; }
.disclaimer .children-group { margin-bottom: 20px; }
.disclaimer .child-row { display: flex; gap: 10px; margin-bottom: 10px; }
.disclaimer .child-row input { flex: 1; }
.disclaimer button, .disclaimer input.submit-button { padding: 10px 15px; background-color: var(--purple); color: white; border: none; border-radius: 4px; cursor: pointer; }
.disclaimer button:hover { background-color: var(--purple); }
.disclaimer .checkbox-group { display: flex; align-items: center; gap: 10px; margin-top: 20px; }
.disclaimer .checkbox-group a { color: var(--purple); text-decoration: underline; }
.disclaimer .submit-button { margin-top: 20px; }

.footer { color: rgba(252, 252, 252, 0.75); background: #000; font-family: var(--font-heading-family); }
.footer .footer-content { padding-top: 3rem; padding-bottom: 5rem; }
.footer h3, .footer ul { min-width: 10rem; }
.footer img.logo { margin: auto; width: 100%; max-width: 300px; display: block; padding: 2rem 0; }
.footer .footer-blocks { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); grid-gap: 2%; }
.footer .block { padding-left: 33.333%; }
.footer .block:first-of-type { padding-left: 0; margin-top: 0; }
.footer .block p { margin: 1rem 0 0; }

.end { color: rgba(252, 252, 252, 0.75); text-align: center; background: #020912; padding: 1rem; }

@media only screen and (max-width: 1200px) { #book-now a { bottom: 30px; right: 30px; }
  .nav .nav-contents { grid-template-columns: auto; }
  .nav ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
  .nav ul li { text-align: center; }
  .nav ul li.current-menu-item a, .nav ul li:hover a { color: white; }
  .nav ul li a { margin-right: 0; color: rgba(255, 255, 255, 0.8); }
  .hero.home h1 { font-size: 1.25rem; }
  .hero.home h2 { font-size: 3rem; }
  .hero .hero-content { width: 80%; }
  .action-block .sec:nth-of-type(2n) { padding: 4rem; } }
@media only screen and (max-width: 900px) { #book-now a { bottom: 20px; right: 20px; }
  .hero .hero-content { width: 100%; }
  .action-block { flex-direction: column !important; }
  .action-block h2 { font-size: 2.25rem; line-height: 3rem; }
  .action-block .sec img { position: inherit; }
  .action-block .sec:nth-of-type(2n) { border-left: 2px solid white !important; border-right: 2px solid white !important; border-top: none; }
  .contact h2 { font-size: 2rem; line-height: 3rem; }
  .box-contain .box { flex-basis: calc(50% - 1rem); }
  .footer .block h3 { font-size: 1.25rem; } }
@media only screen and (max-width: 700px) { #book-now a { bottom: 15px; right: 15px; }
  .hamburger { display: block; }
  .homepage h2 { font-size: 2.5rem; line-height: 3.5rem; }
  .nav .nav-contents { display: block; }
  .nav ul { height: 0; overflow: hidden; }
  .nav ul li { display: inherit; }
  .nav ul li a { padding: 1rem; display: block; border-bottom: dashed 1px white; }
  .hero { padding: calc(145px + 2rem) 0 10rem; }
  .hero.home h1 { display: none; }
  .action-block .sec:nth-of-type(2n) { padding: 1.5rem; }
  .reviews .slide .text p { font-size: 1.5rem; line-height: 2.5rem; }
  .wpcf7 .wpcf7-form .wpcf7-form-control-wrap:nth-of-type(1) { grid-row: 1; grid-column: span 2; }
  .wpcf7 .wpcf7-form .wpcf7-form-control-wrap:nth-of-type(2) { grid-row: 2; grid-column: span 2; }
  .footer .footer-content { padding: 1.75rem; }
  .footer .footer-blocks { display: block; }
  .footer .block { margin-top: 2.75rem; padding-left: 0; } }
@media only screen and (max-width: 600px) { .announce { font-size: 0.8rem; }
  .reviews .slide .text p { font-size: 1.25rem; line-height: 2rem; } }
@media only screen and (max-width: 500px) { .box-contain .box { flex-basis: calc(100% - 1rem); } }
@media only screen and (max-height: 800px) { .hero { padding: calc(145px + 2rem) 0 10rem !important; } }
