/* 
Theme Name: GIMA Waste
Theme URI: https://github.com/elementor/hello-theme-child/
Description: GIMA Waste is a child theme of Hello Elementor, created by Cap340
Author: Cap340
Template: hello-elementor
Version: 1.2.0
Text Domain: gimawaste
*/

html {
  scroll-behavior: smooth;
}

.color-primary {
  color: var(--e-global-color-primary);
}

.color-secondary {
  color: var(--e-global-color-secondary);
}

/** Div as link tag */

a.elementor-element {
  color: var(--e-global-color-text);
}

/** Footer */

footer .elementor a:hover span {
  text-decoration: underline;
}

/* Form */

.form-fields {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2rem;
}

.form-field {
  margin-bottom: 10px;
}

.form-field.field-actions {
  position: relative;
  margin-bottom: 0;
}

.form-field.field-actions .wpcf7-spinner {
  position: absolute;
  top: 8px;
  left: 5px;
}

.form-field.field-actions .wpcf7-submit {
  background-color: var(--e-global-color-secondary);
  color: #ffffff;
  border-color: var(--e-global-color-secondary);
}

.form-field label {
  margin-bottom: 5px;
}

.form-field input,
.form-field textarea {
  width: 100%;
}

/* Page Template Default */

body:not([class*="elementor-page-"]) .site-main {
  padding: 0 1rem;
}

body:not([class*="elementor-page-"]) .site-main .page-header {
  padding: 3rem 0;
}

body:not([class*="elementor-page-"]) .site-main .page-content {
  margin-bottom: 3rem;
}

body:not([class*="elementor-page-"])
  .site-main
  .page-content
  > *:not(:last-child) {
  margin-bottom: 1rem;
}

/* Page 404 */

.is-404 .site-main {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.is-404 .page-header,
.is-404 .page-content {
  padding: 0 !important;
}

.is-404 .entry-title,
.is-404 p {
  text-align: center;
}

.is-404 p {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 500;
}

.is-404 .huge {
  color: var(--e-global-color-primary);
  position: absolute;
  top: 50%;
  transform: translateY(-70%);
  font-size: 10rem;
  font-weight: 900;
  line-height: 1;
  z-index: -1;
  opacity: 0.1;
}

/* Tablet */

@media (767px < width <=1024px) {
  .is-404 .huge {
    font-size: 16rem;
  }
}

/* Desktop */

@media (width > 1024px) {
  .is-404 .huge {
    font-size: 20rem;
  }
	
	.form-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
