@import url('https://fonts.googleapis.com/css?family=Montserrat:400,400i,700');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Montserrat, sans-serif;
}

:root {
    --light-blue: #1c9eff;
    --dark-blue: #007ad6;
    --btn-yellow: #ffd01a;
    --btn-hover-yellow: #efb10a;
    --btn-active-yellow: #e8a200;
    --light-grey: #f2f2f2;
    --grey: #a0a0a0;
    --pink: #ff9eaa;
}


/* General Styles */

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #5e075f, #9a6556);
}


/* Profile Card */

.card {
    width: 320px;
    background: rgb(248, 196, 196);
    border-radius: 20px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}


/* 3D Hover Effect */

.card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}


/* Header Section */

.header {
    height: 120px;
    background: url('./images/banner2.jpg') center/cover no-repeat;
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-align: right;
    display: flex;
    align-items: center;
    padding-left: 10px;
    padding-top: 70px;
}


/* Profile Image */

.profile {
    width: 100px;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(255, 223, 186, 0.6);
    transition: transform 0.3s ease-in-out;
}

.card:hover .profile {
    transform: translateX(-50%) scale(1.1);
}


/* User Info */

.info {
    margin-top: 60px;
    padding: 20px;
}

.info h2 {
    font-size: 22px;
    font-weight: 600;
}

.info p {
    color: gray;
    font-size: 14px;
}


/* Stats Section */

.stats {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
}

.stats div {
    text-align: center;
    font-weight: 600;
    color: #555;
}


/* Follow Button */

.follow-btn {
    width: 80%;
    margin: 10px auto;
    padding: 12px;
    background: gold;
    color: black;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
    transition: background 0.3s, transform 0.2s;
}

.follow-btn:hover {
    background: orange;
    transform: scale(1.05);
}


/* Description */

.desc {
    text-align: center;
    font-size: 12px;
    padding: 10px 20px;
    color: gray;
}

.social-icons {
    position: relative;
    width: 200px;
    height: 10px;
    margin: 30px auto;
    transform-style: preserve-3d;
    animation: rotate 5s infinite linear;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: #2c3335;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
    color: white;
    transform-origin: center center -100px;
    transition: transform 0.3s, background 0.3s;
}

.icon:hover {
    background: #2575fc;
    transform: scale(1.1);
}

.icon box-icon {
    width: 26px;
    height: 26px;
    fill: white;
}


/* Apply Animation to Icons */

#icon1 {
    animation: moveIcons 4s infinite linear;
}

#icon2 {
    animation: moveIcons 4s infinite linear 1s;
}

#icon3 {
    animation: moveIcons 4s infinite linear 2s;
}

#icon4 {
    animation: moveIcons 4s infinite linear 3s;
}


/* Circle Animation */

@keyframes moveIcons {
    0% {
        transform: rotate(0deg) translateX(60px) rotate(0deg);
    }
    25% {
        transform: rotate(90deg) translateX(60px) rotate(-90deg);
    }
    50% {
        transform: rotate(180deg) translateX(60px) rotate(-180deg);
    }
    75% {
        transform: rotate(270deg) translateX(60px) rotate(-270deg);
    }
    100% {
        transform: rotate(360deg) translateX(60px) rotate(-360deg);
    }
}


/* Responsive Design for Devices 360px to 1220px */

@media screen and (max-width: 1220px) {
    .card {
        width: 60%;
    }
    .header {
        font-size: 22px;
        padding-left: 20px;
    }
    .profile {
        width: 90px;
        height: 90px;
        top: 65px;
    }
    .info h2 {
        font-size: 20px;
    }
    .info p {
        font-size: 13px;
    }
    .follow-btn {
        width: 85%;
        font-size: 15px;
    }
    .desc {
        font-size: 11px;
    }
    .social-icons {
        width: 170px;
        height: auto;
    }
    .icon {
        width: 38px;
        height: 38px;
    }
    .icon box-icon {
        width: 24px;
        height: 24px;
    }
}

@media screen and (max-width: 1080px) {
    .card {
        width: 50%;
    }
    .header {
        font-size: 22px;
        padding-left: 18px;
    }
    .profile {
        width: 95px;
        height: 95px;
        top: 68px;
    }
    .info h2 {
        font-size: 21px;
    }
    .info p {
        font-size: 13px;
    }
    .follow-btn {
        width: 85%;
        font-size: 15px;
    }
    .desc {
        font-size: 11px;
    }
    .social-icons {
        width: 180px;
        height: auto;
    }
    .icon {
        width: 36px;
        height: 36px;
    }
    .icon box-icon {
        width: 24px;
        height: 24px;
    }
}

@media screen and (max-width: 768px) {
    .card {
        width: 90%;
        padding-bottom: 15px;
    }
    .header {
        font-size: 18px;
        padding-left: 10px;
    }
    .profile {
        width: 85px;
        height: 85px;
        top: 60px;
    }
    .info h2 {
        font-size: 18px;
    }
    .info p {
        font-size: 13px;
    }
    .stats {
        flex-direction: column;
        align-items: center;
    }
    .stats div {
        margin-bottom: 10px;
    }
    .follow-btn {
        width: 90%;
        font-size: 14px;
        padding: 10px;
    }
    .desc {
        font-size: 12px;
        padding: 8px 15px;
    }
    .social-icons {
        width: 140px;
        margin-top: 20px;
    }
    .icon {
        width: 35px;
        height: 35px;
    }
    .icon box-icon {
        width: 22px;
        height: 22px;
    }
}

@media screen and (max-width: 480px) {
    .card {
        width: 95%;
        padding-bottom: 10px;
    }
    .header {
        font-size: 16px;
        padding-left: 8px;
    }
    .profile {
        width: 75px;
        height: 75px;
        top: 55px;
    }
    .info h2 {
        font-size: 16px;
    }
    .info p {
        font-size: 12px;
    }
    .stats {
        flex-direction: column;
        align-items: center;
    }
    .stats div {
        margin-bottom: 8px;
    }
    .follow-btn {
        width: 92%;
        font-size: 13px;
        padding: 9px;
    }
    .desc {
        font-size: 11px;
        padding: 8px 12px;
    }
    .social-icons {
        width: 120px;
        margin-top: 15px;
    }
    .icon {
        width: 30px;
        height: 30px;
    }
    .icon box-icon {
        width: 20px;
        height: 20px;
    }
}