* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
}

body {
  background: #080808;
  color: #fff;
}

#header {
  width: 100%;
  height: 100vh;
  background-image: url("images/background.png");
  background-size: cover;
  background-position: center;
}

.container {
  padding: 10px 10%;
}

nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  width: 140px;
}

nav ul li {
  display: inline-block;
  margin: 10px 20px;
  list-style: none;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  position: relative;
}

nav ul li a::after {
  content: "";
  width: 0;
  height: 3px;
  background: #ff004f;
  position: absolute;
  left: 0;
  bottom: -6px;
  transition: 0.5s;
  cursor: pointer;
}

nav ul li a:hover::after {
  width: 100%;
}

.header_text {
  margin-top: 20%;
  font-size: 20px;
}

.header_text h1 {
  margin-top: 20px;
  font-size: 60px;
  font-family: "Kaushan Script", cursive;
}

.header_text h1 span {
  color: #ff004f;
}

/**about**/

#about {
  padding: 80px 0;
  color: #ababab;
}

.about_row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.about_col_1 {
  flex-basis: 35%;
}

.about_col_1 img {
  width: 100%;
  border-radius: 5px;
}

.about_col_2 {
  flex-basis: 60%;
}

.subtitle_text {
  font-weight: 600;
  color: #fff;
  font-size: 60px;
}

.tab_titles {
  display: flex;
  margin: 20px 0 40px;
}

.tab_links {
  margin-right: 50px;
  font-size: 18px;
  font-weight: 500px;
  cursor: pointer;
  position: relative;
}

.tab_links::after {
  content: "";
  width: 0;
  height: 3px;
  background: #ff004f;
  position: absolute;
  left: 0;
  bottom: -8px;
  transition: 0.5s;
  cursor: pointer;
}

.tab_links.active_link::after {
  width: 50%;
}

.tab_contents ul li {
  list-style: none;
  margin: 10px 0;
}

.tab_contents ul li span {
  font-size: 14px;
  color: #ff004f;
}

.tab_contents {
  display: none;
}

.tab_contents.active_tab {
  display: block;
}

/*--Services--*/

#services {
  padding: 30px 0;
}

.services_list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 40px;
  margin-top: 50px;
}

.services_list div {
  background: #262626;
  padding: 40px;
  font-size: 13px;
  font-weight: 300px;
  border-radius: 10px;
  transition: background 1s, transform 0.5s;
}

.services_list div i {
  font-size: 50px;
  margin-bottom: 30px;
}

.services_list div h2 {
  font-size: 30px;
  font-weight: 500px;
  margin-bottom: 15px;
}

.services_list div a {
  text-decoration: none;
  color: #fff;
  font-size: 12px;
  margin-top: 20px;
  display: inline-block;
}

.services_list div:hover {
  background: #ff004f;
  transform: translateY(-10px);
}

/**portfolio**/

#portfolio {
  padding: 50px 0;
}

.work_list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 40px;
  margin-top: 50px;
}

.work {
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.work img {
  width: 100%;
  border-radius: 10px;
  display: block;
  transition: transform 0.5s;
}

.layer {
  width: 100%;
  height: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.6), #ff004f);
  border-radius: 10px;
  position: absolute;
  left: 0;
  bottom: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 40px;
  text-align: center;
  font-size: 14px;
  transition: height 1s;
}

.layer h3 {
  font-weight: 500px;
  margin-bottom: 20px;
}

.layer a {
  margin-top: 20px;
  color: #ff004f;
  text-decoration: none;
  font-size: 18px;
  line-height: 60px;
  background: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
}

.work:hover img {
  transform: scale(1.1);
}

.work:hover .layer {
  height: 100%;
}

.see_more_link {
  display: block;
  margin: 50px auto;
  width: -moz-fit-content;
  width: fit-content;
  border: 1px solid #ff004f;
  padding: 14px 50px;
  border-radius: 6px;
  text-decoration: none;
  color: #fff;
  transition: background 1s;
}

.see_more_link:hover {
  background: #ff004f;
}

/**contact**/
.row {
  display: flex;
}

.contact_left {
  flex-basis: 35%;
}

.contact_right {
  flex-basis: 60%;
}

.contact_left p {
  margin-top: 30px;
}

.contact_left p i {
  color: #ff004f;
  margin-right: 15px;
  font-size: 25px;
}

.social_icons {
  margin-top: 30px;
}

.social_icons a {
  text-decoration: none;
  margin-right: 15px;
  color: #ababab;
  display: inline-block;
  transition: transform 0.5s;
  font-size: 30px;
}

.social_icons a:hover {
  color: #ff004f;
  transform: translateY(-5px);
}

.see_more_link.cv_download_link {
  display: inline-block;
  background: #ff004f;
}

.contact_right form {
  width: 100%;
  margin-left: 30px;
}

form input,
form textarea {
  width: 100%;
  border: 0;
  outline: none;
  background: #262626;
  padding: 15px;
  margin: 15px 0;
  color: #fff;
  font-size: 18px;
  border-radius: 6px;
}

form .cv_download_link {
  padding: 14px 60px;
  cursor: pointer;
  font-size: 18px;
  margin-top: 20px;
}

.copy_right {
  width: 100%;
  padding: 25px 0;
  text-align: center;
  background: #262626;
  font-weight: 300px;
  margin-top: 20px;
  font-size: 20px;
}

.copy_right span {
  color: #ff004f;
}

/**css for small screens*/

nav .fa-solid {
  display: none;
}

@media only screen and (max-width: 770px) {
  #header {
    background-image: url("images/phone-background.png");
  }
  .header_text {
    margin-top: 330px;
    font-size: 16px;
    margin-left: -20px;
  }
  .header_text h1 {
    font-size: 30px;
  }
  nav .fa-solid {
    display: block;
    font-size: 25px;
  }
  nav ul {
    position: fixed;
    top: 0;
    right: -250px;
    background: #ff004f;
    width: 250px;
    height: 100vh;
    padding-top: 50px;
    z-index: 2;
  }

  nav ul li {
    display: block;
    margin: 25px;
  }

  nav ul .fa-solid {
    position: absolute;
    top: 25px;
    left: 25px;
    cursor: pointer;
  }

  .subtitle_text {
    font-size: 40px;
  }

  .about_col_1,
  .about_col_2 {
    flex-basis: 100%;
  }

  .about_col_2 {
    margin-top: 30px;
  }

  .about_col_2 p {
    font-size: 14px;
  }

  .tab_links {
    margin-right: 20px;
  }

  #services {
    padding: 0;
  }

  .row {
    display: block;
  }

  .contact_left,
  .contact_right {
    flex-basis: 100%;
  }

  .contact_right form {
    margin-left: 0;
  }
  .see_more_link.cv_download_link {
    margin-top: 35px;
  }

  .copy_right {
    font-size: 17px;
  }
}
