@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Bahnschrift;
}



ul{
    list-style: none;
    padding-left: 0!important;
    margin-bottom: 0!important;
}

a{
    text-decoration: none;
}

header{
    position: sticky;
    top: 0px;
    background-color: #0077bb;
    width: 100%;
    height: 48px;
    z-index: 1000;
}

section{
    position: relative;
    height: calc(100vh - 3rem);
    width: 100%;
    background: url('bg.jpg') no-repeat top center / cover;
    overflow: hidden;
}

.overlay{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgb(56, 165, 238, 0.5);
}

.container-menu{
    max-width: 100%;
    padding: 0 24px;
    margin: 0 auto;
    display: flex;
    position: relative;
}

.logo-container{
    /* flex: 1; */
    display: flex;
    align-items: center;
    padding-right: 24px;
}

.nav-btn{
    flex: 3;
    display: flex;
}

.nav-links-menu{
    flex: 2;
}

.log-sign{
    display: flex;
    justify-content: end;
    align-items: center;
    flex: 1;
}

.logo{
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 3rem;
}

.logo span{
    font-weight: 300;
}

.btn{
    display: inline-block;
    padding: .5rem 1.3rem;
    font-size: .8rem;
    border: 2px solid #fff;
    border-radius: 2rem;
    line-height: 1;
    margin: 0 .2rem;
    transition: .3s;
    text-transform: uppercase;
}

.btn.solid, .btn.transparent:hover{
    background-color: #fff;
    color: #69bde7;
}

.btn.transparent, .btn.solid:hover{
    background-color: transparent;
    color: #fff;
}

.nav-links-menu > ul{
    display: flex;
    justify-content: start;
    align-items: center;
}

.nav-link-menu{
    position: relative;
}

.nav-link-menu > a{
    line-height: 3rem;
    color: #fff;
    padding-right: 12px;
    letter-spacing: 1px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: .5s;
}

.nav-link-menu > a > i{
    margin-left: .2rem;
}

.nav-link-menu:hover > a{
    transform: scale(1.1);
}

.dropdown-menu-1{
    position: absolute;
    top: 100%;
    left: 0;
    width: 16rem;
    transform: translateY(10px);
    opacity: 0;
    pointer-events: none;
    transition: .5s;
}

.dropdown-menu-1 ul{
    position: relative;
}

.dropdown-link-menu > a{
    display: flex;
    background-color: #0085d1;
    color: #ffffff;
    padding: .2rem 1rem;
    font-size: .7rem;
    align-items: center;
    justify-content: space-between;
    transition: .3s;
}

.dropdown-link-menu:hover > a{
    background-color: #ff9010;
    color: #fff;
}

.dropdown-link-menu:not(:nth-last-child(2)){
    border-bottom: 1px solid #efefef;
}

.dropdown-link-menu i{
    transform: rotate(-90deg);
}

.arrow{
    position: absolute;
    width: 11px;
    height: 11px;
    top: -5.5px;
    left: 32px;
    background-color: #0085d1;
    transform: rotate(45deg);
    cursor: pointer;
    transition: .3s;
    z-index: -1;
}

.dropdown-link-menu:first-child:hover ~ .arrow{
    background-color: #ff9010;
}

.dropdown-link-menu{
    position: relative;
}

.dropdown-menu-1.second{
    top: 0;
    left: 100%;
    padding-left: .8rem;
    cursor: pointer;
    transform: translateX(10px);
}

.dropdown-menu-1.second .arrow{
    top: 10px;
    left: -5.5px;
}

.nav-link-menu:hover > .dropdown-menu-1,
.dropdown-link-menu:hover > .dropdown-menu-1{
    transform: translate(0, 0);
    opacity: 1;
    pointer-events: auto;
}

.hamburger-menu-container{
    flex: 1;
    display: none;
    align-items: center;
    justify-content: flex-end;
}

.hamburger-menu{
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hamburger-menu div{
    width: 1.6rem;
    height: 3px;
    border-radius: 3px;
    background-color: #fff;
    position: relative;
    z-index: 1001;
    transition: .5s;
}

.hamburger-menu div:before,
.hamburger-menu div:after{
    content: '';
    position: absolute;
    width: inherit;
    height: inherit;
    background-color: #fff;
    border-radius: 3px;
    transition: .5s;
}

.hamburger-menu div:before{
    transform: translateY(-7px);
}

.hamburger-menu div:after{
    transform: translateY(7px);
}

#check{
    position: absolute;
    top: 50%;
    right: 1.5rem;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    z-index: 90000;
    cursor: pointer;
    opacity: 0;
    display: none;
}

#check:checked ~ .hamburger-menu-container .hamburger-menu div{
    background-color: transparent;
}

#check:checked ~ .hamburger-menu-container .hamburger-menu div:before{
    transform: translateY(0) rotate(-45deg);
}

#check:checked ~ .hamburger-menu-container .hamburger-menu div:after{
    transform: translateY(0) rotate(45deg);
}

@keyframes animation{
    from{
        opacity: 0;
        transform: translateY(15px);
    }
    to{
        opacity: 1;
        transform: translateY(0px);
    }
}

@media (max-width: 920px){
    .hamburger-menu-container{
        display: flex;
    }

    #check{
        display: block;
    }

    .nav-btn{
        position: fixed;
        height: calc(100vh - 3rem);
        top: 3rem;
        left: 0;
        width: 100%;
        background-color: #0077bb;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        overflow-x: hidden;
        overflow-y: auto;
        transform: translateX(100%);
        transition: .65s;
    }

    #check:checked ~ .nav-btn{
        transform: translateX(0);
    }

    #check:checked ~ .nav-btn .nav-link-menu,
    #check:checked ~ .nav-btn .log-sign{
        animation: animation .5s ease forwards var(--i);
    }

    .nav-links-menu{
        flex: initial;
        width: 100%;
    }

    .nav-links-menu > ul{
        flex-direction: column;
    }

    .nav-link-menu{
        width: 100%;
        opacity: 0;
        transform: translateY(15px);
    }

    .nav-link-menu > a{
        line-height: 1;
        padding: 1.6rem 2rem;
    }

    .nav-link-menu:hover > a{
        transform: scale(1);
        background-color: #0085d1;
    }

    .dropdown-menu-1, .dropdown-menu-1.second{
        position: initial;
        top: initial;
        left: initial;
        transform: initial;
        opacity: 1;
        pointer-events: auto;
        width: 100%;
        padding: 0;
        background-color: #0085d1;
        display: none;
    }
    
    .nav-link-menu:hover > .dropdown-menu-1,
    .dropdown-link-menu:hover > .dropdown-menu-1{
        display: block;
    }

    .nav-link-menu:hover > a > i,
    .dropdown-link-menu:hover > a > i{
        transform: rotate(360deg);
    }

    .dropdown-link-menu > a{
        /*background-color: #008fe1;*/
        color: #fff;
        padding: 1.2rem 2rem;
        line-height: 1;
    }

    .r-0:hover, .r-1:hover, .r-2:hover, .r-3:hover{
        background-color: orange!important;
    }   
    .r-1{
        background-color: #0074b7!important;
    }    
    .r-2{
        background-color: #00639d!important; 
    }
    .r-3{
        background-color: #00507e!important; 
    }
    .dropdown-menu-1.second .dropdown-link-menu > a{
        padding: 1.2rem 2rem 1.2rem 3rem;
    }

    .dropdown-menu-1.second .dropdown-menu-1.second .dropdown-link-menu > a{
        padding: 1.2rem 2rem 1.2rem 4rem;
    }

    .dropdown-link-menu:not(:nth-last-child(2)){
        border-bottom: none;
    }

    .arrow{
        z-index: 1;
        background-color: #0085d1;
        left: 10%;
        transform: scale(1.1) rotate(45deg);
        transition: .5s;
    }

    .nav-link-menu:hover .arrow{
        display: none;
        background-color: #0085d1;
    }

    .dropdown-menu-1 .dropdown-menu-1 .arrow{
        display: none;
    }

    .dropdown-link-menu:hover > a{
        background-color: #ff9010;
    }

    .dropdown-link-menu:first-child:hover ~ .arrow{
        background-color: #50a9d6;
    }

    .nav-link-menu > a > i{
        font-size: 1.1rem;
        transform: rotate(-90deg);
        transition: .7s;
    }

    .dropdown-menu-1 i{
        font-size: 1rem;
        transition: .7s;
    }

    .log-sign{
        flex: initial;
        width: 100%;
        padding: 1.5rem 1.9rem;
        justify-content: flex-start;
        opacity: 0;
        transform: translateY(15px);
    }
}


/* TITLE COMPANY 
-------------------------------------------- */

.container-company{
  justify-content: center;
  align-items: center;
}
.container-title{
  

}
.title-company{
  font-weight: bold;
  font-size: 18px;
  color: #0166c0;  
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: center;
}

/* FOOTER 
--------------------------------------------- */

footer{
  color: white;
  font-size: 12px;
}
.footer-contact a{
  color: white;
}
.social a{
  color: white; 
  font-size: 30px;
}
.fa-youtube-play:hover{
  color: #bb0000;
}
.fa-telegram:hover{
  color: #2a9dd5;
}
.fa-instagram:hover{
  color: #c14294;
}
.fa-facebook-official:hover{
  color: #3b5998;
}

.footer-menu a{
  color: white;
}
.footer-menu a:hover{
  color: #f7b322;
}

/* MY CSS
-------------------------------------------------- */

.bg-purple{
    background-color: #201747!important;
}
.bg-blue{
  background-color: #0277bd!important;
}
.bg-iepor{
  background-color: #fff;
}

.card {
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  width: 65%;
  padding: 15px;
}

.card a{
    padding: 0;
    display: flex;
    align-items: center;
}

.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}
.card-body {
}
.container-card {
  padding: 2px 16px;
}
.container-card p {
    font-size: 1.9vw;
}
.card-items {
    display: flex;
    justify-content: center;
    text-align: center;
}


.menu-center {
    display: flex;
    justify-content: center;
    align-items: center;
}
.menu-center a{
    text-decoration: none;
    color: #fff;
    margin-right: 20px;
    font-size: 1vw;
}
.menu-center a:hover{
    color: orange;
}
.menu-center p {
    font-size: 16px;
    color: white;
    margin: 0;
}

.card-title{
    font-size: 1.3vw;
    color: #585858;
}

.link-line {
    padding: 10px 10px;
}
.link-line a{
    color: #0e0e0e;
    text-decoration: underline;
}
.link-line a:hover{
    color: orange;
}
.top-navbar-1{
    padding: 5px 10px;
    background-color: #0077bb;
}



/* PAGE STYLE
-------------------------------------------- */
.page-pd-20{
    padding-top: 25px;
    padding-bottom: 25px;
    padding-left: 20px;
    padding-right: 20px;
}

.page_content{
  padding: ;
}

.url_nav{
  font-size: 12px; 
  color: #201747;
  margin: 0 0 15px 0;
}
.url_page{

}
.url_a{
  color: #201747;
  text-decoration: none;
}
.url_a:hover{
  color: #0277bd;
  text-decoration: underline;  
}
.post-title{
  margin-bottom: 15px;
}
.post-title a{
  text-decoration: none;
  font-size: 30px;
  color: #201747;
}
.post-title a:hover{
  color: #0277bd;
}
.text-content{}

/* Акордион для страниц
-------------------------------  */
.accordion-h5 {
  margin-top: 20px;
}

.accordion-blog {
  background-color: #53bcfb;
  color: #fff;
  cursor: pointer;
  padding: 10px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
}

.active-blog, .accordion-blog:hover {
  background-color: #16a7ff;
}

.accordion-blog:after {
  content: '\002B';
  color: #fff;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.active-blog:after {
  content: "\2212";
}

.panel-blog {
  padding: 0 18px;
  padding-top: 10px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

/* Оголошення
-------------------------------  */

/* The Modal (background) */
.ad-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 250px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
}

/* Modal Content */
.ad-modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 5px;
  border: 1px solid #888;
  width: 50%;
}

/* The Close Button */
.ad-close {
    color: #ff4242;
    float: right;
    font-size: 34px;
    font-weight: bold;
    line-height: 20px;
}

.ad-close:hover,
.ad-close:focus {
  color: #1ab300;
  text-decoration: none;
  cursor: pointer;
}
.ad-p{
    margin: 20px; 
}
.ad-p a{
    background-color: red;
    color: white;
    padding: 10px;
}
.ad-p a:hover{
    background-color: green;
    color: white;
    padding: 10px;
}
#adBtn {
   background-color: #add3ff;
   border: none; 
}

/* Стиль анонімної форми 
-------------------------------  */

.inputa, .textareaa {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

.submita {
  background-color: #0077bb;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.submita:hover {
  background-color: #004d79;
}

.container-forma {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
  margin: 0px 100px;
  border: 1px #d7d7d7 solid;
}