html {
    background-color: #faf8f6;
}

/*hyperlink styling*/
a.nav-item {
    text-decoration: none;
  }
  
  .nav-item {
    color: #333;
    opacity: 0.6;
    position: relative;
    -webkit-transition: opacity 0.2s ease-in-out 0s;
    -moz-transition: opacity 0.2s ease-in-out 0s;
    transition: opacity 0.2s ease-in-out 0s;
  }
  
  .nav-item:hover {
    opacity: 1;
  }
  
  .nav-item:before {
    content: "";
    position: absolute;
    bottom: -2px;
    width: 100%;
    height: 2px;
    z-index: 10;
    background-color: #997950;
    -webkit-transform: scaleX(0);
    -moz-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all 0.2s ease-in-out 0s;
    -moz-transition: all 0.2s ease-in-out 0s;
    transition: all 0.2s ease-in-out 0s;
  }
  
  .nav-item:hover:before {
    -webkit-transform: scaleX(1);
    -moz-transform: scaleX(1);
    transform: scaleX(1);
  }

/* Bio container styling */
.bio-cont {
    width: 60%;
    height: auto;
    margin: 80px auto;
    padding: 10px 25px 0px 25px;
}

@media screen and (max-width: 768px) {
    .bio-cont {
        width: 90%;
    }
}

.me-head {
    font-family: "poppins", sans-serif;
    font-size: 35px;
    font-weight: bolder;
    color: #333;
    width: 100%;
}

.bio {
    font-size: 20px;
    font-family: "bitter", sans-serif;
    color: #333;
    width: 100%;
}

.bio p{
    line-height: 1.3;
}

/* Project container styling */
.project-cont {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.container {
    width: 80%;
    max-width: 1400px;
    margin: 0 auto;
}

.projects {
    display: flex;
    flex-direction: column;
    gap: 5px;
    border-radius: 5px;
    border: 1px solid #333;
    background-color: #fff;
    margin-bottom: 15px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}


.project-img {
    width: 100%;
    height: 0;
    padding-bottom: 75%;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.project-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-img-padding {
    padding-bottom: 10px;
}

.project-title {
    font-family: "poppins", sans-serif;
    font-size: 25px;
    font-weight: bolder;
    color: #333;
    padding: 10px 0;
    margin: 0 10px;
    line-height: 1.3;
}

.project-outlet {    
    font-family: "bitter", sans-serif;
    font-weight: bold;
    font-size: 16px;
    color: #333;
    text-align: left;
    margin: 0 10px 7px 10px;
    line-height: 1.3;}

.project-desc {
    font-family: "bitter", sans-serif;
    font-size: 16px;
    color: #333;
    text-align: left;
    margin: 0 10px 10px 10px;
    line-height: 1.5;
}

.project-method {
    font-family: "bitter", sans-serif;
    font-style: italic;
    font-size: 16px;
    color: #606060;
    text-align: left;
    margin: 0 10px 10px 10px;
    width: calc(100% - 20px);
}

.projects-wrapper {
    padding: 15px;
}

.projects:hover {
    cursor: pointer;
    transform: scale(1.02);
}

.projects-link {
    text-decoration: none;
}

/* For even narrower projects on larger screens */
@media (min-width: 992px) {
    .projects {
        width: 80%;
    }
}

/* more spacing between columns */
.row {
    margin-left: -3px;
    margin-right: -3px;
}

/* Add extra padding within columns */
[class*="col-"] {
    padding-left: 3px;
    padding-right: 3px;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .me-head {
        font-size: 35px;
        font-weight: bold;
    }

    .bio-cont {
        width: 90%;
        padding-left: 0px;
        padding-right: 0px;
        margin: 40px auto;
    }

    .bio {
        font-size: 18px;
    }

    .container {
        align-items: center;
        padding: 0px;
        width: 100%;
    }

    .project-title {
        font-size: 26px; 
        font-weight: bold;
    }

    .project-outlet {
        font-size: 18px;
    }

    .project-desc {
        font-size: 18px;
    }

    .project-method {
        font-size: 18px;
    }
    
    /* Make cards wider on mobile */
    .projects {
        width: 95%;
    }
}