* {
    box-sizing: border-box;
}

body {
    background: linear-gradient(-20deg, #000000 20%, #000000 100%) no-repeat fixed top right;
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    color: #fff;
}

h2 {
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 10px;
}

h3 {
    margin-top: 0;
    font-size: 20px;
}

a {
    color: #fff;
    text-decoration: none;
}

.wrap {
    min-height: 92.5vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

footer {
    text-align: center;
    color: white;
    background-color: #000;
    padding: 10px 0;
    font-size: 14px;
}

.profile {
    max-width: 960px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 8px 20px -10px rgba(177, 177, 177, 0.6);
    font-size: 14px;
    font-weight: 400;
}

.profile-above {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #444;
}

.avatar img {
    height: 100px;
    width: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 20px;
    padding: 5px;
    box-shadow: 0 5px 20px 0 #27aaff, 0 0 0 5px #00ccff;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.info {
    flex: 1;
}

.info-maxim {
    color: #fff;
    margin-top: 8px;
}

.profile-below {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    gap: 20px;
}

.profile-below .left,
.profile-below .right {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.profile-below .left {
    border-right: 1px solid #777;
    padding-right: 20px;
}

.profile-below .right {
    padding-left: 20px;
}

.profile-below .left i {
    width: 25px;
    color: #fff;
    text-align: center;
}

.follow {
    background: linear-gradient(20deg, #2aabe8 -20%, #892ece 100%);
    padding: 10px 30px;
    text-align: center;
    border-radius: 100em;
    margin: 5px 0;
    box-shadow: 0 4px 20px rgba(92, 66, 236, 0.7);
    /* transition: all 0.3s; */
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.follow:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    /* x` */
}

.link {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.link li a {
    font-size: 20px;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.link li a:hover {
    opacity: 0.7;
    transform: scale(1.1);
}

.link li:nth-child(1) a {
    background: linear-gradient(10deg, #2b5adf, #45aaff);
    box-shadow: 0 4px 20px rgba(35, 93, 211, 0.7);
}

.link li:nth-child(2) a {
    background: linear-gradient(20deg, #ffc050, #ff593f, #cf3a97, #7841ca);
    box-shadow: 0 4px 20px rgba(211, 67, 35, 0.7);
}

.link li:nth-child(3) a,
.link li:nth-child(4) a {
    background: #000;
    box-shadow: 0 4px 20px rgba(28, 28, 28, 0.7);
}

/* Responsive Adjustments */

@media screen and (max-width: 768px) {
    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 18px;
    }

    .avatar img {
        height: 80px;
        width: 80px;
    }

    .profile-below {
        flex-direction: column;
        gap: 0;
    }

    .profile-below .left,
    .profile-below .right {
        padding: 0;
        border: none;
    }
}

.alert {
    display: none;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffdddd;
    color: #a00;
    border: 1px solid #f5c2c7;
    padding: 15px 20px;
    border-radius: 8px;
    z-index: 9999;
    font-family: sans-serif;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.alert button {
    background: #a00;
    color: white;
    border: none;
    padding: 5px 10px;
    margin-top: 10px;
    cursor: pointer;
}

.alert button:hover {
    background: #d00;
}
