:root {

    --main-bg-gradient: linear-gradient(90deg,rgba(87, 52, 105, 0.8) 0%, rgba(35, 76, 120, 0.8) 47%, rgba(50, 54, 122, 0.8) 100%);
    --brand-orange: #f89a36;
    --main-bg: rgba(68, 48, 83, 0.8);
}

@font-face {
	font-family: 'Ermilov-Bold';
	src: url('../../assets/fonts/ermilov-bold.eot'); /* IE 9 Compatibility Mode */
	src: url('../../assets/fonts/ermilov-bold.eot?#iefix') format('embedded-opentype'), /* IE < 9 */
		url('../../assets/fonts/ermilov-bold.woff2') format('woff2'), /* Super Modern Browsers */
		url('../../assets/fonts/ermilov-bold.woff') format('woff'), /* Firefox >= 3.6, any other modern browser */
		url('../../assets/fonts/ermilov-bold.ttf') format('truetype'), /* Safari, Android, iOS */
		url('../../assets/fonts/ermilov-bold.svg#ermilov-bold') format('svg'); /* Chrome < 4, Legacy iOS */
}

* {

    font-family: 'Ermilov-Bold';
    
}

a {
    
    text-decoration: none;
    color: lightcoral;

}


body {

    margin: 0 0;
    padding: 0 0;

    
    
    background-image: linear-gradient(to right, rgba(255, 228, 196, 0.7), rgba(221, 193, 158, 0.7)), url("/assets/simple-light-symmetrical-geometric-background-design-decoration-pattern-repeating-shapes-site-white-background_86390-7239.avif");

    overflow-y: scroll;
}

body .auth-main {

    position: relative;

    display: flex;
    flex-direction: column;

    align-items: center;

    height: auto;
    width: 100%;

    
}

body .auth-main .title {

    font-size: 35px;
    color: #363636;

    padding-bottom: 50px;
}


body .auth-main .users-block {

    display: flex;
    flex-direction: column;

    row-gap: 20px;

    align-items: center;
    margin: 100px 0px 100px 0px;
    width: 100%;
    height: auto;
}

body .auth-main .users-block .elements {

    display: flex;
    flex-direction: row;
    justify-content: space-evenly;

    align-items: center;

    width: 100%;
    height: 100%;

}

body .auth-main .users-block .elements .item {

    position: relative;

    width: 95%;
    max-width: 400px;
    height: 300px;
    background-color: var(--main-bg);

    border-radius: 15px;

    opacity: 0.8;

    overflow: hidden;
}

body .auth-main .users-block .elements .item.reiting, body .auth-main .users-block .elements .item.users {
    
    display: flex;
    flex-direction: column;
    row-gap: 20px;

    align-items: center;

    color: #FFF;
}

body .auth-main .users-block .elements .item.reiting span, body .auth-main .users-block .elements .item.users span {
    
    margin-top: 10px;
    font-size: 25px;

}

body .auth-main .users-block .elements .item.reiting img {
    height: 250px;
}

body .auth-main .users-block .elements .item.users img {
    height: 220px;
}

body .auth-main .users-block .elements .item.green {
    
    background-color: #467540;

}

body .auth-main .users-block .elements .item.blue {
    
    background-color: #0470c9;

}

body .auth-main .users-block .elements .item:hover {

    cursor: pointer;
    animation: show_animation_item 0.5s forwards;

    opacity: 1;
}

body .auth-main .users-block .elements .count-usr {

    position: absolute;

    display: flex;
    justify-content: center;
    align-items: start;

    right: -85px;
    bottom: -20px;

    font-size: 25px;
    background-color: #363636;
    width: 200px;
    height: 70px;
    transform: rotate(-45deg);
}

@keyframes show_animation_item {
    
    100% {
        transform: translateY(-10px);
    }
}

body .auth-main .hello {

    color: #FFF;
    font-size: 30px;

    background-color: var(--main-bg);
    padding: 5px 10px;
    border-radius: 8px;
    transform: translateY(-60px);

    animation: show_hello 0.8s linear forwards;

}

@keyframes show_hello {
    
    100% {
        transform: translateY(25px);
    }
}

body .auth-main .show-block {

    display: flex;

    justify-content: center;
    align-items: center;

    transform: translateY(50px);

    height: auto;
    width: 100%;

    overflow: hidden;
}


@media screen and (min-width: 850px) {

    body .auth-main .show-block div:nth-of-type(1) {
    
        display: flex;
        
        justify-content: end;
        align-items: center;

        height: 100%;
        width: 50%; 
        
    }

    body .auth-main .show-block div:nth-of-type(1) img {

        height: 100%;
        max-height: 600px;
        transform: translateX(-150%);
        animation: show_people_img 1s linear forwards;

    }

        
    @keyframes show_people_img {
        
        100% {
            transform: translateX(0px);
        }
    }

    body .auth-main .show-block div:nth-of-type(2) {
        
        display: flex;
        
        align-items: start;
        justify-content: start;

        flex-direction: column;

        height: auto;
        width: 50%;
        
        row-gap: 20px;
    }

    body .auth-main .show-block div:nth-of-type(2) span {

        display: inline-block;

        text-align: left;
        margin-top: 25px;
        color: #363636;

        font-size: 22px;
        width: 26ch;
        height: 13em;
        overflow: hidden;


        vertical-align: top;
        overflow-wrap: break-word;
        word-break: break-all;

    }


}

@media screen and (max-width: 850px) {

    body .auth-main .users-block {

        margin-top: 200px;
        row-gap: 40px;
    }

    body .auth-main .users-block .title {
        
        width: 100%;
        text-align: center;
        font-size: 25px;
    }

    body .auth-main .users-block .elements {
    
        flex-direction: column;

        row-gap: 20px;
    }

    body .auth-main .show-block div:nth-of-type(2) span {

        display: inline-block;

        text-align: left;

        margin-top: 25px;
        color: #363636;

        font-size: 19px;
        width: 95%;
        height: 15em;
        overflow: hidden;


        vertical-align: top;
        overflow-wrap: break-word;
        word-break: break-all;

    }

    body .auth-main .show-block {
        
        flex-direction: column;
        height: 600px;

    }


    body .auth-main .show-block div:nth-of-type(1) {
    
        display: flex;
        
        justify-content: center;
        align-items: center;

        max-height: 600px;
        height: 100%;
        width: 100%;

        overflow: hidden;

        
    }

    body .auth-main .show-block div:nth-of-type(1) img {

        height: 100%;
        transform: translateX(-150%);
        animation: show_people_img 1s linear forwards;

    }

    @keyframes show_people_img {
        
        100% {
            transform: translateX(0px);
        }
    }

    body .auth-main .show-block div:nth-of-type(2) {
        
        display: flex;
        flex-direction: column;
        row-gap: 40px;

        justify-content: center;
        align-items: center;

        height: 100%;
        width: 95%;
    }

}

body .auth-main .show-block div:nth-of-type(2) .play {
        
        display: flex;
        justify-content: space-around;
        align-items: center;

        height: 100px;
        width: 80%;
        max-width: 350px;

        background-color: var(--main-bg);
        border-radius: 15px;

        opacity: 0.8;

}

body .auth-main .show-block div:nth-of-type(2) .play div:nth-of-type(1) {

    display: flex;
    justify-content: center;
    align-items: center;

    color: white;
    font-size: 70px;
    width: 40%;

}

body .auth-main .show-block div:nth-of-type(2) .play div:nth-of-type(2) {
    
    font-size: 45px;
    color: white;
    width: 100%;

}

body .auth-main .show-block div:nth-of-type(2) .play div:nth-of-type(2) span2 {
    
    font-size: 45px;
    color: white;
    height: 1em;
    overflow: hidden;

    vertical-align: top;
    overflow-wrap: break-word;
    word-break: break-all;


}

body .auth-main .show-block div:nth-of-type(2) .play div:nth-of-type(2) span2::before {

    content: "";
    float: right;
    height: 1em;
    margin-right: -1ch;

    animation: shrink_2 steps(15) 3s infinite;

}

@keyframes shrink_2 {

        from { 
            
            width: calc(100% + 1ch);
        }

        to { 
            width: 0;
        }
}

body .auth-main .show-block div:nth-of-type(2) .play:hover {
    
    cursor: pointer;
    opacity: 1.0;

    animation: up_item 0.5s forwards;

}


@keyframes up_item {
        
    100% {
        transform: translateY(-10px);
    }
}



footer {

    position: relative;

    margin: 0 0;
    padding: 0 0 ;

    background-color: #FFF;
    width: 100%;
    height: 500px;

    -webkit-box-shadow: 1px -2px 5px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 1px -2px 5px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 1px -2px 5px 0px rgba(0, 0, 0, 0.2);

}