mhamza-007's picture
initial commit
36e1d71
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap");
* {
box-sizing: border-box;
}
body {
font-family: "Inter", sans-serif;
margin: 0;
padding: 0;
background: #f5f7fa;
color: #333;
}
header {
background: #2c3e50;
color: white;
padding: 3rem 1rem;
text-align: center;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
header h1 {
margin-bottom: 1rem;
font-size: 2.5rem;
}
form {
display: flex;
flex-direction: column;
align-items: center;
gap: 1rem;
max-width: 400px;
margin: 0 auto;
}
input[type="text"] {
width: 100%;
padding: 0.75rem 1rem;
border: 1px solid #ccc;
border-radius: 10px;
font-size: 1rem;
}
input[type="text"]:hover {
border-color: #90ee90;
background-color: #f0fff0;
transition: 0.3s ease;
}
input[type="text"]:focus {
outline: 2px solid #90ee90;
background-color: #f0fff0;
transition: 0.2s ease;
}
button {
padding: 0.75rem 2rem;
font-size: 1rem;
font-weight: bold;
background-color: #1abc9c;
color: white;
border: none;
border-radius: 10px;
cursor: pointer;
transition: background-color 0.3s ease;
}
button:hover {
background-color: #16a085;
}
#spinner {
margin-top: 2rem;
}
.error-container {
background-color: #ffe6e6;
color: #b30000;
border-left: 6px solid #f44336;
padding: 16px 24px;
margin: 20px auto;
max-width: 600px;
border-radius: 12px;
font-family: "Segoe UI", sans-serif;
font-size: 16px;
position: relative;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.close-btn {
position: absolute;
right: 16px;
top: 12px;
background: none;
border: none;
font-size: 20px;
color: #b30000;
cursor: pointer;
}
main {
max-width: 850px;
margin: 2rem auto;
padding: 2rem;
background: white;
border-radius: 20px;
box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
}
main h2 {
margin-top: 2.5rem;
margin-bottom: 1rem;
color: #2c3e50;
border-left: 4px solid #1abc9c;
padding-left: 0.75rem;
font-size: 1.5rem;
}
#profile-pic {
width: 200px;
height: 200px;
object-fit: cover;
border-radius: 20px;
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(0, 0, 0, 0.1);
transform: perspective(600px) rotateX(3deg);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#profile-pic:hover {
transform: perspective(600px) rotateX(5deg) translateY(-4px);
box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2), 0 6px 12px rgba(0, 0, 0, 0.12);
}
.summary-box {
background: #ecfdf5;
border-left: 6px solid #10b981;
padding: 1.25rem;
border-radius: 12px;
font-size: 1.1rem;
line-height: 1.6;
color: #065f46;
margin-bottom: 2rem;
}
.card-section {
display: grid;
gap: 1.2rem;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.card {
background: #f9fafb;
border: 1px solid #e5e7eb;
border-radius: 12px;
padding: 1rem 1.25rem;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
transform: translateY(-4px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.card ul {
padding-left: 1.25rem;
margin: 0;
}
.card li {
margin: 0.5rem 0;
line-height: 1.4;
list-style: disc;
color: #374151;
}
@media (max-width: 600px) {
main {
padding: 1rem;
}
header h1 {
font-size: 2rem;
}
.summary-box {
font-size: 1rem;
}
}