
h1,h2,h3,h4,h5{
    color: #d8d8d8;
}

body{
    background:#333;
}

hr{
    background: #000;
}

/* ================== Дз position =================== */

.h2__title{
    text-align: center;
    text-transform: uppercase;
    padding: 20px 0;
}

.rectangle{
    position: fixed;
    background: #d8d8d8;
    z-index: 1;
    border-radius: 10px;
    min-height: 100px;
    left: 50%;
    right: 50px;
    bottom: 100px;
}

.circle{
    position: absolute;
    background: red;
    z-index: 2;
    height: 100px;
    width: 100px;
    border-radius: 100%;
    left: 100px;
    bottom: 50px;
}

/* ================== Дз transform =================== */

.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));
}
.quads__quad--green {
    background: linear-gradient(130deg, rgb(25, 186, 38), rgb(47, 215, 167));
}
.quads__quad--blue {
    background: linear-gradient(130deg, rgb(33, 25, 186), rgb(160, 44, 193));
}

.area {
    flex: 1 0 auto;
    border: 5px dashed #1f1f1f;
    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 #1f1f1f;
    color: #1f1f1f;
}

/*Выполнение дз ниже  */

.transform1{
    transform: translate(322%, 298%);
}

.transform2{
    transform: translate(202%, -48%) rotate(25deg);
}

.transform3{
    transform: translate(417%, -148%) scale(2);
}


/* ================== Дз before и after =================== */

.content{
    margin: 0 auto;
    width: 500px;
    height: 50px;
}

.h3__title{
    
    font-size: 50px;
    text-align: center;
}

.h3__title::before{
    content: "";
    position: absolute;
    background: rgb(255, 112, 112);
    height: 50px;
    width: 50px;
    border-radius: 100%;
    border:3px solid #fff;
    transform: translate(-70px);
}

.h3__title::after{
    content: "";
    position: absolute;
    background: rgb(148, 219, 247);
    height: 50px;
    width: 50px;
    border-radius: 100%;
    border:3px solid #fff;
    transform: translate(20px);
}

/* ================== Дз transition =================== */

.box{
    position: relative;
    height: 200px;
    width: 200px;
    background: gray;
    margin: 250px auto;
    border-radius: 10px;
}


.text{
    margin: 0 auto;
    font-size: 15px;
    color: rgb(109, 255, 47);
    text-align: center;
    padding: 92px 0px;
    opacity: 0;
    transition: all 0.2s 1s;
}

.text:hover{
    opacity: 1;
}

.blok{
    width: 5px;
    height: 30px;
    position: absolute;
    top: -50%;
    left: -240px;
    background:#d8d8d8;
    transition-duration: 1s;
} 

.box:hover .blok{
    width: 700px;
}



