/*
 * FIXED CONTACT
 */

.fixed-contact {
  position: fixed;
  display: inline-block;
  right: 20px;
  bottom: 20px;
  background-color: red;
  padding: 10px;
  text-align: center;
  border-radius: 10px;
  background-color: #fece1a;
  border: 2px solid #2c3e50;
  -moz-transition: 0.5s;
  -o-transition: 0.5s;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.fixed-contact .full-contact-info {
  -moz-transition: 0.5s;
  -o-transition: 0.5s;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.fixed-contact:hover {
  padding: 15px;
  background-color: white;
}

.fixed-contact:hover .full-contact-info {
  opacity: 1;
  width: 335px;
  height: 185px;
}

.fixed-contact:hover .fa-envelope {
  font-size: 2em;
}

.fixed-contact .full-contact-info div {
  font-size: 18px;
}

.fixed-contact .full-contact-info .name-info {
  font-size: 20px;
  margin: 20px 0px;
}

.fixed-contact .full-contact-info .phone-info,
.fixed-contact .full-contact-info .mail-info {
  margin-top: 10px;
}

@media all and (max-width: 1000px) {
  .fixed-contact {
    display: none;
  }
}

/*
 * Welcome
 */

#welcome {
  height: 100vh;
  min-height: 600px;
  text-align: center;
}

#welcome:before {
  background-image: url(../images/welcome-screen.jpg);
  background-attachment: fixed;
}

#welcome .welcome-screen-text {
  color: white;
  margin: auto;
  top: 50%;
}

#welcome .welcome-header {
  font-size: 50px;
  margin-bottom: 20px;
  font-style: italic;
}

#welcome .welcome-first-line {
  font-size: 70px;
  margin-bottom: 10px;
}

#welcome .welcome-second-line {
  font-size: 50px;
  margin-bottom: 40px;
}

#welcome .welcome-button {
  background-color: #fece1a;
  border-radius: 10px;
  border: none;
  height: 50px;
  line-height: 50px;
  display: inline-block;
  min-width: 200px;
  margin-left: auto;
  margin-right: auto;
  font-size: 18px;
  font-weight: bold;
  padding: 0px 20px;
  -moz-transition: 0.2s;
  -o-transition: 0.2s;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}

#welcome .welcome-button:focus {
  outline: none;
}

#welcome .welcome-button:hover {
  background-color: #e8bd1a;
}

@media all and (max-width: 1000px) {
  #welcome {
    height: 100vh;
    min-height: 500px;
  }

  #welcome .welcome-screen-text {
    width: 80%;
  }

  #welcome .welcome-header {
    font-size: 30px;
    margin-bottom: 15px;
  }

  #welcome .welcome-first-line {
    font-size: 30px;
    margin-bottom: 10px;
  }

  #welcome .welcome-second-line {
    font-size: 20px;
    margin-bottom: 20px;
  }
}

/*
 * Main
 */

#main .about-title {
  text-align: center;
  border-bottom: 1px solid #2c3e50;
  padding-bottom: 20px;
  margin: 30px;
  margin-bottom: 20px;
}

#main .about-subtitle {
  text-align: center;
  font-size: 50px;
  margin-bottom: 70px;
}

#main .card {
  background-color: white;
}

#main .card.about-card {
  background-color: white;
  /*min-height: 500px;*/
}

#main .card .card-title-container {
  padding: 30px;
  text-align: center;
  background-color: #181a1c;
}

#main .card .card-title-container .card-title {
  color: #fece1a;
  font-size: 20px;
}

#main .card .card-text-container {
  padding: 20px;
}

#main .card .card-text {
  font-size: 18px;
  text-indent: 20px;
  display: inline-block;
  color: #2c3e50;
  line-height: 22px;
  margin-bottom: 15px;
  text-align: justify;
}

#main .card .buttons-wrap {
}

#main .card .diploma-container {
  cursor: pointer;
  background-color: #181a1c;
  padding: 15px;
  margin-top: 15px;
  text-align: center;
  color: #fece1a;
  font-size: 13px;
  text-transform: uppercase;
  transition: 0.2s;
  display: block;
  text-decoration: none;
}

#main .card .diploma-container:hover {
  background-color: #2c3e50;
}

@media all and (max-width: 992px) {
  #main .about-subtitle {
    font-size: 30px;
    margin-bottom: 30px;
  }

  #main .card.about-card {
    margin-left: auto;
    margin-right: auto;
    max-width: 400px;
    margin-bottom: 25px;
  }

  #main .card .card-text-container {
    padding: 15px;
  }

  #main .card .card-title-container {
    padding: 10px;
    height: 60px;
    position: relative;
  }

  #main .card .card-text {
    font-size: 14px;
    text-indent: 20px;
    line-height: 18px;
  }

  #main .card .card-title-container .card-title {
    font-size: 18px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100%;
  }
}

/*
 * OFFER
 */

#offer .section-title {
  color: #fece1a;
}

#offer .about-description {
  padding: 20px;
  border: 1px solid white;
  color: white;
  text-align: center;
  font-size: 18px;
  line-height: 22px;
  width: 70%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

#offer .offer-card {
  background-color: #fece1a;
  padding: 15px 0px;
  margin: 0px 35px;
  height: 290px;
  border-radius: 10px;
}

#offer .offer-card-title {
  padding: 0px 5px;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
}

#offer .offer-card-items-container {
  margin-top: 10px;
  text-align: center;
}

#offer .offer-card-item {
  display: inline-block;
  width: 80%;
  text-align: center;
  padding-bottom: 8px;
  border-bottom: 1px solid #2c3e50;
  margin-top: 8px;
  font-size: 14px;
  line-height: 18px;
}

#offer .second-offer-row {
  margin-top: 40px;
}

@media all and (max-width: 992px) {
  #offer .about-description {
    padding: 15px;
    font-size: 12px;
    line-height: 22px;
    width: 90%;
    margin-bottom: 15px;
  }

  #offer .offer-card {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 25px;
    height: auto;
    padding-bottom: 10px;
    padding-top: 10px;
  }

  #offer .offer-card-title {
    font-size: 16px;
    font-weight: bold;
  }

  #offer .offer-card-item {
    font-size: 14px;
    line-height: 18px;
    padding-bottom: 4px;
    margin-top: 6px;
  }

  #offer .second-offer-row {
    margin-top: 0px;
  }
}

/*
 * PRICES
 */
#prices {
  min-height: 100vh;
}

#prices .section-title {
  color: #fece1a;
}

#prices:before {
  background-image: url("../images/equipment.jpg");
  background-attachment: fixed;
}

#prices .prices-label {
  color: #fece1a;
  text-align: center;
  font-size: 26px;
  margin-bottom: 40px;
}

#prices .prices-description {
  padding: 30px;
  font-size: 18px;
  line-height: 22px;
  color: white;
  width: 70%;
  text-align: center;
  border: 1px solid white;
  margin: auto;
  margin-bottom: 60px;
}

#prices .price-item {
  color: white;
  padding: 20px 10px;
  text-align: center;
  border: 1px solid #fece1a;
  min-height: 105px;
}

#prices .prices-item-category {
  font-size: 16px;
  margin-bottom: 10px;
}

#prices .prices-item-my-price {
  font-size: 16px;
}

#prices .prices-second-row {
  margin-top: 20px;
}

@media all and (max-width: 992px) {
  #prices .prices-description {
    font-size: 14px;
    line-height: 22px;
    width: 90%;
    padding: 15px;
    margin-bottom: 40px;
  }

  #prices .price-item {
    padding: 15px;
    margin-bottom: 20px;
    min-height: auto;
  }

  #prices .prices-item-category {
    font-size: 14px;
  }

  #prices .prices-item-my-price {
    font-size: 16px;
  }

  #prices .prices-second-row {
    margin-top: 0px;
  }
}

/*
 * LINKS
 */

#links .links-description {
  font-size: 20px;
  line-height: 24px;
  width: 80%;
  padding: 20px;
  background-color: white;
  margin-bottom: 70px;
  border-radius: 10px;
  margin-left: auto;
  margin-right: auto;
}

#links .links-items {
  text-align: center;
}

#links .link-item-container {
  background-color: white;
  padding: 20px;
}

#links .icon-container {
  display: inline-block;
  width: 70px;
  height: 70px;
  line-height: 80px;
  border-radius: 100%;
  margin-bottom: 20px;
}

#links .red .icon-container {
  background-color: #e74c3c;
}

#links .blue .icon-container {
  background-color: #3498db;
}

#links .green .icon-container {
  background-color: #2ecc71;
}

#links .dark .icon-container {
  background-color: #2c3e50;
}

#links .icon-container .fa {
  color: white;
}

#links .links-item-header {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  min-height: 40px;
}

#links .single-link {
  font-size: 16px;
  line-height: 20px;
  display: inline-block;
  width: 100%;
  min-height: 60px;
  padding: 10px;
  margin-top: 10px;
  cursor: pointer;
  color: white;
  font-weight: bold;
  text-decoration: none;
}

#links .red .single-link {
  background-color: #e74c3c;
}

#links .blue .single-link {
  background-color: #3498db;
}

#links .green .single-link {
  background-color: #2ecc71;
}

#links .dark .single-link {
  background-color: #2c3e50;
}

@media all and (max-width: 992px) {
  #links .links-description {
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 30px;
  }

  #links .link-item-container {
    margin-bottom: 30px;
    padding: 15px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  #links .single-link {
    font-size: 15px;
  }

  #links .links-item-header {
    font-size: 16px;
    margin-bottom: 5px;
  }
}

/*
 * About me
 */

#about-me .about-me-items {
  position: relative;
}

#about-me .about-me-items:before {
  top: 0;
  bottom: 50px;
  position: absolute;
  content: "";
  width: 2px;
  background-color: #f1f1f1;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
}

#about-me .about-me-item {
  position: relative;
  text-align: center;
  min-height: 300px;
}

#about-me .about-me-item:last-of-type {
  min-height: 180px;
}

#about-me .about-me-item h6 {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 10px;
}

#about-me .about-me-item .about-me-text-container {
  float: left;
  width: calc(50% - 100px);
  text-align: right;
  padding-top: 15px;
}

#about-me .about-me-item:nth-child(odd) .about-me-text-container {
  float: right;
  width: calc(50% - 100px);
  text-align: left;
  padding-left: 0px;
}

#about-me .about-me-item .about-me-text-container p {
  margin-bottom: 4px;
  font-size: 16px;
  line-height: 20px;
  color: #777;
}

#about-me .about-me-item .about-me-center-item {
  height: 160px;
  width: 160px;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
  left: 50%;
  display: inline-block;
  position: absolute;
  border-radius: 100%;
  background-color: #cccccc;
  border: 7px solid #f1f1f1;
}

#about-me .about-me-item .center-container {
  height: 100%;
  width: 100%;
  position: relative;
}

#about-me .about-me-item .center-container:before {
  content: " ";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  border-radius: 100%;
  background-size: cover;
}

#about-me .about-me-item:nth-child(1) .center-container:before {
  background-image: url("../images/timeline1.jpg");
}

#about-me .about-me-item:nth-child(2) .center-container:before {
  background-image: url("../images/timeline2.jpg");
}

#about-me .about-me-item:nth-child(3) .center-container:before {
  background-image: url("../images/timeline3.jpg");
}

#about-me .about-me-item:nth-child(4) .center-container:before {
  background-image: url("../images/timeline4.jpg");
}

#about-me .about-me-item:nth-child(5) .center-container:before {
  background-image: url("../images/timeline5.jpg");
}

#about-me .about-me-item:nth-child(6) .center-container:before {
  background-image: url("../images/timeline6.jpg");
}

#about-me .about-me-item .center-text-container {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  font-size: 18px;
  font-weight: bold;
}

#about-me .equipment-col li {
  list-style-type: square;
}

#about-me .experience-description {
  font-size: 18px;
  line-height: 22px;
  margin-bottom: 20px;
}

#about-me .work-list {
  width: 60%;
  margin-left: auto;
  margin-right: auto;
  font-size: 18px;
}

#about-me .work-list li {
  margin-bottom: 5px;
}

#about-me .history-date {
  width: 100px;
  display: inline-block;
  vertical-align: top;
  font-weight: bold;
}

#about-me .work-name {
  width: calc(100% - 105px);
  display: inline-block;
}

#about-me .history-date,
#about-me .work-name {
  line-height: 24px;
}

#about-me .completed-projects {
  font-weight: bold;
  margin-top: 60px;
  margin-bottom: 30px;
  font-size: 26px;
  text-align: center;
}

#about-me .translation-example {
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 20px;
}

#about-me .translation-example .translation-category {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
}

#about-me .translation-example li {
  margin-bottom: 5px;
}

#about-me .section-with-link {
  margin-top: 30px;
  font-size: 18px;
  font-style: italic;
}

#about-me .section-with-link a {
  text-decoration: none;
  -moz-transition: 0.5s;
  -o-transition: 0.5s;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

@media all and (max-width: 992px) {
  #about-me .about-me-items:before {
    left: 50px;
  }

  #about-me .about-me-item {
    clear: both;
    min-height: 200px;
  }

  #about-me .about-me-item:last-of-type {
    min-height: 130px;
  }

  #about-me .about-me-item .about-me-center-item {
    height: 100px;
    width: 100px;
    left: 0px;
    -webkit-transform: translate(0%);
    -moz-transform: translate(0%);
    -ms-transform: translate(0%);
    -o-transform: translate(0%);
    transform: translate(0%);
  }

  #about-me .about-me-item .center-text-container {
    font-size: 18px;
  }

  #about-me .about-me-item h6 {
    font-size: 16px;
  }

  #about-me .about-me-item .about-me-text-container p {
    font-size: 14px;
    line-height: 18px;
  }

  #about-me .about-me-item .about-me-text-container,
  #about-me .about-me-item:nth-child(odd) .about-me-text-container {
    float: right;
    width: calc(100% - 110px);
    text-align: left;
  }

  #about-me .experience-description {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 20px;
  }

  #about-me .work-list {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    font-size: 15px;
  }

  #about-me .history-date {
    width: 85px;
  }

  #about-me .history-date,
  #about-me .work-name {
    line-height: 19px;
  }

  #about-me .completed-projects {
    margin-top: 30px;
    margin-bottom: 20px;
    font-size: 22px;
  }

  #about-me .translation-example .translation-category {
    font-size: 18px;
    margin-bottom: 10px;
  }

  #about-me .translation-example li {
    font-size: 15px;
    line-height: 19px;
  }

  #about-me .section-with-link {
    margin-top: 25px;
    font-size: 16px;
  }
}

/*CONTACT*/
#contact {
  text-align: center;
  /* min-height: 800px; */
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;

  height: 100vh;

  -webkit-align-items: center;
  align-items: center;

  -webkit-justify-content: center; /* Safari 6.1+ */
  justify-content: center;
}

#contact .section-title {
  margin-top: 0px;
}

#contact:before {
  background-image: url("../images/map1.jpg");
  opacity: 0.9;
}

#contact .contact-wrapper {
  display: inline-block;
  padding: 50px;
  border: 1px solid #fece1a;
  background-color: rgba(255, 255, 255, 0.8);
  position: relative;
  width: 800px;
}

#contact .contact-wrapper .fa {
  display: block;
  margin-bottom: 5px;
  font-size: 30px;
}

#contact .contact-wrapper a {
  text-decoration: none;
  -moz-transition: 0.5s;
  -o-transition: 0.5s;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

#contact .personal-info {
  font-style: italic;
  font-size: 22px;
  margin-bottom: 30px;
}

#contact .personal-info p {
  margin-bottom: 10px;
}

#contact .contact-ways {
  font-size: 18px;
  line-height: 22px;
  margin-bottom: 30px;
}

#contact .contact-ways .contact-ways-info {
  margin-bottom: 25px;
}

#contact .contact-ways a {
  margin-bottom: 10px;
}

#contact .send-document-info {
  font-size: 18px;
  line-height: 22px;
}

@media all and (max-width: 992px) {
  #contact {
    min-height: 700px;
  }

  #contact .contact-wrapper {
    padding: 15px;
    width: 100%;
    max-width: 600px;
  }

  #contact .contact-wrapper .fa {
    display: inline-block;
    margin-right: 10px;
    font-size: 20px;
  }

  #contact .personal-info {
    font-size: 18px;
    margin-bottom: 15px;
  }

  #contact .contact-ways {
    margin-bottom: 15px;
  }

  #contact .contact-ways .contact-ways-info {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 10px;
  }

  #contact .contact-ways a {
    font-size: 16px;
    margin-bottom: 8px;
  }

  #contact .send-document-info {
    font-size: 14px;
    line-height: 22px;
  }
}
