/* General styles */

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

html {
  font-size: 100%;
} /* 16px */

:root {
  --primary-text-color: #fff;
  --secondary-text-color: #2d334a;
  --durability-text-color: #6a737d9c;
  --icon-color: #e3f6f5;
  --border-color: #272343;
  --main-background-color: linear-gradient(
    180deg,
    rgb(3 56 244 / 71%) 33%,
    rgb(224 37 206 / 79%) 83%
  );
  --second-background-color: rgb(196 196 196 / 30%);
  --second-background-color-35: rgb(196 196 196 / 35%);
  --third-background-color: #fffffe;
  --text-background-color: #545454;
  --letter-spacing: 1px;
  --border-radius: 0.5rem;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-weight: 400;
  line-height: 1;
  background: var(--main-background-color);
}

p {
  margin: 0;
  padding-bottom: 15px;
  text-indent: 1.5em;
  text-align: justify;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  font-weight: 400;
  line-height: 1, 5;
  letter-spacing: var(--letter-spacing);
}

h1 {
  font-size: clamp(2rem, 5vw, 5rem); /* Large heading */
}

h2 {
  font-size: clamp(1.5rem, 3vw, 3rem); /* Medium heading */
  text-transform: capitalize;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 2.5rem); /* Small heading */
}

h4 {
  font-size: clamp(1rem, 2vw, 2rem); /* Extra small heading */
}

h5 {
  font-size: clamp(0.875rem, 1.5vw, 1.5rem); /* Tiny heading */
}

.text {
  margin-bottom: 1.5rem;
  max-width: 40em;
}

a {
  text-decoration: none;
  color: var(--primary-text-color);
}

.img {
  width: 100%;
  display: block;
  object-fit: cover;
}

main {
  width: 100%;
}

.resume {
  margin: 10px;
  max-width: 1700px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.about-me-container {
  max-width: 576px;
  display: flex;
  flex-direction: column;
  background-color: var(--second-background-color);
  padding: 10px auto;
  border-radius: var(--border-radius);
  color: var(--primary-text-color);
  width: 100%;
}

.profile {
  display: flex;
  flex-direction: row;
  padding: 15px;
  align-items: flex-start;
}

.name-container {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.avatar {
  width: 110px;
  height: 116px;
  border-radius: 50%;
}

.name-wrapper {
  display: flex;
  flex-direction: column;
  margin-left: 15px;
}

h1 > span {
  font-weight: 200;
  font-size: clamp(1.5rem, 3vw, 3rem);
  color: var(--secondary-text-color);
}

.wrapper {
  display: flex;
  flex-direction: row;
  background-color: var(--second-background-color-35);
  border-radius: var(--border-radius);
  margin: 15px;
  padding: 15px;
}

.center {
  align-items: center;
}

.wrapper img {
  width: 50px;
  height: 50px;
  margin-right: 15px;
}

.intro-container,
.languages-container,
.hobbies-container {
  display: flex;
  flex-direction: column;
  align-items: left;
  justify-content: left;
}

.intro-container h2 {
  text-align: left;
  padding: 10px 0 25px;
}

.social-container {
  display: flex;
  flex-direction: column;
}

.icons {
  width: 30px;
  height: 30px;
  margin-right: 10px;
  margin-top: 15px;
}

.language {
  display: flex;
  flex-direction: row;
  justify-content: left;
  align-items: center;
}

.language img {
  width: 100px;
  padding-left: 20px;
}

section h3 {
  font-weight: 400;
}

.hobbies-container {
  display: flex;
  flex-direction: column;
  border-radius: var(--border-radius);
  margin: 15px;
}

.hobbies-container h3 {
  background-color: var(--second-background-color-35);
  border-radius: var(--border-radius);
  padding: 15px;
}

.hobby-items {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 25px 15px;
}

.hobby img {
  padding-bottom: 10px;
}

.main-container {
  display: flex;
  flex-direction: column;
  background-color: var(--third-background-color);
  border-radius: var(--border-radius);
  margin: 0 20px;
  padding: 10px auto;
  width: 100%;
}

.experience-content,
.education-content,
.skills-wrapper {
  display: flex;
  flex-direction: column;
  padding: 25px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  margin-top: 25px;
}

.title h2 {
  color: var(--primary-text-color);
  background-color: var(--text-background-color);
  padding: 10px;
  border-radius: var(--border-radius);
  text-transform: uppercase;
}

.content-divider::after {
  content: "";
  display: block;
  width: 70%;
  height: 3px;
  background-color: var(--border-color);
  border-radius: var(--border-radius);
  margin: 20px auto;
}

section ul {
  padding: 15px;
  list-style-position: outside;
  list-style-image: linear-gradient(
    to left bottom,
    rgb(3 56 244),
    rgb(224 37 206 / 79%) 83%
  );
}

section li {
  margin-top: 10px;
}

.menu-social ul,
.menu-social li {
  list-style-type: none;
}

.menu-social > ul {
  display: flex;
  flex-direction: row;
}

section h3 span {
  font-weight: 400;
  font-size: 18px;
}

section h4 {
  font-weight: 200;
  color: var(--secondary-text-color);
  font-size: 16px;
  margin-top: 10px;
}

.education-content > h3 {
  margin-top: 25px;
}

.education-content > span {
  font-weight: 400;
  font-size: 18px;
  margin-top: 15px;
  background-color: rgb(224 37 206 / 10%);
  border-radius: var(--border-radius);
  color: var(--secondary-text-color);
  padding: 8px;
}

@media screen and (width <= 760px) {
  .resume {
    display: flex;
    flex-direction: column;
  }

  .about-me-container,
  .main-container {
    margin: auto;
    margin-top: 20px;
    max-width: 576px;
  }
}

@media screen and (width <= 576px) {
  .resume {
    display: flex;
    flex-direction: column;
  }

  .about-me-container,
  .main-container {
    margin: auto;
    margin-top: 20px;
    max-width: 576px;
  }
}
