* {
  box-sizing: border-box;
  text-decoration: none;
}

body {
  margin: 0;
  background: #f0e7e7;
  font-family: "Courier New", Courier, monospace;
}

.header {
  display: flex;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  text-shadow: 0 0 3px rgb(11, 11, 11);
  padding: 5px;
  background-color: #1e666f;
  color: #fdfdfd;
  border-bottom: 4px solid #b0b0b0;
}

.header h1 {
  font-size: 53px;
  margin: unset;
}
.header h3 {
  font-size: 25px;
  margin: unset;
}

.ins,
.title {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 6px;
  max-width: 1400px;
  margin: 0 auto;
}

.insta-photo {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 4px 5px;
}


.footer:link,
.footer:visited,
.insta-photo:link, 
.insta-photo:visited {
  color: #fdfdfd;
}

.footer:hover,
.footer:active, 
.insta-photo:hover,
.insta-photo:active {
  color: rgb(235, 163, 163);
  text-decoration: none;
  font-weight: 800;
  font-size: 105%;
}

.gallery {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 10px;
  text-align: center;
}
.gallery figure {
  width: 100%;
  max-width: 350px;
  height: 350px;
  background: #e9ebeb;
  padding: 1rem 1rem 5rem;
  box-shadow: 0 0.2rem 1.2rem rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 0.2rem 1.2rem rgba(0, 0, 0, 0.2);
}

.gallery img {
  width: 100%;
  max-width: 350px;
  height: 350px;
  max-height: 100%;
  box-shadow: 0 0 2px rgba(100, 100, 100, 0.641);
  -webkit-box-shadow: 0 0 2px rgba(100, 100, 100, 0.641);
  object-fit: cover;
}

.gallery::after {
  content: "";
  width: 350px;
}

.footer {  
  display: flex;
  justify-content: center;
  background-color: #1e666f;
  border-top: 4px solid #b0b0b0;
  color: #fdfdfd;
  text-shadow: 0 0 3px rgb(11, 11, 11);
  text-decoration: none;
  padding: 20px;
}
