body {
    font-family: 'Arial', sans-serif;
    line-height: 1.8;
    margin: 0;
    padding: 0;
    background-color: #0f172a;
    color: #e0f2fe;
}

header {
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
    color: #f1f5f9;
    padding: 15px 0;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: bold;
}

nav {
    display: flex;
    justify-content: center;
    padding: 10px 0;
    background: #1e293b;
    box-shadow: inset 0 -2px 5px rgba(0, 0, 0, 0.5);
}

nav a {
    color: #bfdbfe;
    text-decoration: none;
    margin: 0 20px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: color 0.3s, transform 0.3s;
}

nav a:hover {
    color: #60a5fa;
    transform: scale(1.1);
}

.container {
    max-width: 900px;
    margin: 30px auto;
    padding: 30px;
    background: #1e293b;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

section {
    margin-bottom: 40px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    border-bottom: 3px solid #60a5fa;
    display: inline-block;
    padding-bottom: 5px;
    color: #93c5fd;
}

ul {
    list-style: square;
    padding-left: 40px;
    font-size: 1.2rem;
    color: #a5f3fc;
}

ul li {
    margin-bottom: 15px;
}

a {
    color: #93c5fd;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
    color: #60a5fa;
}

#about {
    display: flex;
    align-items: center;
    gap: 30px;
    text-align: left ;
}

#about h2 {
    font-size: 1.25em;
}

#about img {
    width: 15%;
    border-radius: 15px;
    margin-left: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s;
    cursor: pointer;
}

#about img:hover {
    transform: scale(1.1);
}


#lab {
    align-items: center;
}
#lab img {
    display: inline-block;
    width: 45%;
    height:auto;
    border-radius: 15px;
    margin: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s;
    cursor: pointer;
}

#lab :hover {
    transform: scale(1.1);
}

img {
    width: 50%;
    display: block;
    margin: 40px auto;
    border-radius: 15px;
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.5);
}

@keyframes shake {
    0%, 100% { transform: translate(0, 0); }
    10%, 30%, 50%, 70%, 90% { transform: translate(-12px, -12px); }
    20%, 40%, 60%, 80% { transform: translate(12px, 12px); }
}

#links {
    width: 50%;
    display: block;
    margin: auto;
    margin-bottom: 0.5in;
    text-align: center;
    color: whitesmoke;
}

.shake {
    animation: shake 0.5s;
    animation-iteration-count: 1;
}

#ana {
    width: 30%;
    float: right;
    width: 30%;
    display: block;
    margin: auto;
}

#ana img {
    width: 80%; 
    border-radius: 2px;
    box-shadow: none; 
    transition: transform 0.3s;

}

#ana :hover {
    transform: scale(1.1);
}
