html {
    scroll-padding-top: 10vh; /* Adjust this based on the height of your fixed nav */
}
body {
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
    background: #f5f5f5;
    margin: 0;
    padding: 0;
    padding-top: 10vh;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    background-image: linear-gradient(rgba(245,245,245,0.75), rgba(245,245,245,0.75)), url("../images/joshatwork2.jpeg");
    background-size: 100vw auto; /* Makes sure it fills the full width */
    background-position: center top; /* Ensures the image is positioned from the top */
    background-repeat: repeat-y; /* Makes sure the image repeats vertically */
    background-attachment: local; /* Keeps it fixed on desktop */
}

h1 {
    color: #333;
    font-size: 2.5em;
    font-weight: normal;
}

h2 {
    color: #333;
    font-size: 2.0em;
    font-weight: 500;
}

.midseperator::before {
	content: "\00A0\00B7 \00A0";
}

blockquote {
  font-style: italic;
  font-size: 1.5em; /* Slightly larger text */
  color: darkgoldenrod; 
  padding: 20px;
  margin: 20px 40px;
  position: relative;
  background: transparent; /* Light background for contrast */
}

blockquote::before,
blockquote::after {
  font-size: 2em; /* Bigger quote marks */
  color: darkgoldenrod; /* Same as border color */
  font-family: Georgia, serif; /* Elegant serif font */
  position: absolute;
}

blockquote::before {
  content: "“"; /* Opening quote */
  left: -15px;
  top: -10px;
}

blockquote::after {
  content: "”"; /* Closing quote */
  right: -10px;
  bottom: -5px;
}

.bookme {
    margin-top: 40px;
	display: inline-block; /* Makes it behave like a button */
    padding: 10px 20px; /* Adjust padding for button size */
    border: 2px solid #FFD700; /* Gold border */
    border-radius: 5px; /* Rounded corners */
    background-color: #222; /* Dark background */
    color: #333; /* Text color */
    text-align: center; /* Center text */
    cursor: pointer; /* Show pointer cursor on hover */
    transition: all 0.3s ease-in-out; /* Smooth hover effect */
}

.bookme::hover {
    background-color: #FFD700; /* Change background on hover */
    color: #000; /* Change text color on hover */
    border-color: white; /* Change border color */
}

.sm-icon {
	width: 3%
}

.bs-icon {
	width: 8%
}

.sm-line {
	margin-top: 10px
}

.allwork {
    margin-top: 0px;
	margin-bottom: 5px;
	font-size: 1.3em;
	width:260px;
	display: inline-block; /* Makes it behave like a button */
    padding: 5px 10px; /* Adjust padding for button size */
    border: 2px solid #FFD700; /* Gold border */
    border-radius: 5px; /* Rounded corners */
    background-color: #222; /* Dark background */
    color: #333; /* Text color */
    text-align: center; /* Center text */
    cursor: pointer; /* Show pointer cursor on hover */
    transition: all 0.3s ease-in-out; /* Smooth hover effect */
}

.allwork::hover {
    background-color: #FFD700; /* Change background on hover */
    color: #222; /* Change text color on hover */
    border-color: white; /* Change border color */
}

h3 {
    color: #333;
    font-size: 1.8em;
	font-weight: 500;
}

p {
    width: 80%;
    font-size: 1.6em; /* Adjusted to fit smaller screens better */
    color: #333;
    margin: 0 auto;
}


/* Unordered list styling */
.custom-unordered {
	list-style-position: outside;
    list-style-type: none;
	padding-left: 1em;
    color: white;
    font-size: 1.2em;
}

.custom-unordered li {
    padding-left: 4.5em;  
    text-indent: -1.4em; 
}

.custom-unordered li::before {
    content: "➤";
    color: #FFD700;
    font-weight: bold;
    font-size: 0.9em;
	padding-left: -1.1em;  
	padding-right: 0.5em;
    text-indent: 1.9em; 
}

/* Ordered list styling */
.custom-ordered {
    list-style-type: decimal;
	list-style-position: outside;
    color: white;
    font-size: 1.2em;
}

nav {
    width: 100%;
    height: 10vh;
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    background: #f5f5f5;
    font-size: 1.3em;
	top: 0;
	left:0;
	z-index: 1000;
}

nav a {
    text-decoration: none;
    color: white;
}

nav a:hover {
    color: darkgoldenrod;
}

/*#main-nav{width:100%;height:10vh;display:flex;justify-content:space-around;align-items:center;position:fixed;top:0;left:0;background:#000;font-size:.9em;z-index:1000}*/
#main-nav a {
  color: #fff;
}


/* ===== FIRST-LEVEL dropdown (Portfolio) ===== */
.dropdown {
  position: relative;
}

#rubric-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  list-style: none;
  font-size: .9rem;
  padding: .5rem 0;
  margin: 0;
  min-width: 180px;
  text-align: center;
  border-radius: 0 0 .5rem .5rem;
  box-shadow: 0 4px 12px #0008;
  z-index: 1500;
}

/* show Portfolio menu */
.dropdown:hover > #rubric-menu,
#rubric-menu:hover {
  display: block;
}

/* submenu styling */
.submenu-parent { position: relative; }

.submenu {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background: #fff;
  border-radius: 0 .5rem .5rem 0;
  box-shadow: 0 4px 12px #0008;
  padding: .3rem 1rem 0;
  min-width: 180px;
  list-style: none;
  z-index: 2000;
}

.submenu-parent:hover > .submenu,
.submenu:hover {
  display: block;
}

.submenu li a { color:#fff; font-size:.9rem; }
.submenu li a:hover { color: darkgoldenrod; }

#rubric-menu > li,
.submenu > li {
  padding: .3rem 1rem;
}

#rubric-menu a,
.submenu a {
  font-weight: 500;
}

/* list items must render */
#rubric-menu li,
.submenu li {
  display: block;
  padding: .2rem 1rem;
}

section {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

section #about-me {
    padding-top: 40px;
    width: 80%;
    font-size: 2em;

}

.reg {
  font-size: 0.6em;
  vertical-align: super;
}

.network {
	background-image: linear-gradient(rgba(245,245,245,0.75), rgba(245,245,245,0.75)), url("../images/joshatwork3.jpeg") !important;
	background-size: 100vw auto;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.info-box {
    width: 70%;
	color: white;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    text-align: left;
    margin-bottom: 20px;
}

.info-box p,
.info-box ul {
	color: white;
    margin-bottom: 15px;
}

#portfolio {
    padding-top: 40px;
    color: white;
    text-align: center;
}

#portfolio-slider {
  width: 100%;
  height: calc(100vh - 10vh); /* nav height */
}

.swiper-wrapper {
  height: 100%;
}

.swiper-slide {
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.swiper-slide img,
.swiper-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* arrows */
.swiper-button-prev,
.swiper-button-next {
  color: white;
  background: rgba(0,0,0,0.4);
  padding: 30px 20px;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: rgba(0,0,0,0.6);
  color: #FFD700;
}


a {
    text-decoration: none;
    color: darkgoldenrod;
}

a:hover {
	color:#FFD700 
}


.g a {
		color:#FFD700 
}


footer {
    width: 100%;
    height: 15vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
	background-color: #f5f5f5;
}

/* Responsive image adjustments */
@media (max-width: 769px) {
	body {
        background-size: 100vw auto; /* Make sure the background fills the width */
        background-repeat: repeat-y; /* Ensure the image repeats vertically */
        background-attachment: scroll; /* Disable fixed attachment for mobile devices */
    }
	
	#portfolio {
    	padding-top: 1px;
	}
	
	#portfolio-slider {
		--swiper-navigation-size: 30px;
	}
	
	
    header img {
        width: 30%;
    }
  .swiper-button-prev,
  .swiper-button-next {
    width: 28px !important;
    height: 28px !important;
    background-size: 28px 28px !important;
  }

}

@media (max-height: 431px) {

    body {
        background-size: 100vw auto; /* Continue to fill the width */
        background-repeat: repeat-y; /* Allow the image to repeat vertically */
        background-attachment: scroll; /* Disable fixed attachment for smaller screens */
    }
	
	#portfolio {
    	padding-top: 2px;
	}

	/*nav {
		width: 100%;
    	font-size: 0.9em;
	}*/
	

	
	
    h1, h2 {
        color: #333;
        font-size: 0.9em;
		margin: 3px;
    }
	
	h1 {
		
		font-weight: normal;
	}
	
	blockquote {
	  width: 70%;
	  font-size: 0.8em; /* Slightly larger text */
	  padding: 2px;
	  margin: 10px 40px;
	}

	blockquote::before,
	blockquote::after {
	  font-size: 1.5em; /* Bigger quote marks */
	  font-family: Georgia, serif; /* Elegant serif font */
	  position: absolute;
	}

	blockquote::before {
	  content: "“"; /* Opening quote */
	  left: -15px;
	  top: -10px;
	}

	blockquote::after {
	  content: "”"; /* Closing quote */
	  right: -10px;
	  bottom: -5px;
	}
	
	
	.info-box {
   		width: 90%;
	    color: white;
     	padding: 5px;
     	border-radius: 0px;
     	margin-bottom: 5px;
	}

	.info-box p,
	.info-box ul {
		color: white;
		margin-left: 10%;
    	margin-bottom: 1px;
	
	}
	
	/* Unordered list styling */
	.custom-unordered {
		list-style-position: outside;
    	font-size: 0.7em;
		width: 85%;
		padding-left: 0.6em;
		margin-left: 10%;
		margin-top: 2px;
	}

	.custom-unordered li {
    	padding-left: 4.5em;  
    	text-indent: -1.1em; 
	}
	
	.custom-unordered li::before {
		content: "➤  ";
    	color: #FFD700;
    	font-size: 0.6em;
		margin-top: 2px;
		padding-left: -2.1em;  
		padding-right: 0.5em;
		
	}

	/* Ordered list styling */
	.custom-ordered {
		list-style-position: outside;
    	list-style-type: decimal;
    	color: white;
    	font-size: 0.8em;
	}


	.allwork {
		font-size: 0.6em;
		padding: 2px 5px;
		border-radius: 2px;
		margin-bottom: 0px;
		margin-top: 2px;
		width:140px;
	}
	
	.about-p {
		padding: 7px;
		font-size: 0.8em;
	}

    .info-box {
        width: 100%; /* Full width for small devices */
		color: white
    }
}

@media (max-width: 481px) {
    body {
        background-size: 100vw auto; /* Keep it responsive */
        background-repeat: repeat-y; /* Ensure it repeats vertically */
        background-attachment: scroll; /* Disable fixed attachment for smaller screens */
    }

	header {
		width: 100%;
	}
	
	nav {
		width: 100%;
	    height: 10vh;
    	display: flex;
    	justify-content: space-around;
    	align-items: center;
    	position: fixed;
    	background: #f5f5f5;
  	}
	
    h1, h2 {
        color: #333;
        font-size: 120%;
		
    }
	
	.midseperator::before {
		content: "\A";
		white-space: pre-line;
	}	
	
	h1 {
		font-weight: normal;
	}
	
	blockquote {
	  width: 70%;
	  font-size: 0.8em; /* Slightly larger text */
	  padding: 2px;
	  margin: 10px 40px;
	}

	blockquote::before,
	blockquote::after {
	  font-size: 1.5em; /* Bigger quote marks */
	  font-family: Georgia, serif; /* Elegant serif font */
	  position: absolute;
	}

	blockquote::before {
	  content: "“"; /* Opening quote */
	  left: -15px;
	  top: -10px;
	}

	blockquote::after {
	  content: "”"; /* Closing quote */
	  right: -10px;
	  bottom: -5px;
	}
	
	
	.info-box {
   		width: 70%;
		color: white;
     	padding: 10px;
     	border-radius: 0px;
     	margin-bottom: 10px;
	}

	.info-box p,
	.info-box ul {
		color: white;
    	margin-bottom: 10px;
	
	}
	
	/* Unordered list styling */
	.custom-unordered {
		list-style-position: outside;
    	font-size: 0.9em;
		width: 85%;
		padding-left: 0.6em;
		margin-left: 5%;
	}
	
	.custom-unordered li {
    	padding-left: 2.5em;  
    	text-indent: -1.1em; 
	}
	
	.custom-unordered li::before {
    	content: "➤ ";
    	color: #FFD700;
    	font-size: 0.6em;
		padding-left: 0.1em;
	}

	/* Ordered list styling */
	.custom-ordered {
    	list-style-type: decimal;
    	color: white;
    	font-size: 0.9em;
	}
	
	#portfolio-slider {
		--swiper-navigation-size: 30px;
	}
	
  .swiper-button-prev,
  .swiper-button-next {
    width: 22px !important;
    height: 22px !important;
    background-size: 22px 22px !important;
  }


	
    p {
        font-size: 1em; /* Slightly smaller font */
        width: 80%; /* Ensuring it takes up full width */
    }
	
	.allwork {
		font-size: 0.7em;
		padding: 2px 5px;
		border-radius: 2px;
		margin-top: 0px;
		margin-bottom: 2px;
		width:140px;
	}
	
	.about-p {
		padding: 7px
	}

    .info-box {
		color: white;
        width: 100%; /* Full width for small devices */
    }
}

/* MENU TEXT COLOR — FINAL AUTHORITY */
#main-nav a {
  color: #333;
  transition: color .2s ease-in-out;
}

#main-nav a:hover {
  color: #FFD700;
}

.jwportrait {
  border-radius: 12px;  
}
