.wrapper {
    padding: 30px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
}

.quads {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
}

.quads__quad {
    width: 200px;
    height: 200px;
    background: #757272;
    border-radius: 5px;
}

.quads__quad--red {
    background: linear-gradient(130deg, rgb(252, 67, 67), rgb(215, 106, 47));
    transform: translate(650px, 600px);
}

.quads__quad--green {
    background: linear-gradient(130deg, rgb(25, 186, 38), rgb(47, 215, 167));
    transform: translate(400px, -100px) rotate(25deg);
}

.quads__quad--blue {
    background: linear-gradient(130deg, rgb(33, 25, 186), rgb(160, 44, 193));
    transform: translate(830px, -300px) scale(2);
}

.area {
    flex: 1 0 auto;
    border: 5px dashed #333;
    height: 800px;
}

.area__place {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: sans-serif;
    font-weight: 900;
    width: 200px;
    height: 200px;
    pointer-events: none;
    border-radius: 5px;
    border: 5px dashed #8f8787;
    color: #8f8787;
}

body {
    background-color: #333;
    color: #fff;
    font-family: sans-serif;
    font-size: 5rem;
    padding-top: 5vh;
}



.block {
    height: 100px;
    width: 90%;
    max-width: 650px;
    border-radius: 10px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.842);

    font-family: "Arial", sans-serif;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;

}

.green {
    background: linear-gradient(120deg, #46d443, #6df3b5);
}


.green {
    position: fixed;
    bottom: 50px;
    right: 50px;
}

.red-ball {
    position: fixed;
    /* top: 0;
    left: 50%; */
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: red;
}

.red-ball {
    position: fixed;
    bottom: 100px;
    right: 550px;
}



.wrapper {
    display: flex;
    justify-content: center;
}

.title {
    text-align: center;
}

.title {
    position: relative;
}
.title::before,
.title::after {
    content: '';
    display: block;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid #f5aeae;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.title::before {
    left: -150px;
    background: rgb(221, 76, 76);
}
.title::after {
    right: -150px;
    background: rgb(87, 87, 236);
}

body {
    background-color: #1a1a1c;
    color: #fff;
}

.wrapper2 {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    transition-duration: 1s;
}

.box {
    background: #3b3a3d;
    border-radius: 15px;
    width: 300px;
    height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7de07d;
    font-size: 30px;
    transition-duration: 1s;
}

.box span {
    opacity: 0;
}

.box__scale {
    position: absolute;
    top: -100px;
    left: -300px;
    right: 600px;
    height: 30px;
    background: #fff;
}

.box:hover .box__scale {
    right: -300px;
    background-color: green; 
    transform: scale(1.5);
    border-radius: 20px;
    transition: all 3s ease;
}

.box:hover span {
    opacity: 1;
    width: 100px;
    height: 100px;
    background-color: blue;
    transition: all 3s ease;
}



.wrapper3 {
    padding: 50px;
    height: 100%;
}

.container3 {
    position: relative;
    height: 200px;
    background-color: #444;
}

.block3 {
    background-color: #fff;
    height: 200px;
    width: 200px;
    position: absolute;
}


.block3 {
    animation: move-block 3s .3s infinite alternate,
    color-block 3s .3s infinite alternate;
    animation-timing-function: linear;
    animation: 
    move-block 3s 0.3s infinite alternate,
    color-block 3s 0.3s infinite alternate,
    rotate-block 3s 0.3s infinite alternate,
    opacity-block 3s 0.3s infinite alternate;
    animation-timing-function: linear;
}


@keyframes move-block {
    0% {
        left: 0px;
    }
    50% {
        border-radius: 50%;
    }
    100% {
        left: calc(100% - 200px);
    }
}
@keyframes color-block {
    0% {
        background-color: #fff;
    }
    100% {
        background-color: rgb(247, 109, 109);
    }
}

@keyframes rotate-block {
    0% {
transform: rotate(0deg);
    }
    100% {
transform: rotate(180deg);
    }
}