/*
Theme Name: Averium PRO
Theme URI: https://effethemes.com/themes/averium-wordpress-theme/
Author: Effe Themes
Author URI: https://effethemes.com/
Description: Averium is a bold and versatile block theme with a dark, immersive design crafted for agencies, studios, and forward-thinking businesses. Its glowing animated background adds a layer of elegance and movement, making it an ideal choice for marketing sites, creative portfolios or corporate pages. With full site editing (FSE) support, you get complete freedom over structure, colors and fonts with no coding required. Whether you're building a refined business presence or a daring visual experience, Averium blends cutting-edge style with top-tier performance and flexibility to bring your brand to life online.
Requires at least: 6.6
Tested up to: 6.6
Requires PHP: 5.7
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: averium-pro
Tags: blog, portfolio, block-styles, e-commerce, full-site-editing, two-columns, full-width-template, custom-logo, custom-menu, custom-background, editor-style, block-patterns, custom-header, translation-ready, template-editing
*/

/* ================= > General Styles < ================= */

html,
body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--wp--preset--color--custom-background-primary);
  color: var(--wp--preset--color--custom-text-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

a {
  color: inherit;
  -webkit-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}

ul {
  list-style: none;
  padding: 0;
}

ul > li > a {
  text-decoration: none;
}

ul > li > a:hover {
  color: var(--wp--preset--color--custom-primary) !important;
}

:where(.wp-site-blocks) > * {
  -webkit-margin-before: 0;
          margin-block-start: 0;
}

.is-style-outline > a {
  background: transparent !important;
}

.wp-block-search.wp-block-search__button-only .wp-block-search__button {
  display: block !important;
}

input,
textarea {
  border-radius: 10px;
  border: 0;
}

.full-width-image > img {
  width: 100% !important;
}

/* ================= > Popup < ================= */

.averium-fixed-message {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background: var(--wp--preset--color--custom-primary) !important;
  padding: 20px 20px;
  z-index: 1000;
  word-wrap: break-word;
  max-height: 70% !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

.averium-fixed-message a {
  color: #fff;
  writing-mode: vertical-rl;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  word-wrap: break-word;
  max-height: 70% !important;
}

/* ================= > Header < ================= */

.wp-block-site-title > a {
  text-decoration: none;
}

.wp-block-site-title > a:hover {
  color: var(--wp--preset--color--custom-primary) !important;
}

.wp-block-navigation-item:hover {
  color: var(--wp--preset--color--custom-primary) !important;
}

.wp-block-navigation__responsive-container-content {
  -webkit-box-align: start !important;
      -ms-flex-align: start !important;
          align-items: start !important;
}

.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
  border: 0 !important;
}

.wp-block-navigation-submenu > li {
  background: var(--wp--preset--color--custom-background-secondary) !important;
  color: var(--wp--preset--color--custom-text-color);
}

.header-search-icon > div > button {
  background: transparent;
  padding: 0;
}

/* ================= > Pricing < ================= */

.check-icon {
  list-style: none;
  padding: 0;
}

.check-icon li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
}

.check-icon li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  color: #fff;
  font-size: 18px;
}

/* ================= > Team < ================= */

.team-hover-effect > img {
  -webkit-transition: -webkit-transform 0.45s ease-in-out;
  transition: -webkit-transform 0.45s ease-in-out;
  -o-transition: transform 0.45s ease-in-out;
  transition: transform 0.45s ease-in-out;
  transition: transform 0.45s ease-in-out, -webkit-transform 0.45s ease-in-out;
}

.team-hover-effect:hover > img {
  -webkit-transform: scale(1.10);
      -ms-transform: scale(1.10);
          transform: scale(1.10);
}

.team-hover-effect > div > div {
  opacity: 0;
  background: #000000b0;
  -webkit-transition: opacity 0.25s ease-in-out;
  -o-transition: opacity 0.25s ease-in-out;
  transition: opacity 0.25s ease-in-out;
}

.team-hover-effect:hover > div > div {
  opacity: 1;
}

/* ================= > Progress Bar < ================= */

.progress-bar-container {
  background-color: #e0e0e0;
  border-radius: 25px;
  position: relative;
  height: 10px;
  padding: 0 10px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.progress-bar-bar {
  height: 100%;
  background-color: var(--wp--preset--color--custom-primary);
  border-radius: 25px;
  position: absolute;
  bottom: 0;
  left: 0;
}

.progress-bar-text {
  position: absolute;
  top: -30px;
  font-size: 18px;
  font-weight: bold;
  white-space: nowrap;
}

.progress-bar-hidden-value {
  /* display: none; */
}

/* ================= > Video Popup < ================= */

.video-popup-img-container {
  position: relative;
  display: inline-block;
}

.video-popup-img-container > img {
  display: block;
}

.video-popup-play-button {
  position: absolute;
  top: 45%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  background-color: var(--wp--preset--color--custom-primary);
  color: white;
  border: none;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  cursor: pointer;
  outline: none;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  -o-transition: transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.video-popup-play-button:hover {
  -webkit-transform: translate(-50%, -50%) scale(1.1);
      -ms-transform: translate(-50%, -50%) scale(1.1);
          transform: translate(-50%, -50%) scale(1.1);
}

.video-popup-play-button:before {
  content: "\e037";
  font-family: 'Material Icons';
  font-size: 30px;
}

.video-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  opacity: 0;
  z-index: 9999;
}
.video-popup-content {
  position: relative;
  width: 80%;
}

.video-popup-content video {
  width: 100%;
  height: auto;
}

.video-popup-close-btn {
  position: fixed;
  top: 0px;
  right: 40px;
  font-size: 35px !important;
  color: #fff;
  border: none;
  background: transparent !important;
  width: 30px;
  height: 30px;
  cursor: pointer;
  text-align: center;
  z-index: 9999;
}

.video-popup-close-btn > div > a {
  background: transparent !important;
}

.video-popup-close-btn > div > a:hover {
  color: var(--wp--preset--color--custom-primary);
}

/* ================= > Contact < ================= */

.contact-form-row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  gap: 0 18px;
}

.contact-form-row > p {
  margin: 0;
  flex: 1;
  min-width: 40%;
}

.contact-form > p > span > input,
.contact-form > p,
.contact-form > p > span > input,
.contact-form > p > span > textarea {
  width: 100%;
  box-sizing: border-box;
}

.wpcf7-form-control {
  width: -webkit-fill-available;
  padding: 15px 10px;
}

.wpcf7-submit {
  cursor: pointer;
  width: 100%;
  border-radius: 10px !important;
  padding: 15px 0;
  background: var(--wp--preset--color--custom-primary) !important;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.wpcf7-submit:hover {
  background: #fff !important;
  color: #333 !important;
}

/* ================= > Blog < ================= */

.wp-block-post-title > a:hover {
  color: var(--wp--preset--color--custom-primary) !important;
}

.wp-block-button__link,
.wp-block-search__button {
  background: var(--wp--preset--color--custom-primary);
  -webkit-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}

.wp-block-button__link:hover,
.wp-block-search__button:hover {
  opacity: 0.8;
}

input,
textarea {
  background: var(--wp--preset--color--custom-background-secondary);
  color: #fff !important;
}

/* ================= > Footer < ================= */

.copy > a {
  text-decoration: none;
}

.copy > a:hover {
  opacity: 0.8;
}

/* ================= > Newsletter < ================= */

.tnp-subscription {
  max-width: none !important;
}

.tnp-email {
  background: var(--wp--preset--color--custom-background-secondary) !important;
  margin-bottom: 6px !important;
}

.tnp-submit {
  cursor: pointer;
  background: var(--wp--preset--color--custom-primary) !important;
  -webkit-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
  border-radius: 50px !important;
  width: 100% !important;
}

/* ================= > Media Queries < ================= */

@media (max-width: 1024px) {
  .wp-block-columns {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }

  .vertical-column, .wp-block-post-template {
    grid-template-columns: auto;
    flex-direction: column !important;
    -ms-flex-direction: column !important;
  }

  .hero-cta-buttons {
    justify-self: baseline;
  }
}

@media (max-width: 992px) {
  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) .wp-block-navigation__responsive-container-close,
  .wp-block-navigation__responsive-container-open:not(.always-shown),
  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
    display: none;
  }

  .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  .wp-block-navigation__container {
    --navigation-layout-justification-setting: flex-start !important;
    --navigation-layout-justify: flex-start !important;
  }
}

@media (max-width: 768px) {
  .wp-block-buttons {
    flex-direction: column;
  }
}