*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-size: 62.5%;
}

:root {
  --primary-color: #c31c4a;
  --text-color: #3d3d3d;
  --bg-color: #fffdfa;
  --primary-font: "PlayFair Display", "sans-serif";
  --secondary-font: "Georgia", "sans-serif";
}

body {
  color: var(--text-color);
  font-family: var(--primary-font);
  background-color: var(--bg-color);
}

.container {
  width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.nav-links {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  background-color: var(--bg-color);
  box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 2rem;
  padding-top: 10rem;
  transform: translateX(110%);
  transition: transform 0.5s ease-in;
}

.nav-active {
  transform: translateX(0%);
}

li {
  list-style-type: none;
  border-bottom: 2px solid var(--primary-color);
  margin-bottom: 2rem;
}

.link {
  display: block;
  font-size: 1.8rem;
  padding: 0.5rem 0.75rem 0 0.75rem;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.2s ease;
  font-family: var(--primary-font);
  font-weight: 900;
  border: 0;
  background-color: var(--bg-color);
  cursor: pointer;
}

.link:hover {
  color: #fff;
  background-color: var(--primary-color);
}

.soon {
  position: relative;
  transition: 0.2s ease;
}

.soon:hover {
  color: var(--text-color);
  background-color: var(--bg-color);
  text-decoration: line-through;
}

.soon::after {
  content: "coming soon";
  position: absolute;
  font-size: 1.5rem;
  top: 100%;
  left: 0;
  text-align: center;
  width: 100%;
  height: 100%;
  color: var(--text-color);
  font-family: var(--primary-font);
  opacity: 0;
  transform: translateY(-50%);
  transition: 0.2s ease;
}

.soon:hover::after {
  opacity: 1;
  transform: translateX(0%);
}

.burger {
  right: 0;
  cursor: pointer;
}

.burger div {
  width: 3.5rem;
  height: 0.2rem;
  background-color: var(--text-color);
  margin: 0.5rem;
  transition: all 0.2s ease;
}

.nav-links > .burger {
  position: absolute;
  top: 2%;
}

.nav-links > .burger .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}
.nav-links > .burger .line3 {
  transform: rotate(45deg);
}

main {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1rem;
}

.center {
  border: 2px solid var(--primary-color);
  padding: 1rem 3rem;
}

.title {
  font-size: 2.5rem;
  margin-bottom: 4rem;
  font-weight: 900;
}

.about {
  font-size: 2rem;
  margin-bottom: 5rem;
  line-height: 1.4;
  font-family: var(--secondary-font);
  font-size: 400;
}

.enjoy {
  font-size: 3rem;
  font-weight: 900;
}

.footer {
  background-color: var(--primary-color);
  width: 100%;
  margin: 0 auto;
  padding: 0.5rem 0;
}

.footer-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  line-height: 1.6;
  position: relative;
}

.footer a,
.footer p {
  font-size: 1.5rem;
  text-align: center;
  font-family: var(--secondary-font);
  font-size: 400;
}

.footer a {
  color: #fff;
  text-decoration: none;
  transition: 0.2s ease all;
  border-bottom: 1px solid var(--primary-color);
}

.footer a:hover {
  border-bottom: 1px solid #fff;
}

.developer {
  font-size: 1.5rem;
  border-bottom: 1px solid #fff;
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 0.75rem 0 0.75rem;
  transition: background-color 0.2s ease;
  font-family: var(--secondary-font);
  font-size: 400;
  border: 0;
  background-color: var(--primary-color);
  cursor: pointer;
}

.developer:hover {
  background-color: #fff;

  color: var(--primary-color);
}

@media (min-width: 1024px) {
  .container {
    width: 80%;
  }

  .burger {
    display: none;
  }

  .nav-links {
    all: unset;
    display: flex;
    justify-content: space-between;
    transition: transform 0.5s ease-in;
    width: 70%;
  }

  .link {
    font-size: 1.6rem;
    margin-bottom: 0;
  }

  .about {
    line-height: 1.6;
  }

  .title,
  .enjoy {
    font-size: 3.5rem;
  }

  .developer {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 2%;
  }
}

@media (min-width: 1440px) {
  .container {
    width: 60%;
  }

  .about {
    line-height: 1.7;
  }

  .nav-links {
    width: 65%;
  }
}
