* {
    box-sizing: border-box;
    font-family: "IBMPlexSans-SemiBold", monospace, sans-serif;
    color: #E6E6E6;
}


@font-face {
    font-family: "IBMPlexSans-SemiBold";
    src: url("/fonts/IBMPlexSans-SemiBold.ttf") format("truetype"); 
    font-style: normal; 
    font-weight: normal; 
}


body {
    background-color: #000000;
    margin: 0;
}


.control {
    display: flex;
    justify-content: space-between;
    background-color: #000000;
    border-bottom: 2px solid #2F3336;
    padding: 20px;
}

.control .logo {
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 10px;
    margin-right: 0px;
}

.control .logo .photo {
    margin-top: 0px;
    margin-bottom: -5px;
    margin-left: 10px;
    margin-right: 0px;
    width: 231px;
}

.control .menu {
    display: block;
    margin-top: 22px;
    margin-right: 5px;
}

.control .menu a {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 19px;
    padding: 10px;
    margin: 0px;
}
.control .menu a:hover {
    color: #1F538D;
    transition: color 0.5s;
}
.control .menu a.active {
    color: #2863a4;
}


.end {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #000000;
    border-top: 2px solid #2F3336;
    padding: 50px;
}

.end .logo {
    text-decoration: none;
    text-transform: uppercase;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 0px;
}

.end .logo .photo {
    margin-top: 0px;
    margin-bottom: -5px;
    margin-left: 0px;
    margin-right: 0px;
}

.end .logo .team {
    font-size: 25px;
}

.end .contacts {
    display: flex;
    flex-direction: column;
    margin-left: 30px;
}

.end .contacts a {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 18px;
    padding: 10px;
    margin: 0px;
}
.end .contacts a:hover {
    color: #1F538D;
    transition: color 0.5s;
}
.end .contacts a.active {
    color: #2863a4;
}

.end .documents {
    display: flex;
    flex-direction: column;
    margin-left: 30px;
}

.end .documents a {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 18px;
    padding: 10px;
    margin: 0px;
}
.end .documents a:hover {
    color: #1F538D;
    transition: color 0.5s;
}
.end .documents a.active {
    color: #2863a4;
}

.end .language {
    display: flex;
    flex-direction: column;
    margin-left: 30px;
}

.end .language a {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 18px;
    padding: 10px;
    margin: 0px;
}
.end .language a:hover {
    color: #1F538D;
    transition: color 0.5s;
}
.end .language a.active {
    color: #2863a4;
}


.agreement-banner {
    position: fixed;
    bottom: 0;
    background: #000000C9;
    border-top: 2px solid #1F528D9C;
    padding: 25px;
    width: 100%;
    text-align: center;
}

.agreement-banner-close {
    background-color: #1F538D;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 19px;
    border: 3px solid #276AB4;
    border-radius: 10px;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 40px;
    padding-right: 40px;
}
.agreement-banner-close:hover {
    background-color: #276AB4;
    border: 3px solid #1F538D;
    transition: background-color 0.5s, border 0.3s;
}

@media (max-width: 800px) {
    .control {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .control .logo {
        margin-left: auto;
        margin-right: auto;
    }
}


@media (max-width: 749px) {
    .end {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .end .contacts {
        margin-top: 10px;
        margin-left: -10px;
    }

    .end .documents {
        margin-top: 20px;
        margin-left: -10px;
    }

    .end .language {
        margin-top: 20px;
        margin-left: -10px;
    }
}

@media (max-width: 550px) {
    .control .menu {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}