* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
*:focus{
    outline: none;
}
body{
    font-family: Arial, Helvetica, sans-serif;
}
.wrapper-privacy .boldText{
    font-size: 1.2rem;
    font-weight: bold;
}
.wrapper-privacy ol{
    list-style: none;
    counter-reset: li;
}
.wrapper-privacy li{
    margin: 1rem 0;
}
.wrapper-privacy li li{
    margin-left: 1.5rem;
}
.wrapper-privacy li:before{
    counter-increment: li;
    content: counters(li, '.') '.';
    margin-right: .5rem;
}
header{
    display: flex;
    justify-content: space-between;
    width: 90%;
    margin: 0 auto;
    padding-top: 1rem;
    background: #fff;
}
header .logo{
    margin-right: 1rem;
}
header .navigation{
    width: 78%;
    display: flex;
    justify-content: space-between;
}
header .hamburger{
    display: none;
}
header .navigation .menu{
    list-style: none;
    display: flex;
}
header .navigation .menu a{
    color: #000;
    text-transform: uppercase;
    text-decoration: none;
    transition: all .5s;
}
header .navigation .menu a:hover{
    color: rgb(174, 17, 110);
}
header .navigation .menu .menu_item + .menu_item{
    margin-left: 1rem;
}
header .dropdown-menu{
    position: relative;
    display: flex;
    flex-direction: column;
    transition: position, display  1s;
}
header .dropdown-menu .dropdown-item{
    cursor: pointer;
}
header .dropdown-menu .dropdown-item:not(.active){
    display: none;
}
header .dropdown-menu:hover .dropdown-item{
    display: block;
}
header .search{
    display: flex;
    align-items: end;
}
header .search fieldset{
    border: none;
}
header .search label{
    display: none;
}
header .search [name="search"]{
    box-shadow: -3px 2px 5px 2px grey;
    border: none;
    border-radius: .2rem;
    padding: .2rem;
} 
header .search [type="submit"]{
    background: none;
    border: 1px solid gray;
    padding: .2rem .5rem;
    border-radius: .2rem;
    transition: all .5s;
}
header .search [type="submit"]:hover{
    background-color: rgb(174, 17, 110);
    cursor: pointer;
    color: #fff;
}
.langs_wrap{
    position: relative;
    width: 5%;
}
.langs{
    display: flex;
    align-items: end;
    position: absolute;
    right: 0;
}
.langs .imglang{
    width: 20px;
}
img{
    max-width: 100%;
    width: 100%;
    height: auto;
}
.recommended{
    width: 100%;
    background-color: #F1F2F2;
    border-bottom: 1px solid #E5E5E5;
    border-top: 1px solid #E5E5E5;
    padding: 1rem 1rem 2rem 1rem;
    margin-bottom: 3rem;
}
.recommended .recommeded-title{
    font-size: 1.5rem;
    margin-bottom: .5rem;
}
.recommended .gallery .images{
    display: flex;
}
.recommended .carousel{
    position: relative;
    width: 87vw;
    padding: 0 1rem;
    margin-top: 1rem;
}
.recommended .arrow{
    position: absolute;
    top: 50%;
    transform:translateY(-50%);
    border: none;
    background-color: transparent;
    cursor: pointer;
    transition: all .8rem;
    z-index: 1;
}
.recommended .arrow:hover{
    color: #EC008C;
}
.recommended .arrow:before{
    display: inline;
    font-weight: bold;
    font-size: 2rem;
}
.recommended .prevBtnCarousel{
    left: 0;
}
.recommended .prevBtnCarousel:before{
    content: '<';
}
.recommended .nextBtnCarousel{
    right: 0;
}
.recommended .nextBtnCarousel:before{
    content: '>';
}
.recommended .gallery .images .carousel-block{
    width: 21.3vw;
    padding: 0 1rem;
}
.recommended .carousel-block .date{
    color: #acacac;
    font-size: .8rem;
}
.recommended .gallery .images li > span{
    color: transparent;
}
.recommended .gallery{
    width: 85vw;
    overflow: hidden;
}
.recommended .gallery .images{
    list-style: none;
    width: 9999px;
    transition: margin-left 250ms;
}
.recommended .gallery .images .tags{
    font-size: .8rem;
}
.recommended .gallery .images .title{
    font-size: 1rem;
}
.mainWithAside{
    padding-right: 1rem;
}

.article iframe{
    display: block;
    width: 100%;
    height: 50vh;
    margin: 1rem auto;
}
p{
    margin: 1rem 0;
}
a{
    color: inherit;
    text-decoration: none;;
}
a:hover{
    color: rgb(174, 17, 110);
}

.container{
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}
.mainWithAside{
    width: 80%;
}
.article{
    display: flex;
    flex-wrap: wrap;

    margin: 2rem 0;
}
.prevNextBtns{
    width: 20%;
}
.preview::before{
    content: '<<';
    margin-right: .5rem;
}
.next::after{
    content: '>>';
    margin-left: .5rem;
}
.articleTitle{
    width: 80%;
}
.grayLine{
    width: 100%;
    margin: 1rem 0;
}
.articleInfo{
    width: 20%;
    padding-right: 1rem;
}
.articleContent h1,
.articleContent h2,
.articleContent h3, 
.articleContent h4,
.articleContent h5{
    text-align: center;
}
.articleContent img{
    width: auto;
    display: block;
    margin: 0 auto;
}
.panel{
    border-top: 1px solid #cacaca;
    padding: 1.5rem 1.5rem 1.5rem 0;
    margin: 0 1rem 0 0;
}
.rows .panel:last-child{
    border-bottom: 1px solid #cacaca;
}
.articles .panel:first-child{
    margin-top: 2rem;
}
.articles .panel:last-child{
    margin-bottom: 2rem;
}
.panel-body{
    display: flex;
}
.img-preview{
    display: block;
    width: 30%;
}
.info-preview{
    width: 70%;
    padding: 0 1rem;
}
.title-preview{
    margin-bottom: 1rem;
}
.descr-preview{
    margin-top: 1rem;
    font-size: .8rem;
}
.tags{
    margin-top: 1rem;
}
.tags .btn-info:not(:last-child)::after{
    content: ', ';
}
.pagination{
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 1rem;
}

.pagination .page-item a{
    display: inline-block;
    border: 1px solid #000;
    border-radius: .5rem;
    padding: .3rem .5rem;
    transition: all .5s;
}
.pagination .page-item a:hover{
    color: #fff;
    background-color: rgb(174, 17, 110);
}
.pagination .page-item.disabled a{
    color: #acacac;
    cursor: default;
}
.pagination .page-item.active a{
    background-color: rgb(174, 17, 110);
    color: #fff;
}
.pagination .page-item + .page-item{
    margin-left: .5rem;
}
.aboutUs{
    margin: 3rem 1rem .5rem 0;
}
.aboutUs .rules img{
    width: auto;
}
.articleContent{
    width: 80%;
}
.aside{
    width: 20%;
}
.aside .aside_title{
    text-transform: uppercase;
    color: #fff;
    background-color: #38A9FF;
    padding: .8rem 0 .7rem 1rem;
}
.aside .last-article{
    padding: 0;
    padding: .7rem 0;
    border: none;
}
.aside .last-article:last-child{
    border: none;
}
.aside .last-article .info-preview{
    padding: 0 .5rem;
}
.aside .last-article .title-preview{
    font-size: .8rem;
}
.aside .top-news-img{
    padding: .5rem 0;
}
.aside .aside_title:not(:first-child){
    margin-top: 3rem;
}
footer{
    width: 100%;
    background-color: #222;
    text-align: center;
    color: #fff;
    padding: .5rem 0;
}
#arrowTop{
    height: 3rem;
    width: 3rem;
    color: #000;
    position: fixed;
    bottom: 2rem;
    right: 0.8rem;
    cursor: pointer;
    border: 1px solid;
    border-radius: 100%;
}
#arrowTop::before{
    content: '\2191';
    font-size: 2rem;
}
#arrowTop:hover{
    color: rgb(174, 17, 110);
}
.error-404{
    width: 100%;
    height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.error-404 .error-content{
    width: 50%;
}
.error-404 .error-content > div{
    margin-top: 1rem;
}
.error-404 .error-content > a{
    background: rgb(174, 17, 110);
    padding: .5rem 1rem;
    border-radius: .5rem;
    margin-top: 1.5rem;
    display: inline-block;
    color: #fff;
    transition: all .5s;
}
.error-404 .error-content > a:hover{
    background-color: #000;
}
.error-404 .error-img{
    position: absolute;
    width: auto;
    height: 80vh;
    top: -1rem;
    right: 25%;
    animation-name: anim404;
    animation-iteration-count: infinite;
    animation-duration: 10s;
    animation-timing-function: ease;
    transform-origin: 50% 0%;
    z-index: -1;
}
@keyframes anim404{
    0%{
        transform: rotate3d(0, 0, 1, 30deg);
    }
    50%{
        transform: rotate3d(0, 0, 1, -30deg);
    }
    100%{
        transform: rotate3d(0, 0, 1, 30deg);
    }
}
@media (max-width: 1024px){
    .recommended .gallery .images .carousel-block{
        width: 21vw;
    }
    .recommended .gallery .images .title{
        font-size: .9rem;
    }
    header .logo{
        width: 20%;
    }
}
@media (max-width: 768px){
    header .hamburger{
        display: block;
        width: 40px;
        height: 45px;
        position: relative;
        margin: 0 auto;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        -o-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        cursor: pointer;
        z-index: 2;
    }
    header .hamburger span{
        display: block;
        position: absolute;
        height: 4px;
        width: 100%;
        background: #000;
        border-radius: 1rem;
        opacity: 1;
        left: 0;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .25s ease-in-out;
        -moz-transition: .25s ease-in-out;
        -o-transition: .25s ease-in-out;
        transition: .25s ease-in-out;
    }
    header .hamburger span:nth-child(1) {
    top: 0px;
    }
    
    header .hamburger span:nth-child(2),
    header .hamburger span:nth-child(3) {
    top: 13px;
    }
    
    header .hamburger span:nth-child(4) {
    top: 26px;
    }
    
    header .hamburger.hamburger_active span:nth-child(1) {
    top: 18px;
    width: 0%;
    left: 50%;
    }
    
    header .hamburger.hamburger_active span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    }
    
    header .hamburger.hamburger_active span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    }
    
    header .hamburger.hamburger_active span:nth-child(4) {
    top: 18px;
    width: 0%;
    left: 50%;
    }
    body{
        position: relative;
    }
    header .navigation{
        display: flex;
        align-items: center;
    }
    .menu{
        position: absolute;
        top: -100%;
        left: 0;
        height: 50vh;
        width: 100vw;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        background-color: rgba(255,255,255, .8);
        z-index: 1;
        transition: top .5s ease-in-out;
    }
    .menu .menu_item{
        margin-bottom: 1.5rem;
        margin-left: 0;
    }
    header .navigation .menu .menu_item + .menu_item{
        margin-left: 0;
    }
    .menu.menu_active{
        top: 0;
    }
    .menu .search{
        margin-bottom: 1rem;
    }
    .menu .search [name="search"]{
        background: transparent;
        border: 1px solid #000;
        border-radius: .2rem;
    }
    header .langs_wrap,
    header .logo{
        z-index: 2;
    }
    .mainWithAside,
    .aside{
        width: 100%;
    }
    .recommended .gallery .images .carousel-block{
        width: 27.7vw;
    }
    .article .prevNextBtns,
    .article .articleInfo{
        width: 25%;
    }
    .article .articleTitle,
    .article .articleContent{
        width: 75%;
    }
    .article .tags{
        font-size: .8rem;
    }
    
}
@media (max-width: 576px){
    .recommended .gallery{
        width: 80vw;
    }
    .recommended .carousel{
        width: 85vw;
        padding: 0 0.6rem;
    }
    .recommended .gallery .images .carousel-block{
        width: 41.2vw;
        padding: 0 .7rem;
    }
    .title-preview{
        font-size: 1rem;
    }
    .aboutUs .rules img{
        width: 30%;
    }
    .mainWithAside{
        padding: 0;
    }
    .article .prevNextBtns,
    .article .articleTitle,
    .article .articleInfo,
    .article .articleContent{
        width: 100%;
    }
    .article .prevNextBtns{
        display: flex;
        justify-content: space-between;
    }
    .article .articleTitle{
        text-align: center;
        width: 100%;
        margin-top: 1rem;
    }
    .panel{
        padding-right: 0;
        margin: 0;
    }
    .error-404 .error-img{
        animation-name: anim404mob;
        right: 15%;
    }
    @keyframes anim404mob{
        0%{
            transform: rotate3d(0, 0, 1, 10deg);
        }
        50%{
            transform: rotate3d(0, 0, 1, -10deg);
        }
        100%{
            transform: rotate3d(0, 0, 1, 10deg);
        }
    }
}
@media (max-width: 425px){
    .recommended .gallery .images .carousel-block{
        width: 79vw;
    }
    .recommended .carousel{
        width: 83vw;
    }
    .error-404{
        align-items: flex-end;
    }
    .error-404 .error-img{
        right: 30%;
        transform: translatex(-50%);
        height: 40vh;
    }
    .error-404 .error-content{
        width: 100%;
        margin-bottom: 7rem;
    }
    .pagination .page-item:first-child,
    .pagination .page-item:last-child{
        display: flex;
        justify-content: center;
        width: 100%;
        margin: 1rem 0;
    }
}
@media (max-width: 375px){
    .recommended .carousel{
        width: 80vw;
    }
    .recommended .gallery {
        width: 74vw;
    }
    .recommended .gallery .images .carousel-block {
        width: 74vw;
    }
    .panel-body{
        display: flex;
        flex-direction: column;
    }
    .img-preview,
    .info-preview{
        width: 100%;
        padding: 0;
    }
    .aside .last-article .info-preview{
        padding: 0;
    }
}