@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap");

@import url("https://fonts.googleapis.com/css?family=Lato");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}
::before,
::after {
  margin: 0;
  scroll-behavior: smooth;
}
@import url(https://fonts.googleapis.com/css?family=Lato:100,300,400);

/* navbar styling */

.max-width {
  max-width: 1300px;
  padding: 0 80px;
  margin: auto;
}

.navbar .max-width {
  max-width: 1300px;
  padding: 0 30px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 10px 0;
  background: #0a0045;
  font-family: "poppins", sans-serif;
}

.navbar .logo a {
  color: #fff;
  font-size: 40px;
  font-weight: 500;
  padding-right: 50px;
}

.navbar .logo a span {
  color: white;
}

.navbar .menu li {
  list-style: none;
  display: inline-block;
  margin-left: auto;
}

.navbar .menu li a {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  margin-left: 25px;
  transition: color 0.3s ease-in;
}
.navbar .menu li a:hover {
  color: orange;
}

/*dots bg styling*/
#dots-bg {
  display: flex;
  width: 100%;
  height: 100vh;
  position: relative;
}

/* home section styling*/

.home {
  display: flex;
  background-size: cover;
  background-attachment: fixed;
  height: 100vh;
  font-family: "poppins", sans-serif;
  font-weight: bold;
  font-size: 55px;
  text-align: flex;
}

.home .max-width .home-content {
  height: 25vh;
  max-width: flex;
  position: relative;
  margin: 0;
}

.home .max-width .text-1 {
  font-size: 4rem;
  margin-top: 230px;
  font-weight: bold;
  color: #0a0045;
}

.home .max-width .text-2 {
  display: flex;
  font-size: 35px;
  margin: 5px 0;
}

.home .max-width .text-2 span {
  font-weight: 500;
}

.home .max-width .text-2 span ::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.25em;
  width: 100%;
  height: 12px;
  background-color: var(--text-highlight);
}

/*about section styling*/

#aboutSection {
  margin: 0 10vw;
  padding-top: 100px;
}
#aboutSection h2 {
  font-family: "poppins", sans-serif;
  margin-bottom: 1.5rem;
  font-size: 45px;
  font-weight: bold;
  text-align: center;
  color: #0a0045;
}
#aboutSection .header-container {
  display: flex;
  justify-content: center;
}
#aboutSection .text-container {
  display: flex;
  justify-content: center;
  font-family: "poppins", sans-serif;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  color: #0a0045;
}
#aboutSection .header-container .text-container p {
  text-align: center;
  font-weight: normal;
  margin-bottom: 2rem;
  font-size: 1.25rem;
}

#about-paragraph {
  font-family: "poppins", sans-serif;
  font-weight: bold;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-p2 {
  padding-top: 20px;
}

/*------project section styling------*/

#projectsSection h2 {
  font-family: "poppins";
  text-align: center;
  font-size: 50px;
  font-weight: bold;
  padding-top: 100px;
  color: #0a0045;
}

/*-----project cards styling------*/

.cards {
  margin: 0 auto;
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
  grid-auto-rows: auto;
  gap: 20px;
  font-family: "poppins", sans-serif;
  font-weight: bold;
  text-align: center;
  padding-top: 30px;
  padding-bottom: 50px;
  padding-left: 20px;
  padding-right: 20px;
}

.cards * {
  box-sizing: border-box;
}

.card__image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  border-top: 2px solid #333333;
  border-right: 2px solid #333333;
  border-left: 2px solid #333333;
}

.card__content {
  line-height: 1.5;
  font-size: 0.9em;
  padding: 15px;
  background: #fafafa;
  border-right: 2px solid #333333;
  border-left: 2px solid #333333;
}

.card__content > p:first-of-type {
  margin-top: 0;
}

.card__content > p:last-of-type {
  margin-bottom: 0;
}

.card__info {
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #555555;
  background: #eeeeee;
  font-size: 0.8em;
  border-bottom: 2px solid #333333;
  border-right: 2px solid #333333;
  border-left: 2px solid #333333;
}

.card__info i {
  font-size: 0.9em;
  margin-right: 8px;
}

.card__link {
  color: #0a0045;
  text-decoration: none;
  font-size: 0.9rem;
}

.card__link:hover {
  text-decoration: underline;
}

/*hamburger styling*/

.hamburger {
  width: 350px;
}
.hamburger i {
  display: none;
}
.hamburger-menu {
  z-index: 10;
  position: relative;
  width: 100vw;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0;
  transform: translate(0, 0);
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  transition: none;
}
.hamburger-button {
  display: none;
}

/*contact form section styling*/

body {
  font-family: "poppins", sans-serif;
  font-weight: bold;
  color: #0a0045;
}

header {
  position: relative;
  font-family: "poppins", sans-serif;
  font-weight: bold;
  margin: 100px 0 25px 0;
  text-align: center;
  font-size: 45px;
}

#form {
  position: relative;
  width: 500px;
  margin: 50px auto 70px auto;
  padding-left: 20px;
  padding-bottom: 200px;
  color: black;
  font-family: "poppins", sans-serif;
}

input {
  font-family: "poppins", sans-serif;
  font-weight: bold;
  font-size: 0.875em;
  width: 470px;
  height: 60px;
  padding: 0px 15px 0px 15px;

  background: transparent;
  outline: none;
  color: #000000;

  border: solid 2px #000000;
  border-bottom: none;

  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
}

textarea {
  width: 470px;
  max-width: 470px;
  height: 110px;
  max-height: 110px;
  padding: 15px;

  background: transparent;
  outline: none;

  color: #000000;
  font-family: "poppins", sans-serif;
  font-size: 0.875em;
  font-weight: bold;

  border: solid 2px #000000;

  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
}

#submit {
  width: 470px;

  padding: 0;
  margin: -5px 0px 0px 0px;

  font-family: "poppins", sans-serif;
  font-size: 20px;
  color: #000000;

  outline: none;

  border: solid 2px #000000;
}

#submit:hover {
  color: #000000;
  text-decoration: underline;
  cursor: pointer;
}

/*jump button section styling*/

.jump {
  font-size: 20px;
  font-family: "poppins", sans-serif;
  font-weight: bold;
  color: #0a0045;
}

/*-------contact section-------*/

#contactSection .header-container {
  display: flex;
  justify-content: center;
  font-size: 35px;
}

.contact-container {
  margin: 4rem 0 8rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.contact-container ul {
  padding-left: 0;
  width: 65%;
  max-width: 750px;
}
.contact-container li {
  list-style: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1.875rem;
  display: flex;
  flex-direction: row;
  margin-bottom: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  transition: 0.25s ease-in-out;
  border: solid 2px #000000;
}
.contact-container li:nth-last-of-type(1) {
  margin-bottom: 0;
}

.contact-container a {
  display: flex;
  flex-direction: row;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.contact-container i {
  padding: 10px 0 10px 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.5rem;
}
.contact-container p {
  display: flex;
  flex-grow: 1;
  justify-content: center;
  align-items: center;
}

/*-----footer styling-----*/

.footer {
  text-align: center;
  font-size: 0.625rem;
  font-family: "poppins", sans-serif;
}
