@import url("https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Rubik", sans-serif;
}

body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: auto;
  overflow-x: hidden;
}

.ip-tracker {
  position: absolute;
  top: 0%;
  left: 50%;
  transform: translate(-50%, 8%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  @media (width<=600px) {
    margin-top: -1rem;
  }
}
#map {
  width: 100%;
  height: 540px;
  margin-top: -0.5rem;
  z-index: -1;
}

.ip-tracker h1 {
  color: #fff;
}

.input {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 3.4rem;
  width: 34.5rem;
  background: #fff;
  border-radius: 10px;
  margin-top: 2rem;
  @media (width<=600px) {
    width: 100%;
    margin-top: 1rem;
  }
}

.input input {
  width: 100%;
  font-size: 1.2rem;
  padding: 1rem;
  border: none;
  outline: none;
  border-radius: 10px;
  @media (width<=600px) {
    font-size: 1rem;
    padding: 0.5rem;
  }
}

.input button {
  height: 101%;
  padding: 1.4rem;
  background-color: #010100;
  border: none;
  border-radius: 0px 10px 10px 0px;
  cursor: pointer;
  transition: all 0.2 ease-in-out;
}

.input button:hover {
  background-color: #010100cf;
}

.ip-info {
  width: 77vw;
  height: auto;
  background-color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
  border-radius: 10px;
  padding: 2.2rem 2rem 2rem 2rem;
  box-shadow: 0px 17px 39px -28px rgba(128, 126, 126, 0.75);
  @media (width<=1043px) {
    width: 90vw;
    @media (width<=600px) {
      text-align: center;
      flex-direction: column;
      padding: 1rem;
      padding-bottom: 0;
      margin-top: 1.2rem;
    }
  }
}

.ip-info p {
  /* padding-bottom: 1.2rem; */
  font-weight: 600;
  color: #636363;
  @media (width<=600px) {
    font-weight: normal;
  }
}
.ip-info h3 {
  font-size: 1.5rem;
  margin-top: 1rem;
  @media (width<=1043px) {
    font-size: 1rem;
    margin-top: .5rem;
  }
}

.ip-info div {
  width: 25%;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgb(132, 132, 132);
  @media (width<=600px) {
    width: 100%;
    border: none;
    border-bottom: 1px solid rgb(132, 132, 132);
    margin-bottom: 1.5rem;
  }
}

.info:last-child {
  border-right: none;
  margin-bottom: 0;
}

.ip-info .info {
  padding-left: 2rem;
  @media (width<=600px) {
    padding-left: 0;
  }
}
