/* remove default spacing */
/* force styling of type through styling, rather than elements */
* {
  margin: 0;
  padding: 0;
  font: inherit;
}



/* responsive images/videos */

/* img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
} */

/* Improved heading in supported browsers */
h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

/* improve readability with max-width on paragraphs and lists */
/* prevent orphans in supported browsers */
p,
li {
  text-wrap: pretty;
}




html, body{
    margin:0;
    padding:0;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
}
h1, h2, h3, h4 {
    margin: 0;
    padding: 0;
}
*,
  *:before,
  *:after{
      padding: 0;
      margin: 0;
      box-sizing: border-box;
  }

:root {
    --med-red: #cc1e1e;
    --dark-red: rgb(79, 11, 11);
    --dark: #151313;
    --dark-grey: #313334;
  }
  .hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap; /* added line */
    border: 0;
  }


  .popup{
      background-color: gainsboro;
      color: #000;
      width: 550px;
      padding: 55px 40px 30px 40px;
      position: absolute;
      transform: translate(-50%,-50%);
      left: 50%;
      top: 50%;
      border-radius: 8px;
      display: none;
      text-align: center;
      border: 8px solid #e7eae7;
      z-index: 2;
  }
  .popup button{
      display: block;
      margin:  0 0 20px auto;
      background-color: transparent;
      font-size: 30px;
      color: #000000;
      border: none;
      outline: none;
      cursor: pointer;
  }
  .popup p{
      font-size: 17px;
      text-align: center;
      margin: 20px 0;
      line-height: 25px;
  }
  .popup a{
    color: #1c1e1f;
    font-weight: 500;
  
  }
  .popup a:hover{
    font-weight: 600;
  }
  .popup-img-link{
    display: block;
  }
  .popup .sslogo{
    display: inline-block;
    position: relative;
    margin: 10px auto;
    text-align: center;
    background-color: #1c1e1f;
    color: #ffffff;
    text-decoration: none;
    transition: all 1s ease;
    border-radius: 15px;
  padding: 0.5em;
  filter: drop-shadow(#644a4a -0.1rem 0.1rem 0.4rem);
  }
  .popup .sslogo:hover{
    transform: scale(1.1,1.1);
    filter: drop-shadow(0 0 0);
  }
  .popup #close {
    background: #1c1e1f;;
    padding: 0.8em;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 900;
    color: #fff;
    font-size: 2em;
    position: absolute;
    top: 0.3em;
    right: 0.3em;
  }
  .popup #close:hover {
    background: #cc1e1e;
    transform: rotate(15deg);
  }

  @media (max-width: 800px){
    .popup {
      width: 95%;
      padding: 75px 15px 20px 15px;
    }
    .popup .sslogo {
      max-width: 100%;
  }
  }



/* 
// header navigation //
*/

.primary-header{
    position: fixed;
    top: 0;
    width: 100%;
    /*background-color: #00000091;*/
  z-index: 1;
  height: 80px;
}
.primary-header{
    margin-top:0;
    /*height: 3em;*/
}
.header-container{
    height: 100%;
}
.nav-wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
.mobile-nav-toggle{
    display: none;
}

.nav-list{
    font-size: 1.1em;
    display: flex;
    align-items: center;
    list-style: none;
}
.menu-item {
    margin: 0 0.8em;
  }

.menu-item-social{
    padding: 0;
    margin: 0 0.2em;
 }
:nth-child(1 of .menu-item-social) {
    margin-left: 0.8em;
  }
 .menu-item-social img{
    display: block;
 }
.nav-list a{
    color: #fff;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 500;
}

.nav-list a:hover,
.nav-list a:focus{ 
    color: var(--med-red);
}
li.current-menu-item a,
li.current-page-ancestor > a { 
    color: var(--med-red);
    font-weight: 600;
}

@media (max-width: 800px){
    .primary-navigation{
        display: none;
        position: absolute;
        margin-left: auto;
        padding: 1em;
        inset: 80px 0 auto;
        background: rgba(0, 0, 0, 0.9);
    }
    .nav-container {
      padding-bottom: 1em;
    }
    .nav-list{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        text-align: center;
        padding: 0;
    }
    .menu-item {
        grid-column: span 3;
        margin: 0.5em 0;
      }
    .menu-item-social{
        grid-column: span 1;
        margin-top: 0.8em ;
     }
     :nth-child(1 of .menu-item-social) {
        margin-left: auto;
     }
     :nth-child(2 of .menu-item-social) {
        margin: auto;
        margin-top: 0.8em;
     }
     :nth-child(3 of .menu-item-social) {
        margin-right: auto;
     }
    .nav-list a{
        color: white;
        text-decoration: none;
    }
    .nav-list a:hover,
    .nav-list a:focus{
        color: red;
    }
    .primary-navigation[data-visible]{
        display: block;
        z-index: 5;
        width: 100vw;
    }
    .mobile-nav-toggle{
        display: block;
        cursor: pointer;
        background: transparent;
        border: 0;
        padding:0.5em;
    }
    
    .mobile-nav-toggle .icon-close{
        display: none;
    }
}




/* 
// page content //
*/

.container{
    width:1200px;
    margin: 0 auto;
}
@media (max-width: 1200px){
  .container{
    width: 100%;
    padding: 0 0.9em;
}
}
@media (max-width: 800px){
    .container{
        width: 100%;
        padding: 0 0.8em;
    }
}

footer{
    padding: 6em 0 0 0;
    background-color: var(--dark-grey);
}
.footer-container{
    display: flex;
    justify-content: space-between;
}
.footer-col{
    width: 31%;
    line-height: 1.6;
}
.footer-col-left{
    display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.footer-col-right{
    display: flex;
  flex-direction: column;
  align-items: end;
}
.footer-col-center{
    display: flex;
    flex-direction: column;
    align-items: center;
}
footer .menu-item{
    margin:0;
}
footer ul{
    display: flex;
  gap: 1em;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
  width: 190px;
}
.footer-tel{
  margin: 0.8em 0;
  display: block;
}
.footer-copyright-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
    margin-top: 6em;
    padding: 1.5em;
    background-color: var(--dark);
    line-height: 1.6;
    border-top: 3px solid var(--dark-red);
}
.footer-copyright-container a{
  color: #fff;
  font-weight: 600;
}
@media (max-width: 800px){
    footer {
        padding: 2em 0 0 0;
      }
    .footer-container {
        flex-wrap: wrap;
      }
      .footer-col{
        font-size: 0.9em;
        align-items: center;
      }
      .footer-col-left {
        width: 100%;
        margin: 0 auto;
      }
      footer ul {
        gap: 1.5em;
        margin: 2em 0;
        width: 100%;
      }
      .footer-col-center {
        width: 60%;
        padding-right: 0.6em;
      }
      .footer-col-right {
        width: 40%;
      }
      .footer-copyright-container {
        margin-top: 4em;
      }
}


main{
    margin:0;
    padding:0;
    height: 100vh;
}
.home-wrapper{
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    perspective: 10px;
}
.hero-section{
    height: 100vh;
    width: 100vw;
    position: relative;
    transform-style: preserve-3d;
    z-index: -1;  
}
.hero-section::before{
    content:'';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    min-height: 100%;
    background-image: url('../images/hero_image.jpg');
    background-size: cover;
    display: block;
    background-repeat: no-repeat;
    background-position: top;
    transform: translateZ(-10px) scale(2);
}
.hero-container{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /*transform: translateZ(-5px) scale(1.5);*/
}
.hero-container h1 {
    margin-top: 0;
    font-size: 3.2em;
    text-shadow: 0 0 5px #000;
}
.hero-container h2 {
    margin-top: 0.4em;
    font-size: 1.8em;
    text-shadow: 0 0 5px #000;
    font-weight: 600;
}
.btn {
    background: var(--med-red);
    border: 2px solid var(--med-red);
    border-radius: 6px;
    box-shadow: rgba(0, 0, 0, 0.1) 1px 2px 4px;
    box-sizing: border-box;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-block;
    font-size: 1em;
    font-weight: 600;
    line-height: 16px;
    min-height: 40px;
    outline: 0;
    padding: 14px 16px;
    text-align: center;
    text-rendering: geometricprecision;
    text-transform: uppercase;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: middle;
  }
  
  .btn:hover,
  .btn:active {
    background-color: #fff;
    background-position: 0 0;
    color: var(--med-red);
  }
  
  .btn:active {
    opacity: .5;
  }
  .hero-btn{
    margin-top: 1.4em;
  }

  .btn-main {
    appearance: none;
    background-color: var(--dark-red);
    border: none;
    box-sizing: border-box;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    margin: 0;
    min-height: 60px;
    min-width: 0;
    outline: none;
    padding: 16px 24px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    width: 100%;
    will-change: transform;
  }
  
  .btn-main:disabled {
    pointer-events: none;
  }
  
  .btn-main:hover {
    box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
    transform: translateY(-2px);
    background-color: var(--med-red);
  }
  
  .btn-main:active {
    box-shadow: none;
    transform: translateY(0);
  }
  .btn-footer{
    padding: 0.3em;
    min-height: 50px;
  }




.home-about{
    padding: 6em 0;
    background-color: var(--dark);
}
.home-about-container{
    display: flex;
    justify-content: space-between;
}
.home-about-left-block{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 400px;
    min-height: 544px;
    height: auto;
    border: 15px solid var(--dark-red);
}
.home-about-left-block p{
    background-color: var(--dark);
    padding: 0.8em 0;
  margin: 0 -2em 0 2em;
  font-size: 3em;
  font-weight: 800;
}
.home-about-right-block{
     width: 388px;
}
.home-about-right-block img{
  width: 100%; 
  height: auto;
}
.home-about-right-block .btn-main{
    margin: 1.5em 0 0 0;
}
.home-about-right-block p{
font-size: 1.125rem;
  line-height: 1.8;
  margin-top: 1em;
}


.home-info{
    position: relative;
    background-color: var(--dark);
    padding: 0 0 6em 0;
}
.home-info::before{
    content:'';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    height: 750px;
    background-image: url('../images/home_info_image.jpg');
    background-size: cover;
    display: block;
    background-repeat: no-repeat;
    background-position: top;
}
.home-info-container{
    display: flex;
    gap: 1.8em;
    justify-content: space-between;
    position: relative;
    padding-top: 500px;
}
.home-info-block{
    background-color: var(--dark-red);
    padding: 2em;
    width: 33%;
}
.home-info-block img{
    width: 100%;
    height: auto;
    display: block;
}
.home-info-block h3{
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 1.2;
    margin-top: 0.7em;
}
.home-info-block {
    line-height: 1.6;
}
@media (max-width: 1200px){
  .hero-container h1 {
    width: 70%;
  }
  .home-about-container {
    gap: 3em;
  }
  .home-about-left-block,
  .home-about-right-block {
    width: 50%;
  }
  .home-about-left-block p {
    margin: 0 -1em 0 0.7em;
  }
  .home-info-container {
    gap: 0.6em;
  }
  .home-info-block {
    padding: 1.1em;
    width: 33%;
  }
  .home-info-block h3 {
    font-size: 1.2rem;
    margin-bottom: 0.2em;
  }
}
@media (max-width: 800px){
    .hero-container h1 {
        line-height: 1;
        font-size: 3em;
      }
      .hero-container h2 {
        margin-top: 0.7em;
        font-size: 1.4em;
      }
      .home-about {
        padding: 6em 0 2em;
      }
      .home-about-container {
        flex-wrap: wrap;
        gap: 0;
      }
      .home-about-left-block {
        width: 80%;
        min-height: 344px;
        height: auto;
        margin-left: 1em;
        margin-bottom: 6em;
      }
      .home-about-left-block p {
        background-color: var(--dark);
        padding: 0.7em 0;
        margin: 0 -1.5em 0 1.5em;
        font-size: 2.1em;
        font-weight: 800;
      }
      .home-about-right-block{
        width: 100%;
      }
      .home-about-right-block p {
        margin-top: 1em;
      }
      .home-info {
        padding: 0 0 3em 0;
      }
      .home-info-container {
        flex-wrap: wrap;
        gap: 1em;
      }
      .home-info-block {
        width: 100%;
        padding: 1.4em;
      }
}








.about-wrapper{
    height: 100%;
    background: var(--dark);
}
.about-top-section{
    position: relative;
    padding-bottom: 6em;
}
.about-top-section::before{
    content:'';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    height: 900px;
    background-image: url('../images/about_team.jpg');
    background-size: cover;
    display: block;
    background-repeat: no-repeat;
    background-position: top;
}
.about-top-title h1{
    position: relative;
    padding-top: 3.2em;
    font-size: 2.5em;
    text-shadow: 0 0 5px #000;
    text-align: center;
}
.about-top-container{
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5em;
    flex-direction: row;
    justify-content: space-between;
    /*transform: translateZ(-5px) scale(1.5);*/
    position: relative;
    padding-top: 18em;
}
.about-top-block{
    width: 280px;
    background-color: rgba(255, 255, 255, 0.8);
    color: black;
    padding: 1.6em 0;
    margin: 0 auto;
  text-align: center;
}
.about-top-block img{
  margin-inline: auto;
}
.about-top-block h2{
    margin-top: 1em;
}
@media (max-width: 1200px){
  .about-top-container {
    gap: 0;
  }
  .about-top-block {
    width: 24%;
    padding: 0.5em;
    margin: 0.3em 0.1em;
  }
  .about-top-container img {
    width: 100%;
    height: auto;
  }
  .about-top-block h2 {
    font-size: 1.2em;
    margin: 0.6em 0 0.4em 0;
  }
}
@media (max-width: 800px){
    .about-top-container {
        gap: 0;
        justify-content: space-around;
      }
      .about-top-block {
        width: 49%;
        padding: 0.2em 0.2em 1.2em 0.2em;
      }
      .about-top-container img {
        width: 100%;
        height: auto;
      }
      .about-top-block h2 {
        font-size: 1.2em;
        margin-top: 0.3em;
      }
}




.contact-top-section{
    /*background-image: url('../images/contact_top.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;*/
    position: relative;
    background: var(--dark);
}
.contact-top-section::before{
    content:'';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    height: 750px;
    background-image: url('../images/contact_top.jpg');
    background-size: cover;
    display: block;
    background-repeat: no-repeat;
    background-position: top;
}

.container-top-section{
    padding-top: 8em;
    padding-bottom: 1em;
  display: flex;
  justify-content: space-between;
  gap: 1.8em;
  position: relative;
}
.contact-top-block{
    width: 33%;
    background-color: rgba(255, 255, 255, 0.8);
    color: black;
    padding: 1.6em 0;
    margin: 0 auto;
  text-align: center;
  font-weight: 500;
  font-size: 1.1em;
}
.contact-top-block img{
margin-inline: auto;
}
.contact-top-block h2{
    margin: 1em;
    font-size: 1.3em;
}
.container-bottom-section{
    display: flex;
    margin-top: 1em;
    padding-bottom: 9em;
    position: relative;
}
.contact-bottom-block{
    width: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    color: black;
    padding: 1.6em 0;
    margin: 0 auto;
  text-align: center;
  font-weight: 500;
  font-size: 1.1em;
}
.contact-bottom-block-form{
    background-color: var(--dark-grey);
    color: #fff;
}

  #contact {
    width: 100%;
    height: 100%;
  }
  
  form { max-width:420px; margin:50px auto; }

.feedback-input {
  color:white;
  font-weight:500;
  font-size: 18px;
  border-radius: 5px;
  line-height: 22px;
  background-color: transparent;
  border: 2px solid var(--med-red);
  transition: all 0.3s;
  padding: 13px;
  margin-bottom: 15px;
  width:100%;
  box-sizing: border-box;
  outline:0;
}

.feedback-input:focus { border:2px solid #CC4949; }

textarea {
  height: 150px;
  line-height: 150%;
  resize:vertical;
}

[type="submit"] {
  width: 100%;
  background: var(--med-red);
  border-radius:5px;
  border:0;
  cursor:pointer;
  color:white;
  font-size:24px;
  padding-top:10px;
  padding-bottom:10px;
  transition: all 0.3s;
  margin-top:-4px;
  font-weight:700;
}
[type="submit"]:hover { background:#CC4949; }


.contact-bottom-block-map{
    padding:0;
}
.embed-responsive-item{
    height: 100%;
    width: 100%;
    border: 0;
}
@media (max-width: 1200px){
  .contact-bottom-block-form {
    padding: 1em 0.4em 0 0.4em;
}
}
@media (max-width: 800px){
  .container-top-section {
    flex-wrap: wrap;
    gap: 1.5em;
  }
  .contact-top-block {
    width: 100%;
  }
  .container-bottom-section {
    display: flex;
    flex-wrap: wrap;
    margin-top: 1.5em;
    padding-bottom: 3em;
  }
  .contact-bottom-block {
    width: 100%;
  }
  .contact-bottom-block-form {
    padding: 0 0.5em;
  }
  .contact-bottom-block {
    min-height: 300px;
  }
  .contact-bottom-block h1{
    padding-top: 1em;
  }
  .contact-bottom-block form {
    margin: 2em 0;
  }
}
