/* :root {--scr-width:7px;--scr-trk-brd-rad:6px;--scr-thb-bdr-rad: 6px;--scr-trk-bg: #444;--scr-thb-bg: #777;--scr-trk-box-shd:#999;--scr-thb-hover:#aaa;}::-webkit-scrollbar {  width: var(--scr-width);}::-webkit-scrollbar-track {background: var(--scr-trk-bg);box-shadow: inset 0 0 5px var(--scr-trk-box-shd);border-radius: var(--scr-trk-brd-rad);}::-webkit-scrollbar-thumb {background: var(--scr-thb-bg);border-radius: var(--scr-thb-bdr-rad);}::-webkit-scrollbar-thumb:hover {background: var(--scr-thb-hover);}
:root {--info-span-bg:#175579;--info-span-bg-hover:#31728d;--info-fg:#ddd;--info-fg-hover:#fff;}  */
:root {
  --header-height:50px;
  --footer-bg: #2c2c2c;
  --menu-hover1:#85754E;
  --menu-hover2:#9F9271;
  --menu-hover3:#C1A663;
}

body::-webkit-scrollbar { width: 0.35rem;}
body::-webkit-scrollbar-track { box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3);}
body::-webkit-scrollbar-thumb { background-color: darkgrey;outline: 1px solid slategrey;}

/* smooth-scroll CSS */
html { scroll-behavior: smooth;}
/* CSS */
html, body {
  height: 100%;
  margin: 0;
  font-family:"Arial";
  background: #000;
}
body {
  color: #eee;
  margin: 0;
  font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  padding: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -moz-font-feature-settings: "liga" on;
  font-feature-settings: "liga" on;
  overflow-x:hidden;
}

.container {
  display: flex;
  flex-direction: column;
  height: 100vh; /* Full viewport height */
  background: #000;
}

header,
footer {
  background: #1c1c1c;
  height:50px;
  max-height:50px;
  flex-shrink: 0; /* Prevent them from shrinking */
  display:flex;
  flex-direction:row;
  text-align: center;
  justify-content: center;
  /* align-items: center; */
  color:#ddd;
}

main {
  flex: 1 1 auto; /* Grow to fill space */
  overflow-y: auto; /* Scrollable when content overflows */
  padding: 10px;
  background: #f9f9f9;
  min-height:80%;
  /* background-image: url(images/background-photo.jpg); */
  background-image: url(https://davidstepanichlaw.netcentrx.net/img/gavel-scales-of-justice-and-law-books.jpg);
  opacity:0.75;
  /* Image is centered vertically and horizontally at all times */
  background-position: center center;
  
  /* Image doesn't repeat */
  background-repeat: no-repeat;
  
  /* Makes the image fixed in the viewport so that it doesn't move when 
     the content height is greater than the image height */
  background-attachment: fixed;
  
  /* This is what makes the background image rescale based on its container's size */
  background-size: cover;
  
  /* Pick a solid background color that will be displayed while the background image is loading */
  background-color:#464646;  
}

p.flex-item {
  display: flex;
  padding: 10px;
  text-shadow:0.5px 0.5px #aaa, 1px 1px #888, 1.5px 1.5px #444;
  opacity:0;
  animation: appears_in 8s ease-in forwards;
}

.blank {
    height:0;
    background: transparent;
    color:#000;
}
.blank2 {
    height:0;
    background: transparent;
    color:#000;
}

section.h1, h1 {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content:center;
    text-align: center;
    font-size: 2.0rem;
    margin: 5px;
    min-height: 30px;
    height:30px;
    animation: appears_in 1s ease-in forwards;
}
section.h2, h2 {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content:center;
  text-align: center;
  font-size: 1.25rem;
  margin: 5px;
  color: var(--menu-hover1);
  min-height: 20px;
  height:20px;
	animation: appears_in 1s ease-in forwards;
}

section.h4, h4 {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content:center;
    text-align: center;
    font-size: 1.25rem;
    min-height: 30px;
    height:30px;
    color:var(--menu-hover2);
    animation: appears_in 4s ease-in forwards;

}

footer {
    background: #1c1c1c;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content:center;
    text-align: center;
    width: 100%;
    font-size: 0.75rem;
    line-height:1.25;
    height:60px;
}

@media (max-width: 600px) {
  section.h1, h1 {
    font-size: 1.5rem;
    min-height: 25px;
    height:25px;
  }

  section.h2, h2 {
    font-size: 1.1rem;
  }

  section.h4, h4 {
    width: 100%;
    font-size: 1.15rem;
    min-height: 25px;
    height:25px;
  }

  p {
    font-size: 0.75rem;
    line-height:1.25;
    padding: 20px;
  }
}
/****************** BUTTON *********************/

button, ul button{
	opacity: 0;
	font-size:110%;
	font-weight:500;
	color:white;
	border: 0 black solid;
  margin:0 auto;
	border-radius:10px;
	background-color:#c7bca2;
	text-transform:uppercase;
	text-shadow:0.5px 0.5px #444, 1px 1px #222, 1.5px 1.5px #111;
	padding:10px 20px 10px 20px;
	cursor:pointer;
	animation: appears_in 17.5s ease-in 17.5s forwards;
}
button{
	align-self:center;
	flex-basis:5%;
	margin-top:20px;
	opacity:0;
	padding:10px 20px 10px 20px;
	animation: appears_in 1s ease-in 1s forwards;
}
button:hover, ul button:hover{
	filter:brightness(110%);
  background:linear-gradient(to bottom right, #fff4e8,#eff2f3, #fff, #f1f7f2);
  transition:all 0.75s;
}
button.contact_btn {
  opacity:0;
  display:flex;
  flex-direction:row;
  flex-basis:100%;
  text-align: center;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  width: 200px;
	animation: appears_in 10s ease-in 10s forwards;
}
button {
	background: #000;
  background:linear-gradient(to bottom right, #efefef,#f1f7f2, #fff4e8, #eff2f3);
  transition:all 0.75s;
}
button a{
	text-decoration:none;
	color:#222;
}

button a:visited{
	text-decoration:none;
	color:#444;
}
*/
/****************** END BUTTON *********************/
.mobile {
	display:none;
}
.desktop {
	display:inline-block;
}

@media all and (max-width: 600px){
	.mobile {
		display:inline-block;
	}
	.desktop {
		display:none;
	}
}
/*================= ABOUT SECTION ===========*/
.flex-about-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width:400px;
    margin: 0 auto;
    opacity:0;
    animation: appears_in 4s ease-in 4s forwards;
}
.flex-about-container img {
    width: 100%;
    height: auto;
}

.flex-about-text {
    position: absolute;
    color: white;
    width: 90%;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}
.flex-about-text .spacer {
    min-height: 280px;
}
.flex-about-text .about {
    height: 50%;
    background: #1c1c1c;
    font-size: 2.25rem;
    opacity: 0.75;
    border-radius:10px;
}
.flex-about-text .about h2 {
    font-size: 1.8rem;
}
.flex-about-text .about h3 {
    font-size: 1.5rem;
}
.flex-about-text .about p {
    font-size: 0.85rem;
    padding: 10px;
    margin: 10px 2px;
}
.center {
    text-align: center;
}
@media all and (min-width: 601px) {
    .flex-about-container {
        width:350px;
        background: green;
    }
    .flex-about-text .spacer {
        min-height: 210px;
    }
    .flex-about-text .about h2 {
        font-size: 1.5rem;
    }
    .flex-about-text .about h3 {
        font-size: 1.3rem;
    }
    .flex-about-text .about p {
        font-size: 0.9rem;
    }
}
@media all and (max-width: 600px) {
    .flex-about-container {
        width:80%;
        background: red;
    }
    .flex-about-text .spacer {
        min-height: 180px;
    }
    .flex-about-text .about h2 {
        font-size: 1.2rem;
    }
    .flex-about-text .about h3 {
        font-size: 1.1rem;
    }
    .flex-about-text .about p {
        font-size: 0.85rem;
    }
}
@media all and (max-width: 400px) {
    .flex-about-container {
        width:80%;
        background: yellow;
    }
    .flex-about-text .spacer {
        min-height: 180px;
    }
    .flex-about-text .about h2 {
        font-size: 1.1rem;
    }
    .flex-about-text .about h3 {
        font-size: 1.05rem;
    }
    .flex-about-text .about p {
        font-size: 0.75rem;
    }
}
.mobile-mode main {
  margin-top:3rem;
}
.mobile-mode .flex-about-container {
    width:75%;
}
.mobile-mode .flex-about-text .spacer {
    min-height: 380px;
}

/*================= END ABOUT SECTION ===========*/

@media all and (min-width: 768px) {
    .container {
        flex-direction: row;
        flex-wrap: wrap;    
    } 
    header, 
    footer {
        width: 100%;
    }
    main {
        flex: 8;
        order: 2;
        min-height: 80vh;
    }
    
    .blank {
        order: 1;
        flex: 1;
        min-height: 100%;
        background: transparent;
    }
    .blank2 {
        flex: 1;
        order: 3;
        min-height: 100%;
        background: transparent;
    }
    footer {
        order: 4;
    }
}
/*######################################################**/
/****************** MOBILE-MODE *************************/
/*######################################################**/
.mobile-mode .container {
		flex-direction: row;
		flex-wrap: wrap;    
} 

.mobile-mode header, 
.mobile-mode footer {
		width: 100%;
}
.mobile-mode footer {
		background: var(--menu-hover2);
    height: auto;
}
.mobile-mode main {
		flex: 1;
		order: 2;
		min-height: 80vh;
}

.mobile-mode .blank {
		order: 1;
		flex: 0;
		background: #000;
}
.mobile-mode .blank2 {
		flex: 0;
		order: 3;
		background: #000;
}
.mobile-mode footer {
		order: 4;
}


.mobile-mode section.h1, .mobile-mode h1 {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content:center;
  text-align: center;
  font-size: 3.0rem;
  margin: 5px;
  min-height: 50px;
  height:50px;
	animation: appears_in 1s ease-in forwards;
}
.mobile-mode section.h4, .mobile-mode h4 {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content:center;
  text-align: center;
  font-size: 2.25rem;
  min-height: 40px;
  height:40px;
	color:tan;
 	animation: appears_in 4s ease-in forwards;
}
.mobile-mode section.h2, .mobile-mode h2 {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content:center;
  text-align: center;
  font-size: 1.75rem;
  min-height: 40px;
  height:40px;
	color:tan;
 	animation: appears_in 4s ease-in forwards;
}

.mobile-mode .p p {
  display: flex;
  justify-content: center;
  align-items: center;
  align-content:center;
  text-align: center;
  font-size: 1.75rem;
  line-height:1.25;
  text-align:left;
  align-content:flex-start;
  padding: 30px;
 	animation: appears_in 8s ease-in forwards;
}

.mobile-mode p {
  font-size: 1.85rem;
  line-height:1.25;
	text-align:left;
  padding: 30px;
}
  .mobile-mode .hamburger {
    display: block;
		font-size: 3.5rem;
  }
  
	.mobile-mode .nav-item img {
    display:none;
  }
  
	.mobile-mode header {
    background: #111;
  }
  .mobile-mode .navbar {
    flex-direction: column;
    align-items: center;
  }

  .mobile-mode .nav-item {
    display: none;
    padding: 1px 0; 
		font-size: 2.5rem;
		line-height:1.25;
  }

	.mobile-mode .dropdown-content {
		display: none;
	}

	.mobile-mode .navbar.open .nav-item {
    display: block;
  }
  .mobile-mode header nav.navbar.open {
    height:30rem;
  }
  .mobile-mode footer {
    height:90px;
    min-height:90px;
    display:flex;
    flex-direction:row;
    flex-basis:100%;
    text-align: center;
    justify-content: center;
    align-items: center;    
    text-shadow:1px 1px #777, 1.5px 1.5px #333;
  }
  .mobile-mode footer p {
    text-align: center;
  }

	.mobile-mode br.mobile {
		display:flex;
	}
/*######################################################**/
/****************** END MOBILE-MODE *************************/
/*######################################################**/


@keyframes appears_in{
    0%   {opacity: 0;}
    50%  {opacity: 0.5;}
    100% {opacity: 1;}
}
