@import url('https://fonts.googleapis.com/css?family=Open+Sans');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;1,300;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Playfair+Display');

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
html {overflow-y: scroll;} 

body {
    align-items: center;
    height: 100vh;
    min-width: 999px;
    background: #c01721;
    overflow-x: hidden;
    text-align: center;
    font-family: "Arial", sans-serif;
    position: relative;
}

body::before {
  content: "";
  background: url('https://davidalanwoods.com/gifs/2031.jpg') center bottom no-repeat;
  background-size: cover; 
  background-attachment: fixed;
  opacity: 0.85;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

@media (max-width: 800px) {
  body::before {
    background-size: cover; /* Optional: reinforces for mobile */
  }
}


body.bio {
    align-items: center;
    min-height: 100vh;
    min-width: 999px;
    background: #6d8c2f;
    overflow-x: hidden;
    text-align: center;
    font-family: "Arial", sans-serif;
    position: relative;
}

body.bio::before {
    content: "";
    background: url('https://davidalanwoods.com/gifs/DavidAlanWoodsmantid3.jpg') center top no-repeat;
    background-size: 100% auto;
    background-attachment: fixed;
    opacity: 0.85;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}


/* Ensure the background is at least 800px wide on smaller screens */
@media (max-width: 800px) {
    body.bio::before {
        background-size: 1200px auto;
    }
}


body.mantid {
    align-items: center;
    min-height: 100vh;
    min-width: 999px;
    background: #6d8c2f;
    overflow-x: hidden;
    text-align: center;
    font-family: "Arial", sans-serif;
    position: relative;
}

body.mantid::before {
    content: "";
    background: url('https://davidalanwoods.com/gifs/mantid.jpg') center top no-repeat;
    background-size: 100% auto;
    background-attachment: fixed;
    opacity: 0.85;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}


/* Ensure the background is at least 800px wide on smaller screens */
@media (max-width: 800px) {
    body.mantid::before {
        background-size: 1200px auto;
    }
}

.topthing{
margin-left:111px;
float:left;
}

.topthing p{
color:white;
}

@media (max-width: 800px) {
   .topthing{
   margin-left:11px;
   float:none;
   }
}

.navbar{
margin-right:auto;
margin-left:auto;
text-align: center;
}

.select{
width: 90%;  
padding: 10px; 
border: 1px solid #ccc; 
border-radius: 5px;
}

       .header {
            margin-top: 60px;
            font-size: 17px;
            font-weight: normal;
            font-family: "Playfair Display", serif;
            background-color: rgba(51, 51, 51, 0.7); /* Semi-transparent background */
            color: white;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
            text-align: center;
            width: 100%;
            padding: 20px;
            max-width:514px;
            margin-left:auto;
            margin-right:auto;
            line-height:1.5;
        }


.footer {
    width: 100%;
    padding: 10px 0;
    background-color: rgba(51, 51, 51, 0.7); /* Semi-transparent background */
    color: white;
    text-align: left;
    margin-top: 72px;
}

.footer * {
    opacity: 1; /* Ensure all child elements are fully opaque */
}

.blankcontent{
min-height:573px;
}

        .footerinner {
            width:100%;
            max-width:999px;
            margin-right:auto;
            margin-left:auto;
       }
        
.logo-container {
    position: fixed;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Align images to the right */
}

.logo {
    width: 70px; /* Adjust size as needed */
    height: auto; /* Keeps aspect ratio */
    margin-bottom: 10px; /* Space between logos */
}

IMG.toplogo{
float:left;
margin-left:11px;
margin-top:9px;
}

IMG.gallery{
width:90%;
margin:7px;
box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
margin-bottom:9px;
border-radius: 2px; 
-moz-border-radius: 2px; 
-webkit-border-radius: 2px; 
}

H1{
            margin-top: 60px;
            font-size: 27px;
            font-weight: normal;
            font-family: "Playfair Display", serif;
            color: white;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
            text-align: left;
            width: 100%;
            padding: 4px;
            margin-left:59px;
            margin-left:7px;
}

H2{
font-size:24px;
font-family: "Playfair Display", serif;
font-weight:400;
line-height:1.5;
color:white;
}

H3{
font-size:21px;
font-family:"Lato",sans-serif;
font-family: "Playfair Display", serif;
font-weight:400;
line-height:1.5;
text-align:center;
padding-left:5px;
color:white;
}

.footerinner H3{
text-align:left;
}

.button {
  display: inline-block;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  color: #ffffff;
  background: #8b8b8b;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;

}

.button:hover {
  background: #44443a;
  transform: translateY(-2px);
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
  animation: pulse 0.5s infinite alternate;
  color:#ffffff;
}

@keyframes pulse {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}


.button:active {
  transform: translateY(1px);
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.2);
}

P{
font-size:17px;
font-family:"Arial",sans-serif;
font-weight:400;
line-height:1.5;
padding-left:5px;
padding-right:5px;
text-align:left;
margin-top:9px;
margin-bottom:7px;
margin-left:7px;
}

p a {
    white-space: nowrap;
}

P.links{
line-height:2;
}

UL{
list-style-type: square;
padding-left:24px;
margin-left:30px;
}


LI{
color:#fff;
text-align:left;
font-size:17px;
font-family: "Arial", "arial","helvetica",sans-serif;
line-height:1.5;
margin-left:11px;
}

EM{
color:#fff;
}

a:link,  
a:visited {  
    background-color: transparent;  
    color: #ffffff;  
    font-weight: 400;  
    text-decoration: none;  
    position: relative;  
}  

a::after {  
    content: "";  
    position: absolute;  
    left: 0;  
    bottom: -2px;  
    width: 0;  
    height: 2px;  
    background-color: #ffffff;  
    transition: width 0.3s ease-in-out;  
}  

a:hover {  
    background-color: transparent;  
    color: #ffffff;  
    font-weight: 400;  
}  

a:hover::after {  
    width: 100%;  
}  

a:active {  
    background-color: transparent;  
    color: #ffffff;  
    font-weight: 400;  
    text-decoration: none;  
}  

P.clear{
clear:both;
}

.maincontent{
width:690px;
border:#aaa solid 1px; 
float:none;
margin:4px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
-khtml-border-radius: 10px;
border-radius: 10px;
background-color: rgba(126, 135, 62, 0.8); 
background-color: rgba(254, 254, 254, 0.8); 
padding:9px;
margin-right:auto;
margin-left:auto;
margin-top:29px;
margin-bottom:19px;
box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
}

.textblock{
max-width:473px;
padding-right:14px;
margin-bottom:64px;
}

.maincontentgallery{
width:990px;
border:#aaa solid 1px; 
float:none;
margin:4px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
-khtml-border-radius: 10px;
border-radius: 10px;
background-color: rgba(126, 135, 62, 0.8); 
background-color: rgba(254, 254, 254, 0.8); 
padding:9px;
margin-right:auto;
margin-left:auto;
margin-top:99px;
margin-bottom:19px;
box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
}

.maincontent a{color:black;}
.maincontent h2{color:black;}
.maincontent h3{color:black;}

        @media (max-width: 999px) {
            body {
                min-width: auto;
            }
            body.bio {
                min-width: auto;
            }
            .header {
                font-size: 17px;;
                padding: 10px;
                margin-top:134px;
            }
             .header span {margin-top:99px;}
            .maincontent{
               width:90%;
             }
            .maincontentgallery{
               width:90%;
             }
        }

        @media (max-width: 599px) {
            body {
                min-width: auto;
            }
            body.bio {
                min-width: auto;
            }
            IMG.toplogo{
            float:none;
            }
            .blankcontent{
            min-height:373px;
            }
            .header {
                font-size: 19px;;
                padding: 10px;
                margin-top:134px;
                width:90%;
            }
             .header span {margin-top:99px;}
            .maincontent{
               width:90%;
             }
H1{
            margin-top: 60px;
            font-size: 25px;
            font-weight: normal;
            font-family: "Playfair Display", serif;
            color: white;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
            text-align: left;
            width: 100%;
            padding: 4px;
            margin-left:5px;
}
        }
