/* Import CSS Files */

@import url("home.css");
@import url("aboutme.css");
@import url("project.css");
@import url("contact.css");

/* Fonts */

@import url("https://fonts.googleapis.com/css2?family=Libertinus+Mono&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Tektur:wght@400..900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");

/*  
menu, footer: font-family: "Ubuntu", sans-serif;

heading(h1): font-family: "Tektur", sans-serif;

headings(h2 - h6): font-family: "Libertinus Mono", monospace;

paragraph tag: font-family: "Montserrat", sans-serif;

*/

/* Reset */

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
a {
  text-decoration: none;
  color: inherit;
}
ul li {
  list-style: none;
}

.header,
.footer {
  font-family: "Ubuntu", sans-serif;
}

h1 {
  font-family: "Tektur", sans-serif;
}

h2,
h3,
h4,
h5,
h6 {
  font-family: "Libertinus Mono", monospace;
}

p {
  font-family: "Montserrat", sans-serif;
}

.nowrap {
  text-wrap: nowrap;
}

html {
  scroll-behavior: smooth;
}

/* variable Set */

:root {
  --BG-COLOR: #271f30;
  --BG-COLOR2: #9bc59d;
  --TEXT-COLOR: #c8ad55;
  --TEXT-COLOR2: #f5f5f5;
}

/*--<-- Header Part -->--*/

.header {
  background-color: var(--BG-COLOR);
  color: var(--TEXT-COLOR);
  position: fixed;
  width: 100%;
  border-bottom: 1px solid var(--TEXT-COLOR);
}
.header__sec {
  width: 80%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* Nav Bar */
.nav__links {
  display: flex;
  gap: 20px;
}
.nav__links li {
  padding: 5px 10px;
  text-wrap: nowrap;
  cursor: pointer;
}
.nav__links li:hover {
  background-color: var(--TEXT-COLOR);
  color: var(--BG-COLOR);
  border-radius: 10px;
  box-shadow: 0 0 10px var(--TEXT-COLOR);
}
.nav__links i {
  display: none;
  font-size: 25px;
}
/* Header logo */
.header__logo {
  width: 10%;
  padding: 10px 0;
}
.header__logo img {
  width: 100%;
}
/* --<-- Header Part End -->-- */

/* --<-- Footer Part -->-- */
.footer {
  background-color: var(--BG-COLOR);
  color: var(--TEXT-COLOR);
  padding: 15px 0;
  width: 100%;
  text-align: center;
  border-top: 1px solid;
}
/* --<-- Footer Part End -->-- */

/* --<-- Responsive Size -->-- */

/* Tablets */
@media (max-width: 768px) {
  /* Header Part*/
  .header__logo {
    width: 15%;
    padding: 0;
  }
  .nav__links p {
    display: none;
  }
  .nav__links i {
    display: block;
  }
  .nav__links li:hover {
    border-radius: 50%;
  }
  /* Hero part */
  .hero {
    display: flex;
    flex-direction: column-reverse;
    padding-top: 20%;
    padding-bottom: 20%;
    justify-content: space-evenly;
    gap: 20px;
  }
  .hero__left {
    width: 80%;
    text-align: center;
  }
  .hero__buttons {
    justify-content: center;
  }
  /* frontend name animation */
  .hero__sub-title {
    margin: auto;
  }
  .hero__right {
    width: 60%;
  }
  /* aboutme */
  .aboutme__con {
    padding: 15vh 0;
  }
  .aboutme__sec {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  .aboutme__left {
    height: 50vh;
    display: flex;
    justify-content: center;
  }
  .aboutme__right {
    width: 80%;
  }
  /* project part */
  .projects__sec {
    grid-template-columns: 1fr;
    width: 80%;
    margin: auto;
  }
  .projects {
    padding: 25vw 0;
  }
  /* contact part */
  .contact {
    padding: 25vw;
  }
}

/* Phones */
@media (max-width: 480px) {
  /* Header Part */
  .header__logo {
    width: 25%;
  }
  .header__sec {
    display: flex;
    flex-direction: column;
  }
  .nav__links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 35%;
    left: 0;
    border: 1px solid var(--TEXT-COLOR);
    background-color: var(--BG-COLOR);
    border-radius: 0 50px 50px 0;
    padding: 40px 2px;
  }
  /* Hero part */
  .hero__left p {
    text-align: center;
  }
  /* Project part */
  .card__links {
    flex-direction: column;
  }
  /* contact part */
  form,
  .contact-info {
    width: 65vw;
  }
  .form-items {
    grid-template-columns: 1fr;
  }
}
/* --<-- Responsive Size End -->-- */
