*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: #f4f4f4;
    font-family: system-ui;
    text-align: center;
}

header{
    background-color: #333;
    height: 6rem;
    text-align: center;
    color: #fff;
    padding: 1rem 0;
    
}

header h1{
    margin-bottom: 7px;
}
header ul{
    display: flex;
    justify-content: space-around;
    list-style: none;
}

header ul li{
    margin: 0 2rem;
}

ul li a{
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

a:hover{
    text-decoration: underline;
}


#about{
    width: 700px;
    padding: 2rem;
    margin: 1rem auto;
}
 
#about .profile-img{
    border-radius: 50%;
    width: 200px;
    height: 200px;
    object-fit: cover;
    display: block; 
    margin: 1rem auto;
    border: solid 3px white;
    overflow: hidden;
}

.profile-img img{
    height: 200px;
    object-fit: cover;
    scale: 1.5;
    transform: translate(2px, 10px );
}



h2, h3{
    margin: 1rem auto;
}

#about p{
    font-weight: 500;
}

#mycertificate{
    max-width: 1100px;
    padding: 2rem;
    margin: 1rem auto;
}

.diff-certificate{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

#certificate{
    padding: 1rem;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 300px;
    margin: 1rem;
}

#certificate img{
    width: 100%;
    height: 200px;
    border-radius: 12px;
    object-fit: contain;
}

#contact{
    max-width: 1000px;
    padding: 2rem;
    margin: 1rem auto;
}

form{
    display: flex;
    flex-direction: column;
}

form label{
    text-align: left;
    font-weight: 600;
}

form input, 
form textarea{
    padding: 0.5rem;
    font: 1rem;
    border-radius: 6px;
    margin: 10px 0 20px;
    border: none;
    border: 1px solid #333;
}

form button{
    padding: 1rem;
    border-radius: 6px;
    color: #fff;
    background-color: #333;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

form button:hover{
    background: #555;
}

footer{
    background: #333;
    color: #fff;
    padding: 1rem 0;
}