@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700;800&family=Roboto:ital,wght@0,400;0,700;1,400&display=swap");

:root {
  --primary-font-style: "Open Sans", sans-serif;
  --secondary-font-style: "Roboto", sans-serif;
  --primary-text-color: #fff;
  --secondary-text-color: #d73303;
  --third-text-color: #242424;
  background-image: url("./assets/background-cv.webp");
  background-size: cover;
}

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

.container {
  margin: 0 auto;
  max-width: 900px;
  padding: 0 30px;
  display: flex;
  flex-direction: column;
}
.resume {
  margin: 50px 0;
  background-image: none;
}

.photo {
  margin: auto;
  width: 100%;
  max-width: 250px;
  border-radius: 50%;
}

.name {
  font-family: var(--primary-font-style);
  font-weight: 800;
  color: var(--third-text-color);
  font-size: 40px;
  line-height: 1.1;
}

.intro .education-courses {
  padding: 0px 20px;
}

.profession {
  margin-top: 10px;
  font-family: var(--primary-font-style);
  font-weight: 400;
  color: var(--primary-text-color);
  letter-spacing: 3px;
  font-size: 20px;
}
.common-header {
  margin-top: 10px;
  font-family: var(--primary-font-style);
  font-weight: 700;
  color: var(--primary-text-color);
  font-size: 22px;
}

.common-header-secondary {
  margin-top: 10px;
  font-family: var(--primary-font-style);
  font-weight: 700;
  color: var(--primary-text-color);
  font-size: 22px;
}

.common-paragraph {
  font-family: var(--secondary-font-style);
  color: var(--primary-text-color);
  font-weight: 400;
  font-size: 16px;
}

@media (min-width: 675px) {
  :root {
    background-image: none;
  }
  .resume {
    margin: 50px auto;
    border: 1px solid #f5f5f5;
    box-shadow: 1px 1px 7px 7px lightgrey;
    padding: 30px 0;
    max-width: 900px;
    background-image: url("./assets/background-cv.webp");
    background-size: cover;
  }
  .container {
    display: grid;
    grid-template-columns: 45% 55%;
  }
}

.contact-list {
  list-style-type: none;
  margin-left: 20px;
}
.contact-list li {
  display: flex;
  margin-top: 5px;
}

.contact-list li img {
  width: 30px;
  padding: 5px;
  background-color: var(--third-text-color);
  border-radius: 50%;
}

.contact-list li a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--primary-text-color);
  font-family: var(--secondary-font-style);
  font-weight: 400;
  font-size: 16px;
}
.education h3,
.courses h3 {
  margin-bottom: 8px;
}
.courses p {
  margin-bottom: 5px;
}
.left-column-title {
  width: 250px;
  display: flex;
  justify-content: center;
}

.under-title {
  font-family: var(--secondary-font-style);
  color: var(--primary-text-color);
  font-weight: 700;
  font-size: 18px;
}

.secondary-paragraph {
  font-family: var(--secondary-font-style);
  font-style: italic;
  color: var(--primary-text-color);
}

.animated-progress {
  width: 250px;
  height: 11px;
  margin-top: 3px;
  background-color: var(--primary-text-color);
  overflow: hidden;
  position: relative;
}

.animated-progress span {
  height: 100%;
  display: block;
  width: 0;
  color: rgb(255, 251, 251);
  line-height: 30px;
  position: absolute;
  text-align: end;
  padding-right: 5px;
}

.progress-red span {
  background-color: var(--third-text-color);
}

.skills,
.language {
  margin-left: 20px;
}

.container-progress {
  margin-top: 10px;
}

.container-experience {
  margin: 20px 0;
}
.exp-title {
  margin-bottom: 5px;
}

.container-hobbies {
  margin-top: 10px;
  display: flex;
}

.container-hobbies img {
  margin-right: 10px;
}

.technologies {
  margin-top: 4px;
}
