@import "thankyoupage.css";

/* ----- RESET ----- */

body {
  margin: 0;
  box-sizing: 0;
  scroll-behavior: smooth;
  background-color: #42a1c6;
  padding: 0;
  width: 100%;
  position: relative;
}

html, body {
  overflow-x: hidden;
}

.hide{
	display: none;
}

#email{
  position: absolute;
  top: -9999px;
}

.highlight{
  background-color: #ffa748;
  text-shadow: none;
}

/* ----- NAVBAR ----- */

#navbar {
  background-color: #42a1c6;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: 5.5rem;
  padding-left: 1rem;
}

#navbar > img {
  width: 8rem;
}

/* ----- MAIN CONTAINER ---- */

.section-1{
  background-image: linear-gradient(#42a0c678, #242b5d29),
    url("../images/foto-bck.jpeg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 27rem;
}

/* ---- SECTION 1 ----- */

.section-1{
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.s-1-text {
  color: #fafcff;
  text-shadow: #12263a 1px 0 10px;
  padding: 0rem 3rem;
  text-align: center;
}

.s1-h1 {
  font-weight: 800;
  font-size: 70px;
}

.s1-h2 {
  font-size: 25px;
  font-style: italic;
  padding: 1.5rem 0rem;
}

.s1-h3{
  font-size: 20px;
}

/* ----- RADIO TO BUTTON -------- */

.answer-holder input[type="radio"] {
  opacity: 0;
  position: fixed;
  width: 0;
}

.answer-holder label {
  display: flex;
  justify-content: center;
  cursor: pointer;
  align-items: center;
  color: white;
  margin: 0.1rem;
  background-color: #53b7de;
  padding: 10px 20px;
  font-family: sans-serif, Arial;
  font-size: 16px;
  border-radius: 4px;
  width: 95%;
  transition: 1s;
}

.answer-holder input[type="radio"]:checked + label {
  background-color:#2084ac;
}

.answer-holder input[type="radio"]:focus + label {
  border: 2px dashed #2084ac;
}

.answer-holder label:hover {
  background-color: #2398c6;
}

/* ----- FORM ------ */

.form-container {
  background-color: #fafcff;
  color: #12263a;
  height: 45rem;
  padding: 2rem;
}

.form-h2 {
  font-weight: 800;
  font-size: 38px;
  text-align: center;
}

.form-h3 {
  font-size: 13px;
  font-style: italic;
  text-align: center;
}

.step-title{
  font-weight: 600;
  margin-bottom: 2.5rem;
}

.step-title2{
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-title{
  font-weight: 800;
  font-size: 40px;
  text-align: center;
}

.form-subtitle{
  font-size: 16px;
  text-align: center;
  font-weight: 600;
}

#form-text{
  display: block;
}

.form-group {
  margin: 0.4rem;
}

.form-control{
  margin: 0.2rem;
  background-color: #e9fbff;
  width: 95%;
  border: 1px solid #2296c4;
}

.form-control::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #232f3f47;
  opacity: 1; /* Firefox */
}

.form-control:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #232f3f47;
}

.form-control::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #232f3f47;
}

.check {
  padding-left: 1rem;
  margin-top: 0.5rem;
}

.btn-form {
  width: 2rem;
  height: 3rem;
  font-size: 20px;
  background-color: #ffa748;
  color: #ffffff;
  border: 0;
  border-radius: 10px;
  margin-top: 1rem;
  margin-left: -0.7rem;
  transition: 1s all;
}

.btn-form:hover{
    background-color: #ff8f18;
}

.return{
  color: #12263a46;
  font-weight: 600;
  cursor: pointer;
  width: fit-content;
  padding: 1rem 2rem;
  border-radius: 13px;
  margin-top: 1rem;
  transition: 1s;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 0;
}

.termstext{
  font-size: 4px;
  text-align: justify;
}

.options{
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-btn{
  background-color: #ff7400;
  border: 0;
  border-radius: 10px;
  padding: 0.5rem;
  cursor: pointer;
  transition: 1s;
  color: white;
}

.form-btn:hover{
  background-color: #e27705;
}

.progress{
  border-radius: 100px;
  background-color: #bdc9c9;
  margin: 1rem;
}

.progress-bar {
  background-color: #31b9ee;
}

.progress-bar-striped {
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-size: 1rem 1rem;
  border-radius: 100px;
}

.p-txt>h3{
font-size: 20px;
font-weight: 800;
}

.progress-text1{
  width: 100%;
  text-align: left;
}

.progress-text2{
  width: 100%;
  text-align: center;
}

.progress-text3{
  width: 100%;
  text-align: right;
}

.errormsg{
  color: rgb(255, 169, 169);
  background-color: rgba(237, 170, 181, 0.325);
  margin: 0.5rem;
  border-radius: 20px;
  width: fit-content;
}

#termstext>label{
  font-size: 10px;
  color: #12263ab1;
  padding-top: 0.5rem;
}

#termstext>label>a{
  color: #12263a;
}

.bttn{
background-color: #53b7de;
color: white;
width: 8rem;
border-radius: 10px;
cursor: pointer;
padding: 0.5rem;
text-align: center;
font-weight: 600;
margin-top: 1.5rem;
transition: 1s all;
}

.bttn:hover{
  background-color: #2e97c1;
}

/*  ----- THANK YOU PAGE ------ */

#thankyou{
font-weight: 800;
font-size: 40px;
text-align: center;
}

#thankyou > span {
  font-size: 30px;
  font-style: italic;
  font-weight: 500;
}

.thank-container{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}

/* ----- MORE INFO ------ */

.section-2 {
  background-color: #e9fbff;
  padding: 3rem;
  display: flex;
  align-items: center;
}

.s2-h4 {
  font-weight: 800;
  font-size: 40px;
  text-align: center;
  padding-bottom: 1.5rem;
}

.s2-p {
  font-size: 18px;
  text-align: justify;
  margin: 0 auto;
  max-width: 60rem;
  padding-bottom: 2rem;
}

.s2-txt{
  padding: 2rem;
}

.s2-img{
max-width: 600px;
margin: 0 auto;
}

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

.footer {
  color: #ffffff;
  background-color: #2296c4;
  height: 6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.footer>p>a{
  color: #f1faee;
}

/* Realised by */

.really{

  border: 2px solid #ccc;
  border-radius: 10px;
  background-color: #f7f7f7;
  padding: 1.5em;
  color: #999;
  width: 50%;
  /*max-width: 800px;*/
  min-height: 500px;
  position: fixed;
  top: 10%;
  left: 50%;
  margin-left: -25%;
  transform: scale(0, 0);
  transition: all 0.5s ease;
  z-index: 9;
  overflow:hidden;
  /*margin: auto;*/
}

.reallyactive{
  transform: scale(1, 1);
  /*position: fixed;*/
}

#realisedbybox{
  margin-top: 20px;
  overflow-y: scroll;
  max-height: 400px;
}

#realisedby img {
  max-width: 200px;
}

#realisedbyclose {
  float: right;
  margin-right: 15px;
}

.fa-window-close{
  border: 0;
  border-radius: 5px;
  color: #f1faee;
  background-color: #ff97a7;
  font-weight: 800;
}

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


/* mid-screen */

@media (max-width: 991px) {
  .form-container{
    display: flex;
    justify-content: center;

  }
  .s-1-text{
    padding: 2rem 0rem;
  }

  .s1-h1{
    padding: 2rem;
  }

  .s1-h2{
    padding: 0rem 2rem;
  }

  .s1-h3{
    padding: 1rem 0rem;
  }

.form-horizontal{
width: 90%;
}

.s2-img{
  display: flex;
  justify-content: center;
}
}
@media (max-width: 767px) {

#navbar{
  height: 4rem;
}
  #navbar > img {
    width: 6rem;
  }

  .nav{
    height: 5rem;
  }

  .s1-h1 {

    font-size: 55px;
    padding: 1rem 0rem;
  }

  .s-1-text{
    margin: 0 auto;
    width: auto;
  }

  .s1-h2 {
    font-size: 20px;

  }

  .form-container{
    height: fit-content;
  }

  .really{
    border: 2px solid #ccc;
    border-radius: 10px;
    background-color: #f7f7f7;
    padding: 1.5em;
    color: #999;
    width: 80%;
    /*max-width: 800px;*/
    min-height: 500px;
    position: fixed;
    top: 10%;
    left: 30%;
    margin-left: -20%;
    transform: scale(0, 0);
    transition: all 0.5s ease;
    z-index: 9;
    overflow:hidden;
    /*margin: auto;*/
  }

  .reallyactive{
    transform: scale(1, 1);
    /*position: fixed;*/
  }

}

/* mobile */

@media (max-width: 575px) {

  .section-1 {
    padding: 2rem;
  }

  .s-1-text{
    padding: 6rem 0rem 0rem 0rem;
  }

  .s1-h1 {
    font-size: 42px;
    padding: 0rem;
    text-align: center;
    width: auto;
  }

  .s1-h2 {
    text-align: center;
    width: auto;
    font-size: 15px;
    padding: 0rem 1rem;
  }

  .form-container {
    margin: 0;
    padding: 1rem;
    height: fit-content;
  }

  .section-2 {
    padding: 0rem;
  }

  .s2-txt{
    padding: 1.5rem 0rem;
    max-width: 300px;
    text-align: justify;
    margin: 0 auto;
  }

  .s2-p {
    font-size: 16px;
    padding: 1rem;
  }

  .really{
    border: 2px solid #ccc;
    border-radius: 10px;
    background-color: #f7f7f7;
    padding: 1.5em;
    color: #999;
    width: 100%;
    /*max-width: 800px;*/
    min-height: 500px;
    position: fixed;
    top: 10%;
    left: 0;
    margin-left: 0;
    transform: scale(0, 0);
    transition: all 0.5s ease;
    z-index: 9;
    overflow:hidden;
    /*margin: auto;*/
  }

  .reallyactive{
    transform: scale(1, 1);
    /*position: fixed;*/
  }
}

/* Contact Form */


.contactform {
  border: 2px solid #ccc;
  border-radius: 10px;
  background-color: #f7f7f7;
  padding: 20px 40px;
  color: #999;
  position: fixed;
  top: 10%;
  margin-left: 35%;
  margin-right: 35%;
  margin-top: 0px;
  padding: 10px;
  z-index: 10;
  height: auto;
  
  transform: scale(0, 0);
  transition: all 0.5s ease;
}


@media screen and (max-width: 1400px){

  .contactform {
    border: 2px solid #ccc;
    border-radius: 10px;
    background-color: #f7f7f7;
    padding: 20px 40px;
    color: #999;
    position: fixed;
    top: 10%;
    margin-left: 30%;
    margin-right: 30%;
    margin-top: 0px;
    padding: 10px;
    z-index: 10;
    height: auto;
    
    transform: scale(0, 0);
    transition: all 0.5s ease;
  }

} 

@media screen and (max-width: 1024px){

  .contactform {
    border: 2px solid #ccc;
    border-radius: 10px;
    background-color: #f7f7f7;
    padding: 20px 40px;
    color: #999;
    position: fixed;
    top: 10%;
    margin-left: 25%;
    margin-right: 25%;
    margin-top: 0px;
    padding: 10px;
    z-index: 10;
    height: auto;
    
    transform: scale(0, 0);
    transition: all 0.5s ease;
  }

} 

@media screen and (max-width: 768px){

  .contactform {
    border: 2px solid #ccc;
    border-radius: 10px;
    background-color: #f7f7f7;
    padding: 20px 40px;
    color: #999;
    position: fixed;
    top: 10%;
    margin-left: 20%;
    margin-right: 20%;
    margin-top: 0px;
    padding: 10px;
    z-index: 10;
    height: auto;
    
    transform: scale(0, 0);
    transition: all 0.5s ease;
  }

} 


@media screen and (max-width: 425px){

  .contactform {
    border: 2px solid #ccc;
    border-radius: 10px;
    background-color: #f7f7f7;
    padding: 20px 40px;
    color: #999;
    position: fixed;
    top: 10%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0px;
    padding: 10px;
    z-index: 10;
    height: auto;
    
    transform: scale(0, 0);
    transition: all 0.5s ease;
  }


} 

.contactactive{
  transform: scale(1, 1);
  position: fixed;
}


#xclose {
  /*position: fixed;*/
  padding: 5px;
  margin: 0 5px 10px 0;
  background-color: #ececec;
  border: 1px solid #c5c5c5;
  width: 26px;
}

#contacterr {
  margin-top: 10px;
  margin-bottom: 10px;
  color: red;
}

#bclose {
  line-height: 1em;
  border-radius: 0;
  padding: 4px 0;
  font-size: 18pt;
}