@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    width: 100%;
    position: relative;
    font-family: 'Montserrat', sans-serif;
    background: url(./img/background_page.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
main{
    margin: auto;
    width: 100%;
    background: white;
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 15%);
}
.container{
    padding: 10px;
    width: 100%;
    max-width: 1440px;
    margin: auto;
}
i{
    font-style: normal;
}
#service svg{
    fill: black!important;
}
img{
    width: 100%;
}
:root{
    --primary-color: #1c54a9;
}
.top-bar .container{
    display: flex;
    align-items: center;
}
.logo{
    flex: 1;
    font-weight: 800;
    text-transform: uppercase;
    color: #1c54a9;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.logo img{
    max-width: 200px;
}
.fil0 {fill:#1c54a9}
.fil1 {fill:#FEFEFE}
.logo svg{
    height: 50px;
    margin-right: 15px;
}
.info{
    flex: 2;
    display: flex;
    justify-content: flex-end;
}
.info-box{
    display: flex;
    margin: 10px 20px;
    align-items: center;
}
.info-text{
    margin-left: 10px;
}
.info-text i{
    display: block;
    font-size: 12px;
    color: #999;
}
.warning-box{
    background: #1c54a9;
    color: white;
}
li{
    list-style: none;
}
a{
    display: block;
    text-decoration: none;
    color: unset;
}
nav{
    background: #00305b;
}
nav .container{
    text-align: right;
}
.menu{
    display: flex;
    justify-content: flex-end;
}
.menu li a{
    padding: 10px 12px;
    margin: auto 12px;
    color: white;
    font-weight: 500;
    transition: .2s;
}
.menu li a:hover{
    color: #FF7F00;
}
header{
    padding: 100px 0;
    position: relative;
    z-index: 1;
}
header:after{
    background: url(https://img.freepik.com/premium-photo/contemporary-spacious-office-room-interior-with-city-view-daylight-workplace-design-concept-with-carpet-floor-office-furniture-meeting-room-living-area-reception-hall-white-3d-rendering_156429-3211.jpg?w=1380);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom center;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: .5;

}
header .container{
    padding: 30px;
}
header .container h1{
    color: #00305b;
    font-weight: 800;
    font-size: 3em;
    line-height: 1.6em;
}
header .container p{
    font-size: 1.45em;
    width: 45%;
    line-height: 1.6em;
    color: #00305b;
    margin: 20px 0;
}
.info-line{
    background: var(--primary-color);
    color: white;
    position: relative;
}
.white-btn{
    background: white;
    color: var(--primary-color);
    padding: 12px 26px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
}
.info-line h2{
    margin: 15px 0;
}
.info-line a{
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
}
.service-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 2em;
    margin: 30px auto;
}

.service{
    text-align: center;
    position: relative;
    transition: .3s;
    background: #f1f1f1;
    border-radius: 12px;
    min-height: 200px;
}

.company{
    padding: 15px 20px;
    -webkit-box-shadow: 0px 0px 50px -15px rgba(0,0,0,0.1);
    -moz-box-shadow: 0px 0px 50px -15px rgba(0,0,0,0.1);
    box-shadow: 0px 0px 50px -15px rgba(0,0,0,0.1);
}
.select-language{
    display: flex;
    align-items: center;
    color: white;
}
.select-language a img{
    max-width: 30px;
    position: relative;
}
.select-language a:after{
    position: absolute;
    top: -3px;
    left: -2px;
    bottom: -1px;
    right: -2px;
    background: white;
    content: "";
    z-index: -1;
    border-radius: 50%;
}
.select-language a{
    display: inline-block;
    color: white;
    text-transform: uppercase;
    font-size: 12px;
    position: relative;
    z-index: 1;
}
.select-language b{
    font-weight: 300;
    margin: auto 4px;
}
.active-lang{
    color: #FF7F00!important;
}
.hovered-box{
    position: absolute;
    bottom: -10px;
    right: 10px;
    width: 280px;
    height: auto;
    padding: 10px;
    background: white;
    border: 1px solid lightgrey;
    opacity: 0;
    transition: .3s;
    font-size: 13px;
    border-radius: 3px;
}
.btn.btn-big {
    font-size: 18px;
    padding: 15px 20px;
    min-width: 100px;
}
.btn-close {
    color: #aaaaaa;
    font-size: 30px;
    text-decoration: none;
    position: absolute;
    right: 5px;
    top: 0;
}
.btn-close:hover {
    color: #919191;
}

.modal:target:before, .modal.loaded:before {
    display: block;
}
.modal:target .modal-dialog, .modal.loaded .modal-dialog {
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    transform: translate(0, 0);
    top: 0;
}
.modal-dialog {
    background: #fefefe;
    border: #333333 solid 1px;
    border-radius: 5px;
    position: relative;

    z-index: 11;
    width: 100%;
    -webkit-transform: translate(0, -500%);
    -ms-transform: translate(0, -500%);
    transform: translate(0, -500%);
    -webkit-transition: -webkit-transform 0.3s ease-out;
    -moz-transition: -moz-transform 0.3s ease-out;
    -o-transition: -o-transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
}
.modal-body {
    padding: 20px;
}
.modal-header,
.modal-footer {
    padding: 10px 20px;
}
.modal-header {
    border-bottom: #eeeeee solid 1px;
}
.modal-header h2 {
    font-size: 20px;
}
.modal-footer {
    border-top: #eeeeee solid 1px;
    text-align: right;
}
.flip-card {
    background-color: transparent;
    width: 100%;
    min-height: 200px;
    overflow: hidden;
    perspective: 1000px;
    cursor: pointer;
  }
  
  .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    transition: transform 1.5s;
    transform-style: preserve-3d;
    background: #f1f1f1;
    border-radius: 12px;
    -webkit-box-shadow: 0px 0px 50px -15px rgba(0,0,0,0.1);
    -moz-box-shadow: 0px 0px 50px -15px rgba(0,0,0,0.1);
    box-shadow: 0px 0px 50px -15px rgba(0,0,0,0.1);
  }
  
  .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }
  
  .flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  

  .flip-card-back {
    transform: rotateY(180deg);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    align-content: center;
    padding: 5px 10px;
  }
  .flip-card-back li{
    margin: 10px 0;
    list-style: circle;
    text-align: left;
  }
.service:hover .hovered-box{
    opacity: 1;
}
.company h3{
    font-size: 20px!important;
    margin-bottom: 18px!important;
}
.company li{
    list-style: circle;
    margin: 12px 0;
    text-align: left;
}
.icon svg{
    width: 35px;
    margin: 22px auto;
    display: block;
    fill: black;
}
.icon img{
    width: 50px;
    margin: 22px auto;
}
.service .icon svg, .flip-card-front .icon svg{
    height: 70px!important;
    width: unset;
}
.service h3, .flip-card h3{
    font-size: 15px;
    text-transform: uppercase;
    color: #333333;
    margin: 10px auto;
}
.service p{
    font-size: 16px;
    color: #333333;
    line-height: 1.8em;
}
.connect-to-me{
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: #000000;
}
.connect-to-me:before{
    background: url(./img/website2.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    z-index: -2;
    position: absolute;
    opacity: .3;
}
.connect-to-me:after{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    background: url(./img/diagonalstripe-black.png);
    background-repeat: repeat;
    opacity: .3;
    z-index: -1;
}
.connect-to-me .container{
    display: flex;
}
.text-box, .form-box{
    flex: 1;
    margin: 15px;
}
.connect-to-me h2{
    font-size: 36px;
    color: white;
    margin: 20px 0;
}
.connect-to-me ul{
    background: rgba(0,0,0,.5);
    padding: 10px;
}
.connect-to-me ul li{
    margin: 10px 0;
}
.connect-to-me p{
    font-size: 18px;
    color: white;
    line-height: 1.7em;
}
.form{
    background: white;
    padding: 10px;
    border-radius: 10px;
    max-width: 400px;
    margin: auto;
}
.mini-title{
    font-size: 28px;
    display: block;
    margin-bottom: 20px;
}
label{
    display: block;
    margin: 15px auto;
}
label b{
    font-weight: 500;
    margin: 6px 0;
    display: block;
}
.form i{
    text-transform: uppercase;
    color: #999;
}
label input, label textarea{
    outline: 0;
    background: rgb(236, 236, 236);
    border: 0;
    height: 3.75em;
    display: block;
    width: 100%;
    padding: 10px;
}
label textarea{
    height: unset;
}
.blue-btn{
    background: var(--primary-color);
    padding: 15px 20px;
    border-radius: 30px;
    text-align: center;
    color: white;
    border: 0;
    outline: 0;
    font-weight: 600;
}
.about-us h2{
    font-size: 54px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.about-us{
    background: #edf4ff;
    color: black;
    padding: 40px 0;
}
.about-us .container{
    padding: 10px 30px;
}
.about-flex{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 2em;
    margin: 25px 0;
}
.about-us p{
    max-width: 800px;
    line-height: 1.6em;
    margin: 20px 0;
}
.contact{
    padding: 30px 0;
}
.contact .container, .about .container{
    display: flex;
    padding: 10px 30px;
}
.contact-left{
    flex: 1;
}
.contact-right{
    flex: 1;
}
.contact h2{
    font-size: 36px;
    color: #333333;
    margin: 20px 0;
}
.contact p{
    font-size: 20px;
    line-height: 1.7em;
    margin: 50px 0;
}
.contact-bottom-box{
    background: #333333;
    max-width: 400px;
    margin: auto;
    color: white;
    padding: 15px;
    display: block;
}
.contact-bottom-box h3{
    font-weight: 400;
    text-transform: uppercase;
}
.contact-bottom-box li{
    margin: 20px 0;
}
.contact-bottom-box li b{
    letter-spacing: 1px;
    display: block;
    margin: 4px 0;
    font-size: 14px;
}
.footer{
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    padding: 30px 0;
    margin: 20px 30px;
    border-top: 2px solid #333333;
}
.footer li{
    flex: 1;
}
.right{
    text-align: right;

}
.footer li a{
    display: unset;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.menu-btn{
    width: 32px;
    display: flex;
    flex-direction: column;
    display: none;
    margin: 10px;
}
.menu-btn span{
    width: 100%;
    height: 2px;
    margin: 3px;
    background: white;
}
.overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.overlay-active{
    z-index: 2;
}
.documents{
    padding-left: 20px;
}
.documents li{
    display: inline-block;
    margin: 10px;
}
.documents li a{
    background: #1c54a9;
    color: white;
    padding: 12px;
}
.downloadable{
    min-height: 50vh;
}
@media(max-width: 1024px){
    nav .container{
        text-align: right;
        display: flex;
        justify-content: flex-end;
    }
    .info{
        display: none;
    }
    .menu{
        position: fixed;
        top: 0;
        right: 0;
        width: 18rem;
        height: 100vh;
        background: #1c54a9;
        display: block;
        z-index: 10000;
        padding-top: 80px;
        transform: translateX(18rem);
        transition: .3s;
    }
    .menu-active{
        transform: translateX(0rem);
    }
    .menu li{
        text-align: left;
        font-size: 18px;
        margin: 15px 0;
    }
    .menu-btn{
        display: flex;
    }
    .connect-to-me .container{
        display: block;

    }
    .about-flex, .contact .container{
        display: block;
    }
    .contact-bottom-box{
        max-width: 100%;
        margin: 30px auto;
    }
    .service-grid{
        grid-template-columns: repeat(2, 1fr);
    }
    .info-line h2{
        font-size: 18px;
    }
}
@media(max-width: 768px){
    .about .container{
        display: block;
    }
    .info-line h2{
        width: calc(100% - 160px);
    }
    header h1{
        text-align: center;
    }
    header .container p{
        width: 100%;
        text-align: center;
    }
    header:after{
        opacity: .5;
    }
    .footer{
        display: block;
    }
    .right{
        text-align: center;
    }
    .footer li{
        margin: 15px auto;
        text-align: center;
    }
    .connect-to-me h2, .about-us h2{
        font-size: 32px;
    }
    header .container h1{
        font-size: 36px;
    }
}
@media(max-width: 585px){
    .service-grid{
        grid-template-columns: repeat(1, 1fr);
    }
}