body, html{
    font-size: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
  }
  .background{
    background-color: white;
    width: 100%;
    height: fit-content;
    position: relative;
    align-content: center;
    
  }
  .content{
    background-color: white;
    
    width: auto;
    height: fit-content;
    margin: auto;
  }
  .background1{
    background-color: #f5f5f5;
    width: 100%;
    height: fit-content;
    position: relative;
    align-content: center;
    
  }
  .content1{
    background-color: #0E0E0E;
    
    width: auto;
    height: fit-content;
    margin: auto;
  }
  .background2{
    background-color: #0E0E0E;
    width: 100%;
    height: fit-content;
    position: relative;
    align-content: center;
    
  }
  .content2{
    background-color: white;
    
    width: auto;
    height: fit-content;
    margin: auto;
  }
  .content-box{
    background-color: white;
    width: auto;
    height: fit-content;
    margin-left: 7.292vw;/*140px*/
    margin-right: 7.292vw;
  }

  .contact-form-1 {
    width: 58.385vw;
    margin: auto;
    height: fit-content;
    display: grid;
    grid-template-columns: repeat(2, auto);
    grid-template-rows: repeat(5, auto);
    grid-column-gap: 0px;
    grid-row-gap: 0px; 
  }



  .form{
    display: flex;
    align-content: center;
    background-color: #f5f5f5;
  }
  .form-content{
    width: 58.385vw;
    margin: auto;
    height: fit-content; 
  }
  .form-header {
    grid-area: 1 / 1 / 2 / 3;
    margin: auto;
    margin-top: 6.250vw;
    margin-bottom: 2.604vw;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 3.125vw;
    text-align: center;
  }
.form-content .in-name{
   
    grid-area: 2 / 1 / 3 / 2;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 1.042vw;
    margin-bottom: 1.042vw;
    margin-right: 2.604vw;
}
#fname, #email{
    width: 24.479vw;
    height: 4.010vw;
    border-color: gray;
    border-radius: 1.458vw;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 1.042vw;
    padding-left: 1.719vw;
    padding-right: 1.719vw;
    padding-top: 0px;
    padding-bottom: 0px;
    border-style: solid;
    border-width: 0.052vw;
}
#service{
    width: 27.95vw;
    height: 4.010vw;
    border-radius: 1.458vw;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 1.042vw;
    padding-left: 1.719vw;
    padding-right: 1.719vw;
    padding-top: 0px;
    padding-bottom: 0px;
    border: 0.052vw  solid;
    
}

/*the container must be positioned relative:*/
.custom-select {
  position: relative;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 1.042vw;
  border-radius: 1.458vw 1.458vw 1.458vw 1.458vw;
  border: 0.052vw  solid;
  border-color: grey;
}
.custom-select.select-opened{
    border-radius: 1.458vw 1.458vw 0 0;
}
.custom-select select {
  display: none; /*hide original SELECT element:*/
}

.select-selected {
  background-color: white;
  border-radius: 1.458vw 1.458vw 1.458vw 1.458vw;
  transition: all 0.3s ease;
}

.custom-select:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    
    border: 0.052vw solid;
    border-color: grey;
  }


/*style the arrow inside the select element:*/
.select-selected:after {
  position: absolute;
  content: "";
  top: 28px;
  right: 20px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-color: black transparent transparent transparent;
}
.custom-select{
    border-radius: 1.458vw 1.458vw 1.458vw 1.458vw;
    transition: all 0.3s ease;
}
.select-arrow-active{
     border-radius: 1.458vw 1.458vw 0 0;
     transition: all 0.3s ease;
}
/*point the arrow upwards when the select box is open (active):*/
.select-selected.select-arrow-active:after {
  border-color: transparent transparent black transparent;
  top: 24px;
  right: 20px;
}

/*style the items (options), including the selected item:*/
.select-items div,.select-selected {
  color: black;
  padding: 19px 19px;
  cursor: pointer;
  user-select: none;
}

/*style items (options):*/
.select-items {
  position: absolute;
  background-color: white;
  border-radius: 0 0 1.458vw 1.458vw;
  overflow: hidden;
    border: 0.052vw grey solid;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
}

/*hide the items when the select box is closed:*/
.select-hide {
  display: none;
}

.select-items div:hover{
  background-color: rgba(0, 0, 0, 0.2);
 border-radius:0;
 
}

.same-as-selected {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 0;
}
/**/

#essay{
    width: 24.271vw;
    height: 17.292vw;
    border-radius: 2.031vw;
    border-color: grey;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 1.042vw;
    padding-top: 1.302vw;
    padding-bottom: 1.302vw;
    padding-left: 1.823vw;
    padding-right: 1.823vw;
    border-style: solid;
    border-width: 0.052vw;
}
/*::-webkit-input-placeholder {
    color: red;
    padding-left: 33px;
 }
 
 :-moz-placeholder { 
    color: red;  
    padding-left: 33px;
 }
 
 ::-moz-placeholder {  
    color: red;  
    padding-left: 33px;
 }
 
 :-ms-input-placeholder {  
    color: red;  
    padding-left: 33px;
 }*/
.form-content .in-email{
    
    grid-area: 3 / 1 / 4 / 2;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 1.042vw;
    margin-bottom: 1.042vw;
    margin-right: 2.604vw;
}
.form-content .in-service{
    
    grid-area: 4 / 1 / 5 / 2;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 1.042vw;
    margin-right: 2.604vw;
}
.form-content .in-essay{
    
    grid-area: 2 / 2 / 5 / 3;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 1.042vw;
}
.form-content .in-submit{
    display: inline-flex;
    background-color: #000000;
    border-radius: 1.354vw;
    width: 15.729vw;
    height: 4.010vw;
    text-align: center;
    margin: auto;
    margin-top: 2.604vw;
    margin-bottom: 6.250vw;
    grid-area: 5 / 1 / 6 / 3;
    border: 0.026vw #000000 solid;
    transition: background-color 0.2s ease-in;
    cursor: pointer;
}
.form-content .in-submit:hover > .form-btn-primary .form-button
{
    background-color: transparent;
    color: #0E0E0E;
  }
  .form-content .in-submit:hover{
    background-color: transparent;
  
  }
  .form-btn-primary, .form-button{
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    text-decoration: none;
    font-size: 1.250vw;
    color: white;
    background-color: transparent;
    border-color: transparent;
    margin: auto;
    cursor: pointer;
    transition: color 0.2s ease-in;
  }

  .separator{
    grid-area: 6 / 1 / 7 / 3;
    display: grid;
    grid-template-columns: repeat(3, auto);
    grid-template-rows: repeat(1, auto);
    grid-column-gap: 0px;
    grid-row-gap: 0px; 
    margin-bottom: 6.250vw;
  }
  .other-contact{
    grid-area: 7 / 1 / 8 / 3;
    display: grid;
    grid-template-columns: repeat(3, auto);
    grid-template-rows: repeat(1, auto);
    grid-column-gap: 0px;
    grid-row-gap: 0px; 
    padding-bottom: 7.292vw;
    text-decoration: none;
  }
  .other-contact img {
  width: 60px;
  height: 60px;
}

  
  #contact-link, #contact-link:visited, #mail-address::before, #messenger-address::before, #tel-address::before{
    font-size: 1.042vw;
    font-weight: 300;
    display: flex;
    justify-content: center;
    margin-top: 2.083vw;
    text-decoration: none;
    
    color: #0E0E0E;
  }
  #contact-link:hover, #contact-link:link, #contact-link:active, #mail-address:hover, #messenger-address:hover, #tel-address:hover{
    font-weight: 400;
    text-decoration: none;
    color: #0E0E0E;
  }
  #mail-address, #messenger-address, #tel-address{
    font-weight: 300;
    text-decoration: none;
    color: #0E0E0E;
  }
  #mail-address::before, #messenger-address::before, #tel-address::before{
    display: block;
  content: attr(title);
  font-weight: bold;
  height: 0;
  text-decoration: none;
  overflow: hidden;
  visibility: hidden;
  }
  #contact-icon{
    
    display: flex;
    justify-content: center;
  }
  .line{
  
  
  background:#000000;
  
  width:26.042vw;
  height:0.052vw;
  
  margin-top: auto;
  margin-bottom: auto;
  }
  .line1{
    background:#000000;
    width:26.042vw;
    height:0.052vw;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    }
    .or{
      font-size: 1.042vw;
      font-weight: 400;
    }
#mail-status{
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 1.042vw;
    
}
.error{
	color: #af4242;
	background-color: #fde8ec;
	padding: 10px;
	display: block;
	transform: translateY(-20px);
	margin-bottom: 20px;
	font-size: 16px;
}
.success{
	margin-bottom: 30px;
	color: green;
	background-color: #d2ffd2;
	padding: 10px;
	display: block;
	font-size: 16px;
}
.success.display-success{
	display: block;
}

@media (max-width: 992px) {
  .form-content {
    width: 100%;
  }

  .form-header {
    font-size: 6vw;
    margin-bottom: -30px;
  }

  .contact-form-1 {
    width: 90%;
    margin: auto;
    display: block;
  }

  .info, .select-items, .select-selected {
    font-size: 4vw;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  #fname, #email, #service {
    width: 99%;
    font-size: 3.8vw;
    height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  /*style the arrow inside the select element:*/
.select-selected:after {
  position: absolute;
  content: "";
  top: 20px;
  right: 20px;
}

#essay{
  width: 95%;
  height: 200px;
  font-size: 3.8vw;
  border-radius: 15px;
}

.form-content .in-submit{
  display: inline-flex;
  background-color: #000000;
  border-radius: 15px;
  width: 80%;
  height: auto;
  text-align: center;
  border: 1px #000000 solid;
  margin-left:10%;

}

.form-button {
  font-size: 4vw;
}

.or {
  font-size: 5vw;
}

#messenger-address, #mail-address, #tel-address {
  font-size: 3.5vw;
}

.select-items div, .select-selected {
  padding-left: 1.719vw !important;
}

.select-items {
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

.form-content .in-service {
  margin-right: 0px;
}

#fname, #email, .custom-select, .select-selected {
  border-radius: 15px;
}

.separator, .other-contact {
  display: none;
}

#btn {
  padding-top: 9px;
  padding-bottom: 9px;
}

.select-selected.select-arrow-active:after {
  border-color: transparent transparent black transparent;
  top: 14px;
  right: 20px;
}

.custom-select.select-opened {
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  background-color: #fff;
}

}