@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
    body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    background-color: rgba(233, 227, 217, 0.699);

    
}
.logo__img {
  width: 1.9rem; /* or adjust to fit */
  max-width: 100%;
  height: auto;
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2;
    background-color: rgb(233, 227, 217, 0.699);
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    opacity: 90%;
    /* opacity: 0.5; */
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px 0 0;
}
.logo__img {
  height: 2.5rem;
  width: auto;
  max-width: 100%;
  display: inline-block;
  object-fit: contain;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.branding {
  display: flex;
  align-items: center;
  gap: 2rem;
}

@media (max-width: 768px) {
  .branding {
    justify-content: center;
    width: 100%;
    margin-bottom: 0.5rem;
  }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.header__title {
    display:inline-block;
    font-size: 24px;
    width: 100%;
    margin: 0;
}

.header__nav {
    display: flex;
    align-items: center;
}

.header__nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display:flex;
    align-items: center;
}

.header__nav-item {
    display: inline-block;
    margin-left: 20px;
}


.header__nav-link {
    text-decoration: none;
    color:black;
}


.header__nav-link:hover {
    text-decoration: underline;
}

.header__nav-item.header__nav-item--contact a {
    background: black;
    color: white;
    padding: 10px 20px; 
    /* Originally the Contact Bubble was too small due to "padding: 10px, 20px;" DONT PUT COMMAS */
    border-radius: 8px; 
    transition: all 0.3s ease-in-out;
}

.header__nav-item.header__nav-item--contact a:hover {
     text-decoration: none;
     opacity: 0.5;
}

.header__nav-item--github a {
    font-size: 35px; 
}

.header__nav-item--github a:hover {
    opacity: 0.5;
}

.header__nav-item--linkedin a {
    font-size: 37px;
    border-radius:70%;
}
.header__nav-item--linkedin:hover a {
    opacity: 0.5;
}
/* INTRO */

.intro__title {
    font-size: 44px;
    color: Black;
    margin-top: 125px;
    margin-bottom: 0;
    padding: 0 10px; 
} 

.intro_subtitle {
    font-size: 24px;
    font-weight: normal;
    color: #333;
    padding: 0 20px;

}

.intro__highlight {
    font-size: 24px;
    font-weight: normal;
    color: #333;
    padding: 0 20px;
}

/*  PORTFOLIO GALLERY */

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 10px;
    padding: 20px;
}

.gallery__item {
    position: relative;
    min-height: 300px;
}

.gallery__image-container {
    display: inline-block; 
    width: 100%;
    height: 300px; 
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery__image-container:hover { 
    transform: scale(1.05);
}

.gallery__item-info {
    display:flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    gap: 1rem;
}

.gallery__modal {
    display:none;
    position: fixed;
    z-index: 99;
    left:0;
    top:0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: fadein 0.3s ease-in-out;
    
}

.gallery__modal-checkbox {
    display: none;
}


.gallery__modal-image {
max-width: 80%;
max-height: 80%;
}

.gallery__modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}
.gallery__modal-checkbox:checked + .gallery__modal {
    display: flex; 

}

@keyframes fadeIn {
    from {
        opacity : 0;
    }
    to {
        opacity: 1;
    }
}

/* CONTACT */

.contact {
    padding: 150px 0 300px 0;
    text-align: center;
}


.contact__title {
    font-size: 36px;
    color: #333;
}

.contact__description {
    font-size: 18px;
    color:#666;
    margin-top: 10px;
}
/* FOOTER */


.footer {
    background-color: #333;
    color: white; 
    text-align: center;
    padding: 20px 0;
}

.footer__text {
    margin: 0;
}

/* /* Media Queries for Mobile Resposiveness  */

@media (max-width: 768px) {
    .header .container {
        text-align: center;
        justify-content: center;
        flex-wrap: wrap;
    }
}
.header_-title {
    text-align: center;
}

.header__nav-list {
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.header__nav-item {
    margin-top: 10px;
}
/*  Tittle is a bit crowded on mobile adding adjustments */

@media (max-width: 480px) {
  .intro__title {
    font-size: 2rem; /* or adjust as needed */
  }
  .intro_subtitle,
  .intro__highlight {
    font-size: 1.2rem;
  }
}
