* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  background-image: linear-gradient(to bottom, #25d366, #0f5429);
  background-repeat: no-repeat;
  background-size: auto;
}

body {
  height: 100vh;

  display: flex;
  flex-direction: column;
  align-items: center;
}

input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.primary-heading {
  margin-top: 12rem;
  font-size: 3.6rem;
}

.secundary-heading {
  margin: 4rem;
  font-size: 1.8rem;
}
.form {
  background-color: #555;
  padding: 4rem;
  border-radius: 5px;
  margin: 1rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.form input {
  margin: 0.4rem;
  padding: 1rem;
  font-size: 1.8rem;
  border-radius: 9px;
  overflow: hidden;
  border: none;
}

input:focus {
  outline: none;
  box-shadow: 0 0 0 0.8rem rgba(37, 211, 102, 0.5);
}

.plus-char {
  font-size: 2.4rem;
  font-weight: 700;
}

.aCountry {
  display: inline-block;
  border-radius: 5rem;
  padding-left: 0.4rem;
  border: solid 4px #fff;
  margin: 0 1rem;
  font-size: 1.6rem;
  overflow: hidden;
}

.aCountry img {
  height: 3.6rem;
  width: auto;
}

.flex-icon {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.flex-icon2 {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.flex-icon3 {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.country-code {
  display: inline-block;
  width: 6rem;
}

.region-code {
  display: inline-block;
  width: 8rem;
}

.phone-number {
  display: inline-block;
  width: 16rem;
}

.send-btn {
  height: 6rem;
  padding: 1rem;
  bottom: 40px;
  right: 40px;
  color: #fff;
  border-radius: 50px;
  background-color: #25d366;
  text-align: center;
  font-size: 2.4rem;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  display: flex;
  align-items: center;
}

.send-btn i {
  padding-right: 1rem;
}

.send-btn:hover {
  color: #444;
}

.hidden {
  display: none;
}

footer {
  margin: 8rem 0 2rem;
  font-size: 1.6rem;
  text-align: center;
  line-height: 1.2;
}

@media (max-width: 720px) {
  .send-btn {
    height: 4rem;
    font-size: 1.8rem;
  }
}

@media (max-width: 670px) {
  .aCountry {
    font-size: 1.2rem;
  }

  footer {
    font-size: 1.2rem;
  }
}

@media (max-width: 580px) {
  .form {
    flex-direction: column;
    padding: 1rem;
  }
}

@media (max-width: 390px) {
  footer {
    font-size: 1rem;
  }
}

@media (max-width: 360px) {
  .primary-heading {
    margin-top: 6rem;
    font-size: 3.2rem;
  }

  .secundary-heading {
    font-size: 2rem;
  }
}

@media (max-width: 315px) {
  .primary-heading {
    font-size: 2.4rem;
  }

  .secundary-heading {
    font-size: 1.6rem;
  }
  .flex-icon3 {
    flex-direction: column;
  }

  footer {
    font-size: 0.8rem;
  }
}
