

html,body {
    height: 100%;
    font-family: "Trebuchet MS", Verdana, sans-serif;
    font-size: 16px;
    background-color: white; 
    color: #696969;
    padding: 3px;
}

#main {
    padding: 5px;
    padding-left:  15px;
    padding-right: 15px;
    background-color: #ffffff;
    border-radius: 0 0 5px 5px;
    height: 100%;
}

h1 {
    font-family: Arial, serif;
    border-bottom: 3px solid #00008b;
    color: black;
    font-size: 24px;
    padding: 0px 0px 4px 0px;
}

#comic {
    max-width: 100%;
    height: auto;
}

#content {
    position: absolute;
    left: 12%;
    right:  10%;
    width: 70%;
    height: 70%;
    padding: 10px;
    z-index: 10;
}

#content4 {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    max-width: 800px;
    height: auto;
    min-height: 70%;
    padding: 20px;
    z-index: 10;
    line-height: 1.4;
    text-align: left;
    overflow-y: auto;
}

#content2 {
    position: absolute;
    left: 20%;
    right: 5%;
    width: 60%;
    padding: 10px;
    text-indent: 10px;
    line-height:1.4;
    z-index: 10;
}

#content3 {
    position: relative;
    z-index: 10;
    width: 100%;
}

#content5 {
    position: relative;
    left: 12%;
}



#scrollable {
    position: relative;
    overflow-y: scroll;
    height:60%;
    left: 8%;
    right: 8%;
    width: 80%;
    top: 5%;
    padding: 10px;
    line-height:1.4;
    color: black;
    text-align: center;
}

#scrollable2 {
    position: relative;
    overflow-y: scroll;
    height:60%;
    left: 14%;
    width: 70%;
    top: 5%;
    padding: 10px;
    line-height:1.4;
    color: black;
    text-align: center;
}


#scrollable3 {
    position: relative;
    overflow-y: scroll;
    height:60%;
    left: 25%;
    width: 70%;
    top: 5%;
    padding: 10px;
    text-indent: 50px;
    line-height:1.4;
    color: black;
    text-align: center;
}

.intrinsic-container {
    position: relative;
    width: 100%;
    height: 0;
    overflow: hidden;
    padding-bottom: 100%;
} 
 
.intrinsic-container iframe {
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
}

#dumb {
    position: absolute;
    width: 66%;
    padding: 50px;
    display: none;
    left:100px;

    
}

#design {
    position: absolute;
    width: 50%;
    padding: 50px;
    display: none;
    left:100px;

}




#art1 {
    position: relative;
    width: 70%;
    left: 0px;
}
#art2 {
    position: relative;
    width: 70%;
    left: 5px;

}
#art3 {
    position: relative;
    width: 70%;
    left: 5px;

}
#art4 {
    position: relative;
    width: 70%;
    left: 5px;

}

#projects {
    position: absolute;
    padding: 40px;
    width: 70%;
    left:80px;
    display: none;
    z-index: 9;

    
}

#norm {
    position: absolute;
    width: 70%;
    padding: 40px;
    left:80px;
    display: none;
    z-index: 9;

}

#resume {
    position: absolute;
    width: 70%;
    padding: 50px;
    left:80px;
    display: none;
    z-index: 9;

}

#consulting {
    position: absolute;
    width: 70%;
    padding: 50px;
    left:80px;
    display: none;
    z-index: 9;

}

#recording {
    position: absolute;
    width: 70%;
    padding: 50px;
    left:80px;
    display: none;
    z-index: 9;
}


#menu1 {
    display: inline;
    margin-left: 0px;
    width:15%;
    position: relative;
    z-index: 100;
    background-color: white;
   
}



#calvin {
    position: relative;
    width: 100%;
    bottom:50;
    left:0;
    padding: 0px;
}

#monkey {
    position: absolute;
    padding: 50px;
    width: 70%;
    image-orientation: from-image;
    z-index: 9;
}

ul.navi{
    list-style-type: none;
    margin-left: 0px;
    padding: 0px;
    position: absolute;
    width: 100%;
    z-index:100;
    background-color: white;
    padding-bottom: 10px;
}

li, a.hm:link, a.hm:visited {
    color: red;
    padding: 5px;
    background-color:#ffffff;
    text-align: center;
    text-decoration: none;
    font-family: "Trebuchet MS", Verdana, sans-serif;
    border-radius: 4px 4px 4px 4px;
    margin: 0px;
    z-index: 100;
    
}

li a.hm:hover {
	 background-color: lightblue;
}
li a.hm:active{
    background-color: black;
}


li {
    list-style: none;
    padding: 10px 0px 30px 0px;
    margin-left: 0px;
    z-index: 101;
    width: 60px;

}



@media screen and (max-width: 700px) {
  #menu1 {
    height: auto;
    position: relative;
    width: 100%;
    background-color: white;
    padding-bottom: 10px;
    margin-bottom: 10px;
  }
  #menu1 a {
    float: left;
    font-size: 14px;
    padding: 8px 6px;
  }
  div.content {margin-left: 0;}
  ul.navi {
    list-style-type: none;
    margin-left: 0px;
    padding: 0px;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    background-color: white;
  }
  li {
    width: auto;
    display: inline-block;
    margin-left: 0px;
    padding: 5px 0px;
  }
  #content4 {
    position: relative;
    left: 0;
    transform: none;
    width: 90%;
    max-width: none;
    margin: 5px auto;
    padding: 15px;
    height: auto;
    clear: both;
  }
  
  /* Specific override for recording content on smaller screens */
  #content4.recording-content {
    position: relative !important;
    left: 0 !important;
    transform: none !important;
    width: 90% !important;
    margin: 5px auto !important;
    top: 0 !important;
    padding: 15px !important;
  }
}

@media screen and (max-width: 400px) {
  #menu1 {
    width: 100%;
  }
  #menu1 a {
    text-align: center;
    float: none;
    display: block;
    font-size: 13px;
    padding: 6px 4px;
  }
  ul.navi {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    text-align: center;
    justify-content: center;
  }
  li {
    display: inline-block;
    width: auto;
    padding: 3px 2px;
    margin: 2px 1px;
  }
  #content4 {
    width: 95%;
    padding: 10px;
    font-size: 14px;
    margin-top: 10px;
  }
  li.consult {
    font-size: 13px;
    padding: 3px;
  }
}

div.projects_scrollable li { 
    display: block;
    position: relative;
    color: grey;
    list-style: none;
    font-size: 12px;
    width: 100%;
    margin-left: 0px;
}


.werk {
    text-decoration: none;
    text-align: left;
    color: #597CCD;
    width: 100%;
}

a.werk:visited {
    text-decoration: none;
    text-align: left;
    color: blue;
}
ul.ulconsult{
    display: block;
    line-height: 1.0;
}

li.consult{
    display: inline-block;
    position: relative;
    list-style: none;
    font-size: 15px;
    color: #597CCD;
    width: 100%;
    margin: 0px;
    padding: 4px;
    text-align: left;
    line-height: 1.0;
}

/* Recording page specific styles */
.recording-projects {
    margin: 30px 0;
    padding: 0 10px;
}

.recording-projects h4 {
    margin-top: 40px;
    margin-bottom: 25px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.recording-projects h4:first-child {
    margin-top: 20px;
}

.recording-projects ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 45px;
}

.recording-projects li {
    line-height: 1.6;
    margin-bottom: 8px;
    padding: 6px 5px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
    width: 100% !important;  /* Override the global 60px width */
    display: block !important;  /* Ensure block display */
    list-style: none;
    z-index: auto;  /* Override z-index */
    color: black !important;  /* Override any inherited red color */
}

.recording-projects li a {
    color: black;
    text-decoration: underline;
}

.recording-projects li a:hover {
    color: #333;
}

.recording-projects li:last-child {
    border-bottom: none;
}

#content4.recording-content {
    line-height: 1.8;
    padding-bottom: 50px;
}

/* Override the absolute positioning for recording content on larger screens */
@media screen and (min-width: 701px) {
    #content4.recording-content {
        width: 75%;
        max-width: 900px;
        padding: 30px;
        left: 60%; /* Move further right to avoid side navigation */
        top: 80px; /* Add space below header */
    }
}

/* Medium screen adjustments */
@media screen and (min-width: 401px) and (max-width: 700px) {
    #content4.recording-content {
        left: 58%; /* Adjust for medium screens */
        top: 80px; /* Consistent spacing */
        width: 80%;
    }
}

/* Work/Projects page specific styles */
.work-projects {
    margin: 20px 0;
    padding: 0;
    text-align: left;
}

.work-projects ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.work-projects li {
    line-height: 1.6;
    margin-bottom: 8px;
    padding: 6px 5px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
    width: 100% !important;
    display: block !important;
    list-style: none;
    z-index: auto;
    color: black !important;
    text-align: left;
}

.work-projects li a {
    color: black;
    text-decoration: underline;
}

.work-projects li a:hover {
    color: #333;
}

.work-projects li:last-child {
    border-bottom: none;
}

/* Additional mobile adjustments for recording page */
@media screen and (max-width: 400px) {
    .recording-projects {
        margin: 15px 0;
        padding: 0;
    }
    
    .recording-projects h4 {
        margin-top: 25px;
        margin-bottom: 15px;
        font-size: 17px;
    }
    
    .recording-projects li {
        font-size: 14px;
        padding: 8px 3px;
        margin-bottom: 6px;
        line-height: 1.5;
        width: 100% !important;
        display: block !important;
    }
    
    .recording-projects ul {
        margin-bottom: 30px;
    }
}


