* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-decoration: none;
}
body,
html {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  background: rgb(19, 136, 200);
  background: linear-gradient(
    90deg,
    rgb(164, 162, 194) 6%,
    rgba(0, 212, 255, 0.07466736694677867) 45%
  );
  font-family: "Roboto", sans-serif;
}
h1 {
  display: block;
  font-size: 2em;
  margin-top: 0.67em;
  margin-bottom: 0.67em;
  margin-left: 0;
  margin-right: 0;
  font-weight: bold;
}

h4 {
  display: block;
  font-size: 1em;
  margin-top: 1.33em;
  margin-bottom: 1.33em;
  margin-left: 0;
  margin-right: 0;
  font-weight: bold;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
}
p {
  margin: 1rem 0;
  line-height: 1.5;
}
/*------------------------Header----------------------*/
header {
  background: url("./images/hero_banner.png") no-repeat fixed center
    center/cover;
}
.logo img {
  width: 150px;
  height: 120px;
  margin: 6px;
  border-radius: 5%;
}
.main_nav {
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header .container {
  position: relative;
  padding: 1rem;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
nav {
  margin: 0;
  padding: 0;
  text-align: center;
}

nav a {
  display: block;
  text-decoration: none;
  color: black;
  padding: 0 25px 0 25px;
}

nav a:hover {
  color: #6945ff;
}

nav li {
  font-size: 15px;
  display: inline-block;
  list-style-type: none;
}
header nav ul li a,
a {
  text-decoration: none;
  display: block;
  padding: 0 1rem;
}
#Burger {
  display: none;
}
/*-----------header--------*/
.hero_banner {
  height: 95vh;
  display: flex;
  justify-content: center;
  align-items: center;

  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.hero_banner h2 {
  font-size: 4rem;
  text-transform: uppercase;
  font-weight: 300;
  background-image: linear-gradient(45deg, #1421d1, #473857, #2118a3, #bb1010);
  background-size: 200%;
  background-repeat: repeat;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-background-clip: text;
  -moz-text-fill-color: transparent;
  text-align: center;
  z-index: 1;
  padding: 0 50px;
  line-height: 1.5;
  animation: gradient 7s ease-in-out infinite;
  -webkit-animation: gradient 7s ease-in-out infinite;
  font-family: "Roboto", sans-serif;
}
@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

#hero-banner h1 span {
  display: block;
  font-weight: 500;
}
section {
  min-height: 40vh;
  display: block;
  padding: 3rem;
}
/*----------------Projects-----------------*/
.column {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}
.card {
  background-color: white;
  width: 32%;
  border-radius: 2px;
  border: Gainsboro 1px solid;
  padding: 10px;
}

.card img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.card h4,
.card p,
.card a {
  margin: 20px;
}
/*------------------About me------------------------*/
#about {
  background: lightblue;
}
#about h3 {
  margin-bottom: 20px;
}
#about img {
  float: left;
  margin-right: 2rem;
  width: 200px;
  height: 100px;
}
/*------------------ skill------------------------*/
.skill-items {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 50px;
}

.skill {
  text-align: center;
  padding: 2rem 1.4rem;
  border-radius: 5px;
  background-color: rgb(253, 253, 253);
  box-shadow: 0 0 1px rgb(207, 207, 207);
  margin: 10px;
}

.skill:hover {
  background-color: var(--white-color);
  border: none;
  box-shadow: 5px 5px 10px rgb(207, 207, 207);
}

progress[value] {
  height: 1rem;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}

progress[value]::-webkit-progress-bar {
  background-color: rgb(236, 236, 236);
  border-radius: 2px;
}

progress[value]::-webkit-progress-value {
  background: coral;
  border-radius: 2px;
  background-size: 35px 20px, 100% 100%, 100% 100%;
}

/*--------------------footer------------------------*/
footer {
  background-color: #14203e;
  display: flex;
  padding: 40px 10%;
}

#footerlinks {
  flex: 1;
}

#footerlinks ul {
  padding: 0;
}

#footerlinks ul li {
  display: block;
  text-align: left;
  margin: 20px 0;
}

#footerlinks a {
  color: white;
  text-decoration: none;
}

#footerlinks a:hover {
  color: orange;
  text-decoration: underline;
}

.footerform {
  flex: 1;
  margin-top: 20px;
}

.footerform {
  display: flex;
}

footer h3 {
  color: white;
  font-weight: bold;
  margin-bottom: 20px;
}

footer label {
  color: white;
  width: 200px;
  margin: 10px;
  padding: 10px;
}

footer input {
  display: block;
  margin: 10px;
  width: 100%;
}

button {
  background-color: orange;
  border: none;
  border-radius: 2px;
  padding: 10px;
  margin: 20px 0;
  font-family: "Roboto", sans-serif;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  margin-left: 55%;
}

button:hover {
  background-color: darkorange;
  color: #333;
}

#topBtn {
  display: none;
  position: fixed;
  right: 1em;
  bottom: 1.4em;
}
/* less than 900px */

@media (max-width: 899px) {
  #Burger {
    display: block;
    background-color: transparent;
    color: var(--white-color);
    border: none;
  }
  #Burger .material-icons {
    font-size: 2rem;
  }

  nav ul {
    display: none;
  }

  nav.responsive ul {
    display: block;
    background-color: var(--nav-bg-background);
    position: absolute;
    width: 100%;
    left: 0;
    top: 115px;
    padding: 25px;
    text-align: center;
  }

  nav.responsive ul li {
    display: block;
    text-transform: uppercase;
    font-size: 1.2rem;
  }

  nav.responsive ul li a {
    display: block;
    padding: 1rem 2rem;
  }

  #about {
    display: block;
  }

  #about img {
    width: 100%;
    padding-bottom: 2rem;
  }

  .skill-items {
    display: flex;
    flex-wrap: wrap;
  }

  .skill {
    width: 100%;
    margin-bottom: 30px;
  }

  progress[value] {
    width: 100%;
  }

  form {
    width: 100%;
    text-align: left;
  }

  form label {
    display: block;
    margin-bottom: 0.5rem;
  }

  form input,
  form textarea,
  form button {
    width: 100%;
    margin: 0;
    padding: 5px;
    border-radius: 5px;
  }

  #backToTop {
    bottom: 1rem;
    right: 1rem;
    font-size: inherit;
  }

  footer button {
    background-color: orange;
    border: none;
    border-radius: 5px;
    padding: 10px;
    margin: 20px;
    font-family: "Roboto", sans-serif;
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    width: 100px;
    margin-left: 55%;
  }

  /*footer button {
    border-radius: 5px;
    padding: 0.5rem;
    z-index: 4;
    margin: 20px;
    width: 100px;
    text-align: center;
    margin-left: 50%;
  }*/

  .material-icons {
    font-size: 1rem;
    margin-bottom: 3px;
  }
}

/* less than 576px */

@media (max-width: 576px) {
  .container {
    max-width: 80%;
    margin: 0 auto;
    padding: 30px;
  }

  header .main_nav {
    padding: 1.5rem 3rem;
  }

  nav.responsive ul {
    display: block;
    background-color: var(--nav-bg-background);

    position: absolute;
    width: 100%;
    left: 0;
    top: 99px;
    padding: 50px;
  }

  header nav ul {
    margin-top: 1rem;
  }

  header nav ul li {
    padding: 0.5rem;
    text-transform: uppercase;
  }

  #hero_banner h1 {
    font-size: 2.5rem;
    text-align: center;
    line-height: 1.5;
  }

  #projects,
  #about,
  #skills,
  #footerform {
    padding: 1rem;
  }

  #projects .column {
    display: block;
  }

  #projects .card {
    width: 100%;
    margin-bottom: 1.5rem;
  }

  .skill {
    width: 100%;
    margin-bottom: 30px;
  }

  progress[value] {
    width: 100%;
  }

  #backToTop {
    bottom: 1rem;
    right: 1rem;
    font-size: inherit;
  }

  footer button {
    border-radius: 5px;
    padding: 0.5rem;
  }

  .material-icons {
    font-size: 1rem;
    margin-bottom: 3px;
  }
}
