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

body {
  background: linear-gradient(to top right, rgb(8, 8, 8) 50%, rgb(128, 0, 38) 100%);
  color: #fff;
}

/* ---------------navigation------------------- */
.logo {
  width: 80px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
nav h1 {
  font-size: 30px;
}
nav h1 span {
  color: #ff004f;
}
nav ul li {
  display: inline-block;
  list-style: none;
  margin: 10px 20px;
}
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;
}
nav ul li a:hover::after {
  width: 100%;
}

.burger {
  cursor: pointer;
  display: none;
}
.burger div {
  background: #fff;
  height: 3px;
  margin: 5px;
  transition: all 0.3s ease;
  width: 25px;
}
.burger:focus {
  outline: none;
}

/* ------------------hero---------------------- */
#hero {
  width: 100%;
  height: 100vh;
  /*backgroud-image*/
}

.container {
  padding: 10px 10%;
}

.hero-text {
  margin-top: 20%;
  font-size: 30px;
}
.hero-text h1 {
  font-size: 60px;
  margin-top: 20px;
}
.hero-text h1 span {
  color: #ff004f;
}

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

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

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

.about-col-1 {
  flex-basis: 35%;
}
.about-col-1 img {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  object-fit: cover;
  object-position: 95% 50%;
  box-shadow: 0 0 20px 0 rgba(100, 100, 100, 0.5);
}

.about-col-2 {
  flex-basis: 60%;
}
.about-col-2 h1 {
  margin-bottom: 10px;
}

.tab-titles {
  display: flex;
  margin: 20px 0;
}

.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;
  left: 0;
  bottom: -8px;
  transition: 0.5s;
}
.tab-links.active-link::after {
  width: 100%;
}

.tab-contents {
  display: none;
}
.tab-contents ul li {
  list-style: none;
  margin: 10px 0;
}
.tab-contents ul li span {
  color: #b54769;
  font-size: 14px;
}
.tab-contents.active-tab {
  display: block;
  min-height: 22vh;
}

.btn {
  background: none;
  width: 220px;
  border: 1px solid #ff004f;
  border-radius: 6px;
  text-decoration: none;
  color: #fff;
  transition: background 0.5s;
  cursor: pointer;
  text-align: center;
}
.btn.download {
  display: inline-block;
  margin-right: 10px;
  padding: 15px 30px;
}
.btn:hover {
  background: #ff004f;
}

/* ----------------articles-------------------- */
#articles {
  padding: 30px 0;
}

.article-preview-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.article-preview-title img {
  height: 100%;
  object-fit: contain;
}

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

.article-preview-list section {
  display: grid;
  grid-template-rows: 1fr auto;
  background: #262626;
  padding: 20px;
  font-size: 20px;
  font-weight: 300;
  border-radius: 10px;
  transition: background 1s, transform 0.8s;
}

.article-preview-summary {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  margin-bottom: 10px;
}

.article-preview-list a {
  align-self: end;
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  display: inline-block;
}

.article-preview-list section:hover {
  background: #ff004f;
  background: linear-gradient(to top, rgba(255, 0, 75, 0.8) 10%, rgba(108, 8, 48, 0.8) 100%);
  transform: translateY(-10px);
}

/* -----------------contact-------------------- */
#contact {
  padding: 60px 0;
}

.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;
  font-size: 30px;
  margin-right: 15px;
  color: #ababab;
  display: inline-block;
  transition: transform 0.5s;
}
.social-icons a:hover {
  color: #ff004f;
  transform: translateY(-5px);
}

.contact-right form {
  width: 100%;
}

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 .btn {
  padding: 15px 60px;
  font-size: 18px;
  margin-top: 20px;
}

/* -------------mobile screen------------------ */
@media only screen and (max-width: 800px) {
  .hero-text {
    margin-top: 50%;
    font-size: 16px;
  }
  .hero-text h1 {
    font-size: 30px;
  }
  .nav-links {
    background: #ff004f;
    background: linear-gradient(to top, rgb(255, 0, 75) 10%, rgb(108, 8, 48) 100%);
    padding-top: 20px;
    height: 100%;
    top: 0;
    position: fixed;
    right: 0;
    transform: translateX(100%);
    transition: transform 0.4s ease-in;
    width: 60%;
    z-index: 1;
  }
  .nav-links ul {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 20% 0;
    height: 75%;
  }
  .nav-links li {
    opacity: 0;
  }
  .nav-links a {
    padding: 20px 50px;
    font-size: 25px;
    font-weight: 500;
  }
  nav ul li a::after {
    background: #fff;
  }
  .burger {
    display: block;
  }
  #about {
    padding: 0px;
  }
  .subtitle {
    font-size: 40px;
  }
  .about-col-1, .about-col-2 {
    flex-basis: 100%;
  }
  .about-col-1 {
    margin-bottom: 30px;
  }
  .about-col-2 {
    font-size: 14px;
  }
  .btn.download {
    margin-bottom: 20px;
  }
  .tab-links {
    font-size: 16px;
    margin-right: 20px;
  }
  .article-preview-list {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  .article-preview-title {
    font-size: 20px;
  }
  .article-preview-list section {
    font-size: 16px;
  }
}
.nav-active {
  transform: translateX(0%);
}

@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.toggle {
  position: fixed;
  right: 10%;
  z-index: 1;
}
.toggle #line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle #line2 {
  opacity: 0;
}
.toggle #line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* ------------------article-content---------------------- */
.article-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 10px 10%;
}

.article-page .main-content {
  flex: 1 0 auto;
}

.article-content {
  padding: 50px 0;
}

.article-title {
  display: flex;
  margin-bottom: 15px;
  color: #fff;
}

.article-title img {
  margin: auto 0px;
  height: 48px;
  width: 48px;
}

.article-title h2 {
  margin: auto 0px auto 20px;
  font-size: 38px;
  font-weight: bold;
}

.article-date {
  font-size: 18px;
  color: #ababab;
  margin-bottom: 30px;
}

.article-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  object-position: center;
  border-radius: 15px;
  margin-bottom: 30px;
}

.article-text {
  font-size: 18px;
  line-height: 1.6;
  color: #ababab;
}

.article-text p {
  margin-bottom: 20px;
}

.article-page footer {
  flex-shrink: 0;
}

/* -------------mobile screen------------------ */
@media only screen and (max-width: 800px) {
  .article-title {
    font-size: 32px;
  }
}

/*# sourceMappingURL=main.css.map */
