@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap');

@font-face {
    font-family: 'RIBAZ_3F';
    src: url('font/RIBAZ_3F.TTF') format('truetype');
    font-weight: 100;
    font-style: normal;
}

body {
    font-family: 'RIBAZ_3F', sans-serif;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #00b7b3;
    margin: 0;
    direction: rtl;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
   border: #c0a369;
   border-radius: 5px;
    background-image: url('image/Pattren.png');
    background-size: cover;
    background-position: center;
    padding: 20px;
    text-align: center;
    width: 100%;
}
h1, p, .name, .job, .link, .link1  {
    font-family: 'RIBAZ_3F', sans-serif;
    font-weight: 100;
    -webkit-text-stroke: 0.1px black;
    
}
.lang-switcher {
    position: fixed;
    top: 0em;
    right: 0em;
    gap: 1em;
}

.lang-switcher button {
    background-image: url(image/back2.jpg);
    font-family: 'RIBAZ_3F', sans-serif;
    -webkit-text-stroke: 0.1px black;
    color: white;
    border: none;
    padding: 0.5em 0.5em;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1em;
    margin-top: 5px;
    margin-right: 5px;
    cursor: pointer;
    border-radius: 0.5em;
    transition: background-color 0.3s, transform 0.3s;
}

.lang-switcher button:hover {
    transform: scale(1.1);
}



.profile-cart {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 370px;
    width: 90%;
    backdrop-filter: blur(3px);
    border-radius: 50px;
    padding: 10px;
    border: 2px solid #ffffff40;
    box-shadow: 0 18px 200px -60px rgba(0, 0, 0, 0.3);
}

.image {
    position: relative;
    display: flex;
    justify-content: center;
}

.image .profile-img {
    height: 100%;
    width: 45%;
    object-fit: cover;
    border-radius: 50%;
}

.profile-cart .text-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
    margin-top: 15px;
}

.text-data .name {
    font-size: 22px;
    font-weight: 500;
}

.text-data .job {
    padding-top: 5px;
    font-size: 15px;
    font-weight: 400;
}

.profile-cart .media-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}

.media-buttons .link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    height: 32px;
    width: 250px;
    border-radius: 25px;
    margin: 5px 0;
    background-image: url(image/back2.jpg);
    text-decoration: none;
    padding: 0 15px;
    transition: background-color 0.3s;
    position: relative;
}

.media-buttons .link i {
    margin-right: 10px;
    position: absolute;
    left: 15px;
}

.link:hover {
    background-color: #c0a369;
}

.popup {
    position: relative;
    display: inline-block;
    cursor: pointer;
    margin: 0.5px 0;
    
}


.popup-content {
    display: none;
    position: absolute;
    background-image: url(image/back2.jpg);
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    text-align: center;
    min-width: 160px;
    border-radius: 8px;
    overflow: hidden;
}

.popup-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.popup-content a:hover {
    border-radius: 3px;
    border-color: #00b7b3;
    border-width: 2px; 
    border-style: solid; /* تحديد نوع الحدود */
    transition: border-color 0.2s; /* إضافة انتقال ناعم */
}

.popup:hover .popup-content {
    display: block;
}

.profile-cart .buttons {
    display: flex;
    align-items: center;
    margin-top: 25px;
}

.buttons .button {
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    border: none;
    border-radius: 25px;
    margin: 0 10px;
    background-color: #D4B57E;
    padding: 8px 40px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buttons .button:hover {
    background-color: #c0a369;
}

.profile-cart .analytics {
    display: flex;
    align-items: center;
    margin-top: 25px;
}
.profile-cart .but-buttons {
    display: flex;
    align-items: center;
    flex-direction: row;
    margin-top: 15px;
}

.but-buttons .link1 {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    height: 34px;
    width: 34px;
    border-radius: 50%;
    margin: 0 8px;
    background-image: url(image/back2.jpg);
    text-decoration: none;
    transition: transform 0.3;
}

.but-buttons .link1:hover{
    transform: scale(1.1);
}

.analytics .data {
    display: flex;
    align-items: center;
    color: #f5f4f4;
    padding: 0 20px;
    border-right: 2px solid #e7e7e7;
}

.data i {
    font-size: 18px;
    margin-right: 6px;
}

.data:last-child {
    border-right: none;
}
