@font-face {
    font-family: 'ALSSchlangeslab';
    src: url('../fonts/ALSSchlangeslab-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'ALS Ekibastuz';
    src: local('ALS Ekibastuz Regular'), local('ALS-Ekibastuz-Regular'),
    url('../fonts/Ekibastuz-Regular.woff2') format('woff2'),
    url('../fonts/Ekibastuz-Regular.woff') format('woff'),
    url('../fonts/Ekibastuz-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

html {
    font-family: 'ALS Ekibastuz', sans-serif;
    min-height: 100vh;
}

body {
    min-height: inherit;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: inherit;
}

.content {
    display: flex;
    flex-direction: column;
    flex: 1 0 0%;
}

.main {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.header {
    padding: 25px 20px;
    background-color: #084e98;
}
.header-item:first-child {
    text-align: left;
}
.header-item:first-child .header-item__link {
    justify-content: start;
}
.header-item:not(:last-child) {
    margin-right: 30px;
}

.content-text {
    text-indent: 1.5em;
    margin-bottom: 10px;
}

@media (min-width: 960px) {
    .header-item:not(:last-child) {
        margin-right: 50px;
    }
    .header-item:first-child {
        text-align: right;
    }
    .header-item:first-child .header-item__link {
        justify-content: end;
    }
}
.header-item__icon {
    margin-left: 10px;
    width: 20px;
    height: 20px;
}

.header-item__link {
    display: flex;
    align-items: center;

    margin-bottom: 8px;

    font-family: 'ALSSchlangeslab', sans-serif;
    font-size: 34px;
    color: #fff;
    font-weight: bold;
    line-height: 1.2;
    white-space: nowrap;
}
.header-item__link:hover {
    color: #fff;
}
.header-item__label {
    font-size: 14px;
    color: rgb(135, 167, 204);
    line-height: 1.2;
}

.official-website {
    margin: 50px 0;
    font-size: 36px;
    color: #231f20;
}
.timer {
    color: #084e98;
}

.footer {
    padding: 45px 0;
    border-top: 1px solid #828282FF;

    font-size: 14px;
    color: #828282FF;
    line-height: 1.2;
}
.footer-text:not(:last-child) {
    margin-bottom: 30px;
}

@media (max-width: 639px) {
    html {
        font-size: 8px;
    }
    .official-website {
        margin: 20px 0;
        font-size: 24px;
    }
    .header-item__link {
        margin-bottom: 0;
        font-size: 24px;
    }
    .header-item:not(:last-child) {
        margin-right: 0;
        margin-bottom: 15px;
    }
    .footer {
        padding: 25px 0;
    }
    .footer-text:not(:last-child) {
        margin-bottom: 10px;
    }
}