*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
a{
  text-decoration: none;
  color: #000;
}

.all-page{
  overflow: hidden;
}
.home-sec .row{
  min-height: 100vh;
}
.home-sec .single-box{
  height: 100%;
  padding: 25px 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-sec .image-div{
  background-color: #F18438;
}
.home-sec .image-div img{
  max-width: 100%;
}

.home-sec .form{
  text-align: center;
  width: 100%
}
.form .btn{
  width: 150px;
  display: inline-block;
  background-color: #F18438;
  color: #111;
  border-radius: 25px;
  margin-top: 25px;
  font-size: 18px;
}

.header-sec {
  padding: 25px 15px;
}
.header-sec .image-div{
  text-align: center;
}
.header-sec .image-div img{
  max-width: 150px;
}


.page-main{
  padding: 20px 0;
}
.funcs .btns-div{
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
.funcs .btns-div .btn{
  border-radius: 25px;
  padding: 10px 15px;
  background-color: #F18438;
  color: #111;
  font-size: 18px;
  display: block;
  width: 100%;
  max-width: 200px;
  margin-bottom: 40px;
}

.main-funcs{
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.main-funcs .main-box{
  width: 100%;
  /* min-height: 300px; */
  height: 300px;
  border: 1px solid #111;
  background-color: #FCE0CD;
  /* padding: 20px; */
  margin-bottom: 30px;
}

.main-funcs .results{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}
.main-funcs .results .btn{
  padding: 10px 25px;
  font-size: 18px;
  background-color: #F18438;
  color: #111;
  border-radius: 25px;
  min-width: 180px;
  margin-right: 15px;
}
.main-funcs .results .sig-result{
  padding: 10px 15px;
  min-height: 45px;
  min-width: 200px;
  border: 1px solid #111;
  background-color: #FCE0CD;
} 


.sub-boxes .single-box{
  text-align: center;
  font-size: 17px;
  color: #000;
  padding: 0 25px;
  margin-bottom: 15px;
}
.sub-boxes .single-box .sub-box{
  border: 1px solid #111;
  /* padding: 15px; */
  width: 100%;
  min-height: 130px;
  background-color: #FCE0CD;
}

.templates div {
  margin-bottom: 10px;
  cursor: pointer;
}
.templates div img {
  width: 200px;
}
.templates div:hover {
  background-color: #f0f0f0;
}
.templates div.active {
  background-color: #CCCCCC;
}
#can {
  width: 100%;
  height: 100%;
}


/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .funcs .btns-div{
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
  .funcs .btns-div .btn{
    margin: 0 15px 20px;
  }
  .sub-boxes .single-box{
    padding: 0;
  }
  .main-funcs .results{
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .main-funcs .results .btn{
    margin: 0 0 15px;
    width: 100%;
    max-width: 300px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .funcs .btns-div{
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
  .funcs .btns-div .btn{
    margin: 0 15px 20px;
  }
  .funcs .sub-boxes{
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
  }
  .sub-boxes .single-box{
    flex-basis: 45%;
    min-width: 45%;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .funcs .btns-div{
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
  .funcs .btns-div .btn{
    margin: 0 15px 20px;
  }

  .funcs .sub-boxes{
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
  }
  .sub-boxes .single-box{
    flex-basis: 28%;
    min-width: 28%;
  }
}
