.page {
  font-family: var(--font);
  background-color: var(--backgroung_color);
  margin: 0;
  padding: 0;
  height: 100vh; 
  width: 100%; 
  color: var(--text_color); 
  display: flex;
  flex-direction: column;
  justify-content: left;
  align-items: left;
}

.header {
  height: 100vh;
  background: var(--bg_img) no-repeat left center fixed;
  background-size: cover; 
  padding: 10px;
  background-size: cover;
  background-position: bottom; 
  display: grid;
  grid-template-rows: 1fr min-content 1fr;
  grid-template-columns: 1fr 1fr;
  grid-auto-flow: column;
  align-items: center;
  justify-content: center;
}

.linkedin-icon {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--linkedin);
  border-radius: 50%;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.linkedin-icon img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

.linkedin-icon:hover {
  transform: scale(1.1);
  box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.3);
}

.dropdown {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 1000;
}

.dropbtn {
  background-color: var(--decor_col);
  color: var(--common_col);
  padding: 10px 20px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--decor_col);
  min-width: 250px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 4px;
  right: 0;
}

.dropdown-content a {
  color: var(--head_col);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: var(--light);
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropbtn {
  background-color: var(--decor);
}

.title {
  grid-column: 1 / 3;
  justify-self: end;
  bottom: 0;
  text-shadow: 4px 4px 0 var(--decor);
  line-height: 130%;
  margin-top: 50px;
  color: var(--title);
  font-size: 500%;
}

.header_text {
  grid-column: 1 / 3;
  justify-content: left;
  justify-self: end;
  display: inline-block;
  margin-block: 55px;
  font-weight: var(--bold);
  font-size: inherit;
  line-height: inherit;
  line-height: 150%;
  max-width: 570px;
}

.header_text.highlight {
  color: var(--text);
  margin-top: 30px;
  background: var(--highlight); 
  border-left: 5px solid var(--title);
  padding: 15px 20px;
  border-radius: 5px;
}

.title_decor {
  background: var(--common_col);
  color: var(--decor_col);
  padding: 5px;
}

.header__address {
  color: var(--common_col);
  line-height: 130%;
  justify-content: end;
  align-items: left;
  display: grid;
  grid-column: 1 / 3;
}

/*main*/
.introduction-section {
  padding: 50px 20px; 
  background: linear-gradient(135deg, var(--decor_col), var(--decor));
  color: var(--light);
  text-align: center; 
  border-radius: 10px; 
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
  max-width: 1000px;
  margin: 0 auto;
}

.intro-title {
  font-size: 3rem;
  font-weight: var(--bold);
  text-transform: uppercase;
  color: var(--title);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  border-bottom: 2px solid var(--title);
}

.intro-subtitle {
  font-size: 1.2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--common_col);
  margin-bottom: 30px;
  font-weight: 600;
}

.intro-content {
  text-align: left;
  margin: 0 auto;
  max-width: 900px;
}

.intro-text {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text);
}

.intro-text strong {
  color: var(--title);
  font-weight: var(--bold);
}

.intro-text span {
  color: var(--common_col);
  font-weight: var(--bold);
}

.intro-text.highlight {
  font-size: 1.2rem;
  font-weight: var(--bold);
  color: var(--text);
  text-align: center;
  margin-top: 30px;
  background: var(--highlight); 
  border-left: 5px solid var(--title);
  padding: 15px 20px;
  border-radius: 5px;
}

.skills-section {
  margin: 0 auto;
  max-width: 1000px; 
  background: linear-gradient(135deg, var(--decor_col), var(--decor));
  border-radius: 10px; 
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.skills-image img {
  width: 100%;
  height: auto;
  display: block;
}

.skills-content {
  padding: 30px 20px;
  text-align: left;
}

.skills-title {
  font-size: 3rem;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--title);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  text-align: center; 
  border-bottom: 2px solid var(--title);
  padding-bottom: 10px;
}

.skills-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.skills-list li {
  font-size: 1.1rem;
  color: var(--light);
  margin-bottom: 15px;
  line-height: 1.6;
  padding-left: 25px;
  position: relative;
}

.skills-list li::before {
  content: "✔"; 
  font-size: 1.5rem;
  color: var(--light);
  position: absolute;
  left: 0;
  top: 0;
  line-height: 1.6;
}

.skills-list li strong {
  color: var(--common_col);
  font-weight: var(--bold);
}

.experience-section {
  padding: 50px 20px;
  background-color: var(--backgroung_color);
  text-align: center;
}

.experience-title {
  font-size: 3rem;
  color: var(--title);
  margin-bottom: 40px;
  text-transform: uppercase;
  border-bottom: 2px solid var(--title);
  display: inline-block;
  padding-bottom: 10px;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 0 auto;
  max-width: 1200px;
}

.experience-card {
  background-color: var(--light);
  border-radius: 10px;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.experience-image {
  width: 100%;
  height: auto;
  display: block;
  padding: 20px;
}

.ge {
  padding-top: 30px;
}

.sever {
  margin-top: 30px;
}

.sever1 {
  padding: 0 60px;
}

.ge1 {
  padding: 30px 80px 20px 80px; 
}

.experience-card-title {
  font-size: 1.5rem;
  color: var(--decor);
  margin: 20px 20px 10px;
  font-weight: bold;
}

.biovitrum {
  padding-top: 15px;
}

.kaluga {
  margin-top: 10px;
  padding-top: 0;
}

.gerus {
  margin-top: 0px;
  padding-top: 0;
}

.experience-card-description {
  font-size: 1rem;
  color: var(--text_work);
  margin: 0 20px 20px;
  line-height: 1.6;
  text-decoration: none;
}

.experience-card:hover {
  transform: scale(1.03);
  box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
}

.link {
  text-decoration: none;
}

.services-section {
  padding: 50px 20px;
  background-color: var(--backgroung_color);
  text-align: center;
}

.services-title {
  font-size: 3rem;
  color: var(--title);
  margin-bottom: 40px;
  text-transform: uppercase;
  border-bottom: 2px solid var(--title);
  display: inline-block;
  padding-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.services-subtitle {
  font-size: 1.2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--common_col);
  margin-bottom: 30px;
  font-weight: 600;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 0 auto;
  max-width: 1200px;
}

.service-card {
  background-color: var(--light);
  border-radius: 10px;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: left;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.service-card-title {
  font-size: 1.2rem;
  color: var(--decor);
  margin-bottom: 10px;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.service-card-title .marker {
  color: var(--title);
  font-size: 1.5rem;
  margin-right: 10px;
}

.service-card-description {
  font-size: 1rem;
  color: var(--text_work);
  line-height: 1.6;
}

.service-card:hover {
  transform: scale(1.05);
  box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.2);
}

.contact-section {
  padding: 50px 20px;
  background-color: var(--backgroung_color);
  display: flex;
  justify-content: center;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  background: linear-gradient(135deg, var(--decor_col), var(--decor));
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.contact-image img {
  width: 300px;
  height: auto;
  object-fit: cover;
  background-color: var(--backgroung_color);
}

.contact-content {
  flex: 1;
  padding: 30px;
}

.contact-title {
  font-size: 3rem;
  color: var(--title);
  margin-bottom: 40px;
  text-transform: uppercase;
  border-bottom: 2px solid var(--title);
  display: inline-block;
  padding-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.contact-subtitle {
  font-size: 1.2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--common_col);
  margin-bottom: 30px;
  font-weight: 600;
}

.contact-info p {
  font-size: 1rem;
  color: var(--light);
  margin: 10px 0;
  display: flex;
  align-items: center;
}

.contact-info a {
  color: var(--light);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-icon {
  font-size: 1.5rem;
  margin-right: 10px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.contact-form label {
  font-weight: bold;
  font-size: 1rem;
  color: var(--title);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  font-size: 1rem;
  color: var(--decor);
  outline: none;
  resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--decor);
}

.contact-form textarea {
  height: 100px;
}

.contact-form .error-message {
  font-size: 0.9rem;
  color: #ff0000;
  display: none;
}

.contact-button {
  padding: 10px 20px;
  background-color: var(--backgroung_color);
  color: var(--light);
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-button:hover {
  background-color: var(--linkedin);
}

.site-footer {
  background-color: var(--backgroung_color);
  color: var(--light);
  padding: 20px;
  text-align: start;
  font-size: 1rem;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 10px;
}

.footer-year {
  margin: 0;
  font-size: 1rem;
}

.footer-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.footer-contact {
  color: var(--light);
  text-decoration: none;
  font-size: 1rem;
  display: flex;
  align-items: center;
}

.footer-contact:hover {
  text-decoration: underline;
}

.footer-icon {
  font-size: 1.2rem;
  margin-right: 5px;
}

@media (width <= 768px) {
  .title {
    margin-top: 350px;
    font-size: 200%;
    justify-content: left;
    align-items: left;
    grid-column: 2 / 3;
  }

  .header {
    height: 100vh;
    background: var(--bg_img) no-repeat left center fixed;
    background-size: cover; 
    padding: 10px;
    display: grid;
    grid-template-rows: 1fr min-content 1fr;
    grid-template-columns: 1fr 1fr;
    grid-auto-flow: column;
  }

  .header_text {
    font-size: 70%;
  }

  .header_text.highlight{
    color: var(--decor_col);
    margin-top: 0px;
  }

  .header__address {
    color: var(--common_col);
    line-height: 100%;
    grid-column: 1 / 3;
    margin-top: -50px;
    background-color: var(--backgroung_color);
    grid-column: 2 / 3;
    font-size: 70%;
  }
}


