@font-face {
    font-family: Cambria;
    src: url(font/Cambria.ttf) format("truetype");
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Cambria;
}
a {
    text-decoration: none;
    color: #fff;
}
ul {
    list-style-type: none;
}
.block {
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 100px 20px;
}
.line {
    width: 70%;
    border-top: 2px solid rgba(0, 0, 0, 0.4);
    margin: 0 auto;
}
#header,
#nav,
#wrapper {
    width: 100%;
}
#header {
    height: 100vh;
    color: #fff;
    position: relative;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../images/office-865091_1920.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
#nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    position: fixed;
    top: 0;
    left: 0;
    transition: 0.3s;
    height: 150px;
    z-index: 5000;
}
.sticky {
    background-color: rgba(0, 0, 0, 0.8);
    transition: 1s;
}
#logo,
#menu {
    width: 50%;
    padding: 10px;
}
#logo {
    font-size: 40px;
    padding-top: 10px;
    padding-left: 50px;
}
#logo img {
    width: 14%;
    margin-top: 15px;
}
#menu {
    text-align: right;
    position: relative;
}
#menu > p a {
    display: block;
    padding: 8px 20px;
    border-radius: 5px;
    border: 1px solid #fff;
}
#menu > p {
    width: max-content;
    margin-top: 15px;
    margin-right: 10px;
    font-size: 20px;
    float: right;
}
#menu img {
    width: 16px;
    height: 16px;
}
#popMenu {
    position: fixed;
    top: 0;
    right: -100%;
    border: 2px solid rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    transition: all 1s linear;
    z-index: 1000;
}
#popMenu p {
    display: flex;
    justify-content: space-between;
    text-align: center;
}
#popMenu a {
    color: #fff;
}
#popMenu.show {
    right: 0;
    transition: all 0.8s linear;
}
#popMenu span:nth-child(1) {
    float: left;
    font-size: 16px;
    text-align: justify;
}
#popMenu span:nth-child(1) a {
    margin-right: 15px;
}
#popMenu ul {
    text-align: left;
    margin-top: 70px;
    font-size: 18px;
}
#popMenu ul li {
    border-bottom: 2px solid rgba(29, 59, 99, 0.8);
    padding: 0 100px 10px 10px;
    margin-top: 30px;
    text-transform: uppercase;
}
#popMenu ul li a {
    color: #fff;
}
#closeMenu {
    font-size: 30px;
}
#main {
    height: 100vh;
    padding-top: 100px;
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}
#main h1 {
    width: 70%;
    margin: 0 auto;
    border-bottom: 3px solid rgba(255, 255, 255, 0.7);
    font-size: 55px;
    text-align: center;
    letter-spacing: 3px;
    font-weight: 200;
    display: none;
}
#main-header {
    padding-top: 50px;
    padding-bottom: 10px;
}
#main-header > p {
    width: 70%;
    margin: 10px auto;
    text-align: center;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 11px;
}
#main p > a {
    font-size: 35px;
    color: #999;
}
#main-section {
    width: 100%;
    display: flex;
    justify-content: space-around;
    padding-bottom: 10vh;
}
.main-part {
    width: 30%;
    font-size: 20px;
    line-height: 1.6;
    text-align: center;
    color: #999;
    padding: 15px 0;
}
.main-part span {
    font-size: 45px;
    color: #4d84cb;
}
.main-part a p {
    margin-bottom: 15px;
}
.main-part:nth-child(2) p {
    font-size: 25px;
    margin-top: 20px;
    color: #fff;
}
#main-section .main-part:nth-child(2) {
    border-left: 2px solid rgba(255, 255, 255, 0.7);
    border-right: 2px solid rgba(255, 255, 255, 0.7);
}
#main-section h2 {
    margin: 15px 0;
    color: #fff;
}
.colorIcon {
    font-size: 50px;
    color: rgba(29, 59, 99, 0.8);
}
.fadeText {
    color: #fff;
    font-size: 20px;
}
.about-image {
    width: 30%;
    text-align: center;
    margin: auto;
}
.about-image img {
    width: 90%;
    border-radius: 50%;
    border: 4px solid rgb(77, 132, 203);
}
.about-text {
    width: 70%;
}
.about-text h2 {
    font-weight: 100;
    font-size: 25px;
}
#about {
    text-align: justify;
}
.about-text p {
    margin-top: 50px;
    color: #999;
    font-size: 18px;
    letter-spacing: 1px;
}
#practice-areas {
    padding: 40px 140px;
    background-image: url(../images/black-370118_1280.png);
    background-repeat: no-repeat;
    background-size: cover;
}
.area {
    width: 25%;
    text-align: center;
    padding: 50px 0;
}
.area-icon {
    width: 100px;
    height: 100px;
    margin: auto auto;
    font-size: 45px;
    padding: 10px 0;
    color: #fff;
    border: 3px solid rgba(29, 59, 99, 0.8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.area-icon i {
    margin: auto;
}
.area-icon img {
    width: 45%;
}
.area:first-of-type .area-icon img {
    margin-top: 10%;
}
.area h3 {
    font-weight: 100;
    font-size: 20px;
    letter-spacing: 2px;
    color: #999;
    margin-top: 20px;
}
#learnMoreAreas {
    width: 100%;
    text-align: right;
    color: #999;
}
#learnMoreAreas p {
    padding: 7px 45px;
    width: max-content;
    border: 2px solid #fff;
    border-radius: 4px;
    float: right;
    font-size: 20px;
}
#footer {
    color: #999;
    padding: 50px;
}
#footer i {
    color: #153051;
}
.footer-area {
    width: 30%;
}
.footer-area p {
    margin-bottom: 10px;
    font-size: 20px;
}
#info-address p:nth-child(1) {
    font-weight: 700;
    color: #000;
}
#info-button p {
    padding: 7px 45px;
    width: max-content;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    background-color: rgba(29, 59, 99, 0.8);
    float: right;
}
#info-button p a {
    color: #000;
}
#scroll {
    position: fixed;
    bottom: 5px;
    right: 10px;
    font-size: 50px;
    color: #333;
}
#scroll a {
    color: #333;
}
.nav-black {
    background-color: rgba(0, 0, 0, 0.8);
}
#areasBlock {
    justify-content: flex-end;
    padding-bottom: 0;
}
.blockHeader {
    width: 100%;
}
#areaMenuHolder {
    height: 100%;
    width: 300px;
    position: fixed;
    z-index: 1;
    top: 100px;
    left: 0;
    overflow-x: hidden;
    padding-top: 50px;
}
#areaMenuHolder ul li {
    background-color: rgba(255, 255, 255, 0.8);
}
#areaMenuHolder a {
    color: rgba(29, 59, 99, 0.8);
}
#areasBlock ul {
    width: 100%;
    padding-top: 50px;
}
#areasBlock ul li {
    width: 90%;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 200;
    text-align: center;
    margin: 2px auto;
    border: 2px solid rgba(29, 59, 99, 0.8);
    border-radius: 4px;
    padding: 10px;
}
#areasBlock ul li a {
    display: block;
    width: 100%;
}
#allAreaBlocks {
    width: 100%;
    margin-left: 300px;
    text-align: justify;
}
#allAreaBlocks #footer.block {
    padding: 50px 0;
}
.blockHeader {
    width: 100%;
    text-align: center;
    margin: 90px 0;
    letter-spacing: 2px;
    font-weight: 300;
    font-size: 40px;
}
.areas {
    width: 100%;
    transition: 0.3s;
    padding: 100px 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    scroll-margin-top: 150px;
}
.areas h2,
.areas h3 {
    color: #153051;
}
.iconImage {
    width: 30%;
}
.areasText {
    width: 70%;
}
.areas h2 {
    width: 50%;
    font-size: 25px;
}
.areas p {
    color: #153051;
    font-size: 18px;
}
.lawAreaText {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.lawAreaText h2 {
    width: 100%;
}
.lawArea {
    width: 100%;
    display: none;
    height: fit-content;
    padding: 10px;
    margin-top: 20px;
}
.lawArea:first {
    display: block;
}
.lawAreaMenu ul {
    width: 100%;
    display: flex;
    font-size: 16px;
}
#gpMenu ul li {
    text-transform: none;
    width: 100%;
    margin-right: 2px;
}
.lawAreaMenu li a {
    color: #999;
    height: 100%;
    align-items: center;
}
.iconImage {
    width: 200px;
    height: 200px;
    font-size: 100px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid rgba(29, 59, 99, 0.8);
    border-radius: 50%;
    background-color: #153051;
}
.iconImage img {
    border: none;
    border-radius: 0;
    width: 60%;
}
.lineBlue {
    border-top: 2px solid rgba(29, 59, 99, 0.8);
}
#popMenu.blackBackground {
    background-color: #000;
}
#line-years {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    position: relative;
    z-index: 1000;
    margin: 150px 20px;
}
#middleLine {
    width: 100%;
    height: 10px;
    background: #4d84cb;
    background: linear-gradient(219deg, rgba(77, 132, 203, 0.5668834184064251) 51%, rgba(255, 255, 255, 0.23635120552127098) 100%);
    border-radius: 20px;
    background-image: linear-gradient(to right, #fff, #e6e5f5, #cacceb, #acb5e1, #899fd8, #728ec9, #597eba, #3e6eab, #335e93, #294e7d, #1f3f66, #153051);
}
#middleLine {
    width: 100%;
    height: 40%;
    position: absolute;
    z-index: -1000;
    top: 30%;
}
.lineYear {
    height: 35px;
    border-right: 3px dashed #999;
    position: relative;
}
.lineYear a {
    color: #999;
}
.yearTop {
    position: absolute;
    transform: rotateZ(45deg);
    font-size: 20px;
    color: #999;
}
.blockYear:nth-child(odd) .yearTop {
    top: -40px;
    left: -33px;
}
.blockYear:nth-child(even) .yearTop {
    top: 48px;
    left: -10px;
}
.lineYearText {
    display: none;
    color: #999;
    position: absolute;
    width: 300px;
    text-align: center;
    font-size: 18px;
}
#prBlock2024 {
    display: block;
}

#block2024 a {
    color: #4d84cb;
}

.blockYear:nth-child(odd) .lineYearText {
    top: 60px; /*top: 50px;  /*promenjeno*/
    left: -135px; /*left: -145px; /*promenjeno*/
}
.blockYear:nth-child(even) .lineYearText {
    top: -110px; /*top: -80px;  /*promenjeno*/
    left: -160px; /*left: -145px;  /*promenjeno*/
}
#contactBlock {
    padding: 0;
    padding-bottom: 50px;
}
#contact-info {
    width: 50%; 
    padding: 0px 20px; 
    text-align: center;
    border-right: 2px solid rgba(0, 0, 0, 0.4);
}
.contact-info-block {
    width: 100%;
    display: flex;
    justify-content: center;
}
.contact-info-block p {
    width: 45%;
    text-align: left;
    margin-top: 10px;
    letter-spacing: 1.5px;
}
#gmap_canvas{
    overflow:hidden;
    background:none!important;
    margin-top:10px;
    width: 100%;
    height: 350px;
}
.mapouter{
    width:45%;
}

.contact-info-block p:nth-child(1) {
    text-align: right;
    padding-right: 20px;
    font-size: 30px;
    color: rgba(29, 59, 99, 0.8);
}
.contact-info-block p:nth-child(2) {
    border-bottom: 2px solid rgba(29, 59, 99, 0.8);
}
.contact-info-block span {
    color: rgba(29, 59, 99, 0.8);
    font-size: 20px;
}
.contact-info-block .contactBlack {
    font-size: 16px;
    color: #000;
}
#form {
    width: 50%;
    padding: 0px 20px;
}
#form input,
#form input::placeholder,
#form textarea,
#form textarea::placeholder {
    font-size: 17px;
    padding-left: 3px;
    border-radius: 4px;
}
#form input {
    width: 70%;
    margin: 10px;
    height: 40px;
    border: none;
    border: 2px solid rgba(29, 59, 99, 0.8);
}
#form textarea {
    width: 70%;
    margin: 10px;
    min-height: 250px;
    border: 2px solid rgba(29, 59, 99, 0.8);
}
#form input[type="button"] {
    cursor: pointer;
    width: 40%;
    float: none;
    margin: 10px;
    height: 35px;
    border: 2px solid rgba(29, 59, 99, 0.8);
    background: rgba(29, 59, 99, 0.8);
    border-radius: 4px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}
#form input:focus,
#form textarea:focus {
    outline: 0;
}
.error {
    margin-left: 20px;
    color: red;
    display: none;
    transition: 0.3;
}
.contactMessage {
    display: none;
}
.contactMessage i {
    font-size: 30px;
    color: rgba(29, 59, 99, 0.8);
}
.contactMessage {
    color: rgba(29, 59, 99, 0.8);
}

/*MEDIA*/
@media screen and (max-width: 2560px) {
    #nav {
        height: 190px;
    }
    #main-header {
        padding-top: 150px;
        padding-bottom: 10px;
    }
}
@media screen and (max-width: 1920px) {
    #nav {
        height: 150px;
    }
    #main-header {
        padding-top: 150px;
        padding-bottom: 10px;
    }
}
@media screen and (max-width: 1536px) {
    #main-header {
        padding-top: 50px;
        padding-bottom: 10px;
    }
}
@media screen and (max-width: 1025px) {
    .lineYearText {
        font-size: 17px;
    }
    #contact-info {
        width: 50%;
    }
    .iconImage {
        width: 170px;
        height: 170px;
    }
    #area2 .iconImage {
        margin-top: 200px;
    }
    #info-address,
    #info-contact {
        width: 35%;
    }
    #info-button {
        width: 30%;
    }
    #allAreaBlocks #footer.block .footer-area p {
        font-size: 16px;
    }
    #practice-areas {
        padding: 40px 20px;
    }
    #logo img {
        width: 20%;
    }
}
@media screen and (max-width: 963px) {
    .lawAreaMenu ul {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .main-part {
        font-size: 16px;
    }
    .main-part:nth-child(2) p {
        font-size: 20px;
    }
    .about-text p {
        margin-top: 30px;
    }
    .lawArea p {
        margin-bottom: 20px;
    }
    #main-header {
        padding-top: 20px;
    }
    #areaMenuHolder {
        width: 250px;
    }
    #allAreaBlocks {
        margin-left: 250px;
    }
    #allAreaBlocks .areas {
        padding: 70px 0;
    }
    .iconImage {
        width: 120px;
        height: 120px;
        font-size: 80px;
    }
    .about-text p {
        font-size: 16px;
    }
    #gpMenu ul li {
        width: 50%;
        font-size: 16px;
        margin-right: 0;
        margin: 5px auto;
    }
    .contact-info-block p:nth-child(1) {
        width: 30%;
    }
    .contact-info-block p:nth-child(2) {
        width: 60%;
    }

    .mapouter{
        width: 100%;
    }
    #gmap_canvas{
        height:250px;
    }
}
@media screen and (max-width: 835px) {
    .lineYearText {
        font-size: 15px; /*promenjeno tj dodato*/
    }
    .footer-area p {
        font-size: 18px;
    }
    #info-address,
    #info-contact {
        width: 50%;
    }
    #info-button {
        width: 50%;
    }
}
@media screen and (max-width: 801px) {
    #main-header {
        padding-top: 0;
    }
    #main-section {
        flex-direction: column;
        padding-bottom: 20vh;
    }
    .main-part {
        width: 90%;
        margin: 0 auto;
        font-size: 20px;
    }
    #main-section .main-part:nth-child(2) {
        border: none;
        border-top: 2px solid rgba(255, 255, 255, 0.7);
        border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    }
    .footer-area p {
        font-size: 16px;
    }
    #areaMenuHolder {
        width: 200px;
    }
    .areas .about-image {
        order: 1;
    }

    .about-image {
        width: 60%;
    }

    .about-text h2{
        text-align: center;
        margin-top:15px;
    }

    .areas .about-text {
        width: 100%;
        order: 2;
    }
    #area2 .iconImage {
        margin-top: 0;
    }
}
@media screen and (max-width: 768px) {
    #areasBlock ul li {
        font-size: 15px;
    }
    #line-years {
        margin: 150px 16px;
    }

    .blockYear:nth-child(odd) .lineYearText{
        top:70px; /*promenjeno tj dodato*/
    }
}
@media screen and (max-width: 720px) {
    #nav {
        position: static;
    }
    #areasBlock.block {
        padding: 0 0;
    }
    #areasBlock ul {
        padding-top: 15px;
    }
    #areaMenuHolder {
        position: sticky;
        top: 0;
        width: 100%;
        height: 210px;
        padding: 0 5px;
        background-color: #333;
        border-top: 2px solid #fff;
    }
    .nav-black {
        background-color: #333;
    }
    #areasBlock #areaMenuHolder ul {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    #areasBlock #areaMenuHolder ul li {
        width: 50%;
        background-color: transparent;
        border: 1px solid #fff;
    }
    #allAreaBlocks {
        margin-left: 0;
    }
    #areasBlock #areaMenuHolder ul li a {
        color: #fff;
    }
    .areas .about-image {
        order: initial;
    }
    .areas .about-text {
        width: 70%;
        order: initial;
    }
    #area2 .iconImage {
        margin-top: 200px;
    }
    #contact-info,
    #form {
        width: 100%;
        text-align: center;
    }
    #form {
        margin-top: 30px;
    }
    #form input,
    #form textarea {
        margin: auto;
    }
    .contact-info-block p:nth-child(1) {
        width: 10%;
    }
    .contact-info-block p:nth-child(2) {
        width: 40%;
    }

    .contact-info-block:last-of-type p {
        display: none;
    }

    .mapouter{
        width: 70%;
    }
    #about .about-image {
        order: 1;
    }
    #about .about-image img {
        width: 100%;
    }
    #about .about-text {
        width: 100%;
        order: 2;
    }
    .lineYearText {
        font-size: 15px;
    }
    #logo img {
        width: 30%;
    }
    .blockYear:nth-child(even) .lineYearText {
        left: -170px;
    }
    .blockYear:nth-child(odd) .lineYearText {
        left: -120px;
    }
    #allAreaBlocks .areas {
        padding: 70px 10px;
    }
    #allAreaBlocks #footer.block {
        padding: 50px 10px;
    }
}
@media screen and (max-width: 641px) {
    #main {
        padding-top: 0;
    }
    #main h1 {
        font-size: 25px;
    }
    #main-header > p {
        font-size: 15px;
    }
    #main-section {
        flex-direction: row;
    }
    .main-part span {
        font-size: 25px;
    }
    .main-part p {
        font-size: 16px;
        line-height: normal;
    }
    #main-section {
        padding-bottom: 33vh;
    }
    .area {
        width: 30%;
    }
    .blockYear:nth-child(even) .lineYearText {
        left: -170px;
        top: -110px;
    }
    .blockYear:nth-child(odd) .lineYearText {
        left: -120px;
        top: 80px;
    }

    /*#prBlock2022{
        left:-50px;
    }*/

}
@media screen and (max-width: 602px) {
    #main-section {
        flex-direction: column;
    }
    #main-section {
        padding-bottom: 25vh;
    }
    #main-header {
        padding-top: 50px;
    }
    #main h1 {
        font-size: 40px;
    }
    .area h3 {
        font-size: 16px;
    }
    .lineYearText {
        width: max-content;
    }
    .blockYear:nth-child(even) .lineYearText {
        top: -120px;
        left: -100px;
    }
    .blockYear:nth-child(odd) .lineYearText {
        top: 90px;
        left: -50px;
    }
    /*#prBlock2021 {
        top: 90px;
        left: -40px;
    }*/
    #logo img {
        width: 40%;
    }
    #contactBlock h1 {
        margin: 20px 0;
    }
    .area {
        padding: 20px 0;
    }
}
@media screen and (max-width: 481px) {
    #about .about-image {
        width: 70%;
    }
    #main h1 {
        font-size: 35px;
    }
    #main-header > p {
        font-size: 18px;
    }
    #main-section {
        flex-wrap: wrap;
        flex-direction: initial;
    }
    .main-part {
        font-size: 16px;
    }
    .main-part:nth-child(odd) {
        width: 50%;
    }
    .main-part:nth-child(1) {
        order: 1;
    }
    .main-part:nth-child(3) {
        order: 2;
    }
    .main-part:nth-child(2) {
        order: 3;
        width: 100%;
    }
    .area {
        width: 30%;
    }
    .blockYear:nth-child(odd) .lineYearText {
        left: -60px;
    }
    #footer {
        padding: 50px 5px;
    }
    .blockHeader {
        margin: 30px 0;
    }
    .contact-info-block p:nth-child(2) {
        width: 60%;
    }
    #logo img {
        width: 50%;
    }
    #nav {
        height: 120px;
    }
    #areasBlock ul {
        padding-top: 20px;
    }
    #areasBlock #areaMenuHolder ul li {
        width: 31%;
        font-size: 11px;
    }
    #areaMenuHolder {
        height: 150px;
    }
    #logo img {
        width: 40%;
    }
    #menu > p {
        font-size: 16px;
    }
    #nav {
        height: 100px;
    }
    #areasBlock ul {
        margin-top: 10px;
        padding: 0;
    }
    #areasBlock #areaMenuHolder ul li:last-of-type {
        width: max-content;
    }
    .blockHeader {
        font-size: 25px;
    }
    .areas .about-image {
        order: 1;
    }
    .areas .about-text {
        width: 100%;
        order: 2;
    }
    #area2 .iconImage {
        margin-top: 0;
    }
    .iconImage {
        width: 80px;
        height: 80px;
        font-size: 40px;
    }
    .iconImage img {
        width: 65%;
    }
    .areas .about-text h2 {
        width: 100%;
        font-size: 20px;
    }
    .areas .about-text p {
        font-size: 15px;
    }
    .lawAreaMenu ul {
        justify-content: space-between;
        flex-wrap: wrap;
    }
    #gpMenu ul li {
        width: 32%;
        margin: 2px auto;
        font-size: 12px;
    }
    .lineYear a {
        font-size: 16px;
    }
    #main h1 {
        font-size: 32px;
    }
    #about {
        padding: 50px 20px;
    }
}
@media screen and (max-width: 415px) {
    #main-header > p {
        font-size: 16px;
    }
    .blockYear:nth-child(2n + 1) .lineYearText {
        left: -50px;
    }
    #info-address,
    #info-button,
    #info-contact {
        width: 80%;
        text-align: center;
    }
    #info-button p {
        float: none;
        margin: 0 auto;
    }
    #areaMenuHolder {
        height: 160px;
    }
    #main-header {
        padding-top: 30px;
    }
    #main h1 {
        font-size: 25px;
    }
    .area {
        width: 35%;
    }
    .contact-info-block p{
        font-size: 14px;
    }
    .contact-info-block p span{
        font-size: 17px;
    }
    .contact-info-block .contactBlack{
        font-size:14px;
    }
}
@media screen and (max-width: 394px) {
    #main h1 {
        font-size: 25px;
    }
    .area {
        width: 40%;
        padding: 30px 0;
    }
    .area h3 {
        font-size: 15px;
    }
    .contact-info-block p:nth-child(2) {
        width: 80%;
    }
    #form input,
    #form textarea {
        width: 90%;
    }
    /*#prBlock2021 {
        left: -130px;
    }*/
    .mapouter{
        width: 90%;
    }
}
@media screen and (max-width: 376px) {
    #main h1 {
        font-size: 25px;
        width: 90%;
        margin-top: 20px;
    }
    .area {
        padding: 30px 0;
    }
    #main-section {
        padding-bottom: 20vh;
    }
    .main-part:nth-child(odd) {
        width: 90%;
    }
    .main-part span {
        font-size: 35px;
    }
    .main-part p {
        line-height: 1.6;
    }
    .main-part a p {
        margin-bottom: 0;
        margin: auto;
        margin-left: 5px;
    }
    .main-part a {
        display: flex;
        flex-direction: row;
        text-align: center;
        width: fit-content;
        margin: auto;
    }
    .main-part {
        line-height: normal;
    }
    #main-section .main-part:nth-child(2) {
        border: none;
    }
    #main-section .main-part:nth-child(3) {
        border-top: 2px solid rgba(255, 255, 255, 0.7);
        border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    }
    #areasBlock #areaMenuHolder ul li {
        width: 40%;
    }
    #areasBlock ul li a {
        padding: 5px 10px;
    }
    #logo img {
        width: 45%;
    }
    .main-part:nth-child(2) p {
        font-size: 18px;
    }
    #main-header {
        padding-top: 0;
    }
    #main-header > p {
        font-size: 16px;
    }
    #areasBlock #areaMenuHolder ul li {
        width: 45%;
        padding: 0;
        margin-top: 8px;
    }
    #gpMenu ul li {
        width: 45%;
        padding: 5px;
    }
    .main-part:nth-child(2) p {
        margin-top: 10px;
    }
    .blockYear:nth-child(2n + 1) .lineYearText {
        left: -50px;
    }
    .lineYearText {
        font-size: 14px;
    }
}
@media screen and (max-width: 361px) {
    .main-part span {
        font-size: 29px;
    }
    .main-part p {
        line-height: 1.2;
    }
    .blockYear:nth-child(even) .lineYearText{
        left:-95px;
    }
}
@media screen and (max-width: 321px) {
    #gpMenu ul li {
        width: 50%;
    }
    #main h1 {
        font-size: 20px;
        margin-top: 0;
    }
    #main-header > p {
        margin-top: 0;
        font-size: 14px;
    }
    #about.block {
        padding: 50px 20px;
    }
    .about-text h2 {
        font-size: 20px;
    }
    .blockYear:nth-child(odd) .lineYearText {
        left: -50px;
    }

    .blockYear:nth-child(even) .lineYearText{
        left:-80px;
    }

    .contact-info-block p:nth-child(1) {
        font-size: 20px;
    }
    .contact-info-block span {
        font-size: 18px;
    }
    .main-part span {
        font-size: 18px;
    }
    .main-part p {
        font-size: 12px;
    }
    #main p > a {
        font-size: 20px;
    }
    #main-section {
        padding-bottom: 25vh;
    }
    .main-part:nth-child(2) p {
        margin-top: 0;
    }
    #about .about-image img {
        width: 100%;
    }
    .lineYearText {
        font-size: 12px;
    }
}
