/* -----------------------------
   Global Page & Body Styles
------------------------------ */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden; /* ensure no scrollbars for canvas background */
}

/* -----------------------------
   Canvas Styles
------------------------------ */
canvas {
    border: 0.1px; 
    background-color: transparent; 
    cursor: crosshair;
}

/* -----------------------------
   Source Code Pro Font Fix
------------------------------ */
.source-code-pro-uniquifier {
    font-family: "Source Code Pro", monospace;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
}

/* -----------------------------
   Page Container
------------------------------ */
.page-container {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

/* -----------------------------
   Background Image
------------------------------ */
.background-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* -----------------------------
   P5.js Canvas
------------------------------ */
#p5Canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; 
}

#drawCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; 
}

/* -----------------------------
   Text Content
------------------------------ */
.content {
    position: relative;
    z-index: 2; 
    color: white;
    font-size: 20px;
    text-align: center;
    padding-top: 50px;
    padding-left: 80px;
}

#h1 {
    position: fixed; 
    top: 65px;      
    left: 165px;    
    font-family: "Source Code Pro", monospace;
    font-weight: 400;
    font-style: normal;
    font-size: 25px;
    color: white;
    z-index: 10;    
}

#h2 {
    position: fixed; 
    top: 90px;      
    left: 165px;    
    font-family: "Source Code Pro", monospace;
    font-weight: 400;
    font-style: normal;
    font-size: 25px;
    color: white;
    z-index: 10;    
}

#clearText {
   position: fixed;
   bottom: 30px;
   left: 55px;
   margin: 0;
   padding: 0;
   z-index: 1000; 
   cursor: pointer;
   font-family: "Source Code Pro", monospace;
   font-weight: 400;
   font-style: normal;
   font-size: 20px;
}

/* -----------------------------
   Eye Image Container
------------------------------ */
.image-container {
    position: fixed;
    top: 50px;
    left: 50px;
    z-index: 10; 
}

.image-container img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    display: block;
}

/* -----------------------------
   Responsive Styles for Phones
------------------------------ */
@media (max-width: 600px) {
    .content {
        padding-top: 30px;   /* reduce top padding for small screens */
        padding-left: 10px;  /* reduce left padding */
        padding-right: 10px; /* add right padding */
    }

    #h1 {
        position: fixed; 
    top: 50px;      
    left: 90px;    
    font-family: "Source Code Pro", monospace;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    color: white;
    z-index: 10;    
}

      #h2 {
        position: fixed; 
    top: 65px;      
    left: 90px;    
    font-family: "Source Code Pro", monospace;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    color: white;
    z-index: 10;    
}

    #clearText {
        bottom: 30px;
        left: 20px;
        font-size: 12px;
    }

    .image-container {
        top: 65px;
        left: 20px;
    }

    .image-container img {
        width: 50px;    /* smaller image */
        height: auto;
    }
}
