:root {
  --primary-dark: #ffce53;
  --primary-light: #ebaa05;
}

button {
  margin: 10px;
}


.hero-cta-buttons {

  
  margin-top: -5%;
  margin-left: 20%;
  height: 20vh;
  width: 60%;   
}

.custom-btn {
  /*width: 170px;
  height: 70px; */

  width: 50%;
  min-width: 168px;   
  height: 54px;
  max-height: 54px;

  color: #fff;
  border-radius: 0px;
  padding: 10px 25px;
  font-family: 'Lato', sans-serif;
  font-weight: 500;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
   box-shadow:inset 0px 0px 0px 0px rgba(255,255,255,.5);
  outline: none;
}


.cta-primary {
  background: linear-gradient(0deg, var(--primary-light) 0%, var(--primary-dark) 100%);
    line-height: 42px;
    padding: 0;
    border: none;
  }
.cta-primary a {
    text-decoration: none;
}   
  .cta-primary span {
  
    display: flex;
    justify-content: center;
    align-items: center;  
    width: 100%;
    height: 100%;

    font-size: 1.3rem;
    line-height: 1;
    /* ugyanaz a betűtípus, mint a topnavbar menüpontjainál */
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    letter-spacing: 0.2px;
    text-transform: uppercase;

  }
  .cta-primary span:hover {
      color: var(--primary-light);
  }


  .cta-primary:before,
  .cta-primary:after {
    position: absolute;
    content: "";
    right: 0;
    bottom: 0;
    background: var(--primary-light);

    transition: all 0.3s ease;
  }
  .cta-primary:before{
     height: 0%;
     width: 2px;
  }
  .cta-primary:after {
    width: 0%;
    height: 2px;
  }
  .cta-primary:hover{
    color: var(--primary-light);
    background: rgba(98, 97, 97, 0.533);
    
  }
  .cta-primary:hover:before {
    height: 100%;
    
  }
  .cta-primary:hover:after {
    width: 100%;
    
  }
  .cta-primary span:before,
  .cta-primary span:after {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    background: var(--primary-light);

    transition: all 0.3s ease;
    
  }
  .cta-primary span:before {
    width: 2px;
    height: 0%;
    
  }
  .cta-primary span:after {
    height: 2px;
    width: 0%;
    
  }
  .cta-primary span:hover:before {
    height: 100%;
    
  }
  .cta-primary span:hover:after {
    width: 100%;
    
  }

  /*end of primary */

  /* CTA Secondary */

  .cta-secondary {
      background: transparent;
        line-height: 42px;
        padding: 0;
        border: none;
      }
  .cta-secondary a {
      text-decoration: none;
  }    
      .cta-secondary span {
      
        display: flex;
        justify-content: center;
        align-items: center;  
        width: 100%;
        height: 100%;
        color: var(--primary-light);

        font-size: 1.3rem;
        line-height: 1;
        /* ugyanaz a betűtípus, mint a topnavbar menüpontjainál */
        font-family: "Montserrat", sans-serif;
        font-weight: 400;
        letter-spacing: 0.2px;
        text-transform: uppercase;
        
      }
      .cta-secondary span:hover {
          color: var(--primary-light);
      }
  
  
      .cta-secondary:before,
      .cta-secondary:after {
        position: absolute;
        content: "";
        right: 0;
        bottom: 0;
        background: var(--primary-light);
  
        transition: all 0.3s ease;
      }
      .cta-secondary:before{
         height: 0%;
         width: 2px;
      }
      .cta-secondary:after {
        width: 0%;
        height: 2px;
      }
      .cta-secondary:hover{
        color: var(--primary-light);
        
        
      }
      .cta-secondary:hover:before {
        height: 100%;
        
      }
      .cta-secondary:hover:after {
        width: 100%;
        
      }
      .cta-secondary span:before,
      .cta-secondary span:after {
        position: absolute;
        content: "";
        left: 0;
        top: 0;
        background: var(--primary-light);
  
        transition: all 0.3s ease;
        
      }
      .cta-secondary span:before {
        width: 2px;
        height: 0%;
        
      }
      .cta-secondary span:after {
        height: 2px;
        width: 0%;
        
      }
      .cta-secondary span:hover:before {
        height: 100%;
        
      }
      .cta-secondary span:hover:after {
        width: 100%;
        
      }
      
      

/* Media Queries for responsive design */
/* Primary CTA button */

@media screen and (max-width: 1024px) {
.custom-btn {
  /*width: 50%;*/
  min-width: 140px;
  max-width: 140px;   
  height: 45px;
  max-height: 45px;
}


.cta-primary span {    
  font-size: 1.1rem;
      
}

.cta-secondary span {    
  font-size: 1.1rem;
      
}

}



@media screen and (max-width: 768px) {
.custom-btn {
  /*width: 50%;*/
  min-width: 130px;
  max-width: 130px;    
  height: 40px;
  max-height: 40px;
}


.cta-primary span {    
  font-size: 1rem;
      
}

.cta-secondary span {    
  font-size: 1rem;
      
}

}

@media screen and (max-width: 768px) {
.custom-btn {
  /*width: 50%;*/
  min-width: 130px;
  max-width: 130px;   
  height: 40px;
  max-height: 40px;
}


.cta-primary span {    
  font-size: 1rem;
      
}

.cta-secondary span {    
  font-size: 1rem;
      
}

}