:root {
  --text-dark: #010101;
  --text-light: #ffffff;
  --bg-section: #191919;
  --photo-color1: #042b6b;
  --photo-color2: #043382;
  --icon-contact: #0774bb;

  --font-family: Montserrat, sans-serif;
}

body {
  font-family: var(--font-family);
  color: var(--text-dark);
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

button {
  cursor: pointer;
  font-family: inherit;
}

ul,
ol {
  padding: 0;
  margin: 0;
  list-style-type: none;
}

img {
  display: block;
  height: auto;
}

a {
  text-decoration: none;
}

.list {
  list-style: none;
}

.link {
  text-decoration: none;
}

.container {
  width: 1000px;
  padding-left: 15px;
  padding-right: 15px;
  margin: 0 auto;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
}

.resume {
  position: relative;
  display: flex;
  flex-direction: column;

  height: 100%;
  margin-left: auto;
  margin-right: auto;
}

.resume__columns {
  display: flex;
}

/* -------------------------------resume__contact------------------------------- */

.resume__contact {
  padding: 46px 32px 17px 32px;
  background-color: var(--bg-section);

  display: flex;
  flex-direction: column;
  align-items: center;
  width: 500px;
}

.resume__photo {
  margin-left: auto;
  margin-right: auto;
  border-radius: 50%;
  border: 5px solid var(--photo-color1);
  position: relative;
  z-index: 10;
}

.resume-contact_title {
  font-weight: normal;
  line-height: calc(15 / 12);
  text-align: center;
  color: var(--text-light);

  margin-top: 30px;
  margin-bottom: 30px;
}

.resume-contact_text,
.resume_text {
  font-weight: 300;
  font-size: 16px;
  line-height: calc(15 / 12);
  color: var(--text-light);
}

.resume-contact_text {
  text-align: center;
}

.decorating-list {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 30px;
  color: var(--text-light);
  margin-left: 10px;
}

.decorating-list:last-child {
  margin-bottom: 0;
}

.resume-list {
  margin-top: 30px;
  margin-bottom: 30px;
}

.resume-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.resume-item:last-child {
  margin-bottom: 0;
}

.resume-link {
  display: flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--photo-color2);
  align-items: center;
  justify-content: center;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.resume-link:hover {
  display: flex;
  border-radius: 50%;
  background-color: var(--icon-contact);
}

.resume-icon {
  transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.resume-icon:hover {
  fill: #fff;
}

.resume-contact {
  font-size: 16px;
  line-height: calc(15 / 12);
  text-align: center;
  color: var(--text-light);
}

.resume-decorate-title {
  font-weight: normal;
  line-height: calc(15 / 12);
  text-align: center;
  color: var(--text-light);

  width: 250px;
  padding: 10px 0;
  border-radius: 9999px;
  border: 2px solid var(--photo-color2);

  margin-bottom: 30px;
  margin-right: auto;
  margin-left: auto;
}

/* -------------------------------resume__info------------------------------- */

.resume__info {
  padding: 115px 17px 16px 39px;
}

.info-surname {
  background-color: var(--photo-color1);
  width: 100%;
  height: 130px;
  position: absolute;
  top: 100px;
  z-index: 1;
  box-shadow: 1px 4px 6px 0 rgba(0, 0, 0, 0.4), 0 4px 4px 0 rgba(0, 0, 0, 0.4),
    0 1px 1px 0 rgba(0, 0, 0, 0.4);
}

.resume-main__title,
.resume-info__position {
  position: relative;
  z-index: 2;
}

.resume-info__position {
  color: var(--text-light);
  margin-top: 8px;
}

.resume-main__title {
  font-family: Poppins, sans-serif;
  font-weight: 900;
  font-size: 29px;
  line-height: calc(35 / 29);
  text-align: left;

  color: var(--text-light);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.info-decorate-title {
  font-weight: normal;
  line-height: calc(15 / 12);
  text-align: center;
  color: var(--text-light);

  width: 250px;
  padding: 10px 0;
  border-radius: 9999px;
  border: 1px solid var(--photo-color1);
  background-color: var(--photo-color1);

  margin-bottom: 30px;
  margin-top: 30px;
  margin-left: 20px;

  box-shadow: 1px 4px 6px 0 rgba(0, 0, 0, 0.16), 0 4px 4px 0 rgba(0, 0, 0, 0.06),
    0 1px 1px 0 rgba(0, 0, 0, 0.12);
}

.info-decorate-ed {
  margin-top: 50px;
}

.technical-skills {
  width: 320px;
}

.technical-skills-list {
  display: flex;
}

.technical-skills-list img {
  margin-left: auto;
}

.university-title,
.experience-title {
  line-height: calc(15 / 12);
  margin-bottom: 5px;
}

.education-text {
  margin-bottom: 20px;
}

.experience-title {
  text-align: center;
}

.education-text:last-child {
  margin-bottom: 0;
}

.flex-conteiner {
  display: flex;
  flex-wrap: wrap;
}

.flex-element:hover {
  box-shadow: 1px 4px 6px 0 rgba(0, 0, 0, 0.16), 0 4px 4px 0 rgba(0, 0, 0, 0.06),
    0 1px 1px 0 rgba(0, 0, 0, 0.12);
}

.flex-element {
  width: 290px;
  margin-right: 20px;
  margin-bottom: 20px;
  border: 2px solid var(--icon-contact);
  border-radius: 15px;
  padding: 10px;
  transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.flex-element:nth-child(2n) {
  margin-right: 0;
}

.flex-element:nth-last-child(-n + 2) {
  margin-bottom: 0;
}

.card:hover .card-action {
  opacity: 1;
}

.card-img {
  position: relative;
  overflow: hidden;
  height: 120px;
}

.card:hover .card-action {
  opacity: 1;
}

.card-action-title {
  letter-spacing: 0.03em;
  font-size: 14px;
  line-height: 1.56;
  color: var(--text-light);
  background-color: var(--photo-color2);
  position: absolute;
  overflow: auto;
  top: 0;
  padding: 5px 5px;
  height: 100%;
  transform: translateY(100%);
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1),
    background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover .card-action-title {
  transform: translateY(0);
}

.card-action-title:hover,
.card-action-title:focus {
  color: var(--text-light);
  background-color: var(--photo-color1);
}

.card-action-title::-webkit-scrollbar {
  width: 8px;
}

.card-action-title::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.card-action-title::-webkit-scrollbar-thumb {
  background-color: var(--photo-color1);
  border-radius: 10px;
  border: 2px solid rgba(0, 0, 0, 0.05);
}

.card-action-title::-webkit-scrollbar-thumb:hover {
  background-color: var(--photo-color2);
}

.card-action-title {
  scrollbar-width: thin;
  scrollbar-color: var(--photo-color1) rgba(255, 255, 255, 0.1);
}
