/*---colors---*/
:root {
    --primary-color:;
    /*---body---*/
    --body-background-color: #e5e5e5;
    --paragraph-background-color: #999;
    /*---header/footer---*/
    --navbar-background-color: #324959;
    --navlink-backdrop-color: #718392;
    --hf-border-color: #223949;
    --text-color: #dce3e8;
    --hf-background-color: #526779;
    --hf-paragraph-background-color: #425769;
}

/*---fixes-navbar-covering-content-with-navlink-scroll---*/
#about,
#projects,
#contact {
    scroll-margin-top: 80px;
}

/*---header---*/
.header {
    width: 100%;
    background-color: var(--hf-background-color);
    padding: 25px 10%;
    padding-top: 80px;
    box-sizing: border-box;
    color: white;
    border-bottom: 3px solid var(--hf-border-color);   
}    

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 15px 10%;
    box-sizing: border-box;

    background-color: var(--navbar-background-color);
    z-index: 1000;

    padding-bottom: 15px;
    border-bottom: 4px solid var(--hf-border-color);
}

.logo {
    margin: 0;
    font-size: 24px;
    color: white;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 14px;
    font-weight: 500;

    padding: 9px 18px;
    border-radius: 20px;

    background-color: var(--navlink-backdrop-color);
    color: #ffffff;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    font-weight: bold;
    text-decoration: underline;
    transform: translateY(-2px);
}

.about {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 40px;
    text-align: left;
    padding: 40px 0;
 
}

.about-img {
	max-width: 35%;
	height: auto;
	display: block;
	border-radius: 45px;
}

.about-content {
    width: 55%;
    background-color: var(--hf-paragraph-background-color);
    border-radius: 25px;
    
}

.about h1 {
    font-size: 42px;
    margin: 0 0 10px;
}

.about h2 {
    font-size: 21px;
    font-weight: normal;
    color: var(--text-color);
    margin: 0 0 20px;
}

.about p {
    max-width: 700px;
    font-size: 30px;
    line-height: 1.7;
    color: white;
    margin-top: 0;
    padding-left:45px;
    padding-top:25px;
}

.bolded {
    font-weight: bold;
}

/*---------------------------------------*/

.project {
    display: flex;
    align-items: flex-start;
    width: 80%;
    max-width: 1000px;
    margin: 30px auto;
    padding: 20px;

    background-color: var(--body-background-color);
    border-radius: 20px;
    gap: 25px;
    box-sizing: border-box;
}

/*---project-image---*/
.project img {
    width: 50%;
    height: 250px;
    object-fit: cover;
    border-radius: 25px;
}

/*---project-description---*/
.project-description {
    width: 45%;
    padding: 0 10px;
    color: #333;
}, 

/*---project-title---*/
.project-description h2 {
    margin: 0;
    font-size: 24px;
}

/*---title-underline---*/
.project-description h2::after {
    content: "";
    display: flex;
    width: 100%;
    height: 4px;
    background-color: var(--paragraph-background-color);
    margin-top: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
}

/*---description-text---*/
.project-description p {
    font-size: 16px;
    line-height: 1.6;
    margin-top: 0;
}

/*---description-underline---*/
.project-description p::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--paragraph-background-color);
    margin-top: 15px;
}

/*---footer---*/
.footer {
    width: 100%;
    background-color: var(--hf-background-color);
    color: white;
    padding: 35px 10% 20px;
    box-sizing: border-box;
    margin-top: 50px;
    border-top: 4px solid var(--hf-border-color);
    
}

.footer-content {
    max-width: 1000px;
    margin: auto;
}

.footer-content h2 {
    text-decoration: underline;
    font-size: 26px;
    margin-top: 0;
    margin-bottom: 10px;
}

.footer-content > p {
    color: var(--text-color);
    font-size: 15px;
    line-height: 1.6;
}

/*---contact-info---*/
.contact-info {
    margin-top: 25px;
}

.contact-info p {
    font-size: 15px;
    margin: 12px 0;
}

.contact-info a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: white;
    text-decoration: underline;
}

/*---footer-bottom---*/
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;

    border-top: 1px solid var(--hf-border-color);
    margin-top: 30px;
    padding-top: 15px;

    color: var(--text-color);
    font-size: 12px;
}

body {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}
