/* Andrey Shevchenko. FEA-23. Home work 3-1.2.3.4. */ body { font-family: Arial, Helvetica, sans-serif; } .first-element { box-sizing: border-box; font-size: 16px; width: 350px; height: 220px; padding-top: 15px; padding-left: 10px; padding-bottom: 20px; padding-right: 10px; margin: 30px; border: 2px dotted red; background-color: green; } .otstup100px { margin-bottom: 100px; } .svetofor { display: inline-block; box-sizing: border-box; padding: 20px; border: 2px solid blue; background-color: rgb(200, 200, 200); } .svetofor-red { width: 80px; height: 80px; background-color: rgb(255, 83, 83); border: 5px solid red; border-radius: 50%; margin: 5px; } .svetofor-yellow { width: 80px; height: 80px; background-color: yellow; border: 5px solid rgb(158, 158, 0); border-radius: 50%; margin: 5px; } .svetofor-green { width: 80px; height: 80px; background-color: rgb(0, 172, 0); border: 5px solid green; border-radius: 50%; margin: 5px; } .squares { display: inline-block; box-sizing: border-box; position: relative; margin-bottom: calc(3em + 50px); } .squares-pink { position: relative; width: 80px; height: 80px; background-color: #fd898a; } .squares-violet { float: left; position: relative; left: 60%; top: 60%; width: 80px; height: 80px; background-color: #7f8be8; z-index: 3; } .squares-green { position: relative; left: 120%; top: 120%; width: 80px; height: 80px; background-color: #56ec9c; } .repeatpage { } .blok1 { margin-top: 30px; position: relative; } .lor { text-align: justify; } .images1 { width: 200px; float: left; margin-right: 20px; margin-bottom: 10px; } .images2 { width: 170px; float: right; margin-top: 10px; margin-bottom: 10px; margin-left: 20px; } footer { background-color: rgb(100, 200, 100); font-weight: 700; color: blue; font-family: Arial, Helvetica, sans-serif; padding: 30px; border: 2px solid rgb(0, 80, 0); margin-top: 50px; }