/*!
Theme Name: wegic
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: wegic
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.

wegic 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.
 */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

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

/* Global Font Classes */
.font-heading {
  font-family: var(--font-heading);
}

.font-body {
  font-family: var(--font-body);
}

/* Variety Finder & Global Animations */
.slide-enter {
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in {
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.progress-bar {
  transition: width 0.3s ease;
}

input[type="radio"] {
  accent-color: #8b5cf6;
}

input[type="checkbox"] {
  accent-color: #a78bfa;
}

select option {
  background: #1f2937;
  color: white;
}

.wpcf7 form input:focus,
.wpcf7 form select:focus,
.wpcf7 form textarea:focus {
  border-color: #a855f7 !important;
  outline: none;
}

.wpcf7 form .cf7-checkbox-grid .wpcf7-list-item {
  display: block;
  margin: 0;
}

.wpcf7 form .cf7-checkbox-grid .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 2px solid #374151;
  background-color: #111827;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: all 0.3s;
}

.wpcf7 form .cf7-checkbox-grid .wpcf7-list-item label:hover {
  border-color: #a855f7;
}

.wpcf7 form .cf7-checkbox-grid span.wpcf7-list-item-label {
  color: #e0e7ff;
  font-size: 0.875rem;
}

.wpcf7 form .connection-submit {
  display: block;
  margin: 2rem auto 0 auto !important;
  background-color: #a855f7 !important;
  color: white !important;
  padding: 1rem 1.5rem !important;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  border: 2px solid #a855f7 !important;
  border-radius: 0.25rem !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s;
}

@media (min-width: 640px) {
  .wpcf7 form .connection-submit {
    padding: 1rem 2rem !important;
  }
}

.wpcf7 form .connection-submit:hover {
  opacity: 0.9;
}

.wpcf7-response-output {
  margin: 2rem 0 0 0 !important;
  padding: 1rem !important;
  border: 2px solid #374151 !important;
  border-radius: 0.5rem !important;
  text-align: center !important;
  color: #e0e7ff !important;
}

#connection-form-wrapper .wpcf7-response-output {
  display: none !important;
}

.wpcf7-not-valid-tip {
  color: #f87171 !important;
  font-size: 0.875rem !important;
  margin-top: 0.5rem !important;
}

@media (min-width: 640px) {
  .cf7-checkbox-grid .wpcf7-checkbox {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }
}

.herbal-salt-bg {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}
