|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en"> |
| 3 | +<head> |
| 4 | + <meta charset="UTF-8"> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 6 | + <title>William Shakespeare</title> |
| 7 | + <style> |
| 8 | + * { |
| 9 | + margin: 0; |
| 10 | + padding: 0; |
| 11 | + box-sizing: border-box; |
| 12 | + font-family: "Georgia", serif; |
| 13 | + } |
| 14 | + |
| 15 | + body { |
| 16 | + background-color: #f2f4f7; |
| 17 | + color: #333; |
| 18 | + line-height: 1.6; |
| 19 | + } |
| 20 | + |
| 21 | + .profile-container { |
| 22 | + display: flex; |
| 23 | + justify-content: space-between; |
| 24 | + align-items: flex-start; |
| 25 | + background: #fff; |
| 26 | + width: 85%; |
| 27 | + margin: 40px auto; |
| 28 | + border-radius: 16px; |
| 29 | + padding: 40px; |
| 30 | + box-shadow: 0 4px 12px rgba(0,0,0,0.1); |
| 31 | + flex-wrap: wrap; |
| 32 | + } |
| 33 | + |
| 34 | + .text-section { |
| 35 | + flex: 2; |
| 36 | + margin-right: 40px; |
| 37 | + min-width: 280px; |
| 38 | + } |
| 39 | + |
| 40 | + .text-section h1 { |
| 41 | + font-size: 2.4em; |
| 42 | + color: #0a2342; |
| 43 | + margin-bottom: 15px; |
| 44 | + } |
| 45 | + |
| 46 | + .text-section p { |
| 47 | + font-size: 1.05em; |
| 48 | + color: #444; |
| 49 | + } |
| 50 | + |
| 51 | + .image-section { |
| 52 | + flex: 1; |
| 53 | + text-align: center; |
| 54 | + min-width: 240px; |
| 55 | + } |
| 56 | + |
| 57 | + .image-section img { |
| 58 | + width: 250px; |
| 59 | + border-radius: 12px; |
| 60 | + box-shadow: 0 4px 10px rgba(0,0,0,0.2); |
| 61 | + } |
| 62 | + |
| 63 | + .books-section { |
| 64 | + text-align: center; |
| 65 | + margin: 60px auto; |
| 66 | + width: 90%; |
| 67 | + } |
| 68 | + |
| 69 | + .books-section h2 { |
| 70 | + color: #0a2342; |
| 71 | + font-size: 2em; |
| 72 | + margin-bottom: 30px; |
| 73 | + } |
| 74 | + |
| 75 | + .book-gallery { |
| 76 | + display: flex; |
| 77 | + justify-content: center; |
| 78 | + flex-wrap: wrap; |
| 79 | + gap: 25px; |
| 80 | + } |
| 81 | + |
| 82 | + .book-card { |
| 83 | + background: #fff; |
| 84 | + width: 180px; |
| 85 | + border-radius: 12px; |
| 86 | + padding: 15px; |
| 87 | + box-shadow: 0 3px 8px rgba(0,0,0,0.1); |
| 88 | + transition: transform 0.3s ease; |
| 89 | + } |
| 90 | + |
| 91 | + .book-card:hover { |
| 92 | + transform: translateY(-5px); |
| 93 | + } |
| 94 | + |
| 95 | + .book-card img { |
| 96 | + width: 100%; |
| 97 | + border-radius: 8px; |
| 98 | + margin-bottom: 10px; |
| 99 | + } |
| 100 | + |
| 101 | + .book-card p { |
| 102 | + font-weight: bold; |
| 103 | + color: #333; |
| 104 | + font-size: 0.9em; |
| 105 | + } |
| 106 | + |
| 107 | + footer { |
| 108 | + text-align: center; |
| 109 | + margin: 40px 0 20px; |
| 110 | + color: #555; |
| 111 | + font-style: italic; |
| 112 | + } |
| 113 | + |
| 114 | + @media (max-width: 768px) { |
| 115 | + .profile-container { |
| 116 | + flex-direction: column; |
| 117 | + align-items: center; |
| 118 | + text-align: center; |
| 119 | + } |
| 120 | + |
| 121 | + .text-section { |
| 122 | + margin-right: 0; |
| 123 | + margin-bottom: 20px; |
| 124 | + } |
| 125 | + |
| 126 | + .image-section img { |
| 127 | + width: 200px; |
| 128 | + } |
| 129 | + } |
| 130 | + </style> |
| 131 | +</head> |
| 132 | +<body> |
| 133 | + |
| 134 | + <div class="profile-container"> |
| 135 | + <div class="text-section"> |
| 136 | + <h1>William Shakespeare</h1> |
| 137 | + <p> |
| 138 | + William Shakespeare (1564–1616) was an English playwright, poet, and actor, widely regarded as the |
| 139 | + greatest writer in the English language and the world’s most famous dramatist. |
| 140 | + Known as the “Bard of Avon,” his works have shaped literature, theater, and culture for centuries. |
| 141 | + </p> |
| 142 | + <p> |
| 143 | + He wrote 39 plays, 154 sonnets, and several narrative poems. His plays explore timeless themes |
| 144 | + of love, power, betrayal, and the human condition — blending deep emotion with poetic brilliance. |
| 145 | + Shakespeare’s influence continues to resonate through language, art, and performance across the world. |
| 146 | + </p> |
| 147 | + </div> |
| 148 | + <div class="image-section"> |
| 149 | + <img src="img/img3.jpg" alt="William Shakespeare"> |
| 150 | + </div> |
| 151 | + </div> |
| 152 | + |
| 153 | + <div class="books-section"> |
| 154 | + <h2>Famous Works by William Shakespeare</h2> |
| 155 | + <div class="book-gallery"> |
| 156 | + <div class="book-card"> |
| 157 | + <img src="img/hamlet.jpg" alt="Hamlet"> |
| 158 | + <p>Hamlet</p> |
| 159 | + </div> |
| 160 | + <div class="book-card"> |
| 161 | + <img src="img/romeo-and-juliet.jpg" alt="Romeo and Juliet"> |
| 162 | + <p>Romeo and Juliet</p> |
| 163 | + </div> |
| 164 | + <div class="book-card"> |
| 165 | + <img src="img/macbeth.jpg" alt="Macbeth"> |
| 166 | + <p>Macbeth</p> |
| 167 | + </div> |
| 168 | + <div class="book-card"> |
| 169 | + <img src="img/othello.jpg" alt="Othello"> |
| 170 | + <p>Othello</p> |
| 171 | + </div> |
| 172 | + <div class="book-card"> |
| 173 | + <img src="img/king-lear.jpg" alt="King Lear"> |
| 174 | + <p>King Lear</p> |
| 175 | + </div> |
| 176 | + </div> |
| 177 | + </div> |
| 178 | + |
| 179 | + <footer> |
| 180 | + <p>“All the world’s a stage, and all the men and women merely players.” – William Shakespeare</p> |
| 181 | + </footer> |
| 182 | + |
| 183 | +</body> |
| 184 | +</html> |
0 commit comments