@import "./forAll.css";
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

.content__header-box {
  width: fit-content;
  margin: auto;
  margin-top: 81px;
  margin-bottom: 80px;
}
.content__header{
  display: inline-block;
  color: #FFF;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 54px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
} 

.content__ui {
  width: 1340px;
  height: 395px; 
  background: rgba(255, 255, 255, 0.05);
  border: 0.5px solid rgba(255, 255, 255, 0.70);
  border-radius: 10px;
  display: flex;
  margin-bottom: 69px;
}
.content__form-box{
  padding-left: 30px;
  padding-top: 50px;
}
.content__box + .content__box{
  border-left: 0.5px solid rgba(255, 255, 255, 0.70);
  padding-right: 5px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.content__box {
  width: 670px;
  position: relative;
}
.content__form{
  width: 100%;
  height: 100%;
}
.form__input-area{
  width: fit-content;
  position: relative;
}
.form__input-area + .form__input-area{
  margin-top: 26px;
}
.form__input-area label{
  width: fit-content;
  padding: 0 3.5px;
  color: #FFF;
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  position: absolute;
  left: 20px; 
  transform: translateY(-50%);
  background-image: url("../src/background_for_label.png");
  background-position: center;
}
textarea.form__input {
  height: calc(81px - 10px);
  resize: none;
  padding-top: 10px;
}
.form__input {
  width: calc(591px - (5px * 2));
  height: calc(49px - (3px * 2));
  padding: 3px 5px;
  border: 0.5px solid rgba(255, 255, 255, 0.70);
  border-radius: 5px;
  background: transparent;
  color: #FFF;
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.form__input-btn {
  margin-top: 23px;
  width: 201px;
  height: 46px;
  border-radius: 5px;
  border: 1px solid #FFF;
  background: rgba(217, 217, 217, 0.10);
  position: relative;
}
.form__input-btn input {
  color: #FFF;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  background-color: transparent;
  border: none;
  width: 100%;
  height: 100%;
}
.content__contact-box {
  padding-top: 53px;
  padding-left: 59px;
}
.content__contact-box-wrapper{
  display: flex;
  align-items: center;
  gap:25px;
  flex-shrink: 0;
}
.content__main-img-wrapper img{
  width: 100%;
  height: auto;
}
.content__about-box{
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.content__about {
  display: flex;
  gap: 20px;
  align-items: center;
}
.content__about p {
  color: #FFF;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  max-width: 270px;
}

.content__img {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 76px;
}
.content__middle-text-box {
  width:906px;
}
.content__middle-text {
  color: #FFF;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 34px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.content__main-img{
  position: relative;

}
.content__img-ball {
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%);
}
.content__img-ball_1 {
  left: 208px;
  top: 254px;
}
.content__img-ball_2 {
  left: 487px;
  top: 50px;
}
.content__img-ball_3 {
  left: 363px;
  top: 498px;
}
.content__img-ball_4 {
  left: 667px;
  top: 265px;
}
.content__img-ball_5 {
  left: 807px;
  top: 168px;
}
.content__img-ball_6 {
  left: 656px;
  top: 427px;
}
.content__img-ball_7 {
  left: 968px;
  top: 157px;
}
@media (max-width: 1370px){
  .content__ui{
    width: fit-content;
  }
  .content__box{
    padding-left: 10px;
    width: 550px;
  } 
  .content{
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .content__contact-box-wrapper{
    width: 100%;
    position: relative;
    overflow: hidden;
    gap: 7.5px;
    height: 70%;
    justify-content: space-between;
  }
  .content__about-box{
    width: 50%;
  }
  .form__input-area{
    width: 90%;
  }
  .form__input{
    width: 100%;
  }
  .content__contact-box{
    display: flex;
    align-items: center;
    padding: 0;
    padding-left: 10px;
  }
  .content__img{
    width: 100%;
  }
  .content__main-img{
    width: 100%;
  }
  .content__main-img img {
    width: 100%;
  }
  .content__middle-text-box{
    width: 100%;
  }
  .content__middle-text{
    font-size: 30px;
  }
}
@media (max-width: 1150px){
  .content__box{
    padding-left: 10px;
    width: 480px;
  } 
  .content{
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .content__about-box{
      width: 230px;
  }
  .form__input-area{
    width: 90%;
  }
  .form__input{
    width: 100%;
  }
  .content__about p{
    font-size: 17px;
  }
  .content__middle-text{
    font-size: 26px;
  }
}
@media (max-width: 1000px){
  .content__ui{
    flex-direction: column;
    height: fit-content;
  }
  .content__box{
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .content__box + .content__box{
    border-top: 0.5px solid rgba(255, 255, 255, 0.70);
    border-left: none;
  }
  .content__img{
    gap:15px;
  }
  .content__middle-text{
    font-size: 22px;
  }
}
@media (max-width: 785px){
  .content__header{
    font-size: 48px;
  }
}
@media (max-width: 530px){
  .content__box{
    width: 350px;
  }
  .form__input{
    font-size: 15px;
  }
  .content__main-img-wrapper{
    width: 150px;
    height: 150px;
  }
  .content__about{
    gap: 10px;
  }
  .content__about p {
    font-size: 16px;
  }
  .content__about img{
    width: 20px;
    height: auto;
  }
  .content__middle-text{
    font-size: 18px;
  }
}
@media (max-width: 400px){
  .form__input-area label{
    font-size: 14px;
  }
  .form__input{
    font-size: 13px;
  }
  .content__box{
    width: 250px;
  }
  .form__input-btn{
    width: 150px;
  }
  .form__input-btn input{
    font-size: 15px;
  }
  .content__contact-box-wrapper{
    flex-direction: column;
  }
  .content__middle-text{
    font-size: 16px;
  }
}
