/*
Theme Name: Andrew
*/

  @font-face {
    font-family: "Montserrat-Medium";
    src: url("assets/fonts/Montserrat-Medium.ttf");
    font-style: normal;
    font-weight: normal;
  }
  @font-face {
    font-family: "Motserrat-SemiBold";
    src: url("assets/fonts/Montserrat-SemiBold.ttf");
    font-style: normal;
    font-weight: normal;
  }
  * {
    padding: 0;
    margin: 0;
    font-family: "Montserrat-Medium", sans-serif;
  }
  
  button:focus, input:focus, textarea:focus, a:focus {
    outline: none !important;
  }
  
  a:hover {
    text-decoration: none;
  }
  
  h1, h2, h3, h4, h5, h6, p {
    margin: 0;
  }
  
  img {
    max-width: 100%;
    min-height: 100%;
  }
  
  @media (min-width: 1200px) {
    .container {
      max-width: 1200px;
    }
  }
  a, :before, :after, input, button {
    transition: 0.2s;
  }
  
  section {
    padding: 100px 0;
  }
  
  .margintop {
    margin-top: 20px;
  }
  
  .title {
    color: #313131;
    font-family: "Motserrat-SemiBold", sans-serif;
    font-size: 50px;
    font-weight: 700;
  }
  
  .block-title {
    position: relative;
    color: #313131;
    font-family: "Motserrat-SemiBold", sans-serif;
    font-size: 30px;
    text-align: center;
  }
  .block-title.white {
    color: #ffffff;
  }
  .block-title:before, .block-title:after {
    content: "";
    position: absolute;
    width: 32px;
    height: 100%;
    background: url(assets/img/title-work1.png) no-repeat center;
  }
  .block-title:after {
    transform: translateX(20px);
  }
  .block-title:before {
    transform: translateX(-52px);
  }
  
  @media (max-width: 990px) {
    .title {
      font-size: 35px;
    }
  }
  @media (max-width: 760px) {
    .block-title {
      margin-top: 0px;
    }
  
    .title {
      font-size: 25px;
    }
  }
  @media (max-width: 488px) {
    .block-title {
      font-size: 20px;
    }
  }
  @media (max-width: 414px) {
    .title {
      font-size: 26px;
      line-height: 1.2;
    }
  }
  @media (max-width: 370px) {
    .block-title.feedbacksmall {
      font-size: 16px;
    }
  
    .title {
      font-size: 18px;
    }
  
    .block-title:before, .block-title:after {
      width: 32px;
      height: 100%;
    }
    .block-title:after {
      transform: translateX(10px);
    }
    .block-title:before {
      transform: translateX(-42px);
    }
  }
  .header {
    box-shadow: 0 2px 20px #5a5a5a;
    background-color: #5a5a5a;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
  }
  
  .navbar-brand {
    color: #ffffff;
    font-family: "Motserrat-SemiBold", sans-serif;
    font-size: 23px;
  }
  .navbar-brand span {
    color: #ffe400;
    font-size: 18px;
    letter-spacing: 0.1em;
  }
  .navbar-brand:hover {
    opacity: 0.7;
  }
  @media (max-width: 450px) {
    .navbar-brand {
      font-size: 20px;
    }
    .navbar-brand span {
      font-size: 18px;
    }
  }
  @media (max-width: 430px) {
    .navbar-brand {
      font-size: 18px;
    }
    .navbar-brand span {
      font-size: 16px;
    }
  }
  @media (max-width: 420px) {
    .navbar-brand {
      font-size: 16px;
    }
    .navbar-brand span {
      font-size: 14px;
    }
  }
  @media (max-width: 370px) {
    .navbar-brand {
      font-size: 14px;
    }
    .navbar-brand span {
      font-size: 13px;
    }
  }
  .nav-item a {
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    padding: 0 15px;
    position: relative;
  }
  .nav-item a:before {
    content: "";
    position: absolute;
    left: 15px;
    bottom: -5px;
    width: 0%;
    height: 1px;
    background: #ffe400;
  }
  .nav-item a:hover:before {
    width: 75%;
  }
  .nav-item a:hover {
    opacity: 0.7;
  }
  
  .navbar-toggler {
    padding: 0.1rem 0.1rem;
    font-size: 1rem;
    line-height: 1;
    background-color: transparent;
    border: 0;
    border-radius: 50%;
  }
  
  .navbar-dark .navbar-toggler-icon {
    background-image: none;
    background: url(assets/img/toggler-icon.png) no-repeat center;
  }
  
  .navbar-toggler-icon {
    display: inline-block;
    width: 2.5em;
    height: 2.5em;
    vertical-align: middle;
    content: "";
    background: no-repeat center center;
    background-size: 150% 150%;
    transition: 0.2s;
    animation: scalecompas 2.5s infinite;
  }
  .navbar-toggler-icon:hover {
    transition: 0.6s;
    animation: scalecompas 4.5s infinite;
  }
  
  @keyframes scalecompas {
    0% {
      transform: scale(0.9);
    }
    50% {
      transform: scale(1.6);
    }
    100% {
      transform: scale(0.9);
    }
  }
  @media (max-width: 990px) {
    .navbar-nav {
      text-align: center;
    }
    .navbar-nav li {
      padding: 10px 0;
    }
  
    .nav-item a {
      font-size: 23px;
      font-weight: 500;
    }
  }
  @media (max-width: 320px) {
    .navbar-toggler-icon {
      width: 1.5em;
      height: 1.5em;
    }
  }
  .phone {
    color: #ffffff !important;
    font-family: "Motserrat-SemiBold", sans-serif;
    font-size: 18px;
  }
  
  .callback {
    color: #ffe400 !important;
    font-size: 12px;
    font-weight: 400;
    border-bottom: 1px dashed #ffe400;
  }
  
  .header-phone {
    text-align: center;
  }
  .header-phone a {
    display: block;
  }
  .header-phone a:hover {
    opacity: 0.7;
  }
  
  .offer {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
  }
  .offer p {
    color: #000000;
    font-size: 18px;
    font-weight: 400;
    line-height: 30px;
    margin: 44px 0;
  }
  
  @media (max-width: 760px) {
    .offer p {
      font-size: 16px;
      margin: 34px 20px;
    }
  }
  @media (max-width: 414px) {
    .offer p {
      margin: 144px 40px;
      font-size: 20px;
    }
  }
  @media (max-width: 375px) {
    .offer p {
      margin: 124px 40px;
      font-size: 20px;
    }
  }
  @media (max-width: 320px) {
    .offer p {
      margin: 64px 40px;
      font-size: 14px;
    }
  }
  .main-btn {
    color: #000000;
    font-size: 16px;
    font-weight: 700;
    line-height: 50px;
    width: 205px;
    background: transparent;
    border: none;
    position: relative;
  }
  .main-btn:hover {
    background: #ffe400;
  }
  .main-btn:hover:before {
    top: -20px;
    left: -20px;
    border-top: 3px solid #000000;
    border-left: 3px solid #000000;
    width: 30px;
    height: 30px;
  }
  .main-btn:hover:after {
    bottom: -20px;
    right: -20px;
    border-bottom: 3px solid #000000;
    border-right: 3px solid #000000;
    width: 30px;
    height: 30px;
  }
  .main-btn:before, .main-btn:after {
    content: "";
    position: absolute;
    width: 30%;
    height: 40%;
  }
  .main-btn:before {
    top: 0;
    left: 0;
    border-top: 3px solid #ffe400;
    border-left: 3px solid #ffe400;
  }
  .main-btn:after {
    bottom: 0;
    right: 0;
    border-bottom: 3px solid #ffe400;
    border-right: 3px solid #ffe400;
  }
  .main-btn.white {
    color: #ffffff;
  }
  .main-btn.white:hover {
    color: #000000;
  }
  .main-btn.white:hover:before {
    border-top: 3px solid #ffe400;
    border-left: 3px solid #ffe400;
  }
  .main-btn.white:hover:after {
    border-bottom: 3px solid #ffe400;
    border-right: 3px solid #ffe400;
  }
  
  @media (max-width: 990px) {
    .main-btn {
      margin: 0 40px;
    }
  }
  @media (max-width: 760px) {
    .main-btn {
      margin-top: 5px;
    }
  }
  @media (max-width: 520px) {
    .main-btn {
      font-size: 14px;
      line-height: 40px;
      width: 150px;
      letter-spacing: 0.03em;
    }
  }
  @media (max-width: 375px) {
    .main-btn {
      margin: 0 20px;
    }
  }
  @media (max-width: 320px) {
    .margintop {
      margin-top: 20px;
    }
  }
  .arrow-bottom {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    animation: arrowbottom 1.5s infinite;
  }
  .arrow-bottom a {
    display: inline-block;
    padding: 30px;
    opacity: 0.5;
  }
  .arrow-bottom a:hover {
    opacity: 1;
  }
  
  @keyframes arrowbottom {
    0% {
      bottom: 40px;
    }
    50% {
      bottom: 20px;
    }
    100% {
      bottom: 40px;
    }
  }
  @media (max-width: 990px) {
    .arrow-bottom a {
      width: 150px;
    }
  }
  .travel {
    background: url(assets/img/bg3.png);
    background-size: cover;
  }
  
  .travel-wrap {
    margin-top: 30px;
    overflow: hidden;
    transition: 0.2s;
  }
  .travel-wrap a {
    display: block;
  }
  .travel-wrap a:hover {
    transform: scale(1.1);
    filter: grayscale(100%);
    opacity: 0.8;
  }
  
  .feedback {
    background: url(assets/img/bg2.jpg);
    background-size: cover;
  }
  .feedback-from {
    color: #ffffff;
    padding-top: 100px;
  }
  .feedback-from p {
    padding: 20px 0px 40px;
  }
  .feedback-from h3 {
    font-family: "Motserrat-SemiBold", sans-serif;
  }
  
  .feedback .container {
    position: relative;
  }
  
  .photo {
    position: absolute;
    bottom: -100px;
    right: 15px;
  }
  
  @media (max-width: 990px) {
    .photo {
      width: 350px;
      right: 0px;
    }
  
    .feedback-from {
      padding-top: 40px;
    }
    .feedback-from input {
      width: 50%;
    }
  }
  @media (max-width: 760px) {
    .photo {
      width: 280px;
    }
  }
  @media (max-width: 520px) {
    .photo {
      width: 230px;
    }
  
    .feedback-from {
      padding-top: 50px;
    }
    .feedback-from p {
      padding: 10px 0px 20px;
      font-size: 14px;
    }
    .feedback-from h3 {
      font-size: 20px;
    }
  }
  @media (max-width: 414px) {
    .photo {
      width: 190px;
    }
  
    .feedback-from {
      padding-top: 30px;
    }
    .feedback-from p {
      padding: 10px 0px 20px;
      font-size: 14px;
      width: 80%;
    }
    .feedback-from h3 {
      font-size: 20px;
    }
  }
  @media (max-width: 353px) {
    .photo {
      width: 150px;
    }
  }
  .block-subtitle {
    color: #ffffff;
    font-size: 20px;
    text-align: center;
    margin-top: 20px;
  }
  
  @media (max-width: 414px) {
    .block-subtitle {
      font-size: 14px;
      margin-top: 10px;
    }
  }
  @media (max-width: 320px) {
    .title {
      font-size: 18px;
    }
  
    .block-subtitle {
      font-size: 14px;
      margin-top: 10px;
    }
  
    .block-subtitle {
      font-size: 12px;
    }
  }
  .form {
    color: #dcdcdc;
    font-size: 16px;
  }
  
  @media (max-width: 320px) {
    .form {
      font-size: 12px;
    }
  }
  .input {
    background: transparent;
    border: none;
    border-bottom: 1px solid #ffe400;
    color: #ffffff;
    width: 100%;
    margin-bottom: 30px;
    padding: 5px 10px;
  }
  
  .input:hover,
  .input:focus {
    opacity: 0.7;
  }
  
  .accordion {
    margin-top: 50px;
  }
  
  .faq-link {
    text-align: center;
    display: block;
    padding: 30px;
    color: #313131 !important;
    font-size: 28px;
    font-family: "Motserrat-SemiBold", sans-serif;
  }
  .faq-link:hover {
    opacity: 0.7;
  }
  
  .card {
    border: none;
    border-radius: 0;
    border-bottom: 2px solid #ffe400 !important;
  }
  .card:first-child {
    border-top: 2px solid #ffe400;
  }
  .card-header {
    margin-bottom: 0;
    background-color: #ffffff;
    border-bottom: none;
    padding: 0;
  }
  .card-body {
    font-style: italic;
    font-family: "Motserrat-SemiBold", sans-serif;
    text-align: center;
  }
  
  .diploma {
    width: auto;
    height: 150px;
    padding: 20px auto;
    border: 1px dashed #5a5a5a;
  }
  
  .web {
    width: auto;
    height: 350px;
    padding: 20px auto;
    border: 1px solid #5a5a5a;
  }
  
  .skill-icon {
    width: 80px;
    height: 80px;
    margin: 20px 25px;
    fill: #5a5a5a;
    animation: as 2.5s infinite;
  }
  
  @keyframes as {
    50% {
      fill: #ffe400;
    }
    15% {
      fill: #e1e782;
    }
    50% {
      fill: #000000;
    }
  }
  @media (max-width: 990px) {
    .diploma {
      margin: 5px 3px;
    }
  }
  @media (max-width: 414px) {
    .accordion {
      margin-top: 30px;
    }
  
    .faq-link {
      padding: 10px;
      font-size: 18px;
    }
  
    .card-body {
      padding: 5px 10px 20px 10px;
      font-size: 14px;
    }
  
    .faq {
      padding-bottom: 10px;
    }
  }
  .contact {
    background: url(assets/img/bg2.jpg);
    background-size: cover;
  }
  .contact-form {
    padding: 40px 0;
  }
  .contact-form button {
    display: block;
    margin: 0 auto;
  }
  
  .textarea {
    resize: none;
    height: 165px;
  }
  
  .social {
    padding-top: 60px;
    text-align: center;
    color: #ffffff;
  }
  .social h3 {
    font-family: "Motserrat-SemiBold", sans-serif;
  }
  .social-icons {
    justify-content: center;
    display: flex;
    padding-top: 40px;
  }
  .social-icons svg {
    margin: 0 15px;
    width: 35px;
    height: 35px;
  }
  .social__icon {
    fill: #5a5a5a;
  }
  .social__icon:hover {
    opacity: 0.5;
  }
  
  .copyright {
    color: #e3e3e3;
    opacity: 0.6;
  }
  .copyright span {
    color: lawngreen;
  }
  
  .copyright {
    margin: 30px auto;
  }
  
  .cv {
    background: #fafafa;
  }
  .cv a {
    margin-top: 40px;
  }
  
  .modal__content {
    padding: 5rem 1rem;
  }
  
  .modal__title {
    font-size: 3rem;
    text-transform: uppercase;
    color: #000000;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3.6rem;
  }
  
  .text-center {
    text-align: center;
  }
  
  .text-right {
    text-align: right;
  }
  
  .text-left {
    text-align: left;
  }
  
  .img {
    display: block;
    max-width: 100%;
    height: auto;
  }
  
  .hide {
    display: none;
  }
  
  .timeline {
    margin: 4.2rem auto;
    width: 100%;
    max-width: 768px;
    display: flex;
    position: relative;
  }
  .timeline:before {
    content: "";
    display: block;
    width: 1px;
    height: 100%;
    background-color: #000000;
    position: absolute;
    top: 0;
    left: 50%;
  }
  
  .timeline__col {
    width: 50%;
  }
  .timeline__col--left {
    text-align: right;
    padding-right: 3.2rem;
  }
  .timeline__col--right {
    padding-left: 3.2rem;
  }
  
  .timeline__title {
    margin-bottom: 2.6rem;
    font-size: 1.2rem;
    color: #000000;
    text-transform: uppercase;
    font-weight: 700;
  }
  
  .timeline__item {
    margin-bottom: 2.6rem;
  }
  .timeline__item:last-child {
    margin-bottom: 0;
  }
  
  .timeline__date {
    display: block;
    text-decoration: underline;
    font-size: 0.94rem;
    color: #000000;
    margin-bottom: 0.8rem;
  }
  
  .tmeline__suptitle {
    font-size: 1.06rem;
    color: #000000;
    font-weight: 700;
  }
  
  .timeline__position {
    font-size: 0.94rem;
    color: #000000;
    font-style: italic;
  }
  
  .timeline__text {
    font-size: 0.8rem;
    line-height: 1.5rem;
    color: #717072;
    font-weight: 300;
    margin-top: 0.8rem;
  }
  
  .progress--bar {
    margin-bottom: 2.6rem;
  }
  
  .progress--bar__item {
    display: flex;
    align-items: center;
    margin-bottom: 0.3rem;
    justify-content: space-between;
  }
  
  .progress--bar__title {
    font-size: 0.94rem;
    font-weight: 300;
  }
  
  .progress--bar__right {
    padding-right: 4.2rem;
  }
  
  .progress--bar__bar {
    width: 139px;
    height: 6px;
    background-color: #ffe400;
    opacity: 0.8;
  }
  
  .progress--bar__progress {
    height: 100%;
    background-color: #313131;
    transition: width 0.2s linear;
  }
  
  @media (max-width: 760px) {
    .timeline__date {
      font-size: 0.88rem;
    }
  
    .progress--bar__title {
      font-size: 0.8rem;
    }
  
    .progress--bar__bar {
      width: 80px;
    }
  
    .timeline__col--left {
      text-align: right;
      padding-right: 2.2rem;
    }
    .timeline__col--right {
      padding-left: 2.2rem;
    }
  
    .timeline__title {
      margin-bottom: 2rem;
    }
  }
  @media (max-width: 520px) {
    .timeline__item h5 {
      font-size: 0.8rem;
    }
  
    .timeline__position {
      font-size: 0.7rem;
    }
  
    .timeline__title {
      margin-bottom: 1.5rem;
    }
  
    .timeline__date {
      font-size: 0.66rem;
    }
  
    .timeline__text {
      font-size: 0.6rem;
      line-height: 1rem;
    }
  
    .timeline__col--left {
      text-align: right;
      padding-right: 1.8rem;
    }
    .timeline__col--right {
      padding-left: 1.8rem;
    }
  
    .progress--bar__title {
      font-size: 0.6rem;
    }
  
    .progress--bar__right {
      padding-right: 2.2rem;
    }
  
    .progress--bar__bar {
      width: 60px;
    }
  
    .timeline__text .diploma {
      width: 50%;
      height: 50%;
    }
  }
  @media (max-width: 320px) {
    .timeline__col--left {
      padding-right: 0.8rem;
    }
    .timeline__col--right {
      padding-left: 0.8rem;
    }
  
    .progress--bar__bar {
      width: 50px;
    }
  }
  .works {
    background: url(assets/img/bg3.jpg) no-repeat center;
    height: 100vh;
    align-items: center;
    position: relative;
  }
  .works-wrap {
    display: block;
    margin: 40px 30px;
    overflow: hidden;
    transition: 0.2s;
    border-radius: 10px;
    border: 1px solid #ffee4e;
    position: absolute;
    animation: borderflash 1.5s infinite;
  }
  .works-wrap:hover {
    box-shadow: 0px 5px 5px #615f5f;
    transform: translateX(-2px);
  }
  .works-wrap a {
    display: block;
    filter: grayscale(100%);
  }
  .works-wrap a:hover {
    transform: scale(1.05);
    filter: none;
    opacity: 1;
  }
  
  @keyframes borderflash {
    0% {
      border: 0px solid rgba(255, 237, 77, 0.027);
      transition: 0.2s;
    }
    50% {
      border: 3px solid rgba(255, 237, 77, 0.541);
      transition: 0.2s;
    }
    100% {
      border: 0px solid rgba(255, 237, 77, 0.027);
      transition: 0.2s;
    }
  }
  @media (max-width: 990px) {
    .works-wrap {
      width: 150px;
      position: relative;
      margin: 60px 5px;
    }
  
    div.col-lg-3 {
      width: 25%;
    }
  }
  @media (max-width: 760px) {
    .works {
      height: 70vh;
    }
    .works-wrap {
      width: 120px;
      margin: 40px 5px;
    }
  }
  @media (max-width: 520px) {
    .works-wrap {
      width: 90px;
      margin: 50px auto;
    }
  }
  @media (max-width: 435px) {
    .works-wrap {
      width: 140px;
      margin: 20px auto;
    }
  
    div.col-lg-3 {
      width: 50%;
    }
  }
  @media (max-width: 320px) {
    .works {
      height: 90vh;
    }
  }
  .copyright {
    font-size: 8px;
    right: 0px;
   }