body {
    background-color: #333;
    color: #fff;
    font-family: sans-serif;
    font-size: 5rem;
}

.wrapper {
    padding: 50px;
    min-height: 100%;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.title {
    margin-bottom: 100px;
}

.title {
    text-align: center;
}



.text {
    font-size: 2rem;
}

/* ====================================================== */


.title{
    position: relative;
}

.title::before{
    content: '';
    position: absolute;
    top: -15%;
    left: -33%;
    display: block;
    width: 90px;
    height: 90px;
    border-radius: 100%;
    background-color: red;
    border: 5px solid white;
    
}

.title::after{
    content: '';
    position: absolute;
    top: -12%;
    left: 110%;
    width: 90px;
    height: 90px;
    border-radius: 100%;
    background-color: blue;
    border: 5px solid white; 
}




--- 
body {
    background-color: black;
    color: #fff;
}

.container {
    padding: 100px 100px ;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* ========================================================= */


.box{
    display: flex;
    height: 500px;
    width: 500px;
    justify-content: center;
    align-items: flex-end;
}

.square{
    background: #505050;
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 15px;
}


.square::before{
    content: '';
    display: block;
    width: 0px;
    height: 40px;
    background: white;
    transform: translate(-150px,-100px);
    transition: all 2s ease;
}

.square:hover::before{
    color: #fff;
    width: 550px;
}

.square::after{
    content: 'Успех!';
    color: #505050;
    font-size: 30px;
    position: absolute;
    top: 43%;
    left: 30%;
    transition: all 1s 2s;
}

.square:hover::after{
    color: green;
}

