/* VARIABLES */

:root {
  --body-bg-color: #161616;
  --bg-info: #121214;
  --purple-color: #837e9f;
  --bg-techs: #cb92b1;
  --main-font: 'Merriweather Sans', sans-serif;
}

/* SCROLL BAR */

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--body-bg-color);
}

::-webkit-scrollbar-thumb {
  background: var(--purple-color);
  border-radius: 10px;
}

/* CSS RESET */

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

body {
  font-family: var(--main-font);
  background-color: var(--body-bg-color);
  color: var(--purple-color);
  padding: 20px;
}

article {
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.046);
}

section:not([class='studying'], [class='interested']) {
  background-color: var(--bg-info);
  border-radius: 10px;
  margin-bottom: 16px;
  padding: 35px 0px;

  text-align: center;
}

article {
  background-color: var(--bg-info);
  border-radius: 10px;
  margin-bottom: 16px;
  padding: 35px 0px;
}

/* PROFILE */


.profile img {
  min-height: 220px;
  max-height: 400px;
  width: 70%;
  border-radius: 100rem;
  min-width: 210px;
  max-width: 400px;
 
  
  border: 2px solid rgb(34, 255, 82);
}

h1 {
  margin: 35px 0 15px;
  font-size: 1.1rem;
}

.profile p {
  font-weight: 400;
  font-size: 0.8rem;
}

/* EXTRA INFO */

.links {
  display: flex;
  justify-content: center;
}

.links li,
.studying li,
.interested li {
  list-style: none;
  font-size: 0.7rem;
}

.links li {
  margin: 15px 0px;
}

.links li,
a {
  text-decoration: none;

  display: flex;
  align-items: center;
  gap: 20px;
}

.links a:link {
  color: var(--purple-color);
}

.links a:visited,
.projects-cards a:visited {
  color: var(--purple-color);
}

.icons {
  width: 8vw;
  max-width: 28px;
}

/* ABOUT */

.about {
  display: flex;
  flex-direction: column;
  justify-content: center;

}

.about h2 {
  text-align: left;
  margin-left: 25px;
}

.about p {
  margin: 25px 25px;
  font-size: 0.75rem;
  font-weight: 400;

  line-height: 2;
}


/* TECHNOLOGIES */

.studying,
.interested {
  background-color: var(--bg-info);
  border-radius: 10px;
  margin-bottom: 16px;
  padding: 35px 0px;
}

.studying ul,
.interested ul {
  margin-top: 18px;

  display: grid;
  grid-gap: 15px;
  grid-template-columns: repeat(2, 1fr);
}

.studying li,
.interested li {
  background-color: var(--bg-techs);
  border-radius: 30px;
  padding: 6px 9px;
  color: black;
  font-weight: 700;
  font-size: 0.625rem;
  text-align: center;
  width: 100%;
  max-width: 150px;
}

.studying h2,
ul,
.interested h2,
ul {
  margin: 0px 17px;
}

/* MEDIAS */

@media (min-width: 540px) {
  .studying ul,
  .interested ul {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  main {
    display: grid;
    grid-template-columns: 1fr 4fr;
    column-gap: 16px;
    grid-template-areas:
      'profile about'
      'links about'
      'studying about'
      'interested about';
  }

  .profile {
    grid-area: profile;
  }

  .links {
    grid-area: links;
  }

  .about {
    grid-area: about;
    height: 380px;
  }

  .studying {
    grid-area: studying;
  }

  .interested {
    grid-area: interested;
  }

  .about p {
    font-size: 0.9rem;
  }

  .studying ul,
  .interested ul {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 7000px) {
  .profile h1 {
    font-size: 1.4rem;
  }

  .profile p {
    font-size: 1rem;
  }

  .about p {
    font-size: 1rem;
    line-height: 2.5;
  }

  .interested ul {
    grid-template-columns: repeat(3, 1fr);
  }

  .studying li,
  .interested li {
    font-size: 0.7rem;
  }
}

@media (min-width: 1920px) {
  .links li {
    font-size: 0.9rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  .about p {
    font-size: 1.1rem;
  }

  .interested ul {
    grid-template-columns: repeat(3, 1fr);
  }
}