* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #000000;
  color: #fff;
  overflow-x: hidden;
}

#header {
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
}

.container {
  padding: 0 2.5rem;
  margin-bottom: 2.5rem;
  padding-top: 4.5rem;
}

.container .work-list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 20;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  border-radius: 0 0 1.5rem 1.5rem;
  padding: 10px 2rem;
  transition: 400ms;
}

nav h1::first-letter {
  color: #ff004f;
}

nav ul li {
  display: inline-block;
  list-style: none;
  margin: 10px 20px;
}

nav ul li a,
.mail {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  position: relative;
}

.mail {
  font-size: 14px;
}

nav ul li a::after {
  content: "";
  width: 0;
  height: 3px;
  background: #ff004f;
  position: absolute;
  left: 0;
  bottom: -6px;
  transition: 0.5s;
}

nav ul li a:hover::after {
  width: 100%;
}

.main {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
}

.forPc {
  display: block;
  width: 36rem;
  height: 3rem;
}

.forMobile {
  display: none;
}


/* fixed block */
.stickyBlock {
  position: fixed;
  /* stays in place */
  top: 50%;
  /* center vertically */
  left: 50%;
  /* center horizontally */
  transform: translate(-50%, -50%);

  display: flex;
  /* two columns */
  align-items: center;
  /* vertical align within row */
  gap: 2rem;
  /* space between left/right */

  width: 80%;
  /* adjust width */
  max-width: 1200px;
  z-index: 1;
  /* behind scrolling content */
}

/* left gif block */
.gif-block img {
  max-width: 300px;
  height: auto;
}

.gif {
  border-radius: 1.5rem;
  margin: 0 7rem;
}

/* right text block */
.header-text {
  color: #f7f7f7;
  max-width: 600px;
}

/* text spacing */
.header-text h1 {
  font-size: 3.5rem;
  margin: 0.5rem 0;
}

.header-text h1 span,
.sub-title span,
.loading-body span {
  color: #ff004f;
}


/* seperate background color */
.seperateBg {
  position: relative;
  /* background-color: #1b1b1b; */
  z-index: 2;
}

/* About */

#about {
  /* padding: 80px 0; */
  color: #ababab;
  min-height: 100vh;
  /* instead of height */
}

.row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  /* already there */
}

.about-col-1,
.about-col-2 {
  flex: 1 1 300px;
  padding: 1rem;
  margin-top: 2rem;
  /* grow, shrink, min-width */
  /* or use width: 100% inside a media query for small screens */
}

.about-col-1 {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.about-col-1 img {
  /* width: 100%; */
  /* make image responsive */
  max-width: 21rem;
  /* don’t let it get larger than original */
  border-radius: 1.5rem;
}


.sub-title {
  font-size: 60px;
  font-weight: 600;
  color: #fff;
  text-align: center;
}

.tab-titles {
  display: flex;
  margin: 20px 0 40px;
}

.tab-links {
  margin-right: 50px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
}

.tab-links::after {
  content: "";
  width: 0;
  height: 3px;
  background: #ff004f;
  position: absolute;
  bottom: -6px;
  left: 0;
  transition: 0.5s;
}

.tab-links.active-link::after {
  width: 50%;
}

.tab-container ul li {
  list-style: none;
  margin: 10px 0;
}

.tab-container ul li span {
  color: #ff004f;
  font-size: 14px;
}

.tab-container {
  display: none;
}

.tab-container.active-tab {
  display: block;
}



.work-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 8rem;
  margin-top: 50px;
}

.work {
  width: 300px;
  border-radius: 1.5rem;
  position: relative;
  overflow: hidden;
  margin: 1rem;
}

.work img {
  width: 100%;
  border-radius: 1.5rem;
  display: block;
  transition: transform 0.5s;
}

.layer {
  width: 100%;
  height: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.6), #ff004f);
  border-radius: 1.5rem;
  position: absolute;
  left: 0;
  bottom: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 1rem;
  text-align: center;
  font-size: 0.9rem;
  transition: height 0.5s;
}

.layer h3 {
  font-weight: 500;
  margin-bottom: 0.8rem;
}

.layer a {
  margin-top: 0.3rem;
  color: #ff004f;
  text-decoration: none;
  font-size: 18px;
  line-height: 60px;
  background: #fff;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  text-align: center;
}

.work:hover img {
  transform: scale(1.1);
}

.work:hover .layer {
  height: 100%;
}

/* btn */
.btn {
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 0, 79, 0.8);
  padding: 14px 50px;
  margin: 50px auto;
  width: fit-content;
  text-decoration: none;
  color: #fff;
  display: block;
  transition: background 0.5s;
  text-align: center;
  position: relative;
}

.btn:hover {
  cursor: pointer;
  background: rgba(255, 0, 79, 0.7);
}

/* contact */
.contact-left {
  flex-basis: 35%;
}

.contact-right {
  flex-basis: 60%;
}

.contact-left,
.contact-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
}

.contact-left p {
  display: flex;
  align-items: center;
  margin-top: 30px;
}

.contact-left p i {
  color: #ff004f;
  margin-right: 6px;
  font-size: 20px;
}

.social-icons {
  margin-top: 30px;
}

.social-icons a {
  text-decoration: none;
  font-size: 30px;
  margin-right: 15px;
  color: #ababab;
  display: inline-block;
  transition: transform 0.5s;
}

.social-icons a:hover {
  color: #ff004f;
  transform: translateY(-5px);
}

.btn {
  /* display: inline-block; */
  background: transparent;
}

.contact-right form {
  width: 100%;
}

form input,
form textarea {
  width: 100%;
  border: 0;
  outline: none;
  background: #262626;
  opacity: 0.6;
  padding: 15px;
  margin: 15px 0;
  color: #fff;
  font-size: 18px;
  border-radius: 1.5rem;
}

form textarea {
  /* add min hight for preven scrolling from being visible */
  min-height: 60px;
  height: 190px;
  /*only enable vertical scrolling*/
  resize: vertical;
}


.copyright {
  width: 100%;
  text-align: center;
  /* margin-top: 20px; */
  padding: 0.6rem 0;
  font-size: 0.7rem;
  /* font-weight: 0; */
}

.copyright i {
  color: #ff004f;
}