* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

:root {
  --clr-mn: #fff;
  --clr-sec: #f0f0f0;
  --clr-accent: #61b0ff;

  --clr-txt300: rgba(43, 43, 43, 0.7);
  --clr-txt500: rgba(43, 43, 43, 0.8);
  --clr-txt600: #2b2b2b;
  --clr-txt100: #fff;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  font-family: "ClashGrotesk-Medium";
}

/* !General Typography */
h1,
h2,
h3,
#mainTitle,
#subTitle,
nav a {
  color: var(--clr-txt100);
}

h1,
#mainTitle {
  font-family: "ClashGrotesk-Semibold";
  line-height: 1.05em;
}

p,
#subTitle {
  font-family: "ClashGrotesk-Regular";
  line-height: 1.7em;
}

button {
  font-family: "ClashGrotesk-Semibold";
  line-height: 1.7em;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

/* !Main Styles */

header {
  background-image: url(/assets/images/mainTest.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position-x: 70%;
  background-position-y: top;
}

#scrollToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  height: 50px;
  width: 50px;
  background-color: var(--clr-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-txt100);
  font-size: 1.5rem;
  z-index: 1000;
  opacity: 0;
  transition-duration: 0.3s;
}

#scrollToTop ion-icon {
  height: 24px;
  width: 24px;
  transition-duration: 0.3s;
}


#scrollToTop:hover ion-icon {
  transform: translateY(-10px);
}

#desktopNav {
  display: none;
}

header #top {
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 16px 20px;
}

header #top img {
  height: 30px;
  width: 100px;
}

#toggleBtn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

#toggleBtn .hamburger {
  background-color: var(--clr-txt100);
  height: 2px;
  width: 24px;
}

#navWrapper {
  width: 100%;
  background-color: rgb(22, 22, 22);
  position: absolute;
  opacity: 0;
  padding: 32px 32px;
  z-index: 1000;
}

#navWrapper.showNav {
  opacity: 1;
}

#navWrapper nav ul {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

#navWrapper nav ul li a {
  text-decoration: none;
  font-size: 1rem;
}

#navWrapper nav ul li a:hover {
  color: var(--clr-accent);
}

#desktopNav ul li a:hover {
  color: var(--clr-accent);
}

#buttonWrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

#buttonWrapper a button {
  position: relative;
  z-index: 2;
}

#buttonWrapper a {
  background-color: var(--clr-accent);
  border-radius: 100px;
  text-decoration: none;
  padding: 20px 30px;
  position: relative;
  overflow: hidden;
}

#buttonWrapper #one::before {
  content: "";
  background-color: var(--clr-txt600);
  border-radius: 100px;
  width: 110px;
  height: 30px;
  padding: 20px 30px;
  position: absolute;
  bottom: -100%;
  left: -100%;
  transition-duration: 0.3s;
  z-index: 1;
}
#buttonWrapper #one:hover::before {
  bottom: 0;
  left: 0;
}

#buttonWrapper #two::before {
  content: "";
  background-color: var(--clr-accent);
  border-radius: 100px;
  width: 150px;
  height: 30px;
  padding: 20px 30px;
  position: absolute;
  bottom: -100%;
  left: -100%;
  transition-duration: 0.3s;
  z-index: 1;
}

#buttonWrapper #two:hover::before {
  bottom: 0;
  left: 0;
}

#buttonWrapper #two {
  background-color: transparent;
  border: 1px solid var(--clr-txt100);
}

#buttonWrapper #two:hover {
  border: 1px solid var(--clr-accent);
}

#buttonWrapper a button {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--clr-txt100);
  font-size: 1rem;
}

#buttonWrapper a button ion-icon {
  height: 21px;
  width: 21px;
}

#mainWrapp {
  padding: 64px 24px 32px 24px;
}

#mainTitle {
  margin-bottom: 16px;
  text-align: center;
  font-size: 2.25rem;
}

#subTitle {
  margin-bottom: 64px;
  text-align: block;
  font-size: 1rem;
}

/* !Responsive Design */
@media (min-width: 600px) {
  #mainWrapp {
    padding: 64px 84px 32px 84px;
  }
  header #top {
    padding: 16px 32px;
  }
}
@media (min-width: 810px) {
  #mainWrapp {
    padding: 84px 24px 40px 24px;
  }

  header #top {
    padding: 16px 24px;
  }

  #mainTitle {
    margin-bottom: 20px;
    width: 50%;
    text-align: start;
    font-size: 3rem;
  }

  #subTitle {
    text-align: start;
    width: 55%;
    margin-bottom: 84px;
  }

  #buttonWrapper {
    flex-direction: row;
  }
}

@media (min-width: 1200px) {
  #desktopNav {
    display: flex;
  }

  #desktopNav ul {
    display: flex;
    gap: 40px;
  }

  #toggleBtn {
    display: none;
  }

  header #top {
    padding: 16px 24px;
  }

  #mainWrapp {
    padding: 60px 24px 40px 24px;
  }

  #mainTitle {
    margin-bottom: 20px;
    width: 50%;
    font-size: 4rem;
    text-align: start;
  }

  #subTitle {
    text-align: start;
    width: 55%;
    margin-bottom: 60px;
    font-size: 1rem;
  }

  #buttonWrapper {
    flex-direction: row;
  }
}

@media (min-width: 1440px) {
  header {
    max-height: 120vh;
  }
  header #top {
    padding: 16px 60px;
  }
  #mainWrapp {
    padding: 84px 60px 70px 60px;
  }

  #mainTitle {
    font-size: 6rem;
  }

  #subTitle {
    width: 50%;
    margin-bottom: 60px;
    font-size: 1.25rem;
  }
}

@media (min-width: 2000px) {
  header #top {
    padding: 18px 500px;
  }
  #mainWrapp {
    padding: 200px 500px 183px 500px;
  }
  #mainTitle {
    width: 60%;
  }

  #subTitle {
    width: 55%;
    margin-bottom: 60px;
  }
}
