/* Global Styles */

@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@200&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  font-family: "Nunito", sans-serif;
  font-size: 10px;
  scroll-behavior: smooth;
  background-size: 100% auto;
  background-position: center top;
  background-repeat: no-repeat;
  background-color: #0f0f0f;
  color: #fff;
  overflow: hidden;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

img {
  width: 100%;
}

.flex {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex-wrap: wrap;
}

/* Header Styles */

header {
  width: 100%;
  position: absolute;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.top-nav {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: -120%;
  z-index: 50;
  background-color: #0f0f0f;
  transition: all 650ms ease-in;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

.top-nav h6 {
  font-size: 1.5rem;
  letter-spacing: 0.4rem;
  text-transform: uppercase;
}

.nav-list {
  list-style: none;
}

.first,
.second,
.third {
  margin-bottom: 4rem;
}

.nav-link {
  font-size: 2.4rem;
  color: #fff;
  font-weight: 500;
}

.nav-link:hover,
.nav-link:focus {
  color: #fff;
  transition: color 0.5s ease-in-out;
}

.nav-link.active {
  text-decoration: line-through;
}

.top-nav.open {
  top: 0;
}

.menu-toggler {
  /* position: fixed; */
  top: 0;
  left: 0;
  width: 6rem;
  height: 6rem;
  background: rgba(34, 34, 34, 0.1);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  cursor: pointer;
  z-index: 1500;
  transition: transform 650ms ease-out;
}

.menu-toggler.open {
  transform: rotate(-45deg);
}

.bar {
  background: #fff;
  border: 1px solid rgba(34, 34, 34, 0.1);
  width: 100%;
  height: 5px;
  border-radius: 0.8rem;
}

.bar.half {
  width: 50%;
}

.bar.start {
  transform-origin: right;
  transition: transform 650ms cubic-bezier(0.54, -0.81, 0.57, 0.57);
}

.open .bar.start {
  transform: rotate(-450deg) translateX(0.8rem);
}

.bar.end {
  align-self: flex-end;
  transform-origin: left;
  transition: transform 650ms cubic-bezier(0.54, -0.81, 0.57, 0.57);
}

.open .bar.end {
  transform: rotate(-450deg) translateX(-0.8rem);
}

.btn {
  width: 130px;
  padding: 5px;
  border: 1px solid #fff;
  position: fixed;
  top: 20px;
  right: 20px;
  overflow: hidden;
  z-index: 49;
  font-size: 1.5rem;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #fff;
  border: 1px solid transparent;
  transition: all 450ms ease-in;
  z-index: -1;
}

.btn:hover {
  color: #333;
  transition: all 650ms ease-in;
  border: 1px solid #fff;
}

.btn:hover::before {
  left: 0;
  border: 1px solid transparent;
}

.logo h1 {
  font-size: 1.3rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9);
  color: white;
  position: absolute;
  top: 22px;
  left: 70px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  z-index: 10;
  opacity: 0.9;
}

.logo h1 a {
  color: white;
}

.logo h1 span {
  text-transform: none;
  letter-spacing: 0.2em;
  opacity: 0.7;
}

/* /MAIN PAGE STYLES */

#fullpage {
  height: 100vh;
}

#fullpage section {
  height: 100vh;
}

#fullpage section:nth-child(1) {
  background-color: #9c4141;
}
#fullpage section:nth-child(2) {
  background-color: #ed9300;
}
#fullpage section:nth-child(3) {
  background-color: #101d2c;
}
#fullpage section:nth-child(4) {
  background-color: #c59d5f;
}
#fullpage section:nth-child(5) {
  background-color: #c82540;
}

.project-img {
  width: 100%;
  height: 50vh;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.project-text h6 {
  font-size: 1.6rem;
  letter-spacing: 0.5rem;
  margin: 2rem 0 2rem 0;
}

.project-text h1 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  padding-bottom: 1rem;
}

.project-text p {
  display: none;
}

.project-img-1 {
  background-image: url("../img/Photography-test.jpg");
}
.project-img-2 {
  background-image: url("../img/travel-test.jpg");
}
.project-img-4 {
  background-image: url("../img/fatduck-test.jpg");
}
.project-img-3 {
  background-image: url("../img//bakery-test.jpg");
}
.project-img-5 {
  background-image: url("../img/hardrock-test.jpg");
}

.btn-project {
  display: inline-block;
  color: #fff;
  text-transform: uppercase;
  font-size: 1.5rem;
  letter-spacing: 0.1rem;
  padding: 1.5em 4em;
  background: rgba(0, 0, 0, 0.1);
  margin-top: 1rem;
  position: relative;
}

.btn-project:after {
  content: "";
  border: 1px solid #fff;
  position: absolute;
  top: 7px;
  bottom: 7px;
  left: 7px;
  right: 7px;
  z-index: 1;
}

.btn-project:hover {
  color: white;
}

.btn-project:hover::after {
  top: -7px;
  bottom: -7px;
  left: -7px;
  right: -7px;
  transition: all 0.3s 0s cubic-bezier(0.63, -2, 0.3, 2);
}

/* MEDIA QUERIES */

@media (min-width: 768px) {
  .project-img {
    height: 60vh;
  }
  .project-text h6 {
    font-size: 1.5rem;
    margin: 5rem 0 3rem 0;
  }

  .project-text h1 {
    font-size: 3rem;
    padding-bottom: 2rem;
  }
  .btn-project {
    font-size: 1.5rem;
  }
}

@media (min-width: 1200px) {
  .project-img {
    height: 100vh;
    background-position: left top;
    position: relative;
  }
  .project-img-1 {
    background-image: url("../img/Photography.jpg");
  }
  .project-img-2 {
    background-image: url("../img/travel.jpg");
  }
  .project-img-3 {
    background-image: url("../img/bakery.jpg");
  }
  .project-img-4 {
    background-image: url("../img/fatduck.jpg");
  }
  .project-img-5 {
    background-image: url("../img/hardrock.jpg");
  }
  .project-text {
    width: 50%;
    height: 100vh;
    position: absolute;
    top: 0%;
    right: 0;
  }

  .project-text-1 {
    background-color: #9c4141;
    z-index: 4;
  }
  .project-text-2 {
    background-color: #ed9300;
  }
  .project-text-3 {
    background-color: #101d2c;
  }
  .project-text-4 {
    background-color: #c59d5f;
  }

  .project-text-5 {
    background-color: #c82540;
  }

  .project-text h6 {
    padding-bottom: 1rem;
  }
  .project-text p {
    display: block;
    font-size: 1.6rem;
    text-align: center;
    padding: 0 4rem;
  }
}

@media (min-width: 1200px) {
}
