:root {
  --primaryColor: #d33467;
}

a:visited,
a:active,
a:focus,
a:link {
  text-decoration: none;
}

* {
  box-sizing: border-box;
}

button {
  border: none;
  outline: none;
}
body {
  background-color: black;
  background-image: url("../images/background.jpg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  font-family: "Lato", sans-serif;
  overflow-x: hidden;
}

.main {
  width: 100%;
  height: 100vh;
  margin: auto;
  width: 1400px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-direction: column;
}

.main::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
}

.profile {
  margin-top: 250px;
  width: 360px;
  background: #ffffffc7;
  padding: 24px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-sizing: border-box;
  z-index: 1000;
  box-shadow: 0px 0px 16px 4px rgba(0, 0, 0, 0.16);
  -webkit-box-shadow: 0px 0px 16px 4px rgba(0, 0, 0, 0.16);
  -moz-box-shadow: 0px 0px 16px 4px rgba(0, 0, 0, 0.16);
}

.profile__avatar {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 999px;
  border: 4px solid #fff;
  margin-top: -94px;
  box-shadow: 0px 0px 0px 4px var(--primaryColor);
  -webkit-box-shadow: 0px 0px 0px 4px var(--primaryColor);
  -moz-box-shadow: 0px 0px 0px 4px var(--primaryColor);
}

.profile__socials {
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-top: 8px;
  gap: 8px;
  padding: 8px;
}

.profile__socials a {
  padding: 8px;
}

.profile__socials img {
  width: 24px;
  height: 24px;
}

.profile__name,
.profile__desc {
  text-align: center;
}

.profile__name {
  margin-top: 24px;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 1px;
  vertical-align: middle;
  font-weight: 700;
}

.profile__name::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background: var(--primaryColor);
  border-radius: 999px;
  margin-right: 16px;
  animation: 0.5s ease-out 0s infinite alternate none running profile_name_dot;
}

@keyframes profile_name_dot {
  to {
    transform: scale(1.4);
  }
}

.profile__desc {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 1.5px;
  margin-top: 8px;
  padding: 0 24px;
  color: rgba(0, 0, 0, 0.7);
}

.profile__links {
  display: flex;
  width: 100%;
  align-items: stretch;
  flex-direction: column;
}

.profile__link {
  display: block;
  width: 100%;
  padding: 16px 32px;
  box-sizing: border-box;
  background: #d33467;
  border-radius: 8px;
  text-align: center;
  margin-top: 8px;
  color: #fff;
  font-size: 14px;
  line-height: 14px;
  letter-spacing: 1px;
  font-weight: 700;
  transition: 0.5s;
  cursor: pointer;
}

.profile__link2 {
  display: block;
  width: 100%;
  padding: 16px 32px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  text-align: center;
  margin-top: 8px;
  color: #000;
  font-size: 14px;
  line-height: 14px;
  letter-spacing: 1px;
  font-weight: 700;
  transition: 0.5s;
  cursor: pointer;
}

.profile__link:hover {
  transform: scale(1.06);
}

.profile__link2:hover {
  transform: scale(1.06);
}

.profile__link--twitter {
  background: none;
  text-align: center;
  fill: var(--primaryColor);
}

.profile__link--twitter {
  background: none;
  text-align: center;
}

.main__copyright {
  margin-top: 48px;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.7);
}

.main__copyright a {
  color: var(--primaryColor);
}

.popup {
  position: fixed;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  top: 0;
  left: 0;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.44);
  backdrop-filter: blur(10px);
}

.popup__wrapper {
  background: #fff;
  padding: 48px;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  width: 400px;
  height: auto;
  gap: 24px;
  transform: scale(0.8);
  animation: 0.5s ease-out 0s forwards zoom_in;
  will-change: transform;
  backface-visibility: hidden;
}

.popup__title {
  font-size: 24px;
  line-height: 24px;
  letter-spacing: 1px;
  vertical-align: middle;
  font-weight: 700;
  text-align: center;
}

.popup__desc {
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  letter-spacing: 1.5px;
  color: rgba(0, 0, 0, 0.7);
  margin: 0;
}

.popup__buttons {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  justify-content: center;
}

.popup__button--discard {
  display: block;
  width: 100%;
  padding: 16px 32px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  text-align: center;
  margin-top: 8px;
  color: #000;
  font-size: 14px;
  line-height: 14px;
  letter-spacing: 1px;
  font-weight: 700;
  transition: 0.5s;
  cursor: pointer;
}

.popup__button--continue {
  display: block;
  width: 100%;
  padding: 16px 32px;
  box-sizing: border-box;
  background: #d33467;
  border-radius: 8px;
  text-align: center;
  margin-top: 8px;
  color: #fff;
  font-size: 14px;
  line-height: 14px;
  letter-spacing: 1px;
  font-weight: 700;
  transition: 0.5s;
}

@keyframes zoom_in {
  to {
    transform: scale(1);
  }
}

.online {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 24px;
}

.online__now {
  text-align: center;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 1px;
  vertical-align: middle;
  font-weight: 700;
  color: #fff;
}

.online__now::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background: #56f000;
  border-radius: 999px;
  margin-right: 16px;
  animation: 0.5s ease-out 0s infinite alternate none running online__now;
}

@keyframes online__now {
  to {
    transform: scale(1.4);
  }
}

@media only screen and (max-width: 600px) {
  .main {
    width: 100%;
    padding: 24px;
  }
  .profile {
    width: 100%;
  }
}
