*{
    box-sizing: border-box;
}

html{
    margin: 0;
}

@font-face {
    font-family: "Verdana";
    src: url("../fonts/Verdana.ttf");
}
@font-face {
    font-family: "VerdanaB";
    src: url("../fonts/Verdana-Bold.ttf");
}
@font-face {
    font-family: "VerdanaT";
    src: url("../fonts/Verdana-Thin.ttf");
}

body{
    margin: 0;
    font-family: Verdana;
    width: 100vw;
    overflow-x: hidden;
    background-color: #FAF6E9;
    color: #2D2E2F;
}

.scroll-block{
    overflow: hidden;
}

main{
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.sidebar-wrap{
    width: 33.3%;
    position: relative;
    z-index: 10;

}

.fill-sidebar{
    background-color: #FAF6E9;
}

.sidebar{
    width: 33.3vw;
    display: flex;
    flex-direction: column;
    position: fixed;
    padding: 30px 30px 0 0;
    box-sizing: border-box;
    top: 0;
    left: 0;
}


.web-menu{
    display: flex;
}

.mobile-menu{
    display: none;
}

.menu-btn{
    display: flex;
    justify-content: end;
}

.menu-btn img{
    align-self: center;
    cursor: pointer;
    height: 27px;
}

.mobile-logo{
    display: none;
    height: 100%;
    justify-content: center;
    align-items: center;
}


.mobile-logo img{
    align-items: center;
    height: 100%;
}

.main-logo{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    margin-top: 76px;
    text-decoration: none;
    color: #2D2E2F;
}

.main-logo img{
    align-self: center;
    width: 43%;
    margin: 0 0 0 30px;
}

.main-logo h1{
    font-size: 1.6em;
    font-family: VerdanaT;
    margin: 1em 0 1em 1em;
}

.hymn{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 50px;
    margin: 2em 0 1em 1em;
}

.hymn img{
    cursor: pointer;
    align-self: center;
    height: 3em;
}

.hymn p{   
    font-size: 0.8em; 
}

.content{
    width: 66.6%;
}

footer{
    display: flex;
    width: 100%;
    font-size: 0.75em;
}

.footer-empty-space{
    width: 33.3%;
}

.footer-wrap{
    display: flex;
    flex-direction: column;
    width: 66.6%;
}

.footer-main{
    display: flex;
    flex-direction: column;
    width: 100%;
    border-top: 1px solid black;
    padding: 25px 0;
    margin-top: 40px;
    box-sizing: border-box;
}

.site-structure{
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid black;
    padding-bottom: 25px;
    margin-bottom: 35px;
    padding-right: 22%;
}

.site-structure-column{
    display: flex;
    flex-direction: column;
    width: 33%;
    padding-right: 2%;
}

.site-structure-column-full{
    width: 100%;
}

.site-structure-column-become-web{
    display: flex;
}

.site-structure-column-become-mobile{
    display: none;
}

.site-structure-title{
    display: flex;
    text-transform: uppercase;
    text-decoration: none;
    color: #2D2E2F;
    font-weight: 900;
    transition: 0.3s;
}

.become-to-mason{
    margin-top: 50px;
}

.site-structure-title:hover{
    color: #9C1433;
}

.site-structure-title img{
    align-self: center;
    width: 38px;
    margin: 0 10px 0 0;
}

.site-structure-link{    
    text-decoration: none;
    color: #2D2E2F;
    margin: 0 0 8px 0;
    transition: 0.3s;
    text-transform: uppercase;
}

.site-structure-link:hover{
    color: #9C1433;
}

.legal-info{
    display: flex;
    padding-right: 22%;
}

.legal-info-main{
    display: flex;
    width: 100%;
}

.legal-info-main img{
    align-self: center;
    width: 34%;
    margin: 0 12% 0 0;
}

.legal-info-main-text{
    width: 60%;
}

.legal-info-details{
    display: flex;
    flex-direction: column;
    width: 100%;
}

.legal-info-details .legal-info-text{
    display: flex;
}

.legal-info-details p, .legal-info-details h3{
    margin: 6px 0;
}

.legal-info-authors{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 38%;
    white-space: nowrap;
}

.legal-info-authors-web{
    display: flex;
}

.legal-info-authors-mobile{
    display: none;
}

.legal-info-authors-wrap{
    display: flex;
    text-decoration: none;
    color: #2D2E2F;
    transition: 0.3s;
}

.legal-info-authors-wrap:hover{
    color: #9C1433;
}

.legal-info-authors-wrap img{
    align-self: center;
    margin-right: 12px;
}

.legal-info-authors-wrap p{
    text-transform: uppercase;
    font-family: VerdanaB;
}

.footer-bottom{
    border-top: 1px solid #2D2E2F;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: 50px 0;
}

.footer-ua-logo{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 75px;
    width: 20.5%;
}

.footer-ua-logo img{
    align-self: center;
    margin: 4px 0;
}

.signature{
    display: flex;
    flex-direction: column;
}

.signature p{
    margin: 6px 0;
    font-size: 1em;
    text-transform: uppercase;
    font-weight: 900;
}

@media (min-width: 1900px){
    footer{
        font-size: 1em;
    }
}









header{
    width: 100%;
    height: 100vh;
    z-index: 5;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    top: 0;
    transition: 0.3s;
}

.hide-header{
    /* display: none; */
    top: -100vh;
}

.top-header-content-item{
    display: flex;
    flex-direction: column;
    margin: 50px 0;
}

.main-page-link{
    font-size: 1.4em;
    margin: 0 0 10px 0;
}

.top-header-content-item p{
    padding: 0 40% 0 0;
    font-size: 0.8em;
    line-height: 1.2;
    margin: 0;
}

.main-header-content-item{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10% 0 0;
}

.main-header-content-column{
    display: flex;
    flex-direction: column;
    width: 47%;
    height: 100%;
}

.second-page-item-wrap{
    display: flex;
    flex-direction: column;
    /* height: 100%; */
    /* flex-grow: 1; */
    margin: 0 0 2em 0;
}

.second-page-item-wrap p{
    font-size: 0.8em;
    line-height: 1.2;
    margin: 0;
}

.header-empty-space{
    width: 33.3%;
}

/* tabs */

.tabs {
  width: 66.6%;
  float: none;
  list-style: none;
  position: relative;
  margin: 0;
  text-align: left;
  display: flex;
  padding: 0;
  background-color: #FAF6E9;
}
.tabs li {
  float: left;
  display: block;
  width: 25%;
}
.tabs input[type="radio"] {
  position: absolute;
  top: 0;
  left: -9999px;
}
.tabs label {
    height: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8em;
  font-family: Verdana;
  font-weight: normal;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  /* top: 4px; */
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  white-space: nowrap;
  border-bottom: 2px solid #2D2E2F;
}

.tabs label img{
    height: 40%;
    align-self: center;
    margin-right: 10px;
}
.tabs label:hover {
    color: #9C1433;
}
.tabs .tab-content {
  z-index: 5;
  display: none;
  overflow: hidden;
  width: 100%;
  height: 88vh;
  font-size: 17px;
  line-height: 25px;
  padding: 0;
  position: absolute;
  /* top: 53px; */
  left: 0;
}
.tabs .tab-content a{
    text-decoration: none;
    color: #2D2E2F;
    font-family: Verdana;
    font-weight: 900;
    transition: 0.3s;
    text-transform: uppercase;
}
.tabs .tab-content a:hover{
    color: #9C1433;
}

html body .tabs .tab-content .current-page-item{
    color: #9C1433;
}

.tabs [id^="tab"]:checked + label {
  top: 0;
  background: #851a38;
  color: #fff;
}
.tabs [id^="tab"]:checked + label img{
    filter: invert(1);
}

.tabs [id^="tab"]:checked ~ [id^="tab-content"] {
  display: flex;
  flex-direction: column;
}

p.link {
  clear: both;
  margin: 380px 0 0 15px;
}
p.link a {
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  color: #fff;
  padding: 5px 10px;
  margin: 0 5px;
  /* background-color: #612e76; */
  -moz-transition: all 0.2s ease-in;
  -o-transition: all 0.2s ease-in;
  -webkit-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
}
p.link a:hover {
  /* background-color: #522764; */
}


.tabs a[href^="#"], footer a[href^="#"]{
    color: gray;
}



#tab-3{
    white-space: normal;
    padding: 0 1em 0 2em;
}




@media (min-width: 1900px){
    .tabs .tab-content a{
        font-size: 1.3em;
    }

    .tab-content .top-header-content-item .main-page-link {
        font-size: 2em;
    }
    

    .top-header-content-item p, .main-header-content-item p{
        font-size: 1em;
    }

    .tabs label{
        font-size: 1em;
    }    
}


@media (min-width: 1300px) and (max-width: 1370px) and (min-height: 950px) and (max-height: 1050px){
    label[for="tab3"]{
        white-space: normal;
        padding: 0 0.3em;
        align-items: center;
        justify-content: center;
    }

    .tabs label img{
        margin-left: 20px;
    }

}


@media (max-width: 500px){
    main{
        flex-direction: column;
    }

    
    .hymn{
        order: 1;
        margin: 0;
        align-items: center;
        justify-content: center;
    }

    .hymn img{
        height: 32px;
    }

    .menu-btn{
        order: 3;
    }
    
    .hymn p{
        display: none;
    }

    
    .mobile-logo{
        order: 2;
        display: flex;
    }

    .mobile-logo img{
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        height: 70%;
    }

    .menu-btn img{
        height: 22px;
        z-index: 5;
    }

    


    .sidebar-wrap{
        width: 100%;
        height: 70px;
    }

    .sidebar{
        width: 100%;
        height: 70px;
        background-color: #FAF6E9;
        padding: 10px 20px 10px 20px;
        box-sizing: border-box;
        flex-direction: row;
        justify-content: space-between;
    }

    .content{
        width: 100%;
    }

    .main-logo{
        display: none;
    }
    
    .site-structure{
        flex-direction: column;
    }

    .site-structure-column{
        width: 100%;
    }

    .footer-wrap{
        width: 100%;
    }

    .footer-empty-space{
        width: 0%;
    }

    .site-structure-title{
        margin-top: 16px;
    }
    
    .legal-info-text{
        flex-direction: column;
    }

    .legal-info{
        padding: 0;
    }

    
    .site-structure{
        margin-bottom: 10px;
    }

    .legal-info-main-text, .legal-info-authors{
        width: 100%;        
    }

    .legal-info-main-text{
        padding-right: 20px;
        text-align: justify;
    }

    .legal-info-details h3 {
        text-align: center;
    }

    .legal-info-details .legal-info-date {
        border-bottom: 1px solid black;
        padding: 0 0 16px 0;
    }

    .footer-ua-logo{
        margin-right: 10px;
    }

    .footer-bottom{
        justify-content: center;
        padding: 16px;
    }

    .footer-ua-logo img{
        width: 100%;
    }

    .tabs{
        width: 100%;
    }

    header{
        top: 70px;
    }

    .tabs label img{
        display: none;
    }
    
    .legal-info-authors-web{
        display: none;
    }

    .legal-info-authors-mobile{
        display: flex;
        margin-top: 10px;
    }

    .web-menu{
        display: none;
    }

    .mobile-menu{
        display: flex;
        background-color: #FAF6E9;
    }

    .header-empty-space{
        display: none;
    }

    
    footer{
        padding: 0 0 0 20px;    
    }

    
    .site-structure-column-become-web{
        display: none;
    }

    .site-structure-column-become-mobile{
        display: flex;
    }
}   
