@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500;700;900&display=swap');

*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
}
body{
  background-color: #E2CFD3;
  padding: 0 10px;
}
img {
	height: 100%;
	width: 100%;
	object-fit: cover;
}
.container{
  /* border: 2px solid black; */
  max-width: 500px;
  width: 100%;
  background-color: rgb(255, 255, 255);
  display: flex;
	justify-content: space-between;
  align-items: center;
  margin: 20px auto;
  padding: 30px;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
}
.container .title{
  margin-bottom: 25px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 2px solid #711227;
}
.container .title h4{
  font-family: "roboto";
  font-size: 24px;
  font-weight: 700;
  /* margin-bottom: 25px; */
  color: #711227; 
  text-transform: uppercase;
  text-align: center;
}
.container .title a{
	text-decoration: none;
	color: blue;
	font-size: 36px;
	outline: none;
	font-weight: bold;
}
/* .container .title h4{
  background-color: rgb(108, 70, 70);
  font-size: 28px;
  color: #000;
  text-align: center;  
} */
label{
  font-size: 20px;
  color: #300303; 
  /* font-weight: bold; */
  font-family: "roboto";
}
.container .form{
  width: 100%;
}

input::placeholder {
  font-weight: bold;
  opacity: 0.5;
  color: rgb(99, 101, 104);
}


.container .form .input_field{
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.container .form .input_field label{
width: 150px;
margin-right: 10px;
font-size: 14px;
}
.container .form .birthday{
  border: 2px solid #853e08;
}
.container .form .input_field .age{
width: 46%;
outline: none;
border: 2px solid #711227;
font-size: 15px;
padding: 5px 5px;
border-radius: 3px;
margin-left: 0;
transition: all 0.5s ease;
}
.container .form .input_field .demo1{
  width: 50%;
  outline: none;
  margin-left: 15px;
}
.container .form .input_field .demo1 p{
  color: #ec0f0f;
  outline: none; 
  font-size: 18px;
}

.container .form .input_field .input,
.container .form .input_field .textarea,
.container .form .input_field .caste,
.container .form .input_field .limbi{
width: 100%;
outline: none;
border: 2px solid #711227;
font-size: 15px;
padding: 5px 5px;
border-radius: 3px;
text-align: justify;
transition: all 0.5s ease;
}
.container .form .input_field .textarea{
  resize: none;
  height: 70px;
}
.container .form .input_field .custom_select{
  position: relative;
  width: 100%;
  height: 37px;
}

.container .form .input_field .custom_select select{
  -webkit-appearance: none;
  appearance: none;
  /* position: relative; */
  width: 100%;
  height: 100%;
  padding: 5px 10px;
  border: 2px solid #711227;
  border-radius: 3px;
  outline: none;
}
.container .form .input_field .custom_select:before{
  content: "";
  position: absolute;
  top: 15px;
  right: 12px;
  border: 8px solid black;
  border-color: #711227 transparent transparent transparent;
  pointer-events: none;
}

.container .form .input_field .input:focus, 
.container .form .input_field .textarea:focus, 
.container .form .input_field select:focus {
border: 2px solid rgb(45, 9, 227);
}
.container .form .input_field p{
  font-size: 14px;
  color: #757575;
}
.container .form .input_field .check{
  width: 15px;
  height: 15px;
  position: relative;
  display: block;
  cursor: pointer;
}
.container .form .input_field .check input[type="checkbox"]{
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}
.container .form .input_field .check .checkmark{
  width: 15px;
  height: 15px;
  border: 2px solid #711227;
  display: block;
  position: relative;
  /* background: #d071f9; */
}
.container .form .input_field .check .checkmark:before{
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  width: 5px;
  height: 2px;
  border: 2px solid;
  border-color: transparent transparent white white ;
  transform: rotate(-45deg);
}
.container .form .input_field .check input[type="checkbox"]:checked ~ .checkmark{
  background: #711227;
}
.container .form .input_field .check input[type="checkbox"]:checked ~ .checkmark:before{
  display: block;
}
.container .form .input_field .btn{
width: 100%;
padding: 8px 10px;
font-size: 15px;
border: 0;
background-color: #711227;
color: white;
cursor: pointer;
border-radius: 3px;
outline: none;
}
.container .form .input_field .doi{
  background-color: #a80505;
  margin-left: 10px;
}
.container .form .input_field:last-child{
  margin-bottom: 0;  
}
.unu[type="submit"]:hover{
  background-color: #E2CFD3;
}
.doi[type="reset"]:hover{
  background-color: #300303;
}
.success{
  background: #9fd2a1;
  padding: 12px 0;
  text-align: center;
  color: #711227;
  border-radius: 3px;

}

/*  ------------------------------ Share button --------------------------------------------------- */


.share{
  text-align: center;
  display: flex;
  /* justify-content: space-around; */
  justify-content: space-evenly;
  flex-direction: row;  
}
ul{
  display: flex;
  /* justify-content: space-evenly; */
}
.share .btn-share{
  display: inline-block;
  width: 50px;
  height: 50px;
  background: #f1f1f1;
  border-radius: 30%;
  box-shadow: 0 5px 15px -5px #00000070;
  margin: 15px;
  position: relative;
  overflow: hidden;
}
.btn-share i{
  color: #711227;
  line-height: 50px;
  font-size: 20px;
  transition: 0.2s linear;
}
.btn-share::before{
  content: "";
  position: absolute;
  width: 130%;
  height: 130%;
  background: #711227;
  transform: rotate(45deg);
  left: -110%;
  top: 90%;
  transition: 1000ms; 
}
.btn-share:hover::before{
  top: -10%;
  left: -10%;
}
.btn-share:hover i{
  transform: scale(1.3);
  color: #f1f1f1;
}
 /* -------------------- bara de sher (hr) ------------------------------ */
 
 .form .share-txt .hr-text{
  overflow: visible; /* For IE */   
  border: none;
  border-top: medium double;
  color: #711227;
  text-align: center;
  margin-top: 30px;
}
 
.form .share-txt .hr-text:before{
  content: "SHARE";
  display: inline-block;
  position: relative;
  top: -0.9em;
  font-size: 1em;
  padding: 0 0.25em;
  background: white;
}

/* --------------------END bara de sher (hr) ------------------------------ */
/*  ---------------------------------END Share button --------------------------------------------- */

@media(max-width: 450px){
    .container .form, .title {
        width: 100%;
    }
  .container .form .input_field{
    flex-direction: column;
    align-items: flex-start;
  }
  .container .form .input_field .age{
    width: 100%;
  }
  /*.container .title{}*/
  .container .form .input_field .demo1 {
    width: 50%;
    margin-top: 5px;
    font-size: 15px;
  }
    li{
        padding: 0 10px;
    }
  .container .form .input_field label{
    margin-bottom: 5px;
  }
  .container .form .input_field.terms{
    flex-direction: row;
  }
  .container .form .input_field .btn{
   margin-top: 10px;
   margin-left: 0;
  }
  /*  ------------------------------ Share button ------------------------------------------------ */
  .share .btn-share{
    display: inline-block;
    width: 36px;
    height: 36px;
    margin: 5px;
  }
  .btn-share i{
    line-height: 35px;    
  }

  /*  --------------------------END Share button ------------------------------------------------ */
}

@media(max-width: 350px){
    .container {
        width: 104%;
        padding: 10px;
    }
}
@media(max-width: 308px){
    .container {
        width: 120%;
        padding: 14px;
    }
}



