/* base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

ul {
    list-style-type: none;
}

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 16px;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
    color: #292C32;
    text-align: center;
}

h1, h2, h3, p {
    margin-top: 0;
}

h1 {
    font-family: 'Source Serif Pro';
    font-weight: 400;
    font-size: 48px;
    line-height: 1.2;
    color: #3A5F56;
}
 
h2 {
    font-family: 'Source Serif Pro';
    font-weight: 400;
    font-size: 32px;
    line-height: 1.2;
    color: #3A5F56;
}

h3 {
    font-family: 'Source Serif Pro';
    font-weight: 400;
    font-size: 32px;
    line-height: 1.2;
    color: #FFFFFF;
    margin: 0;
}




.navbar {
    width: 100%;
    background-color: #3A5F56;
    display: flex;
    justify-content: center;
    position: fixed;
    top: 0; 
}

.link {
    font-size: 24px;
    color: #F4F3F0;
    text-decoration: none;
    
}

.header-menu {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 10px;
    display: flex;
    justify-content: space-around;
    background-color: inherit;
}

.header-menu :hover {
    text-decoration: underline;
    color: #292C32;
}

.welcome-section {
    display: flex;
    justify-content: center;
    gap: 64px;
    max-width: 1168px;
    margin: 0 auto;
    background-color: #F4F3F0;
}

.name {
    width: 552px;
    padding: 100px 0 50px 0;
}

.resume-section {
    display: flex;
    justify-content: center;
    gap: 20px;
    fill: #3A5F56;
}

.main-foto {
    width: 200px;
    height: 272px;
    border-radius: 24px;
    margin: auto 0;
}

.projects {
    width: 100%;
    max-width: 1440px;
    padding: 50px 20px;
    margin: 0 auto;
} 

.projets-text {
    width: 600px;
    height: 159px;
    margin: 0 auto;
}

.project-card {
display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: center;
}

.card {
    width: 378px;
    padding: 20px;
}

.picture {
    width: 100%;
    height: 200px;
}

.profile-link {
    font-family: 'Source Serif Pro';
    font-weight: 400;
    font-size: 28px;
    line-height: 1.2;
    color: #3A5F56;
}

.profile-link:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.certifies {
    height: 252px;
}

.contact-section {
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 800px;
    height: 259px;
    border-radius: 16px;
    background-color: #F4F3F0;
    font-size: 24px;
    padding: 40px;
} 

.button {
    width: 124px;
    height: 58px;
    border-radius: 6px;
    background-color: #3A5F56;
    font-size: 20px;
    color: #FFFFFF;
    margin: 20px auto;
}

.contact {
    width: 100%;
    height: 279px;
    margin: 0 auto;
    background-color: #292C32;
    padding: 50px;
}

.address {
    font-size: 18px;
    color: #FFFFFF;
}

.footer {
    display: flex;
    flex-direction: column;
}  

.footer-address {
    padding: 0;
}

.footer-icons {
    fill:#F4F3F0;
    margin-right: 10px;
}

@media (max-width: 768px) {
    .navbar {
    background-color: #3A5F;
    position: relative;
    }

    .header-menu {
    padding: 0;
    display: block;
    }

    .name {
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

.main-foto {
 display: none;
}

/* .projects {
    margin: 20px auto;
} */

.projets-text {
    width: 100%;
}

.card {
    width: 100%;
    height: auto;
}

.contact-section {
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 20px;
} 
} 
