body {
    margin: 0;
    padding: 0;
    width: auto !important;
    min-width: 320px;
}

.bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('bg.png') no-repeat top center;
    background-size: cover;
    z-index: -1;
}

.wrapper {
    display: flex;
    wdith:100%;
    padding: 30px 0px 50px 0px;
}

.left {
    width: 50%;
    background: none;
}

.right {
    width: 50%;
    background: none;
}

.container {
    background-color: rgba(255, 255, 255, 0.85); /* Lessen transparency */
    padding: 15% 5% 15% 5%;
    border-radius: 10px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.7); /* Increase shadow size and make it darker */
    text-align: center;
    width: 360px;
}

.profile-pic {
    background: url('profile2.png') no-repeat center center;
    background-size: cover;
    width: 155px;
    height: 155px;
    border-radius: 50%;
    border: 5px solid #9F0029;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.7);
    margin-bottom: 10px;
}

h1 {
    margin: 10px 0;
    font-size: 24px;
    font-family: Georgia, serif; /* Change name font to Georgia */
}

p {
    color: #666;
    font-size: 16px;
    margin-bottom: 20px;
    font-family: Georgia, serif; /* Change bio font to Georgia */
    line-height:1.5;
}

.links a {
    display: block;
    background-color: #c0392b; /* Darker red shade */
    color: #fff;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
    font-family: Verdana, sans-serif; /* Change link font to Verdana */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow to link boxes */
}

.links a:hover {
    background-color: #a93226; /* Even darker red shade */
}

.links a.dark-red {
    background-color: #9F0029; /* Dark red shade for top two links */
}

.links a.dark-red:hover {
    background-color: #4F0014; /* Even darker red shade for top two links */
}



/* Reverse red button */
.links a.red {
    background-color: #72001D; /* current hover colour */
}

.links a.red:hover {
    background-color: #4F0014; /* current normal colour */
}


/* Reverse red button 2 */
.links a.red2 {
    background-color: #E4003B; /* current hover colour */
}

.links a.red2:hover {
    background-color: #72001D; /* current normal colour */
}


.hidden .close a{
    display: block;
    background-color: #9F0029;
    color: #fff;
    padding: 5px;
    margin: 10px 0px 0px 0px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
    font-family: Verdana, sans-serif;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hidden .close a:hover {
    background-color: #4F0014;
    color: #fff;
    text-decoration: none;
}

.hidden .close a.dark-red {
    background-color: #8b0000;
    color: #fff;
    text-decoration: none;
}

.hidden .close a.dark-red:hover {
    background-color: #660000;
    color: #fff;
    text-decoration: none;
}

.hidden {
    display: none;
    background-color: rgba(255, 255, 255, 0.85); /* Match container background */
    padding: 20px 20px 10px 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Add shadow */
    margin-top: 10px;
    font-size: 16px;
}

#contact:target {
    display: block;
}

#surgeries:target {
    display: block;
}

#surveys:target {
    display: block;
}

.hidden a {
    background: none;
    color: #666;
    padding: 0px;
    margin: 0;
    border-radius: 0px;
    text-decoration: none;
    color: #666;
    font-size: 16px;
    font-family: Georgia, serif;
    box-shadow: 0;
    box-shadow: 0 0 0px rgba(0, 0, 0, 0.0);
text-transform:none;
}

.hidden a:hover {
    background: none;
color: #a93226;
text-decoration: underline;
}

.hidden #title {
text-align:center;
font-weight:bold;
text-decoration: underline;
}

#surgery {
text-align:justify;
}

#bio {
text-align:justify;
font-size:16px;
}

.titles {
color:#000;
font-weight: bold;
}

#parlink {
color:#9F0029;
text-transform: none;
 display: inline;
}

#parlink a:hover {
text-transform: underline;
}


#text-lists a {
font-size:1em;
text-align: left;
text-transform:none;
color: #9F0029;
margin-bottom: 20px;
font-family: Georgia, serif; /* Change bio font to Georgia */
line-height:1.5;
}

#text-lists a:hover {
text-transform:underline;
color: #9F0029;
}

.container #footnote {
margin: 20px 0px 0px 0px;
font-size:10px;
padding:0;
height: 100%;
}

#text-lists li {
    margin-bottom: 10px;
    padding-left:10px;
    color:#9F0029;
}

#text-lists
ol li::marker {
color:#9F0029;
}

#footnote a {
color:#9F0029;
text-transform: none;
text-decoration: none;
}

#footnote a:hover {
text-transform: underline;
text-decoration: underline;    
}

/* Mobile Phones */
@media only screen and (max-width: 479px) {

body {
    margin: 0;
    padding: 0;
    width: auto !important;
    min-width: 320px;
}

.bg {
    background-image: url('bgmx600.png');
}

.wrapper {
    display: flex;
    padding: 20px;
}

.left {
width:0%;
}

.right {
width:100%;
margin: 0 auto;
}

.container {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 10% 5% 5% 5%;
    border-radius: 10px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.7);
    text-align: center;
    margin: 0 auto;
    width:90%;
min-width:300px;
}
.container #footnote {
margin: 20px 0px 0px 0px;
font-size:10px;
padding:0;
height:100%;
}

.profile-pic {
background-image: url('profile.png')
}
    
}

@media only screen and (min-width: 480px) {

body {
    margin: 0;
    padding: 0;
    width: auto !important;
    min-width: 320px;
}

.bg {
    background-image: url('bgmx600.png');
}

.wrapper {
    display: flex;
    padding: 30px;
}

.left {
width:0%;
}

.right {
width:100%;
margin: 0 auto;
}

.container {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 10% 10% 10% 10%;
    border-radius: 10px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.7);
    text-align: center;
    margin: 0 auto;
    width:80%;
min-width:300px;
}
.container #footnote {
margin: 20px 0px 0px 0px;
font-size:10px;
padding:0;
height:100%;
}
}

@media only screen and (min-width: 720px) {

body {
    margin: 0;
    padding: 0;
    width: auto !important;
    min-width: 320px;
}

.bg {
    background-image: url('bgmn600.png');
}

.wrapper {
    display: flex;
    width:100%;
    padding: 0px 0px 0px 0px;
}

.left {
    width: 50%;
    background: none;
}

.right {
    width: 50%;
    background: none;
}

.container {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 8% 6% 6% 6%;
    border-radius: 0px;
    box-shadow: -25px 0px 20px -20px rgba(0,0,0,0.45);
    text-align: center;
    width: 88%;
}

.container #footnote {
margin: 20px 0px 0px 0px;
font-size:10px;
padding:0;
height:100svh;

}
.container #footnote {
margin: 20px 0px 0px 0px;
font-size:10px;
padding:0;
height: 100%;
flex: 1 1 auto;

}
}

@media only screen and (min-width: 1025px) {

body {
    margin: 0;
    padding: 0;
    width: auto !important;
    min-width: 320px;
}

.bg {
    background-image: url('bg.png');
}

.wrapper {
    display: flex;
    width:100%;
    padding: 50px 0px 50px 0px;
}

.left {
    width: 50%;
    background: none;
}

.right {
    width: 50%;
    background: none;
}

.container {
    background-color: rgba(255, 255, 255, 0.85); /* Lessen transparency */
    padding: 10% 3% 6% 3%;
    border-radius: 10px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.7); /* Increase shadow size and make it darker */
    text-align: center;
    width: 360px;
    margin:0;
}

.container #footnote {
margin: 20px 0px 0px 0px;
font-size:10px;
padding:0;
height:100%;

}

}




