html {
  line-height: 1.15;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
}
article,
aside,
footer,
header,
nav,
section {
  display: block;
}
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
figcaption,
figure {
  display: block;
}
figure {
  margin: 1em 40px;
}
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
main {
  display: block;
}
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

b,
strong {
  font-weight: inherit;
  font-weight: bolder;
}
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}
dfn {
  font-style: italic;
}
mark {
  background-color: #ff0;
  color: #000;
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}

img {
  border-style: none;
}
svg:not(:root) {
  overflow: hidden;
}

body,
html {
  color: rgba(0, 0, 0, 0.75);
  font-size: 16px;
  font-family: Lato, Helvetica Neue, Helvetica, sans-serif;
  font-variant-ligatures: common-ligatures;
  line-height: 1.67;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

blockquote,
dl,
ol,
p,
pre,
ul {
  margin: 1.2em 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 1.8em 0;
  line-height: 1.33;
}
h1:after,
h2:after {
  content: "";
  display: block;
  position: relative;
  top: 0.33em;
  border-bottom: 1px solid hsla(0, 0%, 50%, 0.33);
}

img {
  max-width: 100%;
}

.footnote {
  font-size: 0.8em;
  position: relative;
  top: -0.25em;
  vertical-align: top;
}

.main__html {
  margin-bottom: 180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 30px;
  padding-right: 30px;
  max-width: 750px;
}


/* MY CODE BELOW */


/*the following are for the social media icons on the homepage*/  
.social-media {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    margin-left: 30px;
}
.social-media a {
    text-decoration: none;
    color: inherit;
    margin: 0 10px; /* Ensures uniform spacing */
}
.social-media i, .social-media svg {
    font-size: 2em;
    width: 2em;
    height: 2em;
    fill: currentColor;
}

.social-media a:hover {
transform: scale(1.05);
}

/* Set the background color for the entire page */
body {
background-color: rgb(236, 223, 204);
margin: 0; /* Optional: Removes default margin around the body */
padding: 0; /* Optional: Removes default padding around the body */
}

p {
text-align: justify;
color:black;
}

/* Set the color for all hyperlinks */
a {
color: rgb(19, 61, 147);
text-decoration: none; /* Optional: Removes underline from links */
}

/* Change the color when mouse hovers over the hyperlink */
a:hover {
color: rgb(110, 52, 142);
}



/*the following makes the photos unclickable*/
img {
  pointer-events: none;
}



/*Hide the Hamburger icon by default on larger screens*/
.topnav .icon {
  display: none;
}


/* Default styles for the topnav */
.topnav {
  display: flex; /* Use flexbox for layout */
  justify-content: space-between; /* Space between name and navlinks */
  align-items: center; /* Center items vertically */
  background-color: rgb(236, 223, 204);
  padding: 7px 10px;
  padding-top: 2px;
  padding-bottom: 1px;
  margin-bottom: 10px;
  position: relative;
}

.topnav .name {
  margin-top: -4px;
}

.topnav .name a {
  font-size: 1.5em;
    font-weight: bold;
    float: left;
    margin-left: 2px; 
    padding-left: 8px;
    margin-bottom: 10px;
}



.topnav .navlinks {
  display: flex; /* Display links horizontally by default */
}


.topnav a {
  float: right;
  margin-right: 30px;
  color: black;
  text-align: center;
  padding: 5px 8px;
  text-decoration: none;
  font-size: 19px;
  margin-bottom: 10px;
  font-weight: bold;
}


.topnav .navlinks .last{
  margin-right: 2px;
}


.topnav a:hover {
  color: rgb(110, 52, 142);
  transform: scale(1.05);
}

.topnav .name a:hover{
  transform: scale(1.0);
}

.topnav a.active {
  color: rgb(110, 52, 142);
} 

.topnav.responsive .navlinks{
  height: 100%; /* Full-screen overlay */
  width: 100%; 
  left:0px;
  position: fixed;
  top: 0;
  background-color: rgba(0, 0, 0, 0.87); /* Translucent background */
  z-index: 1000; /* Make sure it's on top of other content */
  display: none; /* Hidden by default */
  align-items: center;
  justify-content: center;
  flex-direction: column; 
}

.topnav.responsive .navlinks a {
  padding: 1px; /* Adjust padding for vertical layout */
  color: rgb(255, 255, 255);
  align-items: center;
  justify-content: center;
  font-size: 25px;
  margin-left: 26px;
}


.topnav.responsive .navlinks .last{
  padding: 5px 8px;
  padding: 5px 8px;
  margin-left: 0px;
}

.topnav.responsive a:hover {
  color: rgb(110, 52, 142);
  transform: scale(1.05);
}

.topnav.responsive a.active {
  color: rgb(110, 52, 142);
} 

.topnav.responsive .last a:hover {
  color: rgb(110, 52, 142);
  transform: scale(1.05);
}

.topnav .responsive .icon a {
  font-size: 50px; /* Change this to adjust the size of the icon */
  margin-right: -20px;
}

/* Show the icon when the screen is small */
@media screen and (max-width: 1260px) {
  .topnav .icon {
    display: block; /* Show the icon */
    cursor: pointer;
    font-size: 25px;
    margin-top: -6px;
    margin-right: -5px;
  }

  .topnav .navlinks {
    display: none; /* Hide navlinks initially on small screens */
  }

  .topnav.responsive .navlinks {
    display: flex; /* Show navlinks when responsive class is added */
  }
}





