@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;600;700;800;900&display=swap");
/* Common style */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  outline: none;
  font-family: "Nunito", sans-serif;
  font-weight: 400;
}

html {
  font-size: 62.5%;
}

.section-heading {
  font-size: 9.1rem;
  font-weight: 900;
  color: #fff;
  text-align: center;
  /* text-transform: capitalize; */
  letter-spacing: 0.5rem;
  text-shadow: 0.3rem 0.3rem 0.3rem #000;
}
.section-subheading {
  font-size: 5.8rem;
  font-weight: 900;
  color: #fff;
  text-align: center;
  letter-spacing: 0.5rem;
  text-shadow: 0.3rem 0.3rem 0.3rem #000;
}
.section-paragraph {
  font-size: 2.9rem;
  font-weight: 900;
  color: #fff;
  text-align: center;
  letter-spacing: 0.5rem;
  text-shadow: 0.3rem 0.3rem 0.3rem #000;
}
.section-button {
  border-radius: 25px;
  width: 300px;
  height: 40px;
}
/* End of Default Style */

/* Navbar */
.navbar {
  width: 100%;
  height: 14rem;
  background-color: #000;
  position: fixed;
  top: -14rem;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0.2rem 0.2rem 0.2rem #000;
  transition: top 0.4s;
}

.navbar.change {
  top: 0;
  transition: top 0.4s 0.2s;
}

.navbar-link {
  color: #aaa;
  margin: 0 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: color 0.3s, opacity 0.2s;
}

.change .navbar-link {
  opacity: 1;
}

.change .navbar-link:nth-child(1) {
  transition: opacity 0.4s 0.5s, color 0.3s;
}

.change .navbar-link:nth-child(2) {
  transition: opacity 0.4s 0.6s, color 0.3s;
}

.change .navbar-link:nth-child(3) {
  transition: opacity 0.4s 0.7s, color 0.3s;
}

.change .navbar-link:nth-child(4) {
  transition: opacity 0.4s 0.8s, color 0.3s;
}

.change .navbar-link:nth-child(5) {
  transition: opacity 0.4s 0.9s, color 0.3s;
}

.navbar-link:hover {
  color: #fff;
}

.navbar-link i {
  font-size: 7rem;
}

.navbar-link span {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: 0.5rem;
  margin-top: 0.5rem;
}

.menu {
  width: 4rem;
  height: 6rem;
  background-color: #000;
  position: fixed;
  top: 1rem;
  left: 5rem;
  border-radius: 30rem 30rem 15rem 15rem;
  box-shadow: 0.1rem 0.1rem 0.1rem #000, -0.1rem -0.1rem 0.1rem #000;
  cursor: pointer;
  z-index: 100;
  transition: top 0.4s 0.2s;
}

.menu.change {
  top: 15rem;
  transition: top 0.4s;
}

.menu::before {
  content: "";
  width: 0.3rem;
  height: 15rem;
  background-color: #000;
  position: absolute;
  top: -15rem;
  left: calc(50% - 0.15rem);
  box-shadow: 0.1rem 0 0.1rem #000;
}
/* End of Navbar */

.title {
  background-color: #333;
  padding: 5rem 0;
}
/* Welcome */
.welcome {
  background-color: #ff3399;
  padding: 5rem 0;
}

/* Blog */
.blog {
  background-color: lawngreen;
  padding: 5rem 0;
}

.photos {
  background-color: #333;
  padding: 5rem 1rem;
}

/* Fado */
.fado {
  background-color: #3399ff;
  padding: 5rem 0;
}

/* Contact */
.contact {
  background-color: #ffcc66;
  padding: 5rem 0;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-evenly;
  margin-top: 10rem;
}
.rotate270 {
  transform: rotate(270deg);
}

.gallery-link {
  position: relative;
  margin: 4rem 1rem;
}

.gallery-link::before {
  content: "";
  position: absolute;
  top: 24.5%;
  left: 2rem;
  width: 0;
  height: 0.3rem;
  background-color: #fff;
  transition: width 0.5s;
}

.gallery-link:hover::before {
  width: 95%;
}

.gallery-img {
  width: 100%vw;
  height: 15vw;
  object-fit: cover;
  box-shadow: 0.3rem 0.3rem 0.1rem #e92929, 0.5rem 0.5rem 0.1rem #a2e946, 0.7rem 0.7rem 0.1rem #297ce9, 0.9rem 0.9rem 0.1rem #e92999;
  transition: transform 2s;
}

.singleImage {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

.download-button-container {
  display: flex;
  align-self: center;
  justify-content: space-evenly;
  align-items: center;
  height: 60px;
}

.download-button {
  background-color: #008cba;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  text-align: center;
  border-radius: 15px;
}

.gallery-link:hover .gallery-img {
  box-shadow: 1rem 1rem 0.1rem #e92929, 2rem 2rem 0.1rem #a2e946, 3rem 3rem 0.1rem #297ce9, 4rem 4rem 0.1rem #e92999;
  filter: blur(0.5rem);
  opacity: 0.5;
  transform: scale(1.1);
}

.year-title {
  position: absolute;
  top: 20%;
  left: 2rem;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.1rem;
  color: #fff;
  width: 100%;
  overflow: hidden;
  transition: width 0.3s;
}

.year-name {
  position: relative;
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.1rem;
  color: #fff;
  width: 24vw;
  overflow: hidden;
  padding-bottom: 1rem;
}

.album-name {
  position: relative;
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.1rem;
  color: #fff;
  width: 95%;
  overflow: hidden;
  padding-bottom: 1rem;
}

.img-caption {
  position: absolute;
  top: 15%;
  left: 2rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.1rem;
  color: #fff;
  width: 0;
  overflow: hidden;
  transition: width 0.3s;
}

.gallery-link:hover .img-caption {
  width: 95%;
  opacity: 1;
  visibility: visible;
  transition: opacity 1s 3s;
  transition: width 1.5s 0.5s;
}

.img-description {
  position: absolute;
  top: 25.5%;
  left: 2rem;
  width: 95%;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.1rem;
  overflow-wrap: normal;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
}

.gallery-link:hover .img-description {
  opacity: 1;
  visibility: visible;
  width: 85%;
  flex-wrap: wrap;
  transition: opacity 1s 1s;
}

.gallery-link:hover .year-name {
  /* width: 100%; */
  transition: width 1.5s 0.5s;
}

/* Section 4 */
.section-4 {
  width: 100%;
  /*height: 30vh; */
  height: 20rem;
  background-color: #222;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  padding: 3rem 0;
  position: relative;
}

.section-4-text {
  text-transform: uppercase;
}

.section-4-heading {
  font-size: 4rem;
  font-weight: 900;
  color: #a79a2d;
}

.section-4-paragraph {
  font-size: 1.5rem;
  color: #888;
}

.signup-form {
  display: flex;
  align-items: center;
}

.signup-form-input {
  width: 35rem;
  height: 5rem;
  padding: 1rem;
  border: 0.2rem solid #a79a2d;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.1rem;
  color: #a79a2d;
}

.signup-form-input::placeholder {
  color: #a79a2d;
}

.signup-form-btn {
  position: relative;
  left: -4.5rem;
  width: 4rem;
  height: 4rem;
  background-color: #333;
  color: #a79a2d;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
}

.copyright {
  position: absolute;
  bottom: 3rem;
  font-size: 1.7rem;
  font-weight: 200;
  color: #eee;
  letter-spacing: 0.1rem;
  border-top: 0.1rem solid #888;
  padding-top: 6rem;
  width: 100%;
  text-align: center;
}
/* End of Section 4 */

/* Responsive */
@media (max-width: 1400px) {
  html {
    font-size: 50%;
  }

  .section-heading {
    font-size: 5.4rem;
    margin: 0 5rem;
  }

  .section-subheading {
    font-size: 4rem;
    margin: 0 5rem;
  }

  .section-paragraph {
    font-size: 4rem;
    margin: 0 5rem;
  }

  .gallery-link {
    width: 40rem;
    height: 25rem;
    margin: 5rem;
  }

  .gallery-img {
    width: 100%;
    height: 100%;
  }

  .album-name {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .section-heading {
    font-size: 3rem;
    margin: 0 5rem;
  }

  .section-subheading {
    font-size: 3rem;
    margin: 0 5rem;
  }

  .section-paragraph {
    font-size: 2rem;
    margin: 0 5rem;
  }

  .card {
    margin: 5rem;
  }

  .section-4 {
    height: 30rem;
  }
}

@media (max-width: 900px) {
  .section-heading {
    font-size: 6rem;
    margin: 0 5rem;
  }

  .section-subheading {
    font-size: 4rem;
    margin: 0 5rem;
  }
  .section-paragraph {
    font-size: 2rem;
    margin: 0 5rem;
  }
  .navbar-link {
    margin: 2rem;
  }

  .navbar-link i {
    font-size: 4rem;
  }

  .navbar-link span {
    font-size: 2rem;
  }
}

@media (max-width: 700px) {
  .section-heading {
    font-size: 6rem;
    margin: 0 10rem;
  }

  .menu {
    left: 2rem;
  }

  .photos {
    /* height: 40rem; */
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }

  .section-4-text {
    margin-bottom: 8rem;
  }
}

@media (max-width: 550px) {
  html {
    font-size: 40%;
  }

  .navbar-link {
    margin: 0 0.7rem;
  }
}

/* Samsung A51 Portrait 
@media only screen and (min-width: 412px) and (orientation: portrait) {}
   Samsung A51 Landscape
@media only screen and (min-width: 915px) and (orientation: landscape) {}
*/

/* End of Responsive */
