/*
Theme Name: OLGO
Theme URI: https://olgo.pl
Author: Kacper Boszkiewicz
Description: Motyw OLGO
Version: 1.0
*/

/* normalize  */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: system-ui, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

.text-justify {
  text-align: justify;
}

.text-orange {
  color: #ef7d13;
}

.text-green {
  color: #9ac31c;
}

/* header  */
header {
  min-width: 100%;
  max-width: 100%;
  min-height: 8vh;
  max-height: 8vh;
  position: fixed;
  color: white;
  top: 0;
  left: 0;
  padding: 20px 6%;
}

#heroIcon {
  max-height: 5vh;
}

.wave-container {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 16vh;
  overflow: hidden;
  transform: rotate(180deg);
  z-index: 2;
}

wave-container * {
  z-index: 3;
}

nav * {
  position: relative;
  z-index: 3;
}

#header-contents {
  top: 0;
}

/* footer  */

footer {
  /* border-top: dashed 4px #ef7d13; */
  width: 100wv;
  min-height: calc(8vh + 50px);
  max-height: calc(8vh + 50px);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  padding: 50px 6% 0;

  .pine,
  .mountain {
    position: absolute;
    height: calc(100% - 30px);
    width: auto;
    right: 10%;
    bottom: 0;
    transform: translateY(5%);
  }

  .mountain {
    transform: translate(-67%, 25%);
  }

  .col-xl-4:nth-child(3) {
    border-left: solid 1px #ef7d13;
    border-right: solid 1px #ef7d13;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;

    a {
      color: #ef7d13;
      transition: all 0.3s ease-in-out;
    }

    a:hover {
      font-weight: 700;
    }
  }
}

.shine {
  height: 20px;
  width: 90%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  background-image: radial-gradient(
    farthest-side at 50% -50%,
    rgba(239, 125, 19, 0.5),
    rgba(239, 125, 19, 0)
  );
  position: absolute;
  display: block;
  margin: 20px 0;
  border: none;
}

.shine::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background-image: linear-gradient(
    90deg,
    hsla(0, 0%, 0%, 0),
    hsla(0, 0%, 0%, 0.75) 50%,
    hsla(0, 0%, 0%, 0)
  );
}

@media (max-width: 767px) {
  footer .col-xl-4:nth-child(3) {
    border-left: none;
    border-right: none;
  }
  footer .col-8 a {
    font-size: 15px;
  }
}

@media (max-width: 575px) {
  #copy {
    font-size: 0.7rem !important;
  }
  footer .col-8 a {
    text-align: center;
    font-size: 11px;
  }
}
