/*--------------------Base settings--------------------*/
* {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-variation-settings: 'wdth' 100;
  color: #a9a9a9;
}
/*--------------------/Base settings--------------------*/

/*--------------------Body--------------------*/
body {
  background-color: #1d2a35;
}
/*--------------------/Body--------------------*/

/*--------------------Header--------------------*/
.header {
  display: flex;
  position: sticky;
  top: 0;
  justify-content: space-between;
  background-color: #15202b;
  padding: 12.5px 50px 10px 50px;
  border-bottom: #b4b4b4 1px solid;
  z-index: 1000;
}

.header__logo {
  width: 50px;
  border-radius: 5px;
}

.header__text {
  margin-top: 5px;
}
/*--------------------/Header--------------------*/

/*--------------------Content--------------------*/
/* .content {
  display: grid;
  position: relative;
  background-color: #1d2a35;
}

@media (max-width: 768px) {
  .content {
    padding: 0;
    border-left: none;
    border-right: none;
  }
} */

.content__item {
  background-color: #15202b;
  padding: 15px 100px 15px 100px;
  margin: 8px 100px 8px 100px;
  font-size: large;
  text-align: left;
  line-height: 2;
}

.headline {
  /* padding: 7px 7px; */
  font-weight: bold;
  color: #adadad;
}

.content__item p {
  padding: 7.5px;
}

@media (max-width: 768px) {
  .content__item {
    background-color: #15202b;
    padding: 25px;
    margin: 8px 0 8px 0;
    font-size: large;
    /* text-align: left; */
    line-height: 2;
  }
}
/*--------------------/Content--------------------*/

/*--------------------Menu--------------------*/
.menu__icon {
  display: none;
}

@media (max-width: 768px) {
  .menu__icon {
    display: block;
    margin-top: 15px;
    width: 30px;
    height: 18px;
    position: relative;
    z-index: 5;
    cursor: pointer;
  }
  .menu__icon span {
    position: absolute;
    top: calc(50% - 1px);
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #a9a9a9;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
  }
  .menu__icon span:first-child {
    top: 0;
  }
  .menu__icon span:last-child {
    top: auto;
    bottom: 0;
  }
  .menu__icon.active span {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  .menu__icon.active span:first-child {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: calc(50% - 1px);
  }
  .menu__icon.active span:last-child {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    bottom: calc(50% - 1px);
  }
}

@media (max-width: 768px) {
  .menu__body {
    position: absolute;
    top: 0;
    left: -100%;
    height: 100vh;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
  }
}

.menu__body.active {
  left: 0;
}

.menu__list {
  list-style-type: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
}

@media (max-width: 768px) {
  .menu__list {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 30px;
    gap: 0;
    height: 100%;
    width: 60%;
    background-color: #1d2a35;
    overflow: auto;
    /* #f15412 #15202b */
  }
}

.menu__item {
  margin-top: 15px;
  padding: 4px;
  border-radius: 5px;
  text-align: center;
  background-color: #4c6143;
}

.menu__item:hover {
  background-color: #1d2a35;
}

.menu__link {
  color: #a9a9a9;
  text-decoration: none;
}

@media (max-width: 768px) {
  .menu__link {
    display: block;
    font-size: 30px;
    line-height: 70px;
  }
}

/*--------------------/Menu--------------------*/

/*--------------------Skills--------------------*/
.skills__list {
  display: flex;
  position: relative;
  list-style-type: none;
  /* border: 0.5px solid; */
}

.skills__text,
.skills__text-year {
  padding: 7.5px;
  border-bottom: 0.5px solid;
  /* margin: 10px; */
  /* border-radius: 10px;
  background: linear-gradient(#4c6143, #4c9300); */
}
.skills__text-year {
  text-align: center;
}

/*--------------------/Skills--------------------*/

/*--------------------Contacts--------------------*/
.contacts__list {
  display: grid;
  position: relative;
  /* border: 1px solid; */
  justify-content: flex-start;
  /* padding: 10px; */
  /* margin: 10px; */
  gap: 5px;
  list-style-type: none;
}

.contacts__item {
  justify-content: flex-start;
}

.contacts__link {
  padding: 5px;
  text-decoration: none;
}

.contacts__link:hover {
  border-radius: 5px;
  background-color: #4c6143;
}
/*--------------------/Contacts--------------------*/

.profile__about-me {
  padding-left: 25px;
  padding-right: 25px;
  font-size: large;
  text-align: left;
  line-height: 2;
  box-shadow: 2px 2px 4px 4px #4c6143;
}

.experience__hr {
  margin: 0 10px 0 10px;
}

.experience__table {
  display: flex;
  padding: 20px;
}

.experience__date {
  padding-right: 10px;
}

.description__company_name,
.description__position,
.description__city {
  padding-bottom: 10px;
  font-weight: bold;
}

.description__preface {
  padding-bottom: 5px;
}
.development {
  margin-left: 10px;
  line-height: 2;
}
.development__used {
  padding: 10px;
}
.development__used-list {
  margin-left: 20px;
}

.footer {
  justify-content: center;
  text-align: center;
  background-color: #15202b;
  padding: 10px;
  border-top: #b4b4b4 1px solid;
}

/* @media (min-device-width: 320px) and (max-device-width: 768px) {
  .header {
    display: grid;
    grid-template-columns: 200px;
  }

  .header__phone_number,
  .header__telegram,
  .header__github {
    margin-left: 25px;
    margin-right: 0;
    margin-bottom: 10px;
    padding: 10px;
  }

  .content {
    padding: 0;
    border-left: none;
    border-right: none;
  }

  .profile__about-avatar {
    margin-right: 0;
    justify-content: center;
  }

  .profile__about-avatar_img {
    height: auto;
    width: 150px;
    margin-right: 0;
    border-radius: 100%;
    margin: 30px;
  }

  .profile__about {
    display: grid;
    padding: 0;
    margin-bottom: 10px;
  }

  .profile__about-me {
    margin-left: 20px;
    margin-right: 20px;
    font-size: large;
    text-align: none;
    line-height: 2;
    box-shadow: none;
  }

  .experience__total {
    margin: 10px;
    font-size: large;
  }

  .experience__table {
    margin-left: 20px;
    margin-right: 20px;
  }

  .experience__date,
  .description {
    margin: 5px;
  }
}

@media (min-device-width: 768px) and (max-device-width: 1024px) {
  .content,
  .experience__table {
    margin-left: 25px;
    margin-right: 25px;
  }

  .profile__about-avatar_img {
    height: auto;
    width: 150px;
    margin: 20px;
  }

  .experience__total {
    margin: 10px;
    font-size: large;
  }

  .experience__date,
  .description {
    margin: 5px;
  }
}
/* and (max-device-width: 1600px) *-/
@media (min-device-width: 1024px) {
  .header__phone_number {
    margin-left: 25px;
  }

  .content,
  .experience__table {
    margin-left: 100px;
    margin-right: 100px;
  }

  .profile__about-avatar_img {
    height: auto;
    width: 150px;
    margin: 20px;
  }

  .experience__total {
    margin: 10px;
    font-size: large;
  }

  .experience__date,
  .description {
    margin: 5px;
  }
} */
/* ----------------------------------- */
/* @media (min-device-width: 1920) {
  .content {
    width: 100%;
    padding: 15px;
    border-left: #ffff 100px solid;
    border-right: #ffff 100px solid;
  }

  .profile__about-avatar {
    margin-right: 0;
    justify-content: center;
  }

  .profile__about-avatar_img {
    visibility: hidden;
    height: auto;
    width: 150px;
    margin-right: 0;
    justify-content: center;
    border-radius: 100%;
    margin: 25px;
    margin-bottom: 25px;
    box-shadow: 4px 4px 8px 8px rgba(0, 0, 0, 0.5);
  }

  .profile__about {
    display: grid;
    margin-left: 10px;
    margin-right: 20px;
    padding: 0;
    margin-bottom: 10px;
  }

  .profile__about-me {
    padding-left: 25px;
    padding-right: 25px;
    font-size: large;
    text-align: none;
    line-height: 2;
    box-shadow: none;
  }

  .experience__table {
    display: grid;
    padding-left: 25px;
    padding-right: 50px;
    padding: 20px;
  }

  .experience__date {
    padding-right: 25px;
    padding-bottom: 25px;
  }
} */
