@import url("https://fonts.cdnfonts.com/css/poppins");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f2f2f2;
}

.wrapper {
  width: 600px;
  background: #fff;
  padding: 30px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
}

.wrapper .tabs {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-bottom: 2px solid rgb(229, 229, 229);
}

.wrapper .tabs .tab {
  font-size: 18px;
  font-weight: 500;
  color: #919191;
  background: none;
  border: none;
  padding: 18px;
  cursor: pointer;
  transition: 0.3s;
}




.wrapper .tabs .tab.active {
  color: #4070f4;
}

.wrapper .tabs .line {
  position: absolute;
  height: 3px;
  width: 90px;
  background: #4070f4;
  top: 62px;
  left: 21px;
  transition: all .3s ease-in-out;
}

.wrapper .tabs .tab:hover {
  color: #717171;
}

.wrapper .tab-content {
  padding: 20px;
}

.wrapper .tab-content  .content {
  display: none;
  animation: anim .5s ease;
}

@keyframes anim {
  from {
    transform: translateX(50px);
    opacity: 0;
  }
  to {
    transform: translateX(0px);
    opacity: 1;
  }
}

.wrapper .tab-content .content.active {
  display: block;
}

.wrapper .tab-content .content h2 {
  margin-bottom: 10px;
}
