@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Montserrat:wght@300;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&display=swap');
:root {

  --white: #ffffff;
  --dark:rgb(90, 90, 90);
  --color1: #3d063b;
  --color2: #4995a4;
  --color3: rgb(253, 205, 230) ;
  --mesh: background: rgb(61,6,59); background: linear-gradient(170deg, rgba(61,6,59,1) 0%, rgba(73,149,164,1) 100%);
  
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  text-decoration: none;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: lighter;
  width: 100%;
  /* background-color: var(--mesh); */
  color: var(--white) ;
}

/*header*/

/* .nav-bar-list {
  list-style: none;
  font-size: small;

}

.nav-bar-list li {
  float: left;
  background: transparent;
} */

/* .nav-bar-list li a {
  display: block;
  color: var(--white);
  text-align: center;
  padding: 10px 16px;
  background: linear-gradient(currentColor 0 0) bottom / var(--d, 0) 1px
    no-repeat;
  transition: 0.5s;
} */

/* li a:hover {
  --d: 100%;
} */

#header {
  height: auto;
  font-size: 1.5em;
  background: transparent;
  color: var(--white);
  /* display: flex;
  align-items: center;
  justify-content: space-around; */
  padding: 20px;
}

/* .logo-container {
  display: flex;
  align-items: center;
  font-weight: lighter;
  
} */
/* end header */


/* animation */ /* welcome */

h1 {
  font-size: 3em;
  margin: 0.4em 0;
  font-family: 'Abril Fatface', sans-serif;
}
h2 {
  font-size: 2em;
}
.me-container {
  position: relative;
  text-align: center;
  height: 250px;
  /* background-color: var(--highlight); */
}
.me {
  position: absolute;
  top: 50%;
  left: 70%;
  transform: translate(-50%, -50%);
}
/* end welcome *//* end of animation */

/* aboutme */
#about-me {
  margin: auto;
  padding: 40px;
  width: 60%;
  display: block;
}

#about-me ul {
  margin: auto;
}

#about-me > ul > li {
  font-weight: lighter ;
  margin-top: 15px;
  margin-bottom: 5px;
}
/* end aboutme */

/* projects */
#projects {
  margin: auto;
  align-items: center;
  margin-top: 50px;
  height: auto;
  width: 50%;
}

.product {
  border: 0;
  margin: 15px 0;
  /* background-color: var(--color2); */
  padding: 10px 15px;
}

.product h3 {
  bottom: 8px;
  right: 16px;
  text-align: end;
  font-weight: lighter;
  
}

.product , img {
  height: auto;
}

.product > a {
  color: var(--white);
}

/* .product > button {
  border: 0;
  margin: 15px 0;
  background-color: hsla(28,100%,74%,1);
  font-weight: 400;
  padding: 10px 15px;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
} */

.product:hover {
  opacity: 60%;
  
}
/*end projects*/

/* footer */
footer {
  background-color: var(--color2);
  padding: 2rem;
  text-align: center;
  color: var(--white);
}
footer > div > a {
  color: var(--white);
}

footer > div > a:hover {
  opacity: 60%;
  
}

.gh-logo {
  display:inline-flex;
  margin-left: 10px;
}
.gh-logo svg {
  margin-left: 10px;
}

/* end footer */
@media (max-width: 1768px) {

}

@media (max-width: 768px) {

  h1 {
    font-size: 2em;
  }
  .me-container {
    margin-top: 30px;
  }

  #header {
    display: block;
  }

  .logo-container {
    align-items: center;
    padding: 10px;
  }
  .nav-bar-list li {
    width: 33.3%;
    text-align: center;
  }

  .product {
    margin: 0 auto;
    margin-bottom: 10px;
  }
#projects {
  width: 90%;
}
  #welcome {
    width: 100%;
  }

  #about-me {
    width: 90%;
  }
}

/* backgorund test */
.mydiv {
  background: linear-gradient(150deg, #fff102,  #f10271, #00c298);
  background-size: 400% 300%;
  animation: BgGradient 5s ease infinite;
}

@keyframes BgGradient {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}