 p 

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

nav {
  width: 100%;
  height: fit-content;
  background-color: whitesmoke;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.w3-left {
  color: black;
  text-decoration: none;
  margin-left: 30px;
  letter-spacing: 4px;
  padding: 10px 6px 10px 6px;
}

.w3-right a {
  color: black;
  text-decoration: none;
  margin-right: 30px;
  letter-spacing: 4px;
  padding: 10px 6px 10px 6px;
}

.w3-left:hover {
  background-color: grey;
}
/*
.w3-right a:nth-of-type(1):hover,
.w3-right a:nth-of-type(2):hover,
.w3-right a:nth-of-type(3):hover,
.w3-right a:nth-of-type(4) {
  background-color: gray;
}
*/

/*********** header-image **********/
.header-image {
<!--  margin: 0 50px 0 50px; -->
  margin: 0 0 0 0;
  text-align: center;
<!--  position: relative;-->
}

.header-image img {
  width: 100%;
  overflow: hidden;
}

.header-image b,
.header-image p {
  font-size: 36px;
  display: inline;
  letter-spacing: 4px;
}

.header-image b {
  color: whitesmoke;
  background-color: rgb(77, 72, 72);
  padding: 5px;
}

/********** text **********/

.text {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 0.6);
  padding: 10px;
}


main h2 {
  margin: 40px 50px 40px 50px;
  font-size: 40px;
  font-weight: 100;
  <!-- letter-spacing: 3px; -->
}

main h3 {
  margin: 40px 50px 40px 50px;
  font-size: 30px;
  font-weight: 100;
  letter-spacing: 2px;
}


main p {
  margin: 40px 50px 40px 50px;
  font-size: 20px;
  font-weight: 100;
}
/********** horizonal rule **********/
hr {
  margin: 0 50px 40px 50px;
}


.pictures {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-left: 50px;
  margin-right: 50px;
}



/*********** image-item **********/

.image-item {
  position: relative;
  text-align: center;
  margin: 20px 20px 20px 20px;
}

.image-item img {
  width: 300px;
  height: 300px;
  object-fit:contain;
  overflow: hidden;
}

.image-item p {
  position: absolute;
  color: whitesmoke;
  margin: 40px 40px 40px 40px;
  <!-- top: 0;
  left: 0; -->
  text-align: center;
  background-color: rgba(11, 10, 10, 0.7);
  padding: 5px 5px;
}

/********** photo-image **********/
.photo-image {
  float: left;
  margin-left: 50px;
  margin-right: 40px;
  margin-bottom: 20px;
}

.photo-image img {
  width: 200px;
  max-width: 50%;
  height:auto;
}

.wrapped-image {
  float: left;            /* Pushes the image to the left */
  width: 200px;           /* Set your desired image width */
  margin-right: 20px;     /* Adds space between the image and text */
  margin-bottom: 10px;    /* Adds space below the image when text wraps */
}

/********** about **********/

.about p {
  margin: 0 50px 0 50px;
  font-size: 20px;
}
