:root{
    --hamburgerBackground:rgb(132, 194, 165);
    --grey:rgba(98, 107, 105, 0.833);
    --serviceBackground:rgb(174, 255, 209);
    --vilagitoZold: #41c078;
    --fontLexend:"Lexend Deca", sans-serif;
    --cardBackgroundServices: rgba(100, 255, 162, 0.082);
    --fontBebas: "Bebas Neue", sans-serif;
}

body{
  font-family: var(--fontLexend);
}


.header{
  background-image: url("../img/hatterforditva.webp");
    background-size: cover;
    height:70vh;
}

.tilbud-button{
  font-family: var(--fontLexend);
  font-weight: 700;
  color:rgba(255, 255, 255, 0.833);
  background-color: #39a568;
  box-shadow: -1px 13px 45px -12px rgba(36,199,93,0.65);
  -webkit-box-shadow: -1px 13px 45px -12px rgba(36,199,93,0.65);
  -moz-box-shadow: -1px 13px 45px -12px rgba(36,199,93,0.65);
}


.main-title h1{
    font-family: var(--fontLexend);
    font-weight: 700;
    color:var(--grey);
}

p{
  line-height:1.8;
}

/* NAV-------------------------------------------------*/ 
nav, ul{
    display: flex;
    justify-content:flex-end;
    flex-direction: row;
    flex-wrap: nowrap;
}

li{
   list-style-type:none;
}

li a{
    text-decoration: none;
    color:var(--hamburgerBackground);
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 2px;
}


li a:hover{
  color:white;
}


.brand{
    margin-right:auto;
}
 
.line{
    width:25px;
    height:3px;
    background-color: var(--hamburgerBackground);
    margin:5px;
}

.hamburger{
    margin-top:1rem;
    margin-right:1rem;
    display: none;
}



/*ABOUT---------------------------------------------------------*/
.about h2, .services-h{
  font-family: var(--fontLexend);
  font-weight: 700;
  color:var(--grey)
}



/*SERVICES------------------------------------------------------*/

.services{
min-height:68vh;
}


.card {
  width:15rem;
}

.container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  padding: 0;
}

.card {
  flex: 1 1 30%; 
  margin: 0;
  box-sizing: border-box;
  border: 1px solid #ddd; 
  cursor: pointer;
}

.card-body {
  padding: 1rem;
}

.card-title {
  margin-bottom: 1rem;
}

.btn {
  margin-top: 1rem;
}

.card-img-top {
  width: 60%; 
  margin: 0 auto 1rem auto; 
  display: block; 
}

.card-title {
  margin-bottom: 1rem;
}

.btn {
  margin-top: 1rem;
}

.vindue{
  background-color: var(--cardBackgroundServices);
}

.rengøring{
  background-color: var(--cardBackgroundServices);
}

.trappe{
  background-color: var(--cardBackgroundServices);
}

.btn-custom{
  letter-spacing: 2px;
  border:none;
  color:seagreen;
}

.btn-custom:hover{
  color:rgb(69, 214, 137);
}

/*PARALLAX---------------------------------*/ 

.parallax {
  position: relative;
  background-image: url("../img/ablakmosasdark.webp");
  min-height: 65vh;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
  z-index: 1; 
}

.parallax::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(60, 60, 60, 0.5); 
  backdrop-filter: blur(4px); 
  z-index: -1; 
}

.parallax h4, .parallax h5 {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 2px;
  color: #54d38b;
}

.price-explanation h4 {
  font-size: 3.5rem;
  margin-top:20px;
}
.price-explanation h5{
  font-size: 2.7rem;
}

.price-explanation p{
  width:80%;
  margin-left: 10%;
  margin-right:auto;
  margin-top:5%;
  font-size:20px;

}
.step {
  width: 20%;
  border-radius: 6px;
  margin: 2rem;
  padding: 20px;
}

.content a{
  text-decoration: none;
  color:#41c078;
  border: 1px solid #41c078; 
  padding:10px;
  border-radius: 7px;
}

.content p {
  margin-top:3rem;
  margin-bottom: 1rem;
}


/* PRISBEREGNER----------------------------------------------------- */

.input-number{
  width:100%;
}

.beregn-btn{
  color:white;
  letter-spacing: 2px;
}

.beregn-btn:hover {
  background-color:rgba(190, 244, 209, 0.835);
  color:rgb(64, 255, 179);
  border:1px solid rgb(64, 255, 179);
}

.ossz{
  border: 1px solid black;
  background-color: rgba(36, 81, 55, 0.996);
  width:40vw;
  border-radius: 5px;
  color:whitesmoke;
  letter-spacing: 2px;
}

.beregnet-pris{
  font-family: var(--fontBebas);
  font-weight: 400;
  text-transform: uppercase;
  color:#308e58;
}

.moms{
  text-transform: lowercase;
  font-size: 1rem;
  font-family: var(--fontLexend);
  font-weight:bold;
}


/* FOOTER-----------------------------------*/ 

.contact-form {
  padding: 40px;
}

.contact-form h2 {
  margin-bottom: 20px;
  font-size: 24px;
  color: #c7c5c5;
}

.contact-form input {
  padding: 10px;
  border-radius: 4px;
  font-size: 14px;
}

.contact-form input,
.contact-form textarea {
  width:100%;
  padding: 10px;
  border: 1px solid #4f4c4c;
  border-radius: 4px;
  margin-bottom: 20px;
  font-size: 14px;
  color:rgb(178, 177, 177);
}

.contact-form textarea {
  resize: none;
}

.contact-form button {
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}



/*--------- MEDIA --------------------------------------------------*/



@media screen and (min-width:991px){
    .main-title{
        margin-top:12vh;
    }

}

@media screen and (max-width:991px){
    .header{
        background-image:url("../img/blur_min_900.webp") ;
      }

      .hamburger{
        display:block;
        z-index: 2;
        position:fixed;
        cursor: pointer;
      }

      .off-screen{
        flex-direction:column;
        justify-content: flex-start;
        position:fixed;
        right:-100%;
        top:-2%;
        height:100vh;
        z-index:1;
        align-items: flex-start;
        letter-spacing: 1px ;
        background: rgba(92, 170, 132, 0.72);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(8.3px);
        -webkit-backdrop-filter: blur(4.3px);
        border: 1px solid rgba(92, 170, 132, 0.46);
        transition:ease-in-out 0.7s;
        z-index: 2;
      }

      .off-screen.active{
        right:0%;
      }
     

      .off-screen li{
        padding-top:6rem;
      }

      .off-screen li a {
        color: rgb(30, 30, 30);
        font-weight: bold;
        letter-spacing: 2px;
      }

      .off-screen li:last-child{
        padding-bottom:10.9rem;
      }

      .card-img-top {
        width: 95%; 
      }
}

@media (max-width: 767px) {
  .container {
    flex-direction: column; 
    align-items: center; 
  }

  .card{
    margin-bottom: 10px;
  }
}

@media screen and (max-width:764px){
  .step{
    width:35%;
  }
}

@media screen and (max-width:442px){
  .step{
    width:50%;
  }
}


@media (max-width: 992px) and (min-width: 766px) {
  .about .row {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .about .col-md-6 {
    width: 80%;

  }

  .carousel img {
    width: 100%; 
  }
}

@media screen and (max-width:450px){
  .price-explanation h4, 
  .price-explanation h5 {
    font-size:40px ;
  }

  .price-explanation p{
    font-size: 18px;
  }
}