@font-face {
    font-family: "BPG Arial";
    src: url("./fonts/bpg-arial/bpg-arial-webfont.eot");
    src: url("./fonts/bpg-arial/bpg-arial-webfont.eot?#iefix") format("embedded-opentype"),
        url("./fonts/bpg-arial/bpg-arial-webfont.woff2") format("woff2"),
        url("./fonts/bpg-arial/bpg-arial-webfont.woff") format("woff"),
        url("./fonts/bpg-arial/bpg-arial-webfont.ttf") format("truetype"),
        url("./fonts/bpg-arial/bpg-arial-webfont.svg#bpg_extrasquareregular") format("svg");
}

@font-face {
    font-family: "Datebashvili";
    src: url("./fonts/datebashvili/datebashvili.ttf");
}

html,
body {
    scroll-behavior: smooth;
}

.container {
    width: 100%;
    background-color: #6ac25f;
    margin: 0 auto;
    padding-bottom: 100px;
}

.header {
    max-width: 960px;
    display: flex;
    margin: 0 auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

#statistics {
    scroll-padding-top: 125px;
    scroll-margin-top: 125px;
}

#allowance {
    scroll-padding-top: 125px;
    scroll-margin-top: 125px;
}

#employment {
    scroll-padding-top: 125px;
    scroll-margin-top: 125px;
}

#solution {
    scroll-padding-top: 125px;
    scroll-margin-top: 125px;
}

#abroad {
    scroll-padding-top: 125px;
    scroll-margin-top: 125px;
}

.logo img {
    width: 100%;
}

.navigation {
    width: calc(100% - 84px);
}

.navigation ul {
    display: flex;
    align-items: center;
    height: 38px;
    gap: 15px;
    padding-left: 40px;
    position: relative;
}

.navigation ul li {
    position: relative;
}

.navigation ul li:first-child {
    margin-left: 0;
}

.navigation ul li a {
    display: block;
    height: 31px;
    padding-left: 13px;
    padding-right: 22px;
    font-family: "BPG Arial";
    font-size: 18px;
    font-weight: bold;
    line-height: 31px;
    color: #557c55;
    transition: color .2s ease;
}

.navigation ul li a:hover,
.navigation ul li a:focus {
    color: #6ac25f;
}

.navigation ul li a:hover::before,
.navigation ul li a:focus::before {
    background-color: #6ac25f;
}

.navigation ul li a::before {
    content: "";
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #557c55;
    position: absolute;
    top: 13px;
    left: 2px;
    transition: background-color .2s ease;
}

.navigation ul li.mob-button {
    display: none;
    position: relative;
}

.navigation ul li.mob-button button {
    width: 36px;
    height: 36px;
    background-color: transparent;
    display: flex;
    align-items: center;
}

.navigation ul li.mob-button button svg {
    width: 24px;
}

.navigation ul li.mob-button .mob-menu {
    display: none;
    width: 230px;
    padding: 7px;
    background-color: #fff;
    box-shadow: 0 0 4px 3px rgba(0, 0, 0, 0.4);
    border-radius: 2px;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1;
}

.navigation ul li.mob-button .mob-menu li a {
    color: rgba(0, 0, 0, 0.8);
    display: block;
    padding: 5px 2px 5px 13px;
    text-decoration: none;
    font-size: 16px;
    line-height: 26px;
}

.navigation ul li.mob-button .mob-menu li a:hover,
.navigation ul li.mob-button .mob-menu li a:focus {
    text-decoration: underline;
}

.navigation ul li.mob-button .mob-menu.active {
    display: block;
}

.content {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
}

.cover {
    margin: 0 auto;
    position: relative;
    font-size: 0;
}

.cover img {
    width: 100%;
}

.cover h1 {
    width: 50%;
    height: max-content;
    font-family: "BPG Arial";
    font-size: 2.6rem;
    font-weight: bold;
    line-height: 1.2em;
    color: #557c55;
    text-align: center;
    padding: 0 6%;
    position: absolute;
    top: 100px;
    right: 0;
}

.text {
    /* max-width: 750px; */
    padding: 26px 67px 26px 51px;
    background-color: #8bdb81;
    margin: 0 auto;
}

.text-alt {
    /* max-width: 750px; */
    padding: 26px 67px 26px 51px;
    background-color: #91c482;
    margin: 0 auto;
}

p {
    font-family: "BPG Arial";
    font-size: 1.1rem;
    color: #000;
    line-height: 1.35em;
    margin: 0 auto 26px;
}

p:last-child {
    margin-bottom: 0;
}

p a {
    position: relative;
}

p a::after {
    content: "";
    width: 100%;
    height: 2px;
    background-color: #000;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    transition: width .2s linear;
}

p a:hover::after,
p a:focus::after {
    width: 0%;
}

h2 {
    font-family: "BPG Arial";
    font-size: 1.5rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 26px;
    padding-left: 16px;
    position: relative;
}

#allowance h2,
#abroad h2 {
    line-height: 1.2em;
}

h2::before {
    content: "";
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #000;
    position: absolute;
    top: 9px;
    left: 0px;
}

h3 {
    width: 80%;
    font-family: "BPG Arial";
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin: 0 auto 26px;
    text-decoration: underline;
}

h3.subtitle {
    font-size: 1.8rem;
    margin-top: 26px;
    text-decoration: none;
}

em {
    display: block;
    font-family: "BPG Arial";
    font-size: 1.1rem;
    line-height: 1.2em;
    color: #000;
    text-align: right;
    margin-bottom: 26px;
}

.image {
    position: relative;
    margin-bottom: 26px;
    font-size: 0;
}

.image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.beacons {
    width: 100%;
    height: 420px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.beacon {
    width: 64px;
    height: 64px;
    position: absolute;
    background-image: url(./images/beacon.svg);
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    position: absolute;
}

.beacon:first-child {
    left: 43%;
    top: 36%;
}

.beacon:nth-child(2) {
    left: 32%;
    top: 39%;
}

.beacon:nth-child(3) {
    left: 40%;
    top: 54%;
}

.beacon:nth-child(4) {
    left: 31%;
    top: 60%;
}

.beacon:nth-child(5) {
    left: 30%;
    top: 70%;
}

.beacon:nth-child(6) {
    left: 61%;
    top: 50%;
}

.beacon:nth-child(7) {
    left: 53%;
    top: 56%;
}

.beacon:nth-child(8) {
    left: 44%;
    top: 73%;
}

.beacon:nth-child(9) {
    left: 62%;
    top: 68%;
}

.beacon:nth-child(10) {
    left: 58%;
    top: 77%;
}

.beacon:last-child {
    left: 72%;
    top: 67%;
}

.beacon-info {
    width: 144px;
    min-height: 73px;
    background-color: #58794a;
    border-radius: 20px;
    position: absolute;
    left: 3px;
    bottom: 61px;
}

.beacon-info::before {
    content: "";
    border-top: 34px solid #58794a;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    position: absolute;
    bottom: -30px;
    left: 22px;
}

.beacon-info img {
    width: 37px;
    margin-top: 5px;
    margin-left: 7px;
}

.beacon-quantity {
    display: inline-block;
    width: calc(100% - 44px);
    vertical-align: top;
    color: #8dc27e;
    font-family: "Datebashvili";
    font-size: 0.8rem;
    line-height: 1.3em;
    margin-top: 10px;
    padding-right: 10px;
    text-align: right;
}

.beacon-quantity span {
    display: block;
    margin-top: 3px;
}

.beacon:first-child .beacon-quantity,
.beacon:nth-child(2) .beacon-quantity {
    font-size: 0.7rem;
}

.beacon:nth-child(5) .beacon-quantity {
    font-size: 0.6rem;
}

.beacon-percent {
    height: 27px;
    font-family: "Datebashvili";
    font-size: 0.9rem;
    color: #fff;
    line-height: 27px;
    margin-top: 4px;
    text-align: center;
    position: relative;
}

.beacon-percent::before {
    content: "";
    height: 2px;
    background-color: #8dc27e;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 3px;
    right: 3px;
}

.interview {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.interview-image img {
    width: 226px;
    object-fit: cover;
}

.interview-image.mob {
    display: none;
    width: max-content;
    margin: 0 auto 26px;
}

.interview-text {
    width: calc(100% - 236px);
}

.countries {
    display: flex;
    flex-wrap: wrap;
}

.country {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(50% - 80px);
    background-color: transparent;
    margin: 26px 40px;
    padding: 0;
    transition: transform .4s ease;
}

.country:hover {
    transform: scale(1.1);
}

.country h4 {
    font-size: 2rem;
    font-family: 'BPG Arial';
    font-weight: bold;
    margin-bottom: 10px;
    border-bottom: 3px solid black;
    padding-bottom: 2px;
    transition: all .4s ease;
}

.country:hover h4 {
    color: #008000;
    border-color: #008000;
}

.country img {
    width: 100%;
    max-width: 260px;
    height: 180px;
    object-fit: contain;
}

.country-text {
    margin-bottom: 30px;
    scroll-padding-top: 26px;
    scroll-margin-top: 26px;
}

.country-text:last-child {
    margin-bottom: 0;
}

.country-text ul {
    margin-bottom: 26px;
}

.country-text ul li {
    text-indent: 13px;
    font-family: "BPG Arial";
    font-size: 1.1rem;
    color: #000;
    line-height: 1.35em;
    position: relative;
}

.country-text ul li::before {
    content: "";
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #000;
    position: absolute;
    top: 9px;
    left: 0px;
}

.country-text h5 {
    font-family: "BPG Arial";
    font-size: 1.8rem;
    text-align: center;
    margin: 0 auto 26px;
    font-weight: bold;
}

.country-hidden {
    display: none;
}

.active .country-hidden {
    display: block;
}

.country-hidden p {
    margin: 0 auto 26px;
}

.country-btn {
    display: flex;
    align-items: center;
    font-family: "BPG Arial";
    font-size: 16px;
    line-height: 18px;
    padding: 6px 50px;
    border-radius: 22px;
    background-color: #587a48;
    color: #fff;
    border: none;
    margin: 0 auto;
    cursor: pointer;
}

.country-btn:hover {
    background-color: #6b9358;
}

.country-btn img {
    margin-left: 10px;
    transition: transform .4s ease;
}

.active .country-btn img {
    transform: rotate(180deg);
}

.credit {
    width: max-content;
    height: 40px;
    font-family: "BPG Arial";
    font-size: 1.4rem;
    line-height: 40px;
    color: #000;
    margin: 0 auto;
    padding: 0 16px;
    position: relative;
}

.credit::before {
    content: "";
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #000;
    position: absolute;
    top: 17px;
    left: 0px;
}

.credit::after {
    content: "";
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #000;
    position: absolute;
    top: 17px;
    right: 0px;
}

.no-margin {
    margin: 0;
}

@media only screen and (max-width: 1379px) {
    .cover h1 {
        font-size: 2.2rem;
    }
}

@media only screen and (max-width: 920px) {
    .logo {
        margin: 10px;
    }

    .navigation ul {
        justify-content: flex-end;
        height: auto;
        margin: 10px;
    }

    .navigation>ul>li {
        display: none;
    }

    .navigation ul li.mob-button {
        display: block;
    }
}

@media only screen and (max-width: 913px) {
    .beacons {
        height: 400px;
    }
}

@media only screen and (max-width: 781px) {
    .beacons {
        height: 360px;
    }

    .beacon:first-child {
        top: 39%;
        left: 42%;
    }

    .beacon:nth-child(2) {
        top: 41%;
        left: 31%;
    }

    .beacon:nth-child(3) {
        top: 55%;
    }

    .beacon:nth-child(4) {
        top: 60%;
    }

    .beacon:nth-child(5) {
        top: 70%;
        left: 29%;
    }

    .beacon:nth-child(6) {
        top: 50%;
    }

    .beacon:nth-child(7) {
        top: 57%;
        left: 52%;
    }

    .beacon:nth-child(8) {
        top: 72%;
    }

    .beacon:nth-child(9) {
        top: 69%;
    }

    .beacon:nth-child(10) {
        top: 77%;
    }

    .beacon:last-child {
        top: 68%;
    }
}

@media only screen and (max-width: 760px) {
    .cover h1 {
        font-size: 1.4rem;
        top: 52px;
    }
}

@media only screen and (max-width: 438px) {
    .cover h1 {
        font-size: 1.2rem;
    }

    .text,
    .text-alt {
        padding: 26px;
    }

    h2 {
        font-size: 1.3rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    h3.subtitle {
        font-size: 1.4rem;
    }

    .beacons {
        height: 165px;
    }

    .beacon {
        width: 32px;
        height: 32px;
        background-image: url(./images/beacon-small.svg);
    }

    .beacon:first-child {
        top: 28%;
    }

    .beacon:nth-child(2) {
        top: 30%;
    }

    .beacon:nth-child(3) {
        top: 47%;
    }

    .beacon:nth-child(4) {
        top: 52%;
    }

    .beacon:nth-child(5) {
        top: 64%;
    }

    .beacon:nth-child(6) {
        top: 44%;
    }

    .beacon:nth-child(7) {
        top: 46%;
    }

    .beacon:nth-child(8) {
        top: 66%;
    }

    .beacon:nth-child(9) {
        top: 65%;
    }

    .beacon:nth-child(10) {
        top: 71%;
    }

    .beacon:last-child {
        top: 62%;
    }

    .beacon-info {
        width: 120px;
        left: -12px;
        bottom: 36px;
    }

    .beacon-info::before {
        border-top: 20px solid #58794a;
        bottom: -20px;
    }

    .beacon-info img {
        width: 24px;
    }

    .beacon-quantity {
        width: calc(100% - 31px);
        font-size: 0.5rem;
    }

    .beacon:first-child .beacon-quantity,
    .beacon:nth-child(2) .beacon-quantity,
    .beacon:nth-child(5) .beacon-quantity {
        font-size: 0.4rem;
    }

    .beacon-percent {
        font-size: 0.6rem;
    }

    .interview {
        flex-direction: column;
    }

    .interview-image {
        display: none;
        margin-bottom: 26px;
    }

    .interview-image.mob {
        display: block;
    }

    .interview-text {
        width: 100%;
    }

    .country {
        width: 100%;
    }
}

@media only screen and (max-width: 388px) {
    .cover h1 {
        font-size: 1rem;
    }

    .beacons {
        height: 142px;
    }
}