@font-face {
  font-family: Montserrat;
  src: url(fonts/Montserrat-VariableFont_wght.ttf);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--scroll-padding);
}

body {
  font-family: Montserrat;
  scroll-padding-top: 0px;
}

.top-bar-bg {
  background-color: #689783;
  font-weight: 600;
}

.nav-padding {
  padding-left: 5vw;
  padding-right: 5vw;
  padding-top: 2px;
  padding-bottom: 2px;
}

.top-bar-contact span i {
  margin-right: 5px;
  font-size: 25px;
}

.top-bar-contact {
  padding-right: 20px;
}

.top-bar-contact a {
  text-decoration: none;
  color: #000;
  font-size: 18px;
}

.navbar-nav {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: calc(1rem + 5px);
  font-weight: 600;
}

.top-bar-left {
  font-size: 18px;
}

.nav-link {
  font-size: 18px;
}

.underline-animation a {
  position: relative;
  color: #000;
  text-decoration: none;
}

.underline-animation a:hover {
  color: #000;
}

.underline-animation a::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #000;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.underline-animation a:hover::before {
  transform: scaleX(1);
}

.carousel-inner {
  max-height: 85vh;
}

.hero-wrapper {
  position: relative;
}

.hero-content {
  position: absolute;
  top: 7%;
}

.green-text {
  color: #3d7d61;
}

.italic {
  font-style: italic;
}

.hero-content-wrapper {
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  padding: 20px 30px;
  width: fit-content;
  height: fit-content;
}

.hc-1 {
  font-size: calc(1rem + 15px);
  font-weight: 500;
  margin-bottom: 25px;
}

.hc-2 {
  font-size: calc(1rem + 21px);
  font-weight: 500;
  margin-bottom: 10px;
}

.hc-3 {
  font-size: calc(1rem + 8px);
  margin-bottom: 7px;
}

.hc-4 {
  font-size: calc(1rem + 15px);
  color: #3d7d61;
  text-decoration: underline;
  margin-top: 30px;
}

.welcome-left-bg {
  background-color: #689783;
  padding: 3rem;
}

.name {
  font-size: 1.75rem;
  font-weight: 500;
  color: white;
  margin-bottom: 20px;
}

.name-list {
  font-size: 1.75rem;
  width: 100%;
}

.welcome-font-size {
  font-size: 1.75rem;
}

.line-break::after {
  content: "\a";
  white-space: pre;
}

.mobile-wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding-top: 5vh;
  padding-bottom: 5vh;
}

.portrait {
  background: transparent;
  padding: 20px;
  border-radius: 30px;
}

.welcome-text {
  color: #689783;
  font-style: italic;
}

.text-justified {
  text-align: justify;
}

.top-bar {
  border-top: 4px solid #3d7d61;
}

.slider h2 {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.spacing::before {
  content: "\00a0";
}

.text-link {
  color: #000;
  text-decoration: underline;
  font-weight: 600;
}

.text-link:hover {
  color: #000;
}

.service-title {
  font-weight: 400;
}

.price-btn {
  font-weight: 600;
  text-decoration: none;
  padding: 10px 20px;
  border: 2px solid #3d7d61;
  border-radius: 10px;
  color: #000;
  background-color: white;
}

.price-btn:hover {
  background-color: #3d7d61;
  color: #fff;
  transition: all 0.3s;
}

.card {
  border: none;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.card-body {
  padding: 0px;
  border: none;
}

.card-top {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  background-color: #689783;
  color: #fff;
  padding: 1.5rem;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}

.card-top-line {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  width: 30%;
  border: 1.5px solid #fff;
  opacity: 1;
}

.card-top-name {
  font-size: calc(1rem + 5px);
  font-weight: 400;
}

.card-bottom {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
}

.card-bottom-text {
  font-weight: 500;
}

.card-bottom-line {
  margin-top: 2rem;
  margin-bottom: 2rem;
  margin-left: 1.5rem;
  margin-right: 1.5rem;

  border: 1.5px solid #3d7d61;
  opacity: 1;
}

.contact-map {
  border: 3px solid #3d7d61;
  border-radius: 15px;
  width: 650px;
  height: 450px;
}

.contact-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-name {
  font-size: calc(2rem + 3px);
  font-weight: 500;
}

.contact-text {
  display: flex;
  align-items: center;
}

.contact-text span {
  font-size: calc(1rem + 14px);
}

.contact-text i {
  color: #3d7d61;
  font-size: calc(2rem + 15px);
  padding-right: 15px;
}

.contact-text span a {
  color: #000;
}

.contact-text span a:hover {
  color: #3d7d61;
}

@media (max-width: 992px) {
  .navbar-nav {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: calc(1rem + 5px);
    font-weight: 600;
    text-align: center;
  }

  .hero-content-wrapper {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 5px 10px;
    width: fit-content;
    height: fit-content;
  }

  .hc-1 {
    font-size: calc(1rem + 5px);
    font-weight: 500;
    margin-bottom: 25px;
  }

  .hc-2 {
    font-size: calc(1rem + 4px);
    font-weight: 500;
    margin-bottom: 10px;
  }

  .hc-3 {
    font-size: calc(1rem + 3px);
    margin-bottom: 7px;
  }

  .hc-4 {
    font-size: calc(1rem + 5px);
    color: #3d7d61;
    text-decoration: underline;
    margin-top: 30px;
  }

  .line-break::after {
    content: "";
  }

  .name-list {
    font-size: 1.35rem;
    width: 100%;
  }

  .portrait {
    background: transparent;
    padding: 20px;
    border-radius: 30px;
    width: 80%;
    height: auto;
  }

  .welcome-font-size {
    font-size: 1.35rem;
  }

  .mobile-wrapper {
    display: block;
    padding-top: 3vh;
    padding-bottom: 3vh;
  }

  .welcome-right-side {
    display: flex;
    flex-direction: row;
    justify-content: center;
  }

  .contact-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }

  .contact-text span {
    font-size: calc(1rem + 5px);
  }

  .contact-map {
    border: 3px solid #3d7d61;
    border-radius: 15px;
    max-width: 650px;
    max-height: 450px;
  }
}

.footer-text {
  font-weight: 400;
  color: #fff;
  padding-top: 10px;
  padding-bottom: 10px;
}

/*Kalkulátor */

.price-container-width {
  width: 80vw;
}

.column-style .col {
  width: 50%;
  margin-bottom: 10px;
}

.column-style input:focus {
  outline: none;
}

.column-content-style {
  margin-top: auto;
  margin-bottom: auto;
}

.column-style label {
  font-size: 20px;
}

.column-style select {
  font-size: 20px;
}

.form-select {
  border: none;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.form-select:focus {
  outline: none;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  border: none;
}

.submit-btn {
  font-size: 25px;
  width: 60%;
  color: black;
  border: 2px solid #3d7d61;
  padding: 10px;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.submit-btn:hover {
  background-color: #3d7d61;
  color: #fff;
}

.othertype {
  width: 100%;
}

@media screen and (max-width: 1200px) {
  .column-style .col {
    width: 100%;
    margin-bottom: 10px;
  }

  .column-content-style {
    display: grid;
    padding-bottom: 30px;
    border-bottom: 3px solid #ededed;
  }

  .column-style select,
  input {
    width: 100%;
    float: right;
    border: white;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    line-height: 1.5;
    font-size: 20px;
    border-radius: 6px;
    padding: 5px;
    margin-top: 15px;
  }

  .othertype-border {
    border-bottom: 3px solid #ededed;
    padding-bottom: 65px;
  }
}

@media screen and (min-width: 1200px) {
  .column-style .col {
    width: 50%;
    margin-bottom: 10px;
  }

  .column-content-style {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 30px;
    border-bottom: 3px solid #ededed;
  }

  .column-style select,
  input {
    width: 55%;
    float: right;
    border: white;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    line-height: 1.5;
    font-size: 20px;
    border-radius: 6px;
    padding: 5px;
  }

  .othertype-border {
    border-bottom: 3px solid #ededed;
    padding-bottom: 65px;
  }
}
