:root {
    --primaryColor: #d33467;
}

a:visited,
a:active,
a:focus,
a:link {
    text-decoration: none;
}

* {
    box-sizing: border-box;
}

body {
    background-color: black;
    background-image: url("../images/background.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    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: 8px;
    animation: 2s 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;
}

.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;
}


.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);
}

@media only screen and (max-width: 600px) {
    .main {
        width: 100%;
        padding: 24px;
    }
    .profile {
        width: 100%;
    }
}
