* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: black;

  height: 100vh;
  width: 100%;
  overflow-x: hidden;
  /* display: none; */
  /* visibility: hidden; */
  /* opacity: 0; */
  color: #000;
  text-align: center;
  font-family: "times new roman", sans-serif;
  font-size: 22px;

  max-width: 2000px;

  position: relative;
  margin: 0 auto;
}
header {
  background: rgba(16, 16, 16, 0.81);
  position: fixed;
  z-index: 2;
  text-align: center;
  width: 100%;
  left: 0px;
}
nav a {
  font-family: "Mea Culpa";
  font-size: 32px;
  color: #7c7a79;
  text-decoration: none;
  transition: all 0.3s ease-in;
}
nav a:hover {
  color: rgb(0, 0, 0);
}
nav ul li {
  display: inline;
  margin-right: 30px;
}

h1,
h2,
h3 {
  color: #000;
  text-align: center;
  font-family: "Mea Culpa";
  font-size: 48px;
  font-weight: normal;
}

.banner {
  width: 100%;
  height: 300px;
  background-image: url("../img/bgd.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;

  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 60px;
  box-sizing: border-box;

  font-family: "Jacquard 24", system-ui;
  font-size: 25px;
  text-align: center;
}

.frame1 {
  position: absolute;
  width: 200px;
  bottom: 50%;
}
.frame2 {
  position: absolute;
  left: -3%;
  width: 200px;
  bottom: 50%;
}
.frame3 {
  position: absolute;
  right: -3%;
  width: 200px;
  bottom: 50%;
}

#about {
  background: rgba(52, 52, 52, 0.57);
  padding: 13px;
  display: flex;
  align-items: center;
  gap: 20px;
}

#about p {
  color: #fffcfca4;
  font-family: "Jacquard 24", system-ui;
  font-size: 20px;
  margin: 0;
}

.selfie {
  position: static;
  flex: 0 0 150px;
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  z-index: 10;
}

.selfie:hover {
  animation: slowSpin 4s linear infinite;
  cursor: pointer;
}

@keyframes slowSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 77px;
}
.grid div {
  border-radius: 38px;
}
.grid img {
  width: 100%;
  border-radius: 27px;
}

figcaption,
.grid p {
  background: rgba(255, 255, 255, 0.88);
  position: relative;
  z-index: 1;
}

.grid p {
  border-radius: 0 0 27px 27px;
}
figcaption {
  font-family: "Mea Culpa";
  font-size: 1.818em;
  margin-top: -90px;
  color: #267463;
}

button {
  padding: 5px;
  border: 1px solid #267463;
  background-color: #c0dbd5;
  border-radius: 10px;
  margin-bottom: 40px;
}
#selfie {
  position: relative;
  top: -45px;
  left: 150px;
  margin-bottom: -120px;
}

@media screen and (max-width: 460px) {
  #selfie {
    left: 75px;
    width: 100px;
    top: -90px;
  }
}
