body {
  font-family: "Montserrat", sans-serif;
  background-color: #f3f5f9;
}

.wrapper {
  display: flex;
  flex-direction: row;
  width: 1200px;
  margin: 0px auto;
  padding-top: 90px;
  justify-content: space-between;
  position: relative;
}

/* Contacts */
.contacts-section {
  position: absolute;
  top: 30px;
  right: 0px;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.telegram-icon {
  width: 20px;
  height: 20px;
  margin-right: 15px;
}

.viber-icon,
.phone-icon {
  width: 18px;
  height: 18px;
  margin-right: 15px;
}
.phone-number {
  margin-right: 15px;
  font-weight: bold;
  font-size: 16px;
  line-height: 24px;
  color: #333333;
  text-decoration: none;
}

/* the first block */
.experience-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 33%;
}

.my-photo {
  margin-bottom: 15px;
  object-fit: cover;
  width: 268px;
  height: 268px;
  border-radius: 50%;
}

/* working with icons */
.linkedln-icon {
  margin-right: 20px;
}
.linkedln-icon,
.facebook-icon,
.js-icon,
.nodejs-icon,
.react-icon {
  height: 24px;
  width: 24px;
}
.react-icon {
  margin-left: 20px;
  margin-right: 20px;
}

.social-link {
  text-decoration: none;
}

.experience-text {
  text-align: center;
  margin-top: 32px;
  margin-bottom: 45px;
  font-size: 16px;
  line-height: 24px;
}
.experience-first {
  margin-bottom: 8px;
}
/* my works */
.my-works {
  font-style: normal;
  font-weight: bold;
  font-size: 16px;
  line-height: 24px;
  text-decoration-line: underline;
  color: #eb5757;
  margin-top: 45px;
}

/* About me section */
.about {
  margin-left: 25px;
  margin-right: 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 33%;
}
.name {
  font-weight: bold;
  font-size: 16px;
  line-height: 24px;
  color: #333333;
  margin-bottom: 30px;
}
.profession {
  font-weight: bold;
  font-size: 48px;
  line-height: 48px;
  color: #333333;
  margin-bottom: 25px;
}
.location,
.workstyle {
  font-weight: bold;
  font-size: 24px;
  line-height: 24px;
  color: #fffcfc;
  background-color: #2f80ed;

  padding: 5px 15px;
}
.description {
  margin-top: 95px;
  font-size: 16px;
  line-height: 24px;
  color: #4f4f4f;
}
.skills-title {
  font-weight: bold;
  font-size: 16px;
  line-height: 24px;
  display: flex;
  align-items: center;
  color: #333333;
  margin-top: 16px;
  margin-bottom: 16px;
}
.skills-list {
  list-style: disc;
  padding-left: 21px;
  color: #2f80ed;
}
.skills-item {
  font-weight: normal;
  font-size: 16px;
  line-height: 24px;
  color: #4f4f4f;
  margin-bottom: 5px;
}

/* Calculator */
.calculator {
  width: 33%;
}

.price-form {
  background-color: #ffffff;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 40px;
}

.calculator-title {
  font-weight: bold;
  font-size: 16px;
  line-height: 24px;
  color: #2f80ed;
  margin-bottom: 50px;
  text-align: center;
}

.select-field {
  display: flex;
  flex-direction: column;
}

.form-title {
  font-weight: bold;
  font-size: 16px;
  line-height: 24px;
  color: #333333;
  margin-bottom: 20px;
}
.project-type-select {
  font-size: 16px;
  line-height: 24px;
  color: #4f4f4f;
  border: none;
  outline: none;
  border-bottom: 1px solid #4f4f4f;
  padding-bottom: 9px;
  font-family: "Montserrat", sans-serif;
}

/* Activities */
.activity-list {
  display: flex;
  flex-direction: column;
}

.activity-list-title {
  font-weight: bold;
  font-size: 16px;
  line-height: 24px;
  color: #333333;
  margin-bottom: 28px;
  margin-top: 32px;
}

.activity-type {
  padding-bottom: 15px;
  font-size: 16px;
  line-height: 24px;
  color: #4f4f4f;
  display: flex;
  flex-direction: row;
}

.activity-type-title {
  margin-left: 15px;
  font-size: 16px;
  line-height: 24px;
  color: #4f4f4f;
}

.checkbox {
  width: 18px;
  height: 18px;
}

.project-price-title {
  margin-top: 5px;
  margin-bottom: 16px;
  font-weight: bold;
  font-size: 16px;
  line-height: 24px;
  color: #333333;
}

.price {
  font-size: 16px;
  line-height: 24px;
  color: #4f4f4f;
  margin-bottom: 32px;
}

.dollar {
  font-weight: bold;
  font-size: 16px;
  line-height: 24px;
  color: #2f80ed;
  margin-right: 5px;
}

.button {
  font-weight: bold;
  font-size: 16px;
  line-height: 24px;
  color: #ffffff;
  padding: 12px 32px;
  background: #2f80ed;
  border-radius: 24px;
  outline: none;
  border: none;
  cursor: pointer;
}

.button-container {
  width: 100%;
  text-align: center;
}

/* Modal Window 1 */
.modal-active {
  pointer-events: all;
  opacity: 1;
}

.modal-bgd {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: rgb(51 51 51 / 90%);
  display: flex;
  align-items: center;
  justify-content: center;

  transition: opacity 0.3s ease-in-out;
}

.modal-opacity {
  pointer-events: none;
  opacity: 0;
}

.modal-container {
  background-color: #ffffff;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 110px 40px;
  width: 364px;
  height: 604px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  position: relative;
}
.modal-title {
  font-weight: bold;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  margin-bottom: 35px;
  color: #2f80ed;
}
.user-email-title {
  font-weight: bold;
  font-size: 16px;
  line-height: 24px;
  color: #333333;
  margin-bottom: 15px;
  width: 100%;
}
.modal-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.email-input-container {
  margin-bottom: 115px;
  margin-top: 10px;
}

.email-error-text {
  font-size: 16px;
  line-height: 24px;
  color: #eb5757;
  margin-top: 10px;
}

.email-input-container-not-error .email-error-text {
  display: none;
}

.email-input-container-error .email-error-text {
  display: block;
}

.email-input-container-error .user-email {
  border-bottom: 1px solid #eb5757;
}

.user-email {
  width: 100%;
  font-family: "Montserrat", sans-serif;
  outline: none;
  border: none;
  border-bottom: 1px solid #4f4f4f;
  padding-bottom: 10px;
  margin-top: 15px;
}
.modal-button {
  font-weight: bold;
  font-size: 16px;
  line-height: 24px;
  color: #ffffff;
  padding: 12px 32px;
  background: #2f80ed;
  border-radius: 24px;
  outline: none;
  border: none;
  cursor: pointer;
}
.mail-icon {
  margin-bottom: 35px;
}
.modal-close-button {
  border: none;
  background: none;
  outline: none;
  cursor: pointer;
  position: absolute;
  top: 25px;
  right: 25px;
}
/* Modal Window 2 */
.success-message {
  font-weight: bold;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: #2f80ed;
}
.modal-container-success {
  justify-content: center;
}
.success-icon {
  margin-bottom: 35px;
}
