
/*Disclaimer: ChatGPT Generative AI was used in parts of this code. Here is the link for reference: https://chatgpt.com/share/6818cf4e-a5a4-8001-a99c-89dc31dd9877 */





/* Main styles */


nav{
    display:flex;
    justify-content:center;
    align-items:center;
    position: fixed;
    z-index:2;
    top: 0;
    width: 100%;
    background-color:rgb(44, 31, 19);
    padding:10px;
    border-bottom:3px solid black;
}

#upper-header{
    display:flex;
    justify-content:center;
    background-color:rgb(44, 31, 19);
}

#backgroundimg{
    background-image:url('../img/backgroundg.png');
    object-fit:fill;
    background-position: center;
    background-repeat: repeat;
    background-size:cover;
    position: relative;
    width: 100%;
    overflow: hidden;

}

body{
    margin:0px;
    background-color:rgb(198, 128, 63);
}

#desktophr{
    display:none;
}
#desktop-header-fix{
    display:none;
}

#sarah-logo{
    width:30px;
    height:auto;
    position:fixed;
    left:10px;
    top:10px;
    z-index:-1;
}



/*Text styles */
#title-text{
    font-size:80px;
    margin-top:80px;
    font-family: "Engagement", cursive;
    color:white;
    /*ai help */
    background: linear-gradient(270deg, #ffffff, #cbb9a2, #b3b3b3, #f8f8f8);
    background-size: 600% 600%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 5s ease infinite;
    text-align: center;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

#nav-text{
    font-size:20px;
    color:white;
    font-family: "Engagement", cursive;
    margin-left:20px;
    margin-right:20px;
}
#frame-header{
    font-size:40px;
    width:100%;
    text-shadow:1px 1px 3px black;
    text-align:center;
    margin-top:80px;
    margin-bottom:0px;
    color:rgb(255, 255, 255);
    font-family: "Rye", serif;
}
#frame-header-mobile{
    font-size:40px;
    width:100%;
    text-shadow:1px 1px 3px black;
    text-align:center;
    margin-top:80px;
    margin-bottom:0px;
    color:rgb(255, 255, 255);
    font-family: "Rye", serif;
}
#about-text{
    font-family: "Rye", serif;
    font-size:18px;
    margin:5px;
    color:white;
}

#resume-a{
    font-family: "Rye", serif;
    font-size:50px;
    text-align:center;
    width:100%;
    text-decoration:none;
    font-family: "Engagement", cursive;
    color: white;
    text-decoration:underline;
    margin-bottom:30px;
    margin-top:30px;
}
#contact-header{
    font-family: "Rye", serif;
    font-size:50px;
    text-align:center;
    width:100%;
    text-decoration:none;
    font-family: "Engagement", cursive;
    font-weight:bold;
    color:rgb(44, 31, 19);
    margin-bottom:30px;
    margin-top:30px;
}
.fa-brands{
    font-size:30px;
    margin:5px;
}

#about-me{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
}
#second-hr{
    color:white;
}
#contact-text{
    font-family: "Rye", serif;
    font-size:18px;
    margin:5px;
    color:rgb(44, 31, 19);
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    align-items:center;

}
#ending-text{
    text-align:center;
    font-weight:bold;
}
#contact-me{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    align-items:center;
}
/* Gallery styles */

#gallery-img:hover{
    cursor:pointer;
}
a:hover{
    text-shadow:1px 1px 5px white;
}
#popup-box {
    display: none;
    position: fixed;
    display:flex;
    align-items:center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: white;
    border: 1px solid #ccc;
    padding: 20px;
    z-index: 1000;
    text-align: center;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    max-width: 95vw;
    max-height: 90vh;
    overflow: auto;
    font-family: "Rye", serif;
  }
  
  #popup-box.show {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }


  #popup-img {
    max-width: 100%;
    max-height: 80vh; /* Keep the image responsive */
    display: block;
    margin: 0 auto;  /* This centers it horizontally */
    object-fit: contain; /* Ensures the image is scaled correctly without stretching */
    transition: transform 0.4s ease;
    cursor: zoom-in;
  }

  #popup-img.zoomed {
    transform: scale(2); /* You can make this larger if needed */
    cursor: zoom-out;
  }

#close-popup{
    background:red; 
    color:white; 
    padding:5px 10px; 
    cursor:pointer;
    font-family: "Rye", serif;
    width:100%;
}

 /* Overlay that dims the background */
 #popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* semi-transparent black */
    z-index: 900;
    opacity: 0;
    transition: opacity 0.4s ease;
  }

  #popup-overlay.show {
    display: block;
    opacity: 1;
  }

/*back to images */
#paintings img{
    max-width:300px;
    max-height:auto;
    margin-top:50px;
}

#nail-arts img{
    max-width:300px;
    max-height:auto;
    margin-top:50px;
}

#cakes img{
    max-width:300px;
    max-height:auto;
    margin-top:50px;
}

#paintings{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    align-items:center;
}

#nail-arts{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    align-items:center;
}

#cakes{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    align-items:center;
}

/*Media query */
@media screen and (min-width:1000px){
    nav{
        border-bottom:1px solid white;
    }

    #nav-text{
        margin-left:80px;
        margin-right:80px;
    }

    #title-text{
        margin-bottom:0px;
    }
    #backgroundimg{
        background-image:url('../img/backgroundg.png');
        object-fit:contain;
        height:300vh;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    #paintings img{
        max-width:300px;
        max-height:auto;
        margin:60px;
        margin-top:0px;

    }
    
    #nail-arts img{
        max-width:300px;
        max-height:auto;
        margin:10px;
        margin-top:0px;
    }
    
    #cakes img{
        max-width:300px;
        max-height:auto;
        margin:10px;
        margin-top:0px;
    }
    
    #paintings{
        display:flex;
        flex-wrap:wrap;
        justify-content:center;
        align-items:center;
    }
    
    #nail-arts{
        display:flex;
        flex-wrap:wrap;
        justify-content:center;
        align-items:center;
    }
    
    #cakes{
        display:flex;
        flex-wrap:wrap;
        justify-content:center;
        align-items:center;
    }
    #desktophr{
        display:block;
        margin:0px;
        
    }

    #frame-header-mobile{
        display:none;
    }
    #desktop-header-fix{
        display:block;
        width:100%;
        margin-top:250px;
    }

    #frame-header{
        margin-top:10px;
        margin-bottom:10px;
        font-size:30px;
    }
    #about-text{
        width:60%;
        text-align:center;
        margin-top:40px;
    }
    #contact-text{
        display:flex;
        justify-content:center;
        align-items:center;
    }
    #contact-card{
        width:100%;
        text-align:center;
    }
    #ending-text{
        width:100%;
    }
    .fa-brands{
        font-size:60px;
    }
    

}

@media screen and (min-width:1200px){
    #nail-arts img{
        max-width:300px;
        max-height:auto;
        margin:60px;
        margin-top:0px;
    }
    
    #cakes img{
        max-width:300px;
        max-height:auto;
        margin:60px;
        margin-top:0px;
    }
}
/*
#background-wrapper {
    position: relative;
    width: 100%;
    height: 300vh; 
    overflow: hidden;
  }
*/
  #light-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: radial-gradient(
      ellipse at 50% 0%,
      rgba(255, 230, 180, 0.6) 0%,
      rgba(255, 200, 140, 0.4) 30%,
      transparent 70%
    );
    mix-blend-mode: screen;
    filter: blur(40px);
    opacity: 0.7;
    animation: glowPulse 5s ease-in-out infinite;
  }

  @keyframes glowPulse {
    0%, 100% {
      opacity: 0.6;
    }
    50% {
      opacity: 0.9;
    }
  }