* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --primary-color: #a053df;
  --primary-color-lighter: #a053df73;
}
html {
  overflow-x: hidden;
  position: relative;
  min-height: 100%;
}
body {
  line-height: 140%;
  font-weight: 400;
  font-family: 'Roboto';
  /* background-color: rgb(243, 244, 246); */
  font-size: 18px;
  line-height: 160%;
}
main {
  width: 60%;
  margin: 25px auto;
  margin-bottom: 250px;
}

/*=== HEADER ===*/

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgb(240, 240, 240);
  padding: 50px;
  box-shadow: -4px -3px 15px 5px rgba(0, 0, 0, 0.35);
}
header,
footer {
  padding: 20px;
  text-align: center;
  background: linear-gradient(
    90deg,
    rgba(249, 183, 59, 1) 0%,
    rgba(135, 5, 241, 1) 100%,
    rgba(0, 212, 255, 1) 100%
  );
}

h1 {
  text-align: center;
  margin: 50px auto;
  color: #260b3c;
  font-weight: bolder;
  text-transform: uppercase;
  font-size: 2.5rem;
  text-transform: uppercase;
  color: #8a20e0;
  background: linear-gradient(to right bottom, #8a20e0, #ffa500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
h2 {
  text-align: center;
  font-weight: lighter;
  font-weight: 500;
  margin: 10px auto;
}

nav {
  display: flex;
}
nav li {
  list-style: none;
  margin-right: 25px;
}
nav li a {
  text-decoration: none;
  font-size: 22px;
  text-transform: uppercase;
  /* color:#410572; */
  font-weight: bold;
}
nav li a i,
.fa-home {
  color: var(--primary-color);
  font-weight: 900;
  color: white;
  font-size: 28px;
}
.fa-heart {
  color: rgb(213, 9, 9);
}
ul.skills {
  display: flex;
  flex-wrap: wrap;
}

.skill {
  list-style: none;
  margin: 10px 10px 10px 0;
  background-color: purple;
  padding: 5px;
  border-radius: 25px;
  color: white;
  min-width: 100px;
  text-align: center;
  font-weight: bold;
}
pre {
  white-space: pre-wrap; /* Since CSS 2.1 */
  white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
  white-space: -pre-wrap; /* Opera 4-6 */
  white-space: -o-pre-wrap; /* Opera 7 */
  word-wrap: break-word; /* Internet Explorer 5.5+ */
}
.home img {
  width: 100%;
}
.btn {
  padding: 12px 0;
  background-color: white;
  margin: 10px 0;
  cursor: pointer;
  border: 2px solid var(--primary-color);
  min-width: 150px;
  max-width: 250px;
  border-radius: 5px;
  transition: background-color 1s;
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
  display: inline-block;
  text-decoration: none;
  color: black;
}
.btn:active,
.btn:focus,
.btn:hover {
  background-color: var(--primary-color);
}
.btn:active,
.btn:focus,
.btn:hover {
  color: white;
  font-weight: 600;
}
button a {
  text-decoration: none;
  color: black;
}

textarea {
  white-space: pre-wrap;
  overflow-wrap: break-word;
}

li a i {
  color: red;
  color: white;
}

input[type='file']::file-selector-button {
  margin-right: 20px;
  border: none;
  background: var(--primary-color);
  padding: 10px 20px;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

input[type='file']::file-selector-button:hover {
  background: var(--primary-color);
}

/* Footer css */
footer {
  position: absolute;
  bottom: 0;
  width: 100%;
}
.footer-wrapper > div a {
  margin: 25px;
}
.footer-wrapper > div > p {
  padding: 25px;
}
.fa-github-square {
  color: #333;
  font-size: 38px;
}

.fa-linkedin {
  color: #2867b2;
  font-size: 38px;
}
.fa-twitter-square {
  color: #00acee;
  font-size: 38px;
}
.footer-arrow {
  text-align: right;
  font-size: 38px;
}
.fa-telegram {
  font-size: 38px;
  color: #0088cc;
}
.footer-arrow i {
  color: hsl(0, 51%, 58%);
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (max-width: 600px) {
  nav {
    display: flex;
    flex-direction: column;
    align-content: flex-start;
  }
  nav li {
    list-style: none;
    margin: 5px auto;
  }
  nav li a {
    font-size: 0.8rem;
  }
  main {
    width: 100%;
    margin: 10px uto;
    padding: 15px;
  }
  h1 {
    margin: 10px auto;
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1rem;
  }
}
