/*
Theme Name:   Earthbg Theme
Theme URI:    https://earth-bg.com/
Description:  A Twenty Twenty-Three child theme 
Author:       Belev Studio
Author URI:   https://www.belev.net
Template:     twentytwentythree
Version:      1.0.0
Text Domain:  twentytwentythreechild
*/

@import url('https://fonts.googleapis.com/css2?family=Sofia+Sans:ital,wght@0,1..1000;1,1..1000&display=swap');
:root {
  --white: #ffffff;
  --black: #000000;
  --gray: #d0d0d0;
  --green: #06bd26;
  --light-gray: #f6f6f6;
  --dark-gray: #d9d9d9;
  --transparent-gray: rgb(158 158 158 / 20%);
  --dark-blue: #0d1989;
  --er-blue: #90dee3;
  --er-green: #cff595;
  --er-yellow: #fde973;
  --er-red: #ff5e5e;
}
body {
  font-family: "Sofia Sans", sans-serif;
  background-color: var(--light-gray);
}
body
  .is-layout-constrained
  > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: 1400px;
}
textarea,
input {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
h1 {
  font-size: clamp(0.719rem, 1.719rem + ((1vw - 0.48rem) * 1.742), 3.625rem);
}
h1,
h2,
h3 {
  font-weight: 600;
}
h3 {
  font-size: 1.17em;
}
.wp-block-post-title {
  margin: 0 0 3rem !important;
}
.wp-site-blocks {
  padding: 0;
}
.wp-site-blocks > * + * {
  margin-block-start: 0;
}
.er-page {
  padding: 2rem 0;
  background-color: var(--white);
}
.header,
.footer {
  max-width: 1106px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}
.header {
  display: flex;
  justify-content: center;
}
.header .bg {
  max-width: 1106px;
  width: 100%;
  display: block;
}
.header div {
  position: absolute;
  top: 14%;
  width: 89%;
  height: 70%;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.header div a {
  display: flex;
  align-items: center;
}
.logo {
  width: 30.6%;
  display: block;
  margin: 0 auto;
}
.header h1 {
  margin: 6px 0;
  font-size: 1.7vw;
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu-main-menu-container {
  max-width: 970px;
  width: 85%;
  margin: -1% auto 0;
  position: relative;
  z-index: 9;
}
#menu-main-menu #menu-item-41 a {
  font-size: 0;
}
#menu-main-menu #menu-item-41 a:before {
  content: url("/images/home.svg");
  display: block;
  width: 18px;
  margin-right: 0.3rem;
}
.home #menu-main-menu #menu-item-41 a:before {
  filter: invert(50%) sepia(98%) saturate(18%) hue-rotate(130deg)
    brightness(103%) contrast(105%);
}
.footer {
  margin: 0.2rem auto;
}
#menu-main-menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 1rem 0;
}
#menu-main-menu .menu-item {
  margin-right: 0.7rem;
}
#menu-main-menu .menu-item a {
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  border-bottom: solid 1px var(--light-gray);
}
#menu-main-menu .menu-item a:hover {
  border-bottom: solid 1px var(--black);
}
#menu-main-menu #menu-item-41 a:hover {
  filter: invert(50%) sepia(98%) saturate(18%) hue-rotate(130deg)
    brightness(103%) contrast(105%);
  border: none;
}
.home #menu-main-menu #menu-item-41 a:hover {
  border: none;
  cursor: auto;
}
#menu-main-menu .menu-item a.active {
  border-bottom: solid 1px var(--black);
}
.wp-block-post-title {
    margin: 1rem auto 4rem !important;
    font-size: 2rem;
}
.footer {
  display: flex;
  justify-content: center;
  align-content: center;
}
.footer p {
  margin: 0;
  font-size: 1rem;
}
.footer a {
  display: flex;
  align-items: center;
}

#earth_hero_slider {
  max-width: 931px;
  width: 85%;
  margin: 0 auto;
  border: solid 7px var(--white);
  box-shadow: -1px 2px 12px 2px rgb(168 168 168);
}
.splide__slide img {
  width: auto;
}
#products-content {
  max-width: 940px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 0px;
  grid-row-gap: 0px;
}
.products-content__box {
  width: 100%;
  max-width: 293px;
  position: relative;
  height: fit-content;
  padding: 20px 0 0;
  font-size: 15px;
  margin: 0 10px 15px;
}
.products-content__text {
  display: inline-block;
  width: 100%;
}
.products-content__box a {
  outline: none;
  text-decoration: none;
}
.products-content__box img {
  margin: 0 auto;
  display: block;
}
.products-content__box h2 {
  text-align: center;
  color: var(--black);
  font-size: 1rem;
  background-color: var(--gray);
  padding: 8px;
  margin: 0;
  width: 289px;
  position: absolute;
  left: -6px;
}
.products-content__box h3 {
    text-align: left;
    margin: 55px 21px 10px;
    font-weight: 900;
}
.products-content__box ul {
  margin: 0 auto 27px;
  padding-left: 30px;
  list-style: none;
}
.products-content__box li {}
.nfo {
  text-align: right;
}
.triangle {
  width: 0;
  height: 0;
  border-top: 2.19rem solid;
  border-left: 4rem solid transparent;
  margin-right: -5px;
  display: inline-block;
  vertical-align: top;
}
.nfo p {
  color: var(--white);
  display: inline-block;
  margin: 0;
  padding: 5px 15px;
  font-weight: 600;
  font-size: 15px;
}
#post_box .products-content__text,
#post_box .nfo p {
  background-color: var(--er-blue);
}
#post_box .triangle {
  border-top-color: var(--er-blue);
}
#mail_box .products-content__text,
#mail_box .nfo p {
  background-color: var(--er-green);
}
#bgpost {
  border: inherit !important;
  position: absolute;
  z-index: 1;
  bottom: -8px;
  right: 44px;
}
#mail_box .triangle {
  border-top-color: var(--er-green);
}
#cabinets .products-content__text,
#cabinets .nfo p {
  background-color: var(--er-yellow);
}
#cabinets .triangle {
  border-top-color: var(--er-yellow);
}
#wall .products-content__text,
#wall .nfo p {
  background-color: var(--er-red);
}
#wall .triangle {
  border-top-color: var(--er-red);
}
#gallery .products-content__text,
#gallery .nfo p {
  background-color: var(--er-blue);
}
#gallery .products-content__text {
  height: 70px;
  display: block;
}
#gallery .triangle {
  border-top-color: var(--er-blue);
}
#contact {
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#contact h2 {
  text-align: left;
  background-color: transparent;
  position: relative;
  font-size: 1.1rem;
}
#contact ul {
  margin: 0;
  padding: 0;
}
#contact li {
  color: var(--black);
}
#contact-button {
  position: relative;
  margin-top: 1.5rem;
}
#contact-button a {
  position: absolute;
  color: #fff;
  font-size: 1.5rem;
  text-align: center;
  width: 100%;
  top: 1px;
}
#baloon {
  width: 100%;
}

.wp-block-post-title {
  text-align: center;
  text-align: center;
  margin: 1rem auto 4rem !important;
  font-size: 2rem;
}
#contact-content {
  max-width: 960px;
  display: flex;
  justify-content: space-between;
}
#contact-form-content {
}
#contact-form-content p span {
  display: flex;
}
#contact-form-content input,
#contact-form-content textarea {
  width: 100%;
  border: 1px solid var(--dark-gray);
  background-color: var(--light-gray);
  border-radius: 5px;
  padding: 0 10px;
  color: var(--black);
}
#contact-form-content input {
  height: 40px;
}
#contact-form-content textarea {
  padding: 10px;
}
#contact-form-content .wpcf7-submit {
  max-width: 140px;
  display: block;
  background-color: var(--green);
  border: none;
  color: var(--white);
  font-size: 18px;
  text-transform: uppercase;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  cursor: pointer;
}
.send {
  display: flex;
}
#customers {
  margin: 0 auto;
  background-color: #fff;
  padding: 2rem 0;
}
#customers h2 {
  text-align: center;
  margin: 1rem 0 0;
  font-size: 2rem;
}
#customers h2 a {
  text-decoration: none;
}
#earth_customers_slider {
  max-width: 940px;
  width: 100%;
  margin: 0 auto;
}
.page-content {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.page-content-text {
  width: 100%;
  max-width: 930px;
}
.page-content-text ul {
}
.page-content-text ul a {
}
.page-content-text li {
}
.page-content-images {
  width: 100%;
  max-width: 400px;
}
.page-content-images #main-carousel {
}
.page-content-images #thumbnail-carousel {
  height: 60px;
  margin-top: 1rem;
}
#customer-list-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
}
.customer-list {
}
#customer-list-content h3 {
}

@media (max-width: 1440px) {
  .header h1 {
    font-size: 2vw;
  }
}
@media (max-width: 1024px) {
  .header h1 {
    font-size: 3vw;
  }
}
@media (max-width: 930px) {
  .header h1 {
    font-size: 3vw;
  }
  #products-content {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
  }
  .products-content__box {
    margin: 0 auto 15px;
  }
}
@media (max-width: 768px) {
  #earth_hero_slider {
    border: solid 5px var(--white);
  }
  #contact-content {
    flex-direction: column-reverse;
  }
  #contact-form-content input,
  #contact-form-content textarea {
    width: 100%;
  }
  #contact-map iframe {
    width: 100%;
  }
  .page-content {
    flex-direction: column;
  }
  .page-content-images {
    max-width: 800px;
  }
  .wp-block-post-title {
    margin: 0 !important;
  }
}
@media (max-width: 625px) {
  #products-content {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 1fr);
  }
  #contact {
    display: block;
  }
  #customer-list-content {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 1fr);
  }
}
@media (max-width: 515px) {
  .header div {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
  }
  .logo {
    width: 89.6%;
  }
  .header h1 {
    text-align: left;
    font-size: 3.8vw;
  }
}
@media (max-width: 336px) {
  .menu-main-menu-container {
    width: 90%;
  }
}
