@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&family=Silkscreen:wght@400;700&display=swap");
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style-type: none;
  font-family: "Poppins";
}

body {
  background-image: linear-gradient(to left, #c7a68b, beige);
}

.header {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
  background-image: linear-gradient(to right, aquamarine, beige);
  width: 100%;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1000;
}

.logo {
  display: block;
  text-align: center;
  font-family: "Silkscreen";
  font-size: 30px;

  -webkit-animation: colorchange 20s infinite alternate;
}

.logo-and-nav a {
  text-decoration: none;
  color: black;
}
.nav1 li {
  display: inline;
  padding: 0 10px;
}

.nav1 li a {
  font-family: "Silkscreen";
}

.nav1 {
  text-align: center;
}

.photo1 {
  display: block;
  margin: 55px auto;
  border-radius: 50%;
}

.text1 {
  text-align: center;
  line-height: 300%;
}

.text1 p {
  line-height: normal;
  padding: 0 50px;
}

.container {
  text-align: center;
  margin-top: 20px;
}

.button {
  border: none;
  border-radius: 6px;
  cursor: pointer;
  background-image: linear-gradient(to left, #26caf8, #27d86c, #26caf8);
  padding: 12px 48px;
  color: white;
  background-size: 200%;
  transition: 0.6s;
}

.button:hover {
  background-position: right;
}

.about {
  padding-top: 200px;
}

.about h1 {
  text-align: center;
}

.about .photo2 {
  display: block;
  margin: 55px auto;
  border-radius: 50%;
}

.about p {
  padding: 0 50px;
}

.about .all-justifications {
  display: flex;
  justify-content: space-between;
  padding: 0 505px;
  text-align: center;
}

.about .all-justifications .justifications span {
  display: block;
}

.about .all-justifications .justifications1 span {
  display: block;
}

.container1 {
  text-align: center;
  margin-top: 30px;
}

.skills {
  margin-top: 200px;
}

.skills h1 {
  text-align: center;
}

.skills p {
  margin-top: 50px;
  padding: 0 50px;
}

.projects {
  margin-top: 200px;
}

.projects h1 {
  text-align: center;
}

.projects p {
  margin-top: 50px;
  padding: 0 50px;
}

.contact-me {
  margin-top: 200px;
}

.contact-me h1 {
  text-align: center;
}

.contact-option {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  display: inline-block;
}

.contact-option .contact-option1 p {
  display: flex;
  flex-direction: column;
}

.contact-option .contact-option1 .location {
  white-space: nowrap;
}

.contact-option1 {
  position: relative;
  left: 280%;
}

.icon {
  font-size: 30px;
  float: left;
  margin-top: 2px;
  margin-right: 10px;
  background: -moz-linear-gradient(top, #26caf8 0%, #27d86c 100%);
  background: -webkit-linear-gradient(top, #26caf8 0%, #27d86c 100%);
  background: linear-gradient(to bottom, #26caf8 0%, #27d86c 100%);
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.container2 {
  width: 100%;
}

.container2 .photo3 {
  border-radius: 50%;
  margin-left: 80px;
  width: 500px;
  height: 500px;
  float: left;
}

.contact-box {
  margin-top: 200px;
  position: relative;
  display: inline;
  left: 10%;
}

.contact-box input {
  margin-bottom: 10px;
  width: 500px;
  border: none;
  background-color: #dcdcdc;
  outline: none;
}

.contact-box .name {
  margin-top: 150px;
}

.contact-box textarea {
  width: 500px;
  height: 50px;
  border: none;
  background-color: #dcdcdc;
  outline: none;
}

.contact-box form {
  display: inline-block;
  position: relative;
  top: 40px;
  right: 505px;
}

.contact-box .button {
  width: 200px;
}

.footer-content {
  margin-top: 200px;
  color: white;
  background-color: #333;
  border: 1px solid #333;
  text-align: center;
  padding: 30px 0;
}

/*mobile version*/

@media (min-width: 800px) and (max-width: 1200px) {
  .photo3 {
    display: none;
  }
}

@media (max-width: 550px) {
  .nav1 li {
    padding: unset;
    padding: 3px;
  }
  .nav1 li a {
    font-size: 15px;
  }

  .home .text1 h3 {
    font-size: 16px;
  }

  .container {
    margin-top: 18px;
  }

  .text1 p {
    text-align: justify;
  }

  .about {
    margin-top: unset;
  }

  .about p {
    text-align: justify;
  }

  .about .all-justifications {
    display: unset;
    padding: unset;
    text-align: center;
  }

  .about .all-justifications .justifications span:first-child {
    margin-top: 50px;
  }

  .about .all-justifications .justifications1 span:first-child {
    margin-top: 50px;
  }

  .skills p {
    text-align: justify;
  }
  .projects p {
    text-align: justify;
  }

  .contact-option1 {
    top: unset;
    left: unset;
    left: 10%;
  }

  .container2 .photo3 {
    float: unset;
    margin-left: unset;
    margin-top: unset;
    margin-left: 10%;
    width: 300px;
    height: 300px;
  }

  .contact-box {
    margin-top: unset;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-option .contact-option1 .location {
    margin-bottom: 20px;
  }
  .contact-box input {
    width: unset;
    width: 200px;
  }

  .contact-box input:first-child {
    width: unset;
    width: 200px;
    margin-top: 20px;
  }
  .contact-box textarea {
    width: unset;
    width: 300px;
  }

  .contact-box form {
    top: unset;
    right: unset;
  }

  .footer-content {
    margin-top: 50px;
  }
}
