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

:root {
  --bg-color: #d8ef48;
  --text-color-dark: rgb(40, 40, 40);
  --text-color-light: #ededed;

  --shadow-text: 0 0 10px rgba(0, 0, 0, 0.8), 0 0 6px rgba(0, 0, 0, 0.8);
  --shadow-large: 0 0 25px 0 rgba(0, 0, 0, 0.6), 0 0 15px 0 rgba(0, 0, 0, 0.6);
  --shadow-15: rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset, rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}

html {
  font-family: 'Poppins', sans-serif;


}

body {
  background-color: var(--bg-color);
  color: var(--text-color-dark);

  display: flex;
  flex-direction: column;
  align-items: center;
}

header,
footer {
  width: 100%;
  height: 250px;

  position: relative;
  box-shadow: var(--shadow-large);
  overflow: hidden;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

h2 {
  margin-top: 1rem;
  padding-left: 1rem;
  background-color: #c5da40;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;

  border-bottom: 1px solid var(--text-color-dark);
}

a {
  text-decoration: none;
  color: var(--text-color-dark);
}

.container {
  width: 100%;
  max-width: 1200px;
  height: 100%;

  font-weight: 400;
  position: relative;
}

.header_logo {
  padding: 2rem;
  position: absolute;
  width: 18rem;
  z-index: 100;
}

.img_container {
  height: 100%;
  position: relative;
  display: flex;
  justify-content: center;
}

.bg-green,
.bg-pellet {
  width: 100%;
  height: 100%;

  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;

  position: absolute;
}

.bg-green {
  background-image: url('../img/bg_zielen.png');
}

.bg-pellet {
  background-image: url('../img/bg_pellet.png');
}

.header-text {
  padding: 2rem 260px;
  width: 100%;
  color: var(--text-color-light);
  text-shadow: var(--shadow-text);
  font-size: 2.4rem;
  position: absolute;
  text-align: center;
}

.ico-fb svg {
  width: 50px;
  height: 50px;

  fill: var(--text-color-light);
  position: absolute;
  right: 2rem;
  top: 2rem;
}

.header-phone-no {
  width: 100%;
  color: var(--text-color-light);
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -5px;
  text-shadow: var(--shadow-text);

  position: absolute;
  bottom: 1rem;
}

.header-phone-no span {
  --delay: calc(200ms * var(--num));
  display: inline-block;


  animation: big 10s linear var(--delay) infinite;
}

@keyframes big {
  0%{
    transform: scale(1);
  }
  2% {
    transform: scale(1.3);
    color: rgb(216, 148, 0);
  }
  4% {
    transform: scale(1);
    color: var(--text-color-light);
  }

  100% {
    transform: scale(1);
  }
}

.header-phone-no span:nth-child(4) {
  padding-right: 14px;
}

.header-phone-no span:nth-child(7) {
  padding-right: 14px;
}

.ico-phone {
  width: 2rem;
  height: 2rem;
  margin-right: 1rem;
  stroke: rgb(109, 109, 109);
  animation: big-phone 10s linear infinite;
}

@keyframes big-phone {
  0% {
    transform: scale(1);
  }
  2% {
    transform: scale(1.2);
  }
  4% {
    transform: scale(1);
  }
  6% {
    transform: scale(1.2);
  }
  8% {
    transform: scale(1);
  }
  100% {
    transform: scale(1);
  }
}

main {
  padding: 1rem;
}

.comapny_info {
  margin-bottom: 1rem;
  text-align: justify;
}

.article-container,
.address-container {
  padding-top: 1rem;
  padding-bottom: 2rem;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.article-img {
  max-width: 450px;
  position: relative;
}

.article-img img {
  width: 300px;
}

.article-info {
  padding: 0 1rem;
  max-width: 600px;

  text-align: justify;
}

.line-info {
  padding-bottom: .4rem;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.article-info svg {
  margin-right: 0.5rem;
  width: 1.4rem;
  height: 1.4rem;
  fill: green;
}

.article-description span {
  font-weight: 700;
}

.address-maps {
  width: 50%;
  height: 250px;

  box-shadow: var(--shadow-large);
}

.address-point {
  display: flex;
  flex-direction: column;
}

.address-point span:first-child {
  font-weight: 700;
}

footer .bg-green,
footer .bg-pellet {
  filter: blur(3px);
  opacity: .6;
}

footer .container {
  padding: 1rem;
  color: var(--text-color-light);
  text-shadow: var(--shadow-text);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

footer a {
  color: var(--text-color-light);
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  height: 50px;
}

.footer-ico-fb svg{
  margin-top: 2rem;
  width: 50px;
  height: 50px;
  color: var(--text-color-light);
}

.modal {
  padding: 1rem;
  width: 90vw;
  min-height: 40px;
  text-align: center;

  background-color: #bed239;
  border-radius: 5px;
  box-shadow: var(--shadow-large);
  position: fixed;

  bottom: 10px;
}

.modal span {
  opacity: .7;
}

.modal a:hover,
footer a:hover {
  text-decoration: underline;
}

.modal button {
  padding: .6rem 4rem;
  margin-left: auto;
  margin-right: 4rem;
  display: block;

  border:  1px solid #68731c;
  border-radius: 5px;
  outline: none;
  font-size: 1tem;
  font-weight: 700;

  cursor: pointer;
}

.hidden {
  display: none;
}

@media (max-width: 992) {
  body {
  }
}

@media (max-width: 768px) {
  header {
    height: 200px;
  }

  .header_logo {
    padding: 1rem;
    width: 10rem;
  }

  .header-text {
    padding: 2rem 150px;
    font-size: 1.4rem;
  }
}

@media (max-width: 576px) {
  header {
    height: 150px;
  }

  .header_logo {
    padding: 1rem;
    width: 7rem;
  }

  .header-text {
    padding: 1rem 100px;
    font-size: 1.2rem;
  }

  .ico-phone {
    width: 1.2rem;
    height: 1.2rem;

  }

  .header-phone-no {
    font-size: 1.6rem;
    bottom: .3rem;
    letter-spacing: -3px;
  }

  .ico-fb svg {
    width: 35px;
    height: 35px;
    top: 1rem;
    right: 1rem;
  }

  .article-container,
  .address-container {
    flex-direction: column;
  }

  .article-img img{
    width: 200px;
  }

  .address-maps {
    width: 100%;
  }

  .address-point {
    padding-top: 1rem;
  }
}