/*!
Theme Name: servamaris
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
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: servamaris
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.

servamaris 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

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

/*--------------------------------------------------------------
# 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;
}

/**
 * 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: #404040;
  font-family: -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;
}

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: #fff;
}

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-leading-zero;
}

li::marker {
  font-family: var(--titulo);
  font-size: 1.7rem;
  color: var(--celeste);
}

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: #4169e1;
}

a:visited {
  /* color: #800080; */
}

a:hover,
a:focus,
a:active {
  color: #191970;
}

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
--------------------------------------------- */
.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;
}

.main-navigation a {
  display: block;
  text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
  display: block;
}

@media screen and (min-width: 37.5em) {
  .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;
}

.post,
.page {
  margin: 0 0;
}

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

.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}

.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;
}

/*--------------------------------------------------------------
# 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;
}

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

/* ANIMACIÓN ENTRADA */

.not-in-view {
  opacity: 0;
  transform: translateY(200px);
  transition: opacity 1.5s ease, transform 1.5s ease;
}

.in-view {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1.5s ease, transform 1.5s ease;
}

.not-in-view-left {
  opacity: 0;
  transform: translateX(-500px);
  transition: opacity 1.5s ease, transform 1.5s ease;
}

.in-view-left {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 1.5s ease, transform 1.5s ease;
}

.not-in-view-right {
  opacity: 0;
  transform: translateX(500px);
  transition: opacity 1.5s ease, transform 1.5s ease;
}

.in-view-right {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 1.5s ease, transform 1.5s ease;
}

.not-in-view-bottom {
  opacity: 0;
  transform: translateY(150px);
  transition: opacity 1.5s ease, transform 1.5s ease;
}

.in-view-bottom {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1.5s ease, transform 1.5s ease;
}

.not-in-view-top {
  opacity: 0;
  transform: translateY(-100px);
  transition: opacity 1.5s ease, transform 1.5s ease;
}

.in-view-top {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1.5s ease, transform 1.5s ease;
}

/* LENIS SCROLL */

html.lenis,
html.lenis body {
  height: auto;
  width: 100%;
  overflow-x: hidden;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* RESET */

p,
li {
  font-family: var(--texto);
  font-size: 18px;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--titulo);
}

a:focus {
  outline: thin dotted;
}

a:hover,
a:active {
  outline: 0;
}

.gt-current-lang img,
.nturl img {
  display: none !important;
}

/* CLASES */

.boton {
  display: inline-block;
  background-color: var(--celeste);
  color: var(--azul-oscuro);
  padding: 10px 40px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 1.2rem;
  transition: background-color 0.75s ease, color 0.75s ease,
    transform 0.75s ease;
  font-family: var(--titulo);
  text-transform: uppercase;
  font-size: 0.95rem;
  font-weight: 700;

  @media screen and (max-width: 992px) {
    display: block;
    text-align: center;
  }
}

.boton:hover {
  background-color: var(--aquamarina);
  color: var(--blanco);
  transform: scale(1.1);
}

/* VARIABLES */

:root {
  /* colores */
  --celeste: #85e6ec;
  --aquamarina: #3dacbc;
  --azul: #006485;
  --azul-oscuro: #01465e;
  --blanco: #fff;
  --negro: #000;
  /* fuentes */
  --titulo: "Noto Sans", sans-serif;
  --texto: "Nunito", sans-serif;
  --especial: "DM Serif Display", serif;
}

/* BACK TO TOP BUTTON */

#backToTopBtn {
  display: none;
  position: fixed;
  /* bottom: 20px;
    right: 30px; */
  bottom: 20px;
  right: 2vh;
  z-index: 99;
  border: none;
  outline: none;
  background-color: var(--celeste);
  color: var(--blanco);
  cursor: pointer;
  padding: 10px 13.33px;
  border-radius: 10px;
  font-size: 18px;
  transition: background-color 0.5s linear;

  @media screen and (max-width: 992px) {
    right: 3vw;
  }
}

#backToTopBtn:hover {
  background-color: var(--azul-oscuro);
  color: var(--celeste);
}

/* -----------ANIMACIONES---------- */

/* Entrada texto */
.entradaTexto {
  -webkit-animation: entradaTexto 1.5s cubic-bezier(0.55, 0.085, 0.68, 0.53)
    both;
  animation: entradaTexto 1.5s cubic-bezier(0.55, 0.085, 0.68, 0.53) both;
  animation-delay: 0.8s;
}

.entradaTexto2 {
  -webkit-animation: entradaTexto 1.5s cubic-bezier(0.55, 0.085, 0.68, 0.53)
    both;
  animation: entradaTexto 1.5s cubic-bezier(0.55, 0.085, 0.68, 0.53) both;
  animation-delay: 1.5s;
}

.entradaCaja {
  -webkit-animation: entradaTexto 1.5s cubic-bezier(0.55, 0.085, 0.68, 0.53)
    both;
  animation: entradaTexto 1.5s cubic-bezier(0.55, 0.085, 0.68, 0.53) both;
}

@-webkit-keyframes entradaTexto {
  0% {
    -webkit-filter: blur(12px);
    filter: blur(12px);
    opacity: 0;
  }

  100% {
    -webkit-filter: blur(0px);
    filter: blur(0px);
    opacity: 1;
  }
}

@keyframes entradaTexto {
  0% {
    -webkit-filter: blur(12px);
    filter: blur(12px);
    opacity: 0;
  }

  100% {
    -webkit-filter: blur(0px);
    filter: blur(0px);
    opacity: 1;
  }
}

@keyframes bote {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

/* HEADER */

header.header,
header-blog {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 75%,
    rgba(255, 255, 255, 0.3) 100%
  );
  z-index: 999;
  position: fixed;
  width: 100%;
  transition: height 0.5s ease;
  padding: 0 50px;

  .container-fluid {
    display: flex;
    flex-direction: column !important;
  }

  a.navbar-brand {
    display: none;
    justify-content: center;
    /* width: auto !important; */
    margin: 0;

    @media screen and (max-width: 992px) {
      display: flex;
    }

    img {
      width: 100%;
    }
  }

  .navbar-nav {
    margin-left: auto;
    display: flex;
    justify-content: center;
  }

  .navbar-nav a {
    margin: 0 40px;
    color: var(--azul-oscuro);
    transition: color 0.5s linear;
    font-family: var(--titulo);
    font-weight: 700;
    font-size: 1rem;
    /* position: relative; */
    text-align: Center;
    display: flex;
    align-items: center;
    padding: 0 !important;
    transition: color 0.7s ease;

    &:hover {
      color: var(--blanco);
    }
  }

  .navbar-nav a.dropdown-item {
    margin: 0;
    padding: 0 30px !important;
    display: flex;
    justify-content: center;
  }

  li.nav-item {
    display: flex;
    align-items: center;
  }

  ul.dropdown-menu {
    background-color: #006485a6 !important;
    padding: 0;

    @media screen and (max-width: 992px) {
      border: solid 1px var(--celeste);
    }

    li {
      width: 210px;

      @media screen and (max-width: 992px) {
        width: auto;
      }
    }

    a.dropdown-item {
      color: var(--blanco) !important;
      white-space: normal;
      padding: 20px 10px !important;
      font-size: 14px;
      border-bottom: solid 1px var(--celeste);
      transition: background-color 0.7s ease, color 0.7s ease;

      @media screen and (max-width: 992px) {
        padding: 10px !important;
      }

      &:hover {
        background-color: var(--azul-oscuro);
        color: var(--celeste) !important;
      }
    }

    li:nth-child(5) > a {
      border-bottom: none;
    }
  }

  #navegador > ul > li:nth-child(3) > ul > li:nth-child(3) > a {
    border-bottom: none;
  }

  .navbar-nav .nav-item:nth-child(8) a {
    background-color: var(--celeste);
    color: var(--azul-oscuro) !important;
    border-radius: 12px;
    padding: 10px 20px !important;
    transition: background-color 0.5s ease, color 0.5s ease;
    margin-right: auto;

    &:hover {
      background-color: var(--blanco);
      color: var(--azul) !important;
    }

    &::after {
      height: 0;
    }
  }

  @media screen and (max-width: 992px) {
    .container-fluid {
      display: flex;
      flex-direction: row !important;
    }

    #navegador {
      background-color: #006485a6;
      width: 100vw;
      border-radius: 24px;

      li.nav-item {
        width: auto;
        display: flex;
      }

      .navbar-nav a {
        color: var(--blanco);
        font-size: 18px;
        margin: 0;
      }
    }

    .navbar-nav .nav-item:nth-child(8) a {
      margin: auto;
    }

    .navbar-nav .dropdown-menu {
      max-width: 100vw !important;
      /* No permite que el dropdown sea más ancho que la ventana de visualización */
      box-sizing: border-box !important;
      /* Asegura que el padding y borde estén dentro del ancho */
      width: 100%;
    }

    #navegador > ul > li:nth-child(2) > a {
      margin: 0;
    }

    #navegador > ul.dropdown-menu > li {
      margin: 10px 0 !important;
    }

    #navegador li.nav-item {
      display: flex;
      flex-direction: column;
      margin-bottom: 17px;
      margin-right: auto;
      padding: 5px 15px;
    }

    #navegador li.nav-item:nth-child(8) {
      margin-left: auto;
      margin-right: auto;
    }

    a.navbar-brand {
      width: 50%;

      img {
        width: 100%;
      }
    }

    .navbar-nav {
      /* background-color: var(--lightcoral); */
      margin-top: 10px;
      overflow-x: hidden;
    }
  }

  .dropdown-menu {
    display: none;
    max-height: 0;
    opacity: 0;
    overflow: hidden;

    transition-property: display opacity max-height;
    transition-duration: 0.5s;
    transition-behavior: allow-discrete;
  }

  .nav-item.dropdown.show .dropdown-menu {
    display: block;
    max-height: 500px;
    opacity: 1;
    translate: 0 0;

    @starting-style {
      opacity: 0;
      translate: 0 -25vh;
    }
  }
}

header.header-blog {
  position: fixed;
  width: 100%;
  transition: height 0.5s ease;
  padding: 0 50px;

  .container-fluid {
    display: flex;
    flex-direction: column !important;
  }

  a.navbar-brand {
    display: none;
    justify-content: center;
    /* width: auto !important; */
    margin: 0;

    @media screen and (max-width: 992px) {
      display: flex;
    }

    img {
      width: 100%;
    }
  }

  .navbar-nav {
    margin-left: auto;
    display: flex;
    justify-content: center;
  }

  .navbar-nav a {
    margin: 0 40px;
    color: var(--azul-oscuro);
    transition: color 0.5s linear;
    font-family: var(--titulo);
    font-weight: 700;
    font-size: 1rem;
    /* position: relative; */
    text-align: Center;
    display: flex;
    align-items: center;
    padding: 0 !important;
    transition: color 0.7s ease;

    &:hover {
      color: var(--blanco);
    }
  }

  .navbar-nav a.dropdown-item {
    margin: 0;
    padding: 0 30px !important;
    display: flex;
    justify-content: center;
  }

  li.nav-item {
    display: flex;
    align-items: center;
  }

  ul.dropdown-menu {
    background-color: #006485a6 !important;
    padding: 0;

    @media screen and (max-width: 992px) {
      border: solid 1px var(--celeste);
    }

    li {
      width: 210px;

      @media screen and (max-width: 992px) {
        width: auto;
      }
    }

    a.dropdown-item {
      color: var(--blanco) !important;
      white-space: normal;
      padding: 20px 10px !important;
      font-size: 14px;
      border-bottom: solid 1px var(--celeste);
      transition: background-color 0.7s ease, color 0.7s ease;

      @media screen and (max-width: 992px) {
        padding: 10px !important;
      }

      &:hover {
        background-color: var(--azul-oscuro);
        color: var(--celeste) !important;
      }
    }

    li:nth-child(5) > a {
      border-bottom: none;
    }
  }

  #navegador > ul > li:nth-child(3) > ul > li:nth-child(3) > a {
    border-bottom: none;
  }

  .navbar-nav .nav-item:nth-child(8) a {
    background-color: var(--celeste);
    color: var(--azul-oscuro) !important;
    border-radius: 12px;
    padding: 10px 20px !important;
    transition: background-color 0.5s ease, color 0.5s ease;
    margin-right: auto;

    &:hover {
      background-color: var(--blanco);
      color: var(--azul) !important;
    }

    &::after {
      height: 0;
    }
  }

  @media screen and (max-width: 992px) {
    .container-fluid {
      display: flex;
      flex-direction: row !important;
    }

    #navegador {
      background-color: #006485a6;
      width: 100vw;
      border-radius: 24px;

      li.nav-item {
        width: auto;
        display: flex;
      }

      .navbar-nav a {
        color: var(--blanco);
        font-size: 18px;
        margin: 0;
      }
    }

    .navbar-nav .nav-item:nth-child(8) a {
      margin: auto;
    }

    .navbar-nav .dropdown-menu {
      max-width: 100vw !important;
      /* No permite que el dropdown sea más ancho que la ventana de visualización */
      box-sizing: border-box !important;
      /* Asegura que el padding y borde estén dentro del ancho */
      width: 100%;
    }

    #navegador > ul > li:nth-child(2) > a {
      margin: 0;
    }

    #navegador > ul.dropdown-menu > li {
      margin: 10px 0 !important;
    }

    #navegador li.nav-item {
      display: flex;
      flex-direction: column;
      margin-bottom: 17px;
      margin-right: auto;
      padding: 5px 15px;
    }

    #navegador li.nav-item:nth-child(8) {
      margin-left: auto;
      margin-right: auto;
    }

    a.navbar-brand {
      width: 50%;

      img {
        width: 100%;
      }
    }

    .navbar-nav {
      /* background-color: var(--lightcoral); */
      margin-top: 10px;
      overflow-x: hidden;
    }
  }

  .dropdown-menu {
    display: none;
    max-height: 0;
    opacity: 0;
    overflow: hidden;

    transition-property: display opacity max-height;
    transition-duration: 0.5s;
    transition-behavior: allow-discrete;
  }

  .nav-item.dropdown.show .dropdown-menu {
    display: block;
    max-height: 500px;
    opacity: 1;
    translate: 0 0;

    @starting-style {
      opacity: 0;
      translate: 0 -25vh;
    }
  }
}

.accordion-button::after {
  background-color: var(--blanco) !important;
  padding: 1rem;
  border-radius: 50%;
  background-position: center;
}

header.header.scrolled,
header.header-blog {
  display: flex;
  position: fixed;
  background: var(--azul);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  color: #000;
  width: 100%;
  padding: 10px 0;
  transition: background-color 0.5s ease, height 0.5s ease;
  height: auto;
  padding: 0 50px;
  z-index: 999;

  .container-fluid {
    display: flex;
    flex-direction: row !important;
  }

  a.nav-link {
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 38px;
    color: var(--blanco);
    font-size: 16px;
    transition: color 0.7s ease;

    &:hover {
      color: var(--celeste);
    }
  }

  /* a.nav-link::after {

		background: var(--blanco);

	} */

  nav.navbar.navbar-expand-lg {
    width: 100%;
  }

  a.navbar-brand {
    width: 10%;
    display: flex;

    img {
      width: 100%;
    }
  }

  @media screen and (max-width: 992px) {
    a.navbar-brand {
      width: 50%;

      img {
        width: 100%;
      }
    }

    width: 100%;
    overflow-x: hidden;
  }
}

/* .separator {
	position: relative;
	background: var(--azul);
	height: 10vh;
  }
  
  .wave {
	position: absolute;
	height: 200px;
	width: 100%;
	background: var(--azul);
	bottom: 0;
  }
  
  .wave::before, .wave::after {
	content: "";
	display: block;
	position: absolute;
	border-radius: 50% 100%;
  }
  
  .wave::before {
	width: 55%;
	height: 100%;
	background-color: var(--azul);
	right: -1.5%;
	top: 40%;
  }
  .wave::after {
	width: 55%;
	height: 109%;
	background-color: #fff;
	left: -1.5%;
	top: 60%;
  } */

.wave .sub_wave:before,
.wave .sub_wave:after {
  content: "";
  display: block;
  position: absolute;
  border-radius: 100% 50%;
}

.wave .sub_wave:before {
  width: 55%;
  height: 109%;
  background-color: var(--azul) !important;
  right: -1.5%;
  top: 60%;
}

.wave .sub_wave:after {
  width: 55%;
  height: 100%;
  background-color: var(--blanco);
  left: -1.5%;
  top: 40%;
}

.wave .sub_wave {
  position: absolute;
  height: 112px;
  width: 100%;
  background: var(--blanco);
  bottom: 0px;
}

.wave {
  position: relative;
  height: 50%;
  background: var(--blanco);
}

.wave2 .sub_wave2:before,
.wave2 .sub_wave2:after {
  content: "";
  display: block;
  position: absolute;
  border-radius: 100% 50%;
}

.wave2 .sub_wave2:before {
  width: 55%;
  height: 109%;
  background-color: var(--blanco) !important;
  right: -1.5%;
  top: 60%;
}

.wave2 .sub_wave2:after {
  width: 55%;
  height: 100%;
  background-color: var(--azul);
  left: -1.5%;
  top: 40%;
}

.wave2 .sub_wave2 {
  position: absolute;
  height: 112px;
  width: 100%;
  background: var(--azul);
  bottom: 0px;
}

.wave2 {
  position: relative;
  height: 50%;
  background: var(--azul);
}

@media screen and (max-width: 992px) {
  section.output-window {
    display: none;
  }
}

/* INDEX */

#index {
  video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
    opacity: 1;
  }

  .banner {
    /* background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 75%, rgba(255, 255, 255, 1) 100%), url('img/imagen-banner-principal.jpg') no-repeat center center / cover;
		z-index: -1; */
    height: 100vh;
    padding: 0;
    position: relative;

    .row {
      height: 100vh;
      display: flex;
      align-items: center;
      text-align: center;

      .col-lg-8 {
        display: flex;
        justify-content: center;

        .banner-box {
          width: 62%;
          background-color: rgba(0, 100, 133, 0.5);
          padding: 40px 20px;
          border-radius: 24px;

          @media screen and (max-width: 992px) {
            width: 80%;
            padding: 20px 10px;
          }
        }
      }

      h1 {
        text-transform: uppercase;
        font-weight: 300;
        color: var(--celeste);
        font-size: 60px;
        font-family: var(--titulo);
        display: none;
      }

      h2 {
        font-family: var(--titulo);
        font-size: 32px;
        /* font-style: italic; */
        text-transform: uppercase;
        margin-top: 20px;

        color: var(--blanco);
      }
    }
  }

  .sobre-nosotros {
    padding-top: 190px;
    padding-bottom: 50px;

    strong {
      color: var(--azul);
    }

    /* .row:nth-child(1) {
			margin-bottom: 50px;

			h2 {
				font-size: 44px;
				color: var(--azul);
			}
		} */

    .row:nth-child(2),
    .row:nth-child(3) {
      padding-top: 50px;

      h2 {
        font-size: 36px;
        color: var(--azul);
        text-transform: uppercase;
      }

      @media screen and (max-width: 992px) {
        padding-top: 20px;
        h2 {
          text-align: center;
        }
      }
    }

    .col-lg-7 {
      display: flex;
      flex-direction: column;
      justify-content: center;

      .row {
        padding: 50px 0;

        .col-lg-4 {
          display: flex;
          justify-content: center;

          .vias {
            strong {
              color: var(--blanco);
            }

            background-color: var(--azul);
            color: var(--blanco);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            align-items: center;
            text-align: center;
            padding: 20px;
            border-radius: 12px;
            transition: background 1.2s ease, transform 1.2s ease;
            box-shadow: rgba(100, 100, 111, 0.5) 0px 7px 29px 0px;

            span {
              font-size: 36px;
              font-family: var(--titulo);
              color: var(--celeste);
            }

            div {
              height: 100%;
              display: flex;
              align-items: center;
              padding: 5px;

              p {
                margin-bottom: 0;
              }
            }

            @media screen and (max-width: 992px) {
              margin-bottom: 18.5px;
            }
          }
        }

        .col-lg-4:nth-child(1) .vias:hover {
          background: url("img/desarrollo-nuevas-tecnicas.jpg") no-repeat center
            center / cover;

          div {
            background-color: rgba(0, 100, 144, 0.75);
            border-radius: 12px;
          }

          transform: scale(1.2);
        }

        .col-lg-4:nth-child(2) .vias:hover {
          background: url("img/investigacion.jpg") no-repeat center center /
            cover;

          div {
            background-color: rgba(0, 100, 133, 0.75);
            border-radius: 12px;
          }

          transform: scale(1.2);
        }

        .col-lg-4:nth-child(3) .vias:hover {
          background: linear-gradient(
              to bottom,
              rgba(0, 100, 133, 0.65) 0%,
              rgba(0, 100, 133, 0.75) 100%
            ),
            url("img/contaminacion-mar.jpg") no-repeat center center / cover;

          div {
            background-color: rgba(0, 100, 133, 0.75);
            border-radius: 12px;
          }

          transform: scale(1.2);
        }
      }

      h2 {
        text-transform: uppercase;
        color: var(--azul-oscuro);
        margin-bottom: 20px;
        font-size: 36px;
        text-align: start !important;

        @media screen and (max-width: 992px) {
          text-align: center !important;
        }
      }

      p:nth-child(2) {
        margin-bottom: 5px;
      }
    }

    .col-lg-4.offset-lg-1 {
      background: linear-gradient(
          to bottom,
          rgba(0, 100, 133, 0.35) 0%,
          rgba(0, 100, 133, 0.35) 100%
        ),
        url("img/equipo-servamaris.jpg") no-repeat center center / cover;
      border-radius: 24px;
    }

    @media screen and (max-width: 992px) {
      padding: 30px 2%;
      padding-top: 100px;

      .col-lg-7 h2 {
        text-align: center;
      }

      ol,
      ul {
        padding-left: 1rem;
      }
    }
  }

  .analisis-situacion {
    background: linear-gradient(
        to bottom,
        rgba(0, 100, 133, 1) 0%,
        rgba(0, 100, 133, 0.3) 25%,
        rgba(0, 100, 133, 0.5) 54%,
        rgba(0, 100, 133, 1) 84%
      ),
      url("img/contaminacion-maritima.jpg") no-repeat center center / cover;
    padding: 100px 0;
    padding-top: 150px;
    color: white;

    .container {
      background: linear-gradient(
        to bottom,
        rgba(0, 100, 133, 0.5) 0%,
        rgba(0, 100, 133, 1) 100%
      );
      padding: 40px;
      border-radius: 24px;
    }

    h3 {
      color: var(--celeste);
      margin-bottom: 20px;
      text-transform: uppercase;
      font-size: 36px;
      text-align: start !important;
    }

    @media screen and (max-width: 992px) {
      padding: 30px 0;
      padding-top: 120px;

      .container {
        padding: 30px 10px;
      }

      h3 {
        text-align: center !important;
      }
    }
  }

  .mision2 {
    padding: 125px 0;
    padding-top: 150px;
    background-color: var(--azul);

    .row:nth-child(1) h2 {
      color: var(--celeste);
      text-transform: uppercase;
      margin-bottom: 20px;
      font-size: 36px;
      text-align: start !important;

      @media screen and (max-width: 992px) {
        text-align: center !important;
      }
    }

    .row:nth-child(2) {
      #accordionFlushExample {
        .accordion-body {
          background: linear-gradient(
              to bottom,
              rgba(0, 100, 133, 0.65) 0%,
              rgba(0, 100, 133, 0.65) 100%
            ),
            url("img/fondo-acordeon.jpg") no-repeat center center / cover;
        }

        border-radius: 24px;

        button {
          background-color: var(--azul-oscuro);

          h2 {
            color: var(--blanco);
            font-weight: 300;
            font-size: 24px;
            text-transform: uppercase;
          }
        }

        .col-lg-3:nth-child(1) {
          padding-left: 50px;

          img {
            border-radius: 24px;
          }

          @media screen and (max-width: 992px) {
            padding: 0;
          }
        }

        .col-lg-9 {
          display: flex;
          flex-direction: column;
          justify-content: center;
          align-items: center;
          padding: 20px 50px;

          p {
            color: var(--blanco);
          }

          @media screen and (max-width: 992px) {
            padding: 10px 10px;
          }
        }
      }
    }

    @media screen and (max-width: 992px) {
      padding: 30px 0;
      padding-top: 120px;
    }
  }

  .cuidado-mar {
    background: linear-gradient(
        to bottom,
        rgba(0, 100, 133, 1) 0%,
        rgba(0, 100, 133, 0.15) 80%,
        rgba(0, 100, 133, 1) 100%
      ),
      url("img/fondo-cuidado-mar.jpg") no-repeat center center / cover;
    padding-top: 150px;
    padding-bottom: 200px;

    h3 {
      color: var(--celeste);
      text-transform: uppercase;
      font-size: 36px;
      margin-bottom: 20px;
      text-align: start !important;

      @media screen and (max-width: 992px) {
        text-align: center !important;
      }
    }

    p {
      color: var(--blanco);

      strong {
        color: var(--celeste);
      }
    }

    @media screen and (max-width: 992px) {
      padding: 50px 0;
      padding-top: 120px;
    }
  }

  .innovacion {
    padding: 100px 0;
    padding-top: 150px;
    background-color: var(--azul);

    p {
      color: var(--blanco);
    }

    .row:nth-child(1) {
      .col-lg-8 {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        h2 {
          font-family: var(--titulo);
          color: var(--celeste);
          text-transform: uppercase;
          margin-bottom: 20px;
          font-size: 36px;
          text-align: start !important;

          @media screen and (max-width: 992px) {
            text-align: center !important;
          }
        }
      }

      .col-lg-4 {
        .carrusel-innovacion {
          border-radius: 24px;

          img {
            border-radius: 24px;
          }
        }
      }
    }

    .row:nth-child(2) {
      padding-top: 50px;

      p {
        margin-bottom: 0;
      }
    }

    @media screen and (max-width: 992px) {
      padding: 30px 0;
      padding-top: 120px;

      .row:nth-child(2) p {
        text-align: start !important;
      }
    }
  }

  .unete {
    padding: 200px 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 100, 133, 0.55) 0%,
        rgba(0, 100, 133, 0.55) 75%,
        rgba(0, 100, 133, 1) 100%
      ),
      url("img/fondo-unete.jpg") no-repeat center center / cover;
    color: var(--blanco);

    .col-lg-12 {
      background-color: rgba(0, 100, 133, 0.5);
      padding: 40px;
      border-radius: 24px;
    }

    h2 {
      color: var(--celeste);
      text-transform: uppercase;
      font-size: 36px;
    }

    p {
      margin: 20px 0;
    }

    @media screen and (max-width: 992px) {
      padding: 20px 0;

      .col-lg-12 {
        padding: 30px 10px;
      }
    }
  }

  .con-quien-colaboramos {
    padding: 125px 0;
    padding-top: 150px;
    background-color: var(--azul);

    .row:nth-child(1) h2 {
      color: var(--celeste);
      text-transform: uppercase;
      margin-bottom: 20px;
      text-align: center !important;
      font-size: 44px;

      @media screen and (max-width: 992px) {
        text-align: center !important;
      }
    }

    .row:nth-child(2) {
      #accordionFlushExample {
        .accordion-body {
          background: linear-gradient(
              to bottom,
              rgba(0, 100, 133, 0.65) 0%,
              rgba(0, 100, 133, 0.65) 100%
            ),
            url("img/fondo-acordeon.jpg") no-repeat center center / cover;
        }

        border-radius: 24px;

        button {
          background-color: var(--azul-oscuro);

          h2 {
            color: var(--blanco);
            font-weight: 300;
            font-size: 24px;
            text-transform: uppercase;
          }
        }

        .accordion-button::after {
          color: var(--blanco) !important;
        }

        .col-lg-4:nth-child(1) {
          padding-left: 50px;
          display: flex;
          align-items: center;

          img {
            border-radius: 24px;
          }

          @media screen and (max-width: 992px) {
            padding: 0;
          }
        }

        .col-lg-8 {
          display: flex;
          flex-direction: column;
          justify-content: center;
          align-items: center;
          padding: 20px 50px;

          p {
            color: var(--blanco);
          }

          @media screen and (max-width: 992px) {
            padding: 10px;
          }
        }
      }
    }

    .row:nth-child(3) {
      padding: 50px 0;
      padding-top: 125px;

      h2 {
        color: var(--celeste);
        text-transform: uppercase;
        margin-bottom: 20px;
        text-align: center !important;
        font-size: 36px;
      }
      p {
        color: var(--blanco);
      }
    }

    @media screen and (max-width: 992px) {
      padding: 50px 0;
      padding-top: 120px;
    }
  }

  .vias-de-trabajo {
    padding-top: 150px;
    padding-bottom: 50px;

    @media screen and (max-width: 992px) {
      padding: 50px 0;

      #mem > div:nth-child(2) > div:nth-child(1) > div {
        margin-top: 75px;
      }

      #mem > div:nth-child(2) > div:nth-child(3) > div {
        margin-bottom: 30px;
      }

      #mem > div:nth-child(2) {
        padding: 0;
        display: flex;
        justify-content: center;
      }
    }

    h3.vdt-title {
      font-size: 36px;
    }

    .vias-de-trabajo-content {
      padding: 15px;
      background: linear-gradient(
        to bottom,
        rgba(0, 100, 133, 1) 0%,
        rgba(0, 100, 133, 1) 50%,
        rgba(61, 172, 188, 1) 100%
      );
      height: auto;
      border-radius: 24px;
      box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.3);
      transition: transform 0.7s ease, box-shadow 0.7s ease;

      .vdt-photo {
        display: flex;
        justify-content: center;

        img {
          width: 70%;
          border-radius: 50%;
          position: relative;
          top: -150px;

          /* filter: grayscale(100%); */
          transition: transform 0.7s ease, box-shadow 0.7s ease;

          @media screen and (max-width: 992px) {
            top: -134px;
          }
        }
      }

      .vdt-text {
        margin-top: -125px;
        display: flex;
        flex-direction: column;
        justify-content: center;

        h3 {
          text-align: center;
          font-size: 24px;
          color: var(--celeste);
          text-transform: uppercase;
        }

        p {
          color: var(--blanco);
          padding: 12px;
        }
      }

      &:hover .vdt-photo img {
        filter: none;
        /* Quita el filtro al hacer hover */
        transform: scale(1.15) rotate(10deg);
        /* Opcional: Aplica un pequeño zoom en el hover */
        box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.4);

        @media screen and (max-width: 992px) {
          transform: none;
          box-shadow: none;
        }
      }

      @media screen and (max-width: 992px) {
        margin-bottom: 200px;
      }
    }

    .row:nth-child(1) {
      h2 {
        font-family: var(--titulo);
        color: var(--azul-oscuro);
        font-size: 44px;
        text-transform: uppercase;
        text-align: center;
        margin-bottom: 20px;
      }

      p {
        margin: 20px 0;
      }
    }

    .microplasticos-ecosistema-maritimo,
    .limpieza-fluidos-agua-marina {
      .row:nth-child(1) {
        padding: 50px 0;
        padding-top: 20px;

        @media screen and (max-width: 992px) {
          padding-bottom: 30px;
          padding-top: 30px;
        }

        h3 {
          font-family: var(--titulo);
          color: var(--azul-oscuro);
          font-size: 36px;
          text-transform: uppercase;
          text-align: start !important;
          margin-bottom: 20px;

          @media screen and (max-width: 992px) {
            text-align: center !important;
          }
        }
      }

      .row:nth-child(2) {
        padding: 100px 0;
      }

      @media screen and (max-width: 992px) {
        padding-top: 0;
      }
    }

    .microplasticos-ecosistema-maritimo {
      .row:nth-child(2),
      .row:nth-child(3) {
        display: flex;
        justify-content: space-between;
      }
      .row:nth-child(3) {
        padding: 200px 0;
        display: flex;
        @media (max-width: 992px) {
          padding: 0;
        }
      }
      .row:nth-child(1) {
        padding-bottom: 100px;
      }
      .vias-de-trabajo-content > .vdt-photo > img {
        top: -190px;
        @media (max-width: 992px) {
          top: -150px;
        }
      }
    }
    .limpieza-fluidos-agua-marina {
      .row:nth-child(3) {
        padding: 100px 0;
        display: flex;
        justify-content: center;
      }
    }

    .microplasticos-ecosistema-maritimo .vias-de-trabajo-content {
      height: 540px;

      @media screen and (max-width: 992px) {
        height: auto;
      }
    }

    .limpieza-fluidos-agua-marina .vias-de-trabajo-content {
      height: 490px;

      @media screen and (max-width: 992px) {
        height: auto;
      }
    }

    @media screen and (max-width: 992px) {
      padding: 50px 0;

      #lfam > div:nth-child(2) > div:nth-child(1) > div {
        margin-top: 75px;
      }

      #lfam > div:nth-child(2) > div:nth-child(3) > div {
        margin-bottom: 30px;
      }

      #lfam > div:nth-child(2) {
        padding: 50px 0;
      }
    }
  }

  .pruebas-de-campo {
    background-color: var(--azul);
    padding: 100px 0;
    padding-top: 150px;

    h2 {
      color: var(--celeste);
      text-transform: uppercase;
      font-size: 36px;
      text-align: start;

      @media screen and (max-width: 992px) {
        text-align: center !important;
      }
    }

    p {
      margin: 20px 0;
      color: var(--blanco);
    }

    @media screen and (max-width: 992px) {
      padding: 50px 0;
      padding-top: 120px;
    }
  }

  .img-pdc {
    background: linear-gradient(
        to bottom,
        rgba(0, 100, 133, 1) 0%,
        rgba(0, 100, 133, 0.35) 25%,
        rgba(0, 100, 133, 0.15) 50%,
        rgba(0, 100, 133, 0.35) 70%,
        rgba(0, 100, 133, 1) 100%
      ),
      url("img/img-pruebas-campo.jpg") no-repeat center center / cover;
    padding: 100px 0;
    color: white;
    height: 50vh;

    @media screen and (max-width: 992px) {
      margin-top: -50px;
    }
  }

  .educacion-y-concienciacion {
    padding: 100px 0;
    background-color: var(--azul);

    h2 {
      color: var(--celeste);
      text-transform: uppercase;
      font-size: 36px;
      text-align: start;

      @media screen and (max-width: 992px) {
        text-align: center !important;
      }
    }

    p {
      margin: 20px 0;
      color: var(--blanco);
    }

    @media screen and (max-width: 992px) {
      padding: 50px 0;
    }
  }

  .buque-insignia {
    padding-top: 150px;
    padding-bottom: 50px;
    background-color: var(--azul);

    h2 {
      color: var(--celeste);
      text-transform: uppercase;
      font-size: 36px;
      text-align: start;

      @media screen and (max-width: 992px) {
        text-align: center !important;
      }
    }

    p {
      margin: 20px 0;
      color: var(--blanco);
      strong {
        color: var(--celeste);
      }
    }

    @media screen and (max-width: 992px) {
      padding-bottom: 10px;
      padding-top: 120px;
    }
  }

  .buque-insignia-photo {
    background: linear-gradient(
        to bottom,
        rgba(0, 100, 133, 1) 0%,
        rgba(0, 100, 133, 0.35) 25%,
        rgba(0, 100, 133, 0.15) 50%,
        rgba(0, 100, 133, 0.35) 70%,
        rgba(0, 100, 133, 1) 100%
      ),
      url("img/buque-insignia.jpg") no-repeat center center / cover;
    height: 50vh;
  }

  .empresas-colaboradoras {
    padding: 100px 0;
    padding-top: 150px;
    background-color: var(--azul);

    @media screen and (max-width: 992px) {
      padding: 50px 0;
      padding-top: 120px;
    }

    .row:nth-child(1) {
      h2 {
        color: var(--celeste);
        text-transform: uppercase;
        font-size: 36px;
        text-align: start;
        margin-bottom: 20px;

        @media screen and (max-width: 992px) {
          text-align: center !important;
        }
      }

      p {
        color: var(--blanco);
      }
    }

    .container-fluid .row {
      .slick-slider {
        padding: 30px 0;
      }

      .slick-track {
        padding: 100px 0;
      }

      .slick-slide {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: var(--blanco);
        margin: 0 50px;
        height: 175px;
        border-radius: 24px;
        transition: all 0.7s ease;

        @media screen and (max-width: 992px) {
          height: 200px;
        }

        img {
          width: 100%;
          height: auto;
          padding: 0 50px;
        }

        &:hover {
          background-color: var(--celeste);
          -webkit-box-shadow: 0px 0px 79px 5px rgba(133, 231, 236, 0.9);
          -moz-box-shadow: 0px 0px 79px 5px rgba(133, 231, 236, 0.9);
          box-shadow: 0px 0px 79px 5px rgba(133, 231, 236, 0.9);
        }
      }

      @media screen and (max-width: 992px) {
        padding: 30px 0;
      }
    }
  }

  .unete-a-nosotros {
    padding: 152px 0;
    padding-bottom: 250px;
    background-color: var(--azul);

    .col-lg-5 {
      background: linear-gradient(
          to bottom,
          rgba(0, 100, 133, 1) 0%,
          rgba(0, 100, 133, 0) 45%,
          rgba(0, 100, 133, 0) 50%,
          rgba(0, 100, 133, 0) 75%,
          rgba(0, 100, 133, 1) 100%
        ),
        linear-gradient(
          to right,
          rgba(0, 100, 133, 1) 0%,
          rgba(0, 100, 133, 0) 25%,
          rgba(0, 100, 133, 0) 50%,
          rgba(0, 100, 133, 0) 75%,
          rgba(0, 100, 133, 1) 90%
        ),
        url("img/unete-a-nosotros.jpg") no-repeat center center / cover;
    }

    .col-lg-7 {
      padding-left: 50px;

      h2 {
        color: var(--celeste);
        text-transform: uppercase;
        font-size: 36px;
        text-align: center;
        margin-bottom: 20px;
      }

      p {
        color: var(--blanco);
      }
    }

    @media screen and (max-width: 992px) {
      padding: 50px 0;

      .col-lg-7 {
        padding-left: 3%;
      }
    }
  }

  .contacto {
    .col-lg-6:nth-child(1) {
      background-color: var(--blanco);
      /* padding-left: 15%;
			padding-right: 50px; */
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 184px 100px;
      border-top-right-radius: 24px;

      h2 {
        color: var(--azul-oscuro);
        text-transform: uppercase;
        font-size: 36px;
        text-align: center;
        margin-bottom: 20px;
      }

      p {
        text-align: center;
      }

      h3 {
        color: var(--azul-oscuro);
        text-transform: uppercase;
        font-size: 24px;
        text-align: center;
        margin-bottom: 20px;
        margin-top: 40px;
      }

      .icons-rrss {
        display: flex;
        justify-content: space-evenly;

        a {
          transform: scale(0.7);
          transition: transform 0.7s ease;

          &:hover {
            transform: scale(0.85);
          }
        }
      }

      @media screen and (max-width: 992px) {
        padding: 50px 3%;
        padding-top: 120px;
      }
    }

    .col-lg-6:nth-child(2) {
      background-color: var(--azul);
      border-bottom-left-radius: 24px;
      padding: 184px 100px;

      #wpforms-form-12 {
        legend,
        label {
          color: var(--celeste);
        }

        .wpforms-field-sublabel {
          color: var(--aquamarina);
          font-style: italic;
        }

        input,
        textarea {
          border: none;
          border-bottom: solid 2px var(--celeste);
          background-color: rgba(255, 255, 255, 0.2);
          border-radius: 12px;
        }

        span.wpforms-required-label {
          color: var(--blanco);
          font-weight: 800;
        }

        #wpforms-submit-12 {
          display: inline-block;
          background-color: var(--celeste);
          color: var(--azul-oscuro);
          padding: 10px 40px;
          border-radius: 12px;
          text-decoration: none;
          font-size: 1.2rem;
          transition: background-color 0.75s ease, color 0.75s ease,
            transform 0.75s ease;
          font-family: var(--titulo);
          text-transform: uppercase;
          font-size: 0.95rem;
          font-weight: 700;

          &:hover {
            background-color: var(--aquamarina) !important;
            color: var(--blanco) !important;
            transform: scale(1.1);
          }

          @media screen and (max-width: 992px) {
            width: 100%;
            text-align: center;
          }
        }
      }

      @media screen and (max-width: 992px) {
        padding: 50px 3%;
        border-bottom-left-radius: 0;
        /* background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(0, 100, 133, 1) 25%, rgba(0, 100, 133, 1) 50%, rgba(0, 100, 133, 1) 75%, rgba(0, 100, 133, 1) 100%) */
        background-color: var(--azul);
      }
    }
  }
}

#blog {
  margin-top: 100px;

  .blog-container {
    .row:nth-child(1) {
      h1 {
        font-family: var(--titulo);
        color: var(--azul);
        text-align: center;
        margin-bottom: 20px;
      }
    }

    .row:nth-child(2) {
      .card {
        .card-img-top {
          height: 276px;
          object-fit: cover !important;
        }

        h2.card-title a {
          font-family: var(--titulo);
          text-decoration: none;
          text-transform: uppercase;
          font-size: 24px;
          color: var(--azul);
          transition: color 0.7s ease;

          &:hover {
            color: var(--celeste);
          }
        }

        p {
          font-size: 16px !important;
        }

        .card-footer {
          display: flex;
          justify-content: end;
          background-color: transparent;
          border-top: none;
          padding-bottom: 15px;

          @media screen and (max-width: 992px) {
            a.boton {
              width: 100%;
            }
          }
        }
      }

      ul.page-numbers {
        list-style: none;
        display: flex;
        justify-content: center;

        li {
          /* margin:0 10px; */
          padding: 5px;
          border: solid 1px rgba(0, 0, 0, 0.2);

          a {
            text-decoration: none !important;
            color: var(--azul-oscuro) !important;
          }

          a.current {
            color: var(--celeste) !important;
            font-weight: bold;
          }
        }

        @media screen and (max-width: 992px) {
          padding-left: 0;
          margin: 0;
        }
      }
    }
  }
}

#post-blog {
  header.entry-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: Center;

    .img-blog {
      height: 100vh;
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;

      .titulo-blog {
        background-color: rgba(0, 100, 133, 0.5);
        width: 35%;
        padding: 40px;
        border-radius: 12px;

        h1 {
          text-align: center;
          font-family: var(--titulo);
          color: var(--blanco);
          text-transform: uppercase;
          margin-bottom: 0;
        }

        @media screen and (max-width: 992px) {
          width: 90%;
        }
      }

      span {
        padding: 10px;
        background-color: rgba(0, 100, 133, 0.5);
        color: var(--blanco);
        border-radius: 50%;
        margin-top: 50px;
        transition: all 0.5s ease-out;

        &:hover {
          animation: bote infinite 1s;
          background-color: rgba(0, 100, 133, 1);
        }
      }
    }
  }

  p.resumen-blog {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
    color: var(--blanco);
    margin-bottom: 0;
  }

  .entry-content {
    padding-bottom: 100px;
    padding-top: 150px;

    @media screen and (max-width: 992px) {
      padding-bottom: 20px;
      padding-top: 100px;
    }
  }

  .entry-footer {
    display: flex;
    justify-content: center;
  }

  .back-to-posts {
    display: flex;
    justify-content: center;
  }

  @media screen and (max-width: 992px) {
    a.boton {
      width: 95%;
    }
  }
}

#p-privacidad {
  .separator {
    height: 30vh;
    background-color: var(--blanco);
  }

  .content-pdp {
    h2,
    h3 {
      font-family: var(--titulo);
      text-transform: uppercase;
    }

    h2 {
      color: var(--azul-oscuro);
      text-align: center;
      font-size: 44px;
    }

    h3 {
      color: var(--azul);
      margin-bottom: 20px;
    }

    .row {
      margin-bottom: 50px;
    }

    strong {
      color: var(--celeste);
    }

    a {
      color: var(--aquamarina);
      font-family: var(--texto);
      font-size: 18px;
      transition: color 0.7s ease;

      &:hover {
        color: var(--azul-oscuro);
      }
    }
  }
}

#p-cookies {
  .separator {
    height: 30vh;
    background-color: var(--blanco);
  }

  .content-pdc {
    h2,
    h3 {
      font-family: var(--titulo);
      text-transform: uppercase;
    }

    h2 {
      color: var(--azul-oscuro);
      text-align: center;
      font-size: 44px;
    }

    h3 {
      color: var(--azul);
      margin-bottom: 20px;
    }

    .row {
      margin-bottom: 50px;
    }

    strong {
      color: var(--celeste);
    }

    span {
      color: var(--azul);
    }

    a {
      color: var(--aquamarina);
      font-family: var(--texto);
      font-size: 18px;
      transition: color 0.7s ease;

      &:hover {
        color: var(--azul-oscuro);
      }
    }

    small {
      font-family: var(--texto);
    }
  }
}

#p-avisolegal {
  .separator {
    height: 30vh;
    background-color: var(--blanco);
  }

  .content-al {
    h2,
    h3 {
      font-family: var(--titulo);
      text-transform: uppercase;
    }

    h2 {
      color: var(--azul-oscuro);
      text-align: center;
      font-size: 44px;
      margin-bottom: 30px;
    }

    h3 {
      color: var(--azul);
      margin-bottom: 20px;
    }

    .row {
      margin-bottom: 50px;
    }

    strong {
      color: var(--celeste);
    }

    a {
      color: var(--aquamarina);
      font-family: var(--texto);
      font-size: 18px;
      transition: color 0.7s ease;

      &:hover {
        color: var(--azul-oscuro);
      }
    }
  }
}

#p-accesibilidad {
  .separator {
    height: 30vh;
    background-color: var(--blanco);
  }

  .content-dda {
    h2,
    h3 {
      font-family: var(--titulo);
      text-transform: uppercase;
    }

    h2 {
      color: var(--azul-oscuro);
      text-align: center;
      font-size: 44px;
      margin-bottom: 30px;
    }

    h3 {
      color: var(--azul);
      margin-bottom: 20px;
    }

    .row {
      margin-bottom: 50px;
    }

    strong {
      color: var(--celeste);
    }

    a {
      color: var(--aquamarina);
      font-family: var(--texto);
      font-size: 18px;
      transition: color 0.7s ease;

      &:hover {
        color: var(--azul-oscuro);
      }
    }

    small {
      font-family: var(--texto);
    }
  }
}

@media screen and (max-width: 992px) {
  .banner,
  .sobre-nosotros,
  .unete,
  .analisis-situacion,
  .mision2,
  .cuidado-mar,
  .con-quien-colaboramos,
  .vias-de-trabajo,
  .buque-insignia,
  .empresas-colaboradoras,
  .unete-a-nosotros {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .contacto .col-lg-6:nth-child(1){
    padding-left:1rem !important;
    padding-right:1rem !important;
  }
}

footer#colophon {
  padding-top: 50px;

  .container-fluid:nth-child(1) {
    padding-left: 0 !important;
    padding-right: 0 !important;

    .row:nth-child(1) {
      .col-lg-4 {
        display: flex;
        justify-content: center;

        img {
          width: 100%;
        }
      }
    }

    .row:nth-child(2) {
      .col-lg-8 {
        display: flex;
        justify-content: center;
        padding: 20px 0;

        a {
          text-decoration: none;
          color: var(--azul-oscuro);
          margin: 0 30px;
          font-family: var(--titulo);
          font-size: 16px;
          transition: color 0.7s ease;

          &:hover {
            color: var(--aquamarina);
          }
        }
      }

      @media screen and (max-width: 992px) {
        .col-lg-8 a {
          margin: 0 15px;
          text-align: center;
        }
      }
    }
  }

  .container-fluid > .row > .col-lg-12 {
    background-color: var(--azul);
    padding: 20px 0;
    color: var(--blanco);
    display: flex;
    justify-content: center;

    small {
      font-family: var(--texto);

      strong {
        color: var(--celeste);
      }
    }
  }
}
