.cover-pic {
  background-image: linear-gradient(45deg, rgba(69, 87, 146, 0.9), transparent),
    url(../img/IMG_0049.JPG);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 70vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.cover-pic {
  position: relative;
}

.cover-pic .second-title {
  position: absolute;
  color: #fff;
  opacity: 0.7;
  font-size: 4em;
  letter-spacing: 15px;
  right: 30px;
  bottom: 80px;
}

.container-onama {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
}

.container-onama:after {
  position: absolute;
  z-index: 2;
  background-color: inherit;
  content: "";
  width: 100%;
  height: 100%;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  transform-origin: top left;
  transform: skewY(-2deg);
  box-shadow: 5px -10px 10px rgba(0, 0, 0, 0.2);
}

.container-onama .left-text {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 3;
}

.container-onama .left-text .links {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 5px;
}

.container-onama .left-text .links button {
  border: none;
  background-color: rgb(118, 151, 190);
  padding: 5px;
  border-radius: 3px;
}

.container-onama .left-text .links button:hover {
  opacity: 0.8;
}

.container-onama .left-text button a {
  color: white;
  text-decoration: none;
}

.container-onama .container {
  margin-top: 15vh;
  max-width: 100%;
  text-align: center;
  z-index: 3;
}

h1 {
  font-weight: normal;
  font-size: 2.2rem;
  position: relative;
  margin-bottom: 5vh;
}

h1::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: rgb(118, 151, 190);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  animation: animate 4s linear infinite;
}

@keyframes animate {
  0% {
    width: 100px;
  }
  25% {
    width: 175px;
  }
  50% {
    width: 225px;
  }
  75% {
    width: 295px;
  }
  100% {
    width: 350px;
  }
}

label {
  display: inline-block;
  max-height: 100%;
  padding: 0 25px;
  line-height: 60px;
  font-size: 1.2rem;
  color: grey;
  cursor: pointer;
  transition: color 0.5s, font-weight 0.5s;
}

label:hover {
  color: rgb(118, 151, 190);
  font-weight: 500;
}

.photo-gallery {
  width: 100%;
  margin: auto;
  margin-bottom: 100px;
  display: flex;
  flex-wrap: wrap;
  object-position: bottom;
  justify-content: center;
  column-gap: 10px;
  row-gap: 10px;
}

.pic {
  position: relative;
  max-height: 350px;
  flex-basis: 350px;
  box-shadow: 3px 3px 5px lightgrey;
  cursor: pointer;
}

.pic a img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  transition: transform 0.5s, opacity 0.5s;
}

img:hover {
  transform: scale(1.1);
  opacity: 0.7;
}

footer {
  display: flex;
  justify-content: center;
  padding: 20px;
  justify-content: center;
  align-items: center;
  background-color: rgb(212, 210, 208);
  position: relative;
  width: 100%;
  z-index: 3;
}

footer .leftcol {
  width: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

footer .leftcol p {
  margin-top: 50px;
}

footer .leftcol img {
  width: 200px;
  padding: 20px;
}

footer .midcol {
  width: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 2em;
  padding: 20px;
}

footer .midcol img {
  width: 100px;
  display: none;
}

footer .midcol a {
  text-decoration: none;
  color: #333;
}

footer .midcol a:hover {
  font-weight: 700;
}

footer .rightcol {
  line-height: 2em;
  width: 30%;
  display: flex;
  flex-direction: column;
}

footer .rightcol div {
  color: #333;
}

#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: rgb(218, 164, 92);
  color: white;
  cursor: pointer;
  padding: 5px;
  border-radius: 4px;
  rotate: 45deg;
  border: 2px solid black;
}

#myBtn:hover {
  background-color: rgba(218, 164, 92, 0.8);
}

.inner {
  border: 2px solid black;
  border-radius: 4px;
  width: 55px;
  height: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.inner img {
  rotate: -45deg;
  width: 30px;
}

@media (max-width: 991px) {
  .container-onama .right-btns {
    height: 100%;
    width: 100%;
  }

  .container-onama .right-btns .btns div {
    width: 250px;
  }

  .container-onama .right-btns .btns div p {
    font-size: 0.8rem;
    font-weight: 500;
    padding: 5px;
    text-align: center;
  }
  .container-onama .left-text {
    width: 100%;
    height: 100%;
  }
  .container-onama .left-text .links button {
    margin: 0 5px 50px 0;
  }
  footer .leftcol img {
    width: 150px;
    padding: 10px;
  }

  footer .midcol {
    line-height: 1.5em;
    padding: 20px;
  }

  footer .midcol a {
    text-decoration: none;
    color: #333;
  }

  footer .rightcol {
    line-height: 1.5em;
  }
}

@media (max-width: 820px) {
  .cover-pic .second-title {
    position: absolute;
    color: #fff;
    opacity: 0.7;
    font-size: 2em;
    letter-spacing: 20px;
    right: 30px;
    bottom: 80px;
  }

  footer .leftcol img {
    width: 100px;
    padding: 10px;
  }

  footer .midcol {
    line-height: 1.5em;
    padding: 20px;
  }

  footer .midcol a {
    text-decoration: none;
    color: #333;
  }

  footer .rightcol {
    line-height: 1.5em;
  }
}

@media only screen and (max-width: 767px) {
  ooter .leftcol {
    display: none;
  }

  footer .midcol {
    line-height: 1em;
    width: 40%;
  }

  footer .midcol a {
    font-size: 12px;
  }

  footer .midcol a:hover {
    font-weight: 500;
  }

  footer .rightcol {
    line-height: 1em;
    width: 60%;
    font-size: 12px;
  }

  footer .midcol img {
    width: 100px;
    display: block;
  }
}
