а* { 
    box-sizing: border-box;
  }

  .page { 
    display: flex; 
    flex-direction: column; 
    min-width: 640px; 
    min-height: 100vh; 
    margin: 0; 
    font-family: "Verdana", "Tahoma", sans-serif; 
    background-color: #FAFAFA; 
  }
  
  .background-line { 
    background-color: #EAEAEA; 
    width: 100%;
    height: 330px;
    position: absolute;
    z-index: -1;
  }

    .container {    
      width: 640px;
      margin: 0 auto;
    }

    .container_one { 
      height: 717px;
      background-image: url("img/device.jpg"); 
      background-repeat: no-repeat; 
      background-position: left bottom; 
      background-size: 640px;
    }

      @keyframes move {
        to {
          transform: translateX(90px);
        }
      }
    
      .avatar { 
       position: relative;
       top: 93px;
       left: 60px; 
       width: 460px; 
       box-shadow: 7px 7px 10px 0 rgb(168, 167, 167);
       animation-name: move;
       animation-duration: 2s;
       animation-delay: 0.3s; 
       animation-fill-mode: forwards;
      }
      
    .container_two {
      width: 580px;
      background-image: url("img/marks.png"); 
      background-repeat: no-repeat; 
      background-position: left top; 
      background-size: 110px;
    }
      .about_me { 
        margin-top: 0;
        margin-bottom: 30px;
        text-align: center;
        font-size: 45px;
        font-style: italic;
        font-weight: bold;
        color: #323D46;
      }

      .about_me_paragraph { 
        margin-top: 0;
        margin-bottom: 5px;
        text-align: justify;
        text-indent: 70px;
        font-size: 30px;
        font-style: italic;
        line-height: 38px;
        color: #323D46;
      }

      .p__heading {
        margin-top: 0;
        margin-bottom: 0;
        text-align: center;
        font-size: 30px;
        font-style: italic;
        line-height: 38px;
        color: #323D46;
      }

      .span-bold{
        font-weight:bold;
      }

      
.container_gynecology { 
  height: 717px;
  background-image: url("img/gynecology.jpg"); 
  background-repeat: no-repeat; 
  background-position: left bottom; 
  background-size: 640px;
}  

.container_doctors { 
  height: 717px;
  background-image: url("img/doctors.jpg"); 
  background-repeat: no-repeat; 
  background-position: left bottom; 
  background-size: 640px;
}  

.portfolio {
  display: flex;
  flex-direction: column;
}

.portfolio_photo {
  width: 480px;
  margin: 30px auto;
}

.photo_doctor {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0px 9px 10px 0px rgb(168, 167, 167);
}

.portfolio_title_h1 {
  display: flex;
  margin: 25px 0 5px 0;
  text-align: start;
  text-indent: 5px;
  font-size: 30px;
  font-style: italic;
  font-weight: bold;
  color: #323D46;
}

.portfolio_text_li {
  display: flex;
  margin-top: 10px;
  text-align: justify;
  line-height: 170%;
  color: #323D46;
}

.portfolio_text {
  display: flex;
  margin-top: 10px;
  text-align: justify;
  text-indent: 30px;
  line-height: 170%;
  color: #323D46;
}

.flex_list {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.list_icon {
  margin-right: 35px;
  width: 70px;
  height: 70px;
  border-radius: 5px;
}

.icon_portfolio {
  width: 100%;
}

.list_title {
  margin-top: 0;
  margin-bottom: 15px;
  text-align: center;
  font-size: 30px;
  font-style: italic;
  font-weight: bold;
  color: #323D46;
  width: 400px;
}

.list_text {
  display: flex;
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: justify;
  text-indent: 30px;
  line-height: 170%;
  color: #323D46;
}

.flex_list_green {
  display: flex;
  align-items: flex-start;
  margin-top: 20px;
}

.list_icon_green {
  margin-right: 35px;
  width: 40px;
  height: 40px;
}

.icon_portfolio_green {
  width: 100%;
}

.list_title_green {
  margin-top: 0;
  margin-bottom: 15px;
  text-align: justify;
  line-height: 170%;
  color: #323D46;
  width: 510px;
}

.portfolio_text_li,
.portfolio_text, 
.list_text, 
.list_title_green {
font-size: 26px;
} 

    .container_three {
      height: 920px;
      background-image: url("img/micro2.jpg"); 
      background-repeat: no-repeat; 
      background-position: left top; 
      background-size: 100%;
      box-shadow: 0px 9px 10px 0px rgb(168, 167, 167);
      margin-top: 20px;
      margin-bottom: 50px;
    }
      .menu {
        margin: 0;
        padding: 0; 
        list-style: none;  
      }

        .menu a {
          display: block;
          padding: 25px 50px;
          margin: 35px 30px;
          text-align: center;
          text-decoration: none; 
          font-weight: bold; 
          font-size: 33px; 
          background-color: #EAEEED;
          color: #323D46;
          border-radius: 10px / 10px;
          opacity: 0.9;
          box-shadow: 0px 9px 10px 0px rgb(74, 64, 88);
        }

        @keyframes move_a {
          to {
            color:#2B343C; 
            background-color:#FAFAFA;
          }
        }

        .menu a:focus,
        .menu a:hover {
          animation-name: move_a;
          animation-duration: 0.3s;
          animation-fill-mode: forwards;
          opacity: 1;
        }

          .vk {
            background-image: url("img/vk.png"); 
            background-repeat: no-repeat; 
            background-position: 502px 50%; 
            background-size: 80px;
          }

          .tik {
            background-image: url("img/tik.png"); 
            background-repeat: no-repeat; 
            background-position: 515px 50%; 
            background-size: 45px;
          }

          .telegram {
            background-image: url("img/telegram.png"); 
            background-repeat: no-repeat; 
            background-position: 512px 50%; 
            background-size: 65px;
          }

    .container_four {
       width: 580px;
       height: 574px;
       background-image: url("img/сomputer.png"); 
       background-repeat: no-repeat; 
       background-position: left top; 
       background-size: 100%;

    }

        .inspection { 
          margin-top: 40px;
          margin-bottom: 15px;
          text-align: center;
          font-size: 45px;
          font-style: italic;
          font-weight: bold;
          color: #323D46;
        }

        .inspection_paragraph { 
          margin-top: 50px;
          margin-bottom: 20px;
          text-align: justify;
          text-indent: 70px;
          font-size: 30px;
          font-style: italic;
          line-height: 38px;
          color: #323D46;
        }

  .page-footer {
    background-color: #323D46; 
    width: 100%;
  }      
 
    .container_page {
      background-color: #323D46;
    }

       .container_footer_one {
         display: flex;
         justify-content: space-between;
         width: 580px;
         margin: 0 auto;
         background-image: url("img/ultra.png"); 
         background-repeat: no-repeat; 
         background-position: center center ; 
         background-size: 70px;
       }

        .footer_paragraph {
          font-size: 27px;
          color: #EAEEED;
        }

        .footer_a {
          text-decoration: none;
          font-size: 27px;
          color: #EAEEED;
          padding-top: 28px;
        }

        .footer_a:focus,
        .footer_a:hover {
          color: #ffffff;
        }

.container_type_one { 
  height: 717px;
  background-image: url("img/back_type.jpg"); 
  background-repeat: no-repeat; 
  background-position: left bottom; 
  background-size: 640px;
}     

@keyframes move_type {
  to {
    transform: translateY(140px);
    opacity: 0.9;
  }
}

.type_text { 
  position: relative;
  top: 60px; /*178*/
  left: 43px; 
  width: 555px;
  opacity: 0.2;
  animation-name: move_type;
  animation-duration: 2s;
  animation-delay: 0.2s; 
  animation-fill-mode: forwards;
 }

.to_the_main {
  display: block;
  padding: 8px 5px;
  margin: 341px 0px 5px 385px;
  text-align: center;
  text-decoration: none; 
  font-weight: bold; 
  font-size: 25px; 
  background-color: #EAEEED;
  color: #323D46;
  opacity: 0.9;
  border-radius: 5px 5px 0 5px;
}

.to_the_main:focus,
.to_the_main:hover {
    opacity: 1;
    color:#2B343C; 
}

.container_type_two {
  width: 580px;
}

.image_paragraph {
 text-align: center;
}

.icon {
  border-radius: 10%;
  box-shadow: 0px 9px 10px 0px rgb(168, 167, 167);
}

.services_heading {
  margin-top: 0;
  margin-bottom: 15px;
  text-align: center;
  font-size: 30px;
  font-style: italic;
  font-weight: bold;
  color: #323D46;
}

.services_paragraph {
  margin-top: 0;
  margin-bottom: 10px;
  text-align: justify;
  text-indent: 30px;
  font-size: 28px;
  font-style: italic;
  line-height: 38px;
  color: #323D46;
}


.container_address_one { 
  height: 730px;
  background-image: url("img/address_one.jpg"); 
  background-repeat: no-repeat; 
  background-position: left bottom; 
  background-size: 640px;
}    

@keyframes move_address {
  to {
    transform: translateY(140px);
    opacity: 0.9;
  }
}

.type_address { 
  position: relative;
  top: 60px; 
  left: 43px; 
  width: 555px;
  opacity: 0.2;
  animation-name: move_address;
  animation-duration: 2s;
  animation-delay: 0.2s; 
  animation-fill-mode: forwards;
 }

 .address_heading {
  margin-top: 30px;
  margin-bottom: 20px;
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  color: #323D46;
}

.container_address_two {
  width: 580px;
  background-image: url("img/old_phone.png"); 
  background-repeat: no-repeat; 
  background-position: top left; 
  background-size: 120px;
}

.address_phone {
  display: block;
  padding: 15px 5px;
  margin: 20px 0;
  text-align: center;
  text-decoration: none;  
  font-size: 30px; 
  color: #323D46;
  border-radius: 10px / 10px;
  background-color: #EAEEED; 
  background-image: url("img/finger.png"); 
  background-repeat: no-repeat; 
  background-position: 480px center; 
  background-size: 65px;
  box-shadow: 0px 9px 10px 0px rgb(168, 167, 167);
}

@keyframes move_phone {
  to {
    color: #FAFAFA; 
    background-color: #4b6274;
    background-size: 50px;
  }
}

.address_phone:focus,
.address_phone:hover {
  animation-name: move_phone;
  animation-duration: 0.2s;
  animation-fill-mode: forwards;
}

.container_address_three {
  width: 580px;
  background-image: url("img/map_address.png"); 
  background-repeat: no-repeat; 
  background-position: top left; 
  background-size: 90px;
}

.photo_clinic {
  margin-top: 30px;
  width: 580px;
  border-radius: 10%;
  box-shadow: 0px 9px 10px 0px rgb(168, 167, 167);
}

.address_paragraph {
  margin-top: 0;
  margin-bottom: 10px;
  text-align: center;
  text-indent: 30px;
  font-size: 28px;
  line-height: 38px;
  color: #323D46;
}

.container_last {
  margin-bottom: 30px;
}

@keyframes inform_animation {
  15% {
    box-shadow: 0px 0px 15px 0px rgb(168, 167, 167);
  }
  35% {
    box-shadow: 0px 0px 15px 0px rgb(197, 137, 68);
  }
  75% {
    box-shadow: 0px 0px 15px 0px rgb(243, 221, 122);
  }
  100% {
    box-shadow: 0px 0px 15px 0px rgb(168, 167, 167);
  }
}

.container-inform {
  width: 580px;
  padding: 20px;
  margin: 0 auto;
  border-radius: 10%;
  background-image: url("img/сomputer.png"); 
  box-shadow: 0px 0px 15px 0px rgb(168, 167, 167);
  background-size: 90px; 
  background-repeat: space;
  animation: inform_animation 4s infinite linear;
}

.container-inform__p {
  text-indent: 30px;
  font-size: 23px;
  line-height: 130%;
  text-align: justify;
  color: #323D46;
  margin: 20px;
}

.container-inform__p_center {
  text-align: center;
}

.container_doc { 
  height: 717px;
  background-image: url("img/documents.jpg"); 
  background-repeat: no-repeat; 
  background-position: left bottom; 
  background-size: 640px;
} 

.container_prise { 
  height: 717px;
  background-image: url("img/prise_title.jpg"); 
  background-repeat: no-repeat; 
  background-position: left bottom; 
  background-size: 640px;
}  

.litsenzi_container {
  display: flex;
  flex-direction: column;
  width: 580px;
}

.litsenzi_img {
  width: 100%;
  margin-bottom: 30px;
  box-shadow: 7px 7px 10px 0 rgb(168, 167, 167);
}

.flex_list_doc {
  display: flex;
  margin-top: 20px;
  align-items: center;
}

.list_icon_doc {
  margin-right: 25px;
  width: 70px;
  height: 70px;
  border-radius: 5px;
}

.icon_doc {
  width: 100%;
}

.list_title_doc {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 26px;
  color: #323D46;
  width: 520px;
}

.a_doc {
  text-decoration: none;
  font-size: 26px;
  color: #323D46;
}

.a_doc:focus,
.a_doc:hover {
  color: #706262;
}

.a__questionnaire {
  display: block;
  width: 525px;
  padding: 10px 25px;
  margin: 25px 0px 25px 0px;
  text-align: center;
  text-decoration: none; 
  font-weight: bold; 
  font-size: 25px; 
  background-color: #EAEEED;
  color: #323D46;
  border: 1px solid rgb(214, 214, 214);
  border-radius: 10px / 10px;
  box-shadow: 0px 9px 10px 0px rgb(74, 64, 88);
}

.a__questionnaire:focus,
.a__questionnaire:hover {
  animation-name: move_a;
  animation-duration: 0.3s;
  animation-fill-mode: forwards;
}

.prise-container {
  width: 640px;
}

.prise-container_gynecology {
  width: 580px;
}

.prise_img {
  width: 100%;
  border-radius: 10px;
  margin: 10px 0 10px 0;
  box-shadow: 0px 9px 10px 0px rgb(168, 167, 167);
}



