@charset "UTF-8";
/*!
Theme Name: H0 golf house
Theme URI: http://underscores.me/
Author: AXLI
Author URI: https://axli.eu
Description: A theme for H0 Golf House
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: maui
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

H0 golf house is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/
@font-face {
  font-family: "Unison";
  src: url("../fonts/UnisonPro-BoldRound.woff2") format("woff2"), url("../fonts/UnisonPro-BoldRound.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Keymer";
  src: url("../fonts/FONTSPRINGDEMO-KeymerRegular.woff2") format("woff2"), url("../fonts/FONTSPRINGDEMO-KeymerRegular.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Unison";
  src: url("../fonts/UnisonPro-LightRound.woff2") format("woff2"), url("../fonts/UnisonPro-LightRound.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Keymer";
  src: url("../fonts/FONTSPRINGDEMO-KeymerBold.woff2") format("woff2"), url("../fonts/FONTSPRINGDEMO-KeymerBold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Chamberi";
  src: url("../fonts/ChamberiHeadline-SemiBoldItalic.woff2") format("woff2"), url("../fonts/ChamberiHeadline-SemiBoldItalic.woff") format("woff");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/
/* Normalize
--------------------------------------------- */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
	 ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

.textura{
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100vh;
opacity: 0.05;
-webkit-transition: opacity 0.4s ease;
transition: opacity 0.4s ease;
will-change: opacity;
z-index: 100;
pointer-events: none;}

.textura .inner{
  background-image: url("../img/textura.gif");
min-width: 100%;
position: absolute;
left: 0;
top: 0;
height: 100vh;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
	 ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
	 ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Interactive
	 ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
	 ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* Box sizing
--------------------------------------------- */
/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
  color: #000;
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
}

h1 {
  font-family: "Unison", sans-serif;
  font-size: 20px;
}

h2 {
  font-family: "Keymer", sans-serif;
  font-size: 55px;
  line-height: 58px;
  margin-bottom: 0;
  margin-top: 0;
  font-style: oblique;
}

h3 {
  font-family: "Unison", sans-serif;
  font-size: 30px;
}

p {
  margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
  font-style: italic;
}

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", courier, monospace;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code,
kbd,
tt,
var {
  font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}

big {
  font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
  background: #000;
  transition: all 0.5s;
}

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul,
ol {
  margin: 0 0 1.5em 3em;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

img {
  height: auto;
  max-width: 100%;
}

figure {
  margin: 1em 0;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

/* Links
--------------------------------------------- */
a {
  color: #000;
}
a:visited {
  color: #000;
}
a:hover, a:focus, a:active {
  color: #333;
}
a:focus {
  outline: thin dotted;
}
a:hover, a:active {
  outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type=button],
input[type=reset],
input[type=submit] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1;
  padding: 0.6em 1em 0.4em;
}
button:hover,
input[type=button]:hover,
input[type=reset]:hover,
input[type=submit]:hover {
  border-color: #ccc #bbb #aaa;
}
button:active, button:focus,
input[type=button]:active,
input[type=button]:focus,
input[type=reset]:active,
input[type=reset]:focus,
input[type=submit]:active,
input[type=submit]:focus {
  border-color: #aaa #bbb #bbb;
}

input[type=text],
input[type=email],
input[type=url],
input[type=password],
input[type=search],
input[type=number],
input[type=tel],
input[type=range],
input[type=date],
input[type=month],
input[type=week],
input[type=time],
input[type=datetime],
input[type=datetime-local],
input[type=color],
textarea {
  color: #666;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 3px;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=password]:focus,
input[type=search]:focus,
input[type=number]:focus,
input[type=tel]:focus,
input[type=range]:focus,
input[type=date]:focus,
input[type=month]:focus,
input[type=week]:focus,
input[type=time]:focus,
input[type=datetime]:focus,
input[type=datetime-local]:focus,
input[type=color]:focus,
textarea:focus {
  color: #111;
}

select {
  border: 1px solid #ccc;
}

textarea {
  width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/
/* Navigation
--------------------------------------------- */
.site-header {
  position: fixed;
  /* fijo en la pantalla */
  top: 0;
  /* en la parte superior */
  left: 50%;
  /* punto de referencia central */
  transform: translateX(-50%);
  /* centra horizontalmente */
  width: 1000px;
  /* ancho fijo */
  display: flex;
  /* usamos flexbox */
  justify-content: space-between;
  /* separa izquierda y derecha */
  align-items: center;
  /* centra verticalmente los elementos */
  padding: 30px 20px;
  /* espacio interno opcional */
  color: #fff;
  z-index: 1000;
}
.site-header .site-branding img {
  max-height: 60px;
  width: auto;
}
.site-header .menu-block {
  float: left;
}

.main-navigation {
  display: block;
  width: 100%;
}
.main-navigation ul {
  display: none;
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.main-navigation ul ul {
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  float: left;
  position: absolute;
  top: 100%;
  left: -999em;
  z-index: 99999;
}
.main-navigation ul ul ul {
  left: -999em;
  top: 0;
}
.main-navigation ul ul li:hover > ul, .main-navigation ul ul li.focus > ul {
  display: block;
  left: auto;
}
.main-navigation ul ul a {
  width: 200px;
}
.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
  left: auto;
}
.main-navigation li {
  position: relative;
  margin: 0 25px;
}
.main-navigation a {
  display: block;
  text-decoration: none;
  color: white;
  font-family: "Keymer", sans-serif;
  text-transform: uppercase;
  font-weight: 600;
}
.main-navigation a:hover {
  color: #fcb900;
}
.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {
  color: #fcb900;
}

@media screen and (max-width: 900px) {
  /* Small menu. */
  .menu-toggle,
.main-navigation.toggled ul {
    display: block;
    float: right;
    margin-right: 10px;
  }

  .menu-toggle {
    z-index: 99999;
    position: relative;
    background: none;
    border: none;
    padding: 10px;
  }
  .menu-toggle img {
    width: 40px;
    height: auto;
  }

  .menu-block ul {
    position: fixed;
    background: rgba(0, 0, 0, 0.9);
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    padding: 100px 15px;
    text-align: center;
  }
  .menu-block ul li {
    margin: 35px 0;
  }
  .menu-block ul li a {
    font-size: 3rem;
    line-height: 3.5rem;
  }
}
@media screen and (min-width: 900px) {
  .menu-toggle {
    display: none;
  }

  .main-navigation ul {
    display: flex;
  }
}
.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
}
.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
  display: flex;
}
.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  flex: 1 0 50%;
}
.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  text-align: end;
  flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
  display: block;
}

.updated:not(.published) {
  display: none;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
  margin: 0 0 1.5em;
}
.widget select {
  max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}
.wp-caption img[class*=wp-image-] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}

/* === GALERÍA tipo Jacob Media === */
.wp-block-gallery.is-layout-flex {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  justify-items: stretch;
  align-items: stretch;
}

/* Ajuste de columnas en distintas pantallas */
@media (max-width: 1400px) {
  .wp-block-gallery.is-layout-flex {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 1024px) {
  .wp-block-gallery.is-layout-flex {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .wp-block-gallery.is-layout-flex {
    grid-template-columns: 1fr;
  }
}
/* Cada imagen */
.wp-block-gallery.is-layout-flex figure.wp-block-image {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin: 0;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Las imágenes llenan el espacio */
.wp-block-gallery.is-layout-flex figure.wp-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
}

/* Efecto hover */
.wp-block-gallery.is-layout-flex figure.wp-block-image:hover img {
  transform: scale(1.05);
  filter: brightness(0.9);
}

.wp-block-gallery.is-layout-flex figure.wp-block-image:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* Overlay sutil */
.wp-block-gallery.is-layout-flex figure.wp-block-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.4s ease;
}

.wp-block-gallery.is-layout-flex figure.wp-block-image:hover::after {
  background: rgba(0, 0, 0, 0.15);
}

/* Eliminamos restricciones heredadas de WP */
.wp-block-gallery {
  max-width: none !important;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/
/* Jetpack infinite scroll
--------------------------------------------- */
/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/
/* Accessibility
--------------------------------------------- */
/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
  outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
  /*rtl:ignore*/
  float: left;
  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  /*rtl:ignore*/
  float: right;
  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

/* Pages
--------------------------------------------- */
.hero {
  background: beige;
  height: 100vh;
}

/* ===== TOP ===== */
.top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 27px;
  /* solo el alto necesario para las líneas */
  pointer-events: none;
}

.top::before,
.top::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 25px;
  border: 3px solid yellow;
  box-sizing: border-box;
}

.top::before {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}

.top::after {
  top: 0;
  right: 0;
  border-left: none;
  border-bottom: none;
}

/* ===== BOTTOM ===== */
.bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 75px;
  pointer-events: none;
}

.bottom::before,
.bottom::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 25px;
  border: 3px solid yellow;
  box-sizing: border-box;
}

.bottom::before {
  bottom: 0;
  left: 0;
  border-right: none;
  border-top: none;
}

.bottom::after {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}

/* HOME WORK SECTION */
/* Contenedor principal */
.workcontainer {
  display: flex;
  width: 100%;
  height: 70vh;
  /* Ajusta según diseño */
  overflow: hidden;
  border-radius: 12px;
  background: black;
  padding: 0 5px;
  /* espacio interior lateral */
}

.work-about h2 {
  padding-bottom: 25px;
}

/* Cada item del proyecto */
.workitem {
  position: relative;
  flex: 1;
  overflow: hidden;
  margin: 0 5px;
  /* <-- espacio entre items */
  border-radius: 10px;
  transition: flex 0.5s ease, transform 0.5s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.workitem:first-child {
  margin-left: 0;
}

.workitem:last-child {
  margin-right: 0;
}

.workitem a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* Imagen de fondo */
.workimage {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: brightness(70%);
  border-radius: 10px;
}

/* Capa con el título */
.workoverlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.subtitle {
  color: #fcb900;
  font-style: oblique;
  font-size: 1.5rem;
  text-align: center;
  letter-spacing: 1px;
  clear: both;
  font-family: "Chamberi", sans-serif;
}

.worktitle {
  color: #fff;
  font-size: 1.5rem;
  text-align: center;
  letter-spacing: 1px;
}

/* Efecto hover general */
.workcontainer:hover .workitem {
  flex: 0.8;
  /* los demás se estrechan */
}

/* El item activo se expande */
.workcontainer .workitem:hover {
  flex: 3;
  z-index: 2;
}

.workcontainer .workitem:hover .workimage {
  transform: scale(1.08);
  filter: brightness(100%);
}

.workcontainer .workitem:hover .workoverlay {
  opacity: 1;
}

.media-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Imagen base */
.workimage {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  border-radius: 10px;
  transition: opacity 0.5s ease, transform 0.6s ease;
  filter: brightness(70%);
}

/* Video (oculto por defecto) */
.workvideo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
  border-radius: 10px;
}

/* Hover: se muestra el video, se oculta la imagen */
.workitem:hover .workvideo {
  opacity: 1;
}

.workitem:hover .workimage {
  opacity: 0;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .workcontainer {
    display: flex;
    gap: 1rem;
    padding: 0 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    height: 50vh;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .workitem {
    flex: 0 0 75%;
    /* ancho controlado */
    aspect-ratio: 4/5;
    height: auto;
    margin: 0;
    scroll-snap-align: start;
    border-radius: 10px;
  }

  /* Desactivar acordeón */
  .workcontainer:hover .workitem,
.workcontainer .workitem:hover {
    flex: 0 0 75%;
  }

  /* Overlay siempre visible */
  .workoverlay {
    opacity: 1;
  }

  /* Quitar efectos hover */
  .workitem:hover .workimage {
    transform: none;
    filter: brightness(80%);
  }

  .workvideo {
    display: none;
  }

  /* Scroll sin scrollbar */
  .workcontainer::-webkit-scrollbar {
    display: none;
  }
}
/* =======================
   HERO FIJO
   ======================= */
.project-hero {
  position: fixed;
  /* <-- antes era relative */
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  color: #fff;
  z-index: 5;
  /* por encima del contenido */
}

/* Fondo (imagen o frame inicial del video) */
.hero-background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(65%);
  transition: filter 0.5s ease, transform 0.5s ease;
  z-index: 1;
}

/* Capa oscura superior */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1));
  z-index: 2;
}

/* Contenido del hero (título, subtítulo, fecha) */
.hero-content {
  position: relative;
  z-index: 3;
  padding: 5% 8%;
  max-width: 800px;
}

.project-title {
  font-size: 3rem;
  margin: 0;
}

.project-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  margin-top: 0.5rem;
  color: #f5c400;
}

.project-date {
  display: inline-block;
  margin-top: 1rem;
  font-size: 1rem;
  opacity: 0.85;
}

/* PLAY BUTTON */
.hero-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 2.5rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  background: transparent;
  border: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0.85;
}

.hero-play:hover {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.05);
}

/* VIDEO WRAPPER */
.hero-video-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.hero-video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
}

/* Estado playing */
.hero-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 4;
}

/* =======================
   DESCRIPCIÓN (bajo el HERO)
   ======================= */
.project-description {
  position: relative;
  background: #000;
  color: #fff;
  z-index: 10;
  margin-top: 100vh;
  /* comienza justo después del hero fijo */
  padding: 6rem 8%;
  font-size: 1.2rem;
  line-height: 1.7;
  overflow: hidden;
}

/* Degradado superior que funde el hero y el contenido */
.project-description::before {
  content: "";
  position: absolute;
  top: -150px;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #000 100%);
  pointer-events: none;
  z-index: 1;
}

/* Transiciones suaves de los textos */
.project-title,
.project-subtitle,
.project-date {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hidden {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}

/* ----- GRADIENTE EN EL BOTTOM DEL HERO ----- */
/* Crea un fundido en la parte inferior del hero */
.hero-bottom-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 220px;
  /* <-- ajusta la altura del fundido aquí */
  pointer-events: none;
  z-index: 6;
  /* por encima del hero, por debajo de la descripción (que tiene z-index:10) */
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.25) 35%, rgba(0, 0, 0, 0.6) 65%, #000 100%);
  transition: opacity 0.4s ease;
}

/* ----- SOLAPE Y DEGRADADO EN LA DESCRIPCIÓN ----- */
/* Hacemos que la descripción suba un poco sobre el hero y tenga su propio degradado superior */
.project-description {
  position: relative;
  background: #000;
  color: #fff;
  z-index: 10;
  margin-top: calc(100vh + 120px);
  /* <-- sube 120px sobre el hero; ajusta según quieras más/menos solape */
  padding: 8rem 8% 6rem;
  /* ajusta padding superior si necesitas más separación */
  font-size: 1.2rem;
  line-height: 1.7;
  overflow: visible;
}
.project-description .description-text {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Terciario: degradado extra en la parte superior de la descripción para un corte aún más suave */
.project-description::before {
  content: "";
  position: absolute;
  top: -180px;
  /* coloca el degradado por encima del inicio del block (ajusta con height) */
  left: 0;
  width: 100%;
  height: 180px;
  /* debe ser parecido al height de .hero-bottom-gradient para continuidad */
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 50%, #000 100%);
  pointer-events: none;
  z-index: 1;
}

/* Si tienes un overlay en hero, reduce su opacidad para que el degradado funcione bien */
.hero-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.08));
  z-index: 2;
}

/* Si quieres que el degradado desaparezca cuando el video se esté reproduciendo (opcional) */
.project-hero.playing .hero-bottom-gradient {
  opacity: 0.45;
}

/* === GRADIENTE EN EL BOTTOM DEL HERO === */
.hero-bottom-gradient {
  position: absolute;
  bottom: -150px;
  /* <-- más abajo al inicio (no visible) */
  left: 0;
  width: 100%;
  height: 250px;
  pointer-events: none;
  z-index: 6;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 35%, rgba(0, 0, 0, 0.65) 70%, #000 100%);
  opacity: 0;
  transition: bottom 0.8s ease, opacity 0.8s ease;
}

/* Al hacer scroll, se activa */
body.scrolled .hero-bottom-gradient {
  bottom: 0;
  /* sube a su sitio */
  opacity: 1;
  /* aparece */
}

.project-info {
  position: relative;
  background: #000;
  color: #fff;
  z-index: 10;
  padding: 0rem 8% 6rem;
  /* ajusta padding superior si necesitas más separación */
  font-size: 1.2rem;
  line-height: 1.7;
  overflow: visible;
}

.backtoprojects {
  background: black;
  z-index: 9;
  text-align: center;
  position: relative;
}
.backtoprojects a {
  background: white;
  padding: 10px 25px;
  color: black;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 2.5rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  background: transparent;
  border: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0.85;
  text-decoration: none;
}
.backtoprojects a:hover {
  opacity: 0.5;
  color: #fcb900;
}

/******** ABOUT ********/
.team h1 {
  font-family: serif;
  font-size: 70px;
  line-height: 73px;
  font-weight: 300;
}

/******* CONTACT ********/
#connect h2 {
  font-size: 120px;
  line-height: 125px;
}

.line-button-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0 24px;
  box-sizing: border-box;
}

.line {
  flex: 1;
  height: 1px;
  background-color: #ccc;
}

.email-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  margin: 0 16px;
  border: 1px solid #ccc;
  border-radius: 999px;
  background-color: #ffffff;
  color: #333;
  font-size: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s;
  font-family: "Unison", sans-serif;
  letter-spacing: 2px;
}

.email-button:hover {
  background-color: #fcb900;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.email-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/******* ARCHIVE ********/
.archive {
  padding-top: 150px;
}
.archive h1 {
  color: white;
  text-align: center;
}
.archive .workcontainer {
  border-radius: 0;
}
.archive .workcontainer .workitem {
  border-radius: 0;
}
.archive .workcontainer .workimage {
  border-radius: 0;
}

/****** FOOTER ********/
.site-footer {
  background: url("../img/footer.jpg") center center no-repeat;
  background-size: cover;
  z-index: 999;
  position: relative;
  padding: 100px 25px;
  display: flex;
  align-items: flex-end;
  min-height: 20vh;
  margin-top: -1px;
}
.site-footer .site-info {
  max-width: 1300px;
  width: 100%;
  margin: auto;
  display: flex;
  margin-bottom: 0;
  align-items: flex-end;
}
.site-footer .site-info p {
  color: white;
}
.site-footer .site-info .inner {
  margin-right: 50px;
}
.site-footer .site-info .rrss {
  margin-left: auto;
}

.footerlogo {
  background: black;
  position: relative;
  z-index: 9;
  padding-bottom: 50px;
}
.footerlogo figure, .footerlogo img {
  max-width: 600px;
  margin: 0 auto;
}
.footerlogo .widget {
  margin: 0;
}

/* Page transtitions
--------------------------------------------- */
#transition {
  z-index: 30;
  background: #2d3a36;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition-duration: 0.9s;
}

#transition.opened {
  opacity: 1;
  pointer-events: initial;
}

#transition.closed {
  opacity: 0;
  pointer-events: none;
}

.loader {
  transition: all 0.8s ease;
  -webkit-transition: all 0.8s ease;
  -moz-transition: all 0.8s ease;
  -o-transition: all 0.8s ease;
}

/* Responsive
--------------------------------------------- */
@media screen and (max-width: 900px) {
  h2 {
    font-size: 30px;
    line-height: 35px;
  }

  .site-header {
    position: fixed;
    top: 0;
    left: 0%;
    transform: translateX(0%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 20px;
    color: #fff;
    z-index: 1000;
  }

  .desktop {
    display: none;
  }

  /******* CONTACT ********/
  #connect h2 {
    font-size: 70px;
    line-height: 85px;
  }

  .email-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    margin: 0 16px;
    border: 1px solid #ccc;
    border-radius: 999px;
    background-color: #ffffff;
    color: #333;
    font-size: 9px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s;
    font-family: "Unison", sans-serif;
    letter-spacing: 2px;
  }

  /****** FOOTER *******/
  .site-footer {
    background: url("../img/footer.jpg") center center no-repeat;
    background-size: cover;
    z-index: 999;
    position: relative;
    padding: 100px 25px;
    display: flex;
    align-items: flex-end;
    min-height: 70vh;
    margin-top: -1px;
  }
  .site-footer .site-info {
    max-width: 1300px;
    width: 100%;
    margin: auto;
    display: block;
    margin-bottom: 0;
    align-items: flex-end;
  }
  .site-footer .site-info p {
    color: white;
  }
  .site-footer .site-info .inner {
    margin-right: 50px;
  }
  .site-footer .site-info .rrss {
    margin-left: auto;
  }

  .footerlogo {
    background: black;
    position: relative;
    z-index: 9;
    padding-bottom: 50px;
  }
  .footerlogo figure, .footerlogo img {
    max-width: 80%;
    margin: 0 auto;
  }
  .footerlogo .widget {
    margin: 0;
  }
}
/*# sourceMappingURL=style.css.map */
