
body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* This line prevents horizontal scrollbars */
}
/* header */
header{
    background: black;
    color: white;
    padding: 20px;
    height: 100vh;
    text-align: center;
    background-image: url("images/street.jpg");
    background-size: 100%;
    background-position: center;
    background-size: cover; /* or background-size: contain; */
    
}
header .logo a{
    background-image: url(images/vm-high-resolution-logo-2.png);
    background-size: 100%;
    background-repeat: no-repeat;
    display: inline-block;
    position: absolute;
    top: -20px;
    left: 40px;
    height: 130px;
    width: 130px;
    text-indent: -999999px;
    margin-top: 30px;

}

nav{
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    margin: 0 -20px;

}




.name {
    margin-top: 50px;
}

.bio {
    margin-top: 20px;
}
.nav-item a{
    color: black;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 20px; 
    margin-top: 30px; 
    display: block;
}
.nav-item a:hover{
    text-decoration: underline;
    color: rgb(12, 29, 54);

}

nav.scrolled .nav-item a:hover {
    text-decoration: underline;
    color: rgb(207, 185, 151);
}


nav li {
    display: inline-block;
    margin-right: 20px;
}

nav li.icon-link {
    position: relative;
}

nav li.icon-link .icon {
    margin-left: 5px; /* spacing between text and icon */
    font-size: 16px; /* size of the icon */
}


nav.scrolled {
    padding: 10px 20px; 
    background: rgb(12, 29, 54);
    transition: padding 0.2s ease, background 0.2s ease; /* Add smooth transition effect */
}

.nav-item a {
    color: white; 
}

.icon-link a .pdf-label {
    font-size: 14px; 
}

/* features */
.header-content {
    color: rgb(12, 29, 54);
}

.name {
    font-size: 50px; 
    margin-bottom: 20px; 
    text-shadow:
        -2px -2px 0 rgb(207, 185, 151),
         2px -2px 0 rgb(207, 185, 151),
        -2px  2px 0 rgb(207, 185, 151),
         2px  2px 0 rgb(207, 185, 151);
    margin-top: -10px;
}

.bio{
    font-size: 25px; 
    margin-bottom: 20px; 
    text-shadow:
        -1px -1px 0 rgb(207, 185, 151),
         1px -1px 0 rgb(207, 185, 151),
        -1px  1px 0 rgb(207, 185, 151),
         1px  1px 0 rgb(207, 185, 151);

}
.features{
    color: black;
    padding: 80px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.features figure{
    margin: auto;
    text-align: center;
    text-transform: uppercase;
    width: 200px;

}
.features figure img{
    border: 10px solid rgb(12, 29, 54);
    width: 200px;
    border-radius: 50%;
    box-shadow: gray 0px 0px 10px;

}


/*ABOUT SECTION*/
#about {
    padding: 50px; 
    background-color: rgb(207, 185, 151);
    color: rgb(12, 29, 54);
}

.about-content {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.about-image {
    width: 20%; /* size of image */
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    border: 10px solid rgb(12, 29, 54); 
}

.about-text {
    width: 50%; 
}

/* External links styling */
.external-links {
    display: flex;
    justify-content: space-around;
    margin-top: 20px; 
}

.external-links a {
    text-decoration: none;
}

.external-links img:hover {
    filter: brightness(1.8); 
}

/* Remove border from external link images */
.external-links img {
    width: 50px; 
    border: none
}


.about-text h1 {
    font-size: 40px;
    margin-top: 0;
    font-weight: bolder;
    text-align: center; /* Center-align the text */
}

.about-text h2 {
    margin-top: -20px;
    font-weight: bold;

}

.about-text p {
    font-size: 18px;
}

/*SKILLS SECTION*/
#skills{
    padding: 50px; 
    background-color: rgb(12, 29, 54);
    color: rgb(207, 185, 151);
}


.skills-text {
    text-align: center;
}

.skills-text h1 {
    font-size: 36px;
    margin-bottom: 10px;
}
.skills-text h2 {
    margin-top: 0px;
}
.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.skill {
    text-align: center;
    margin: 20px;
}

.skill.lp img.bigger-image {
    width: 150px; 
}

.skill img {
    width: 100px; 
}



/*PROJECT SECTION*/
#projects {
    /* Other styles */
    padding: 50px;
    background-color:rgb(207, 185, 151); 
    color: rgb(12, 29, 54);
}

.project-text h1,h2{
    text-align: center;
    font-size: 30px; 

}
.projects-content {

}
.projects-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.project {
    position: relative;
    cursor: pointer;
}

.project img {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.project:hover img {
    border: 3px solid rgb(12, 29, 54); 
}

.project-details {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1;

}

.project-details a {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: rgb(12, 29, 54); 
    text-decoration: none;
    font-weight: bold;
}

.project-details a:hover {
    text-decoration: underline; 
}
.project-details h2{
    margin-top: 0;
    text-align: center;
}
.project-details h3{
    margin-top: -20px;
    text-align: center;
}
.project-details p{
    margin-top: -20px;
}
.project-details .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
    color: rgb(12, 29, 54);
}




#contacted {
    background-color: rgb(12, 29, 54);
    color: rgb(207, 185, 151);
}

.contact-content {
    display: flex;
    justify-content: center;
}

.contact-pic {
    position: relative;
    width: 100%;
    left: 5%;
}

.contact-pic img {
    width: 90%;

}

.contact-text {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-70%, -50%);
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7); 
    padding: 40px; 
    border-radius: 10px; 
}

.contact-text h1 {
    font-size: 36px;
    margin-top: 0;
    margin-bottom: 10px;
}

.contact-text p {
    font-size: 18px;
}
.contact-text a {
    color: rgba(249, 205, 11, 0.878); 
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease; 
}

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


/* Footer */
footer {
    
    background-color: rgb(207, 185, 151);
    color: rgb(12, 29, 54);
    padding: 20px;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.footer-left ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-left li {
    display: inline-block;
    margin-right: 20px;
}
.footer-left a{
    text-decoration: none;
    color: rgb(12, 29, 54);
    
}
.footer-left a:hover{
    text-decoration: underline;
    
}

.footer-center img {
    width: 40px; 
    margin: 0 10px;
}

.footer-center img:hover{
    filter: brightness(1.8);

}

.footer-right p {
    margin: 0;
}


