/* ===========================
   Mohamed Merghad
   Premium Personal Website
=========================== */

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
}

body{

background:#111111;
color:#ffffff;

overflow-x:hidden;

}

.background{

position:fixed;

top:0;
left:0;

width:100%;
height:100%;

background:

radial-gradient(circle at top right,#8d6a09 0%,transparent 30%),

radial-gradient(circle at bottom left,#2b2b2b 0%,transparent 35%),

#111111;

z-index:-1;

animation:bg 12s ease infinite;

}

@keyframes bg{

0%{

transform:scale(1);

}

50%{

transform:scale(1.08);

}

100%{

transform:scale(1);

}

}

.container{

min-height:100vh;

display:flex;

justify-content:center;

align-items:center;

flex-direction:column;

padding:40px 20px;

}

.profile{

max-width:700px;

width:100%;

padding:45px;

background:rgba(255,255,255,.05);

backdrop-filter:blur(18px);

border:1px solid rgba(184,134,11,.3);

border-radius:28px;

text-align:center;

box-shadow:

0 15px 50px rgba(0,0,0,.5);

transition:.4s;

}

.profile:hover{

transform:translateY(-8px);

}

.profile img{

width:170px;

height:170px;

border-radius:50%;

object-fit:cover;

border:5px solid #b8860b;

box-shadow:

0 0 35px rgba(184,134,11,.35);

margin-bottom:25px;

transition:.4s;

}

.profile img:hover{

transform:scale(1.05);

}

.profile h1{

font-size:40px;

font-weight:700;

}

.profile span{

display:block;

margin-top:8px;

color:#b8860b;

letter-spacing:3px;

font-size:15px;

}

.profile p{

margin-top:28px;

font-size:16px;

line-height:1.9;

color:#d8d8d8;

}

.email{

display:inline-block;

margin-top:30px;

padding:14px 30px;

border-radius:40px;

background:#b8860b;

color:#111;

font-weight:600;

text-decoration:none;

transition:.35s;

}

.email:hover{

background:#d4a514;

transform:translateY(-3px);

}

.social{

margin-top:35px;

display:flex;

gap:18px;

flex-wrap:wrap;

justify-content:center;

}

.social a{

width:65px;

height:65px;

display:flex;

align-items:center;

justify-content:center;

border-radius:50%;

font-size:26px;

text-decoration:none;

transition:.35s;

box-shadow:0 8px 25px rgba(0,0,0,.35);

}

.social a:hover{

transform:translateY(-8px) scale(1.08);

}

.instagram{

background:linear-gradient(45deg,#f58529,#dd2a7b,#8134af);

color:white;

}

.facebook{

background:#1877F2;

color:white;

}

.linkedin{

background:#0A66C2;

color:white;

}

.tiktok{

background:#000;

border:1px solid #555;

color:white;

}

@media(max-width:768px){

.profile{

padding:30px;

}

.profile h1{

font-size:30px;

}

.profile img{

width:140px;

height:140px;

}

.profile p{

font-size:15px;

}

.social a{

width:55px;

height:55px;

font-size:22px;

}

}

@media(max-width:480px){

.profile{

padding:25px 20px;

}

.profile h1{

font-size:26px;

}

.profile span{

font-size:13px;

letter-spacing:2px;

}

.profile p{

font-size:14px;

}

.email{

width:100%;

}

}