* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: "PragmaticaLightC"; 
    src: url(/fonts/PragmaticaLightC.otf); 
}

@font-face {
    font-family: "PragmaticaC"; 
    src: url(/fonts/pragmaticac.otf); 
}

@font-face {
    font-family: "PragmaticaC-bold"; 
    src: url(/fonts/pragmaticac-bold.otf); 
}

@font-face {
    font-family: "PragmaticaC-Regular"; 
    src: url(/fonts/PragmaticaC-Regular.otf); 
}

::-webkit-scrollbar {
	width: 7px
}

::-webkit-scrollbar-track {
	background-color: #999;
}

::-webkit-scrollbar-track-piece {
	background-color: #1c1c1c;
}

::-webkit-scrollbar-thumb {
	height: 50px;
	background-color: #484848;
}

::-webkit-scrollbar-corner {
	background-color: #999;
}


body {
    background: linear-gradient(to bottom, #04080b, #1b282e);
    color: #fff;
}

header {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

header img:first-child {
    position: absolute;
    top: -105px;
    transition: 1s;
    animation: logo-line 0.5s;
    animation-duration: 1s;
}

header img:last-child {
    width: 15%;
    padding: 30px 70px;
    position: relative;
}

header div.last-info-block-registration {
    top: 30px;
    position: absolute;
    justify-content: flex-end;
    right: 450px;
    animation: logo-reg 0.5s;
    animation-duration: 1s;
    transition: 0.5s;
}

section.block-zagolovok {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    line-height: 5em;
    padding: 4% 0;
    animation: zagl 1s;
}

section.block-zagolovok h1 {
    font-size: 4em;
    font-family: PragmaticaC-bold;
}

section.block-zagolovok h4 {
    font-family: PragmaticaC;
    font-size: 2.5em;
    font-weight: 100;
}

section.block-zagolovok h4 b {
    transition: 1s;
    font-family: PragmaticaC-bold;
}

section.block-zagolovok span {
    height: 6px;
    background: radial-gradient(50% 40%, #FF5722, #070c0f00);
    animation: line-zagl 1s;
    margin-top: 10px;
    width: 65%;
}

section.info-block {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5% 0 0 0;
    transition: 0.5s;
    overflow: hidden;
}

.info-block-text {
    color: white;
    line-height: 3em;
    width: 50%;
    transition: 0.5s;
    position: relative;
    right: 3000px;
}

#first .info-block-text {
    right: 0;
    animation: show-text 0.5s;
}


.info-block-text h1 {
    font-family: "PragmaticaC-bold";
    font-size: 3em;
    padding-left: 20%;
    padding-bottom: 5px;
}

.info-block-text h1::before {
    color: #e54d06;
    position: absolute;
    left: 9.5%;
}


#h1::before {
    content: "#1";
}

#h2::before {
    content: "#2";
}

#h3::before {
    content: "#3";
}

#h4::before {
    content: "#4";
}

#h5::before {
    content: "#5";
}

.info-block-text h4 {
    font-family: "PragmaticaLightC";
    font-size: 1.3em;
    font-weight: 100;
    line-height: 1.5em;
    padding-left: 20%;
}

.info-block-text img {
    position: absolute;
    width: 80%;
    left: 0;
    margin-top: 1em;
}

.info-block-img {
    display: flex;
    width: 50%;
    justify-content: flex-end;
    position: relative;
    transition: 0.5s;
    left: 3000px;
}

#first .info-block-img {
    left: 0;
    animation: show-img 0.5s;
}

.info-block-img img, 
.last-info-block-img img {
    width: 100%;
}

section.last-info-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.last-info-block-text {
    position: relative;
    top: 150px;
}

.last-info-block-text h1 {
    color: #fff;
    font-family: "PragmaticaC";
    font-weight: bold;
    font-size: 3em;
}

.last-info-block-text h1 b {
    font-family: "PragmaticaC-bold";
}

.last-info-block-registration {
    position: relative;
    top: 250px;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.last-info-block-registration p {
    color: #fff;
    font-family: PragmaticaC;
    font-size: 1.2em;
    cursor: pointer;
}

.last-info-block-registration p:first-child {
    background-color: #ff6a00;
    border-radius: 55px;
    transition: 0.5s;
    padding: 15px 20px;
}

.last-info-block-registration p:first-child:hover {
    background-color: #e54d06;
    transition: 0.5s;
}

.last-info-block-registration p:last-child {
    margin-left: 2%;
    color: #bbbbbb;
    transition: 0.5s;
    text-decoration: underline;
}

.last-info-block-registration p:last-child:hover {
    text-decoration: none;
    transition: 0.5s;
    color: #fff;
}

@media only screen and (max-width: 1400px){
    .info-block-text h1::before {
        left: 4%;
    }

    section.block-zagolovok h4 {
        font-size: 2em;
    }

    section.block-zagolovok h1 {
        font-size: 3em;
    }

    section.block-zagolovok span {
        width: 85%;
    }

    header div.last-info-block-registration {
        top: 20px;
        right: 330px;
    }

    header img:first-child {
        top: -7%;
        animation: logo-line-2 1s;
    }

    .last-info-block-registration {
        top: 200px;
    }

    .last-info-block-text {
        top: 50px;
    }
}

@media only screen and (max-width: 1024px){
    .info-block-text h1::before {
        left: 3%;
    }

    .last-info-block-text h1 {
        font-size: 2em;
    }

    header img:last-child {
        width: 20%;
        padding: 30px 70px 0 0;
    }

    .info-block-text {
        line-height: 2em;
    }

    .info-block-text h1 {
        font-size: 2em;
    }

    .info-block-text h4 {
        font-size: 1em;
        line-height: 1.2em;
    }

    header img:first-child {
        top: -55px;
        animation: logo-line-3 1s;
    }

    section.block-zagolovok {
        line-height: 3em;
    }

    .last-info-block-registration {
        top: 150px;
    }
}

@media only screen and (max-width: 900px){
    header img:last-child {
        width: 20%;
        padding: 25px 70px 0 0;
    }

    header img:first-child {
        top: -45px;
        animation: logo-line-4 1s;
    }

    header div.last-info-block-registration {
        top: 15px;
        right: 250px;
    }

    header div.last-info-block-registration p {
        font-size: 15px;
    }

    section.block-zagolovok h4 {
        font-size: 1.5em;
    }

    section.block-zagolovok h1 {
        font-size: 2em;
    }

    section.block-zagolovok{
        line-height: 3em;
    }

    .info-block-text h4 {
        font-size: 15px;
        line-height: 1em;
    }

    .info-block-text img {
        width: 50%;
        height: 4px;
    }

    .last-info-block-text h1 {
        font-size: 1.7em;
    }

    .last-info-block-registration {
        top: 100px;
    }
}

@media only screen and (max-width: 500px){
    header img:first-child {
        top: -22px;
        animation: logo-line-5 1s;
    }

    header img:last-child {
        width: 35%;
        padding: 15px 40px 0 0;
    }

    .info-block-img,
    .info-block-text {
        width: 90%;
    }

    .info-block-img {
       display: block;
    }

    section.info-block {
        align-items: flex-start;
        flex-direction: column-reverse;
        margin: 10% 0 0 0;
    }

    .last-info-block-text h1 {
        font-size: 1.5em;
        text-align: center;
        padding: 0 5%;
    }

    .info-block-text img {
        width: 90%;
        height: 4px;
    }

    .last-info-block-text h1 {
        font-size: 1.5em;
        text-align: center;
    }

    section.block-zagolovok h1 {
        font-size: 39px;
        text-align: start;
        padding: 10% 5%;
    }

    section.block-zagolovok h4 {
        font-size: 20px;
        padding: 0 5%;
        text-align: start;
    }

    .last-info-block-registration p:first-child {
        margin: 25px;
    }

    div.last-info-block-registration p,  
    header div.last-info-block-registration p{
        font-size: 20px;
    }

    .last-info-block-registration {
        top: 50px;
        flex-direction: column;
    }

    header div.last-info-block-registration {
        top: 550px;
        right: 0;
        animation: none;
    }

    section.info-block#first {
        margin-top: 55%;
    }
}
