@import url('https://fonts.googleapis.com/css2?family=Nunito&display=swap');

/* for page errors */
h1 {
  color: white;
}

pre {
  color: white;
}

body {
  background-color: rgb(0, 0, 0);
  padding: 50px;
  font-family: 'Nunito', sans-serif;
  background-image: url(/images/logo-copy.svg);
  background-repeat: no-repeat;
  background-position: 900px 150px;
  background-size: 50%;
}

a {
  /* color: #00B7FF; */
  text-decoration: none;
}

/* main color scheme for logo -  3f3f3f */

/* styling for list fonts*/
nav ul li {
  font-family: 'Nunito', sans-serif;
  font-size: 18px;
  padding: 4px;
}

nav li {
  transition: 1s ease;
}

nav li:hover {
  transform: scale(1.2);
  margin: 0 1em;
  transition: 0.5s ease;
}


/* New grid based home page layout */
.home-section {
  display: grid;
  grid-template-areas:
    "img text1"
    "img text2"
    "img text3"
    "img text4"
    "img links";
  color: white;
  margin: none;

}

.home-section figure {
  grid-area: img;
  margin-right: 2em;

}

.home-section figure img {
  width: auto;
  height: 300px;
  padding: 10px;

}

.home-section>h3 {
  grid-area: text1;
  margin-top: 40px;
}


.home-section h1 {
  grid-area: text2;

}

.home-section p:nth-child(4) {
  grid-area: text3;
}

.home-section p:nth-child(5) {
  grid-area: text4;
}

.home-section>div {
  grid-area: links;
}

.home-section>div>a>img {
  width: auto;
  height: 40px;
  margin: 5px;
}

.home-section>div>a>img:hover {
  filter: brightness(60%);
}

.home-section-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 85%;

}

.home-section p i {
  color: rgb(116, 29, 29);
}

.home-section p:nth-child(4) i {
  font-weight: bold;
  font-size: 16px;
}


/* //for about page  */
.about-section {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: start;
  margin: 6em;
  padding: 10px;
  color: white;
  font-size: 16px;
}

.about-section h1 {
  text-align: center;
  font-size: 3em;
  font-weight: bold;
  width: 100%;
  margin: 30px 0;
  cursor: pointer;

}

.about-section>a {
  color: rgb(116, 29, 29);
  padding: 5px;
}

.about-section>a>img {
  width: 50px;
  height: 50px;
  padding: 5px;
}

/* skills page style  */

.skills-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin: 6em;
  font-size: 16px;
  position: relative;
  min-height: 80%;
}

.skillHead {
  font-weight: bold;
  font-size: 3em;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 150px;
  margin-bottom: -130px;
}

.skills-section li {
  display: inline-block;
  position: absolute;

}

.skills-section li:nth-child(1) {
  top: 150px;
  left: 550px;
}

.skills-section li:nth-child(2) {
  top: 200px;
  left: 700px;
}

.skills-section li:nth-child(3) {
  top: 250px;
  left: 600px;
}

.skills-section li:nth-child(4) {
  top: 300px;
  left: 800px;
}

.skills-section li:nth-child(5) {
  top: 350px;
  left: 700px;
}

.skills-section li:nth-child(6) {
  top: 400px;
  left: 550px;
}

.skills-section li:nth-child(7) {
  top: 450px;
  left: 750px;
}

.skills-section li:nth-child(8) {
  top: 500px;
  left: 650px;
}

.skills-section li:nth-child(9) {
  top: 550px;
  left: 800px;
}

.skills-section li:nth-child(10) {
  top: 430px;
  left: 850px;
}

.list-items {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
}

.list-items span {
  margin: 10px;
}

/* works */

.work {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 6em 0 2em 0;
  color: #fff;
  font-size: 16px;
}

.work h1 {
  font-weight: bold;
  font-size: 3em;
  margin: 30px 0;
}

.work-section figure img {
  width: auto;
  height: 300px;
  filter: brightness(90%);
  transition: 1s ease;
}

.work-section figure img:hover {
  transform: scale(1.1);
  transition: 0.5s ease;
}

.work-section {
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2em;
}

.work-section div h2 {
  text-align: center;
  padding: 10px;
}

.work-section div {
  margin: 1em 3em;
}

/* contacts */
.contact {
  color: white;
  margin: 6em 11em;
}

.contact h2 {
  font-weight: bold;
  margin: 30px 0;
}

.contact #inputAddress {
  width: 12em;
}

.contact button {
  color: white;
  background-color: rgb(91, 15, 15);
  border: none;
}

.contact button:hover {
  background-color: rgba(55, 7, 7, 0.601);
  color: white;
}

.footer div:nth-child(1) {
  display: flex;
  flex-direction: column;
  position: fixed;
  bottom: 0;
  right: 10;
  color: white;
  margin: 10px;
  font-size: 11px;
  padding: 5px 10px;
}

.footer div:nth-child(2) {
  position: fixed;
  right: 90;
  bottom: 65;

}

.footer div:nth-child(2) img {
  width: auto;
  height: 25px;
}

.footer div:nth-child(2) img:hover {
  filter: brightness(50%);
}

.footer>div:nth-child(1)>p {
  margin-left: 50px;
  margin-bottom: 5px;
}

.footer ul li {
  display: inline-block;
  text-decoration: underline;
  padding: 3px 6px;
}




/* Breakpoint	Class infix	Dimensions
X-Small	None	<576px
Small	sm	≥576px
Medium	md	≥768px
Large	lg	≥992px
Extra large	xl	≥1200px
Extra extra large	xxl	≥1400px */

@media only screen and (max-width: 576px) {
  body {
    margin: 10px;
    padding: 20px;
    background-image: url(/images/logo-copy.svg);
    background-position: 50px 200px;
    background-size: 800px;
  }

  nav li {
    transition: 0.5s ease;
  }

  nav li:hover {

    transition: 0.5s ease;
  }

  nav img {
    width: auto;
    height: 60px;
  }

  #navbarNav>ul>li {
    font-size: 15px;
  }

  .home-section {
    display: grid;
    grid-template-areas:

      "text1"
      "text2"
      "text3"
      "img"
      "text4"
      "links";
    margin: none;

  }

  .home-section figure {
    grid-area: img;

  }

  .home-section>h3 {
    grid-area: text1;
    margin-top: 3em;
  }


  .home-section h1 {
    grid-area: text2;

  }

  .home-section p:nth-child(4) {
    grid-area: text3;
  }

  .home-section p:nth-child(5) {
    grid-area: text4;
  }

  .home-section>div {
    grid-area: links;
  }

  .home-section-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90%;
  }

  .home-section figure {
    height: 250px;
  }

  .home-section figure img {
    width: auto;
    height: 200px;
  }

  body h1,
  .container h1,
  .container-fluid h1,
  .about-section h1,
  .skills-section h1 {
    font-size: 26px;
  }

  body h2,
  .container h2,
  .container-fluid h2,
  .work-section h2 {
    font-size: 19px;
  }

  body h3,
  .container h3,
  .container-fluid h3 {
    font-size: 17px;
  }

  .container p,
  .container-fluid p {
    font-size: 15px;
  }

  .work {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 4em 0 2em 0;
  }

  .work-section {
    margin: 0;
    padding: 0;
  }

  .work-section div figure img {
    width: 100%;
    height: 180px;

  }

  .work-section div {
    width: auto;
  }

  .work-section p {
    font-size: 11px;
  }

  /* about section style  */
  .about-section {
    margin: 0;
    padding: 0;
  }

  .about-section>p {
    font-size: 11px;
  }

  .about-section {
    margin-top: 3em;
  }

  /* for the skills responsiveness */
  .skills-section {
    position: relative;
    margin: 0;
    padding: 0;
    margin: 1em;
  }

  .skills-section h1 {
    display: flex;
    justify-content: center;
    text-align: center;
  }


  .skills-section li {
    display: inline-block;
    position: absolute;
    font-size: 11px;
    width: 40px;
    height: 40px;

  }

  .skills-section li img {
    height: 30px;
    width: 30px;

  }

  .skills-section li:nth-child(1) {
    top: 150px;
    left: 10px;
  }

  .skills-section li:nth-child(2) {
    top: 230px;
    left: 10px;
  }

  .skills-section li:nth-child(3) {
    top: 310px;
    left: 10px;
  }

  .skills-section li:nth-child(4) {
    top: 390px;
    left: 10px;
  }

  .skills-section li:nth-child(5) {
    top: 390px;
    left: 260px;
  }

  .skills-section li:nth-child(6) {
    top: 230px;
    left: 90px;
  }

  .skills-section li:nth-child(7) {
    top: 310px;
    left: 90px;
  }

  .skills-section li:nth-child(8) {
    top: 310px;
    left: 180px;
  }

  .skills-section li:nth-child(9) {
    top: 390px;
    left: 90px;
  }

  .skills-section li:nth-child(10) {
    top: 390px;
    left: 180px;
  }

  /* style for contacts */
  .contact {
    margin: 30px;
    padding: 0;
  }

  .contact input {
    width: auto;
    height: 30px;
  }

  .contact textarea {
    width: auto;
    height: 100px;
  }

  footer {
    opacity: 0.8;
  }
}