@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
  font-family: "Poppins", sans-serif;
  color: white;
}
:root {
  --primary: #bc202e;
  --secoundary: #07968c;
  --bg: #040815;
  --transparent: #ffffffa9;
}
html {
  font-size: 62.5%;
}
body {
  background: var(--bg);
}
.container {
  max-width: 1240px;
  margin: auto;
  padding: 0 2rem;
}
.container-sm {
  max-width: 940px;
  margin: auto;
  padding: 0 2rem;
}
img {
  width: 100%;
}
p,
a {
  font-size: 1.6rem;
}
a {
  transition: 0.3s;
}
a:hover {
  color: var(--secoundary);
}
main {
  position: relative;
  top: -6rem;
}
.profile-main {
  margin: auto;
}
.profile {
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  overflow: hidden;
  border: 0.5rem solid var(--bg);
}
.profile-main .info {
  margin-top: 1rem;
}
.profile-main .info h1 {
  color: white;
  font-size: 2.3rem;
  font-weight: 500;
}
.profile-main .info p {
  color: var(--transparent);
  font-size: 1.6rem;
  font-weight: 400;
}
.profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.user-bio {
  margin-top: 3rem;
}
.sub-title {
  font-size: 2.3rem;
  font-weight: 500;
}
.user-bio p {
  font-weight: 400;
}
.social {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.social i {
  font-size: 3.3rem;
  transition: 0.3s;
}
.social i:hover {
  color: var(--secoundary);
}
.city-tabs {
  display: flex;
  align-items: center;
  gap: 3rem;
  font-size: 1.6rem;
  border-bottom: 1px solid #ffffff35;
  padding-bottom: 2rem;
}
.city-tabs .tab {
  position: relative;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
}
.tab.active {
  color: var(--secoundary);
}
.city-tabs .tab.active::before {
  content: "";
  width: 100%;
  height: 4px;
  border-radius: 5rem;
  background: var(--secoundary);
  position: absolute;
  bottom: calc(-2rem - 2px);
}
.block {
  padding: 3rem;
  background: #0a0f20;
  position: relative;
}
.tab-content .wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 5rem;
  gap: 3rem;
}
.item,
.item > div {
  display: flex;
  align-items: center;
  font-size: 1.6rem;
  gap: 0.5rem;
}
.item {
  justify-content: space-between;
  margin: 1rem 0;
}
.item i {
  font-size: 2.3rem;
  color: var(--secoundary);
}
.block .city {
  position: absolute;
  height: 3rem;
  border-radius: 5rem;
  padding: 0 3rem;
  top: -1.5rem;
  background: var(--secoundary);
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  text-transform: capitalize;
}
.open-hours > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: var(--bg);
  margin: 1rem 0;
}
.open-hours > div p:nth-child(2) {
  color: var(--secoundary);
  font-weight: 500;
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
  animation: fade 0.3s linear;
}
@keyframes fade {
  0% {
    transform: translateX(10%);
    opacity: 0;
  }
  100% {
    transform: translateX(0%);
    opacity: 1;
  }
}
footer {
  margin-top: 10rem;
  padding: 5rem;
  background: #0a0f20;
}
footer p a {
  color: var(--secoundary);
}
@media (max-width: 991px) {
  html {
    font-size: 45%;
  }
}
@media (max-width: 660px) {
  html {
    font-size: 60%;
  }
  .wrap {
    grid-template-columns: 1fr !important;
  }
  .profile {
    width: 10rem;
    height: 10rem;
  }
}
.cta-btn {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secoundary);
}
.cta-btn i {
  font-size: 3rem;
}
.cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: absolute;
  top: -2.5rem;
  right: 3rem;
}
