/*
Theme Name: Formosa
Author: Inspired by Bryan Hadaway
Author URI: https://opencollective.com/formosa#section-contributors
Description: A barebones theme without the complexity and unnecessary assets.
Tags: accessibility-ready, one-column, two-columns, custom-menu, featured-images, microformats, sticky-post, threaded-comments, translation-ready
Version: 9999
Requires at least: 5.2
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: formosa
*/

@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&display=swap");

:root {
  --bg-main: #ffffff;
  --bg-primary: #0072b5;
  --bg-secondary: #ffe700;
  --bg-dark-blue: #001228;
  --text-primary: #fff;
  --text-link: #a09942;
}

body {
  background: #fafafa;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--text-primary);
}

h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4 {
  font-weight: 600;
}

h1 {
  font-size: 64px;
  font-weight: 600;
}

.home {
  .entry-title {
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  .post-edit-link {
    display: none;
  }
}

#home-hero {
  overflow: hidden;
}

#home-hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom center;
}

.btn-submit {
  padding: 14px 70px;
}

.btn-submit:hover {
  background-color: #73b6af !important;
}

.card-container {
  --bs-gutter-x: 2rem;
  --bs-gutter-y: 0;
  row-gap: 2rem;
}

@media (max-width: 767.98px) {
  #the-spaces-section .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .btn-submit {
    padding: 14px 20px !important;
  }
}

#header {
  background-color: #2a2a2a;
  .nav-link {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
  }
}
#the-spaces {
  background-color: #e6f2f1;
}

@media (min-width: 768px) {
  #proof-section {
    background-image: url("wp-content/themes/blank-theme-main/assets/quote.png");
    background-repeat: no-repeat;
    background-position: top left;
  }
}
.nav-wrapper {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

/* Equal sides */
.nav-side {
  flex: 1;
  display: flex;
}

.nav-left {
  justify-content: flex-end;
}

.nav-right {
  justify-content: flex-start;
}

/* Logo takes its own space */
.nav-center {
  flex: 0 0 auto;
  padding: 0 40px; /* controls spacing between logo & menus */
}

.wp-block-separator {
  border: 0;
  height: 2px;
  background: linear-gradient(to right, #0c2442, #4f7492, #0c2442);

  &:not(.is-style-wide) {
    width: 50%;
    margin-inline: auto;
  }
}

.rounded-xl {
  border-radius: 2.5rem;
}

.team-photos figcaption {
  position: absolute;
  bottom: 0px;
  text-align: center;
  width: 80%;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 0.4rem 0.3rem;
  left: 10%;
  border-radius: 30px;
}

/* START MAIN MENU */
#menu-main-menu {
  .menu-item {
    a:after {
      content: "·";
      color: #fff;
      display: inline;
      margin-left: 1rem;
    }

    &:last-child a:after {
      display: none;
    }
  }

  .nav-link:hover,
  .nav-link:focus {
    color: #ffe700 !important;
  }
}

/* END MAIN MENU */

footer .link-light {
  text-decoration-line: underline;
}

.card-switcher {
  figure {
    &:first-child {
      z-index: 1;
      position: relative;
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    }

    &:last-child {
      transform: scale(0.85);
      margin-left: -4rem;
      z-index: 0;
      position: relative;
    }

    figcaption {
      right: 0;
      bottom: 0;
    }
  }
}

/* SCROLL REVEAL */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s ease-in,
    transform 0.7s ease-in;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
