.block {
    display: flex;
    width: 70vw;
    height: 60vh;
    box-shadow: 2px 8px 10px 12px rgba(0, 0, 0, 0.1);
}
.img-div {
    width: 42vw;
    height: 60vh;
}
body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    background-color: #f1eded;
    margin: 0;
}
.container {
    background-color: white;
    padding: 1% 2%;
    text-align: center;
    width: 100%;
}
.container img {
    width: 50%;
    margin-top: 7%;
}
.container h2 {
    font-size: 18px;
    margin: 10% 0 6% 0;
    color: #b0b0b0;
    position: relative;
    display: inline-block;
}
.container h2::before,
.container h2::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background-color: #ccc;
}
.container h2::before { left: -50%; }
.container h2::after { right: -50%; }

.container input[type="text"],
.container input[type="password"] {
    width: 80%;
    padding: 3%;
    margin: 3% 0;
    border: 1px solid #d1d0d0ce;
    border-radius: 5px;
    outline: none; 
}
.container input[type="text"]:focus,
.container input[type="password"]:focus {
    border-color: #4e73df;
}
.container button {
    width: 80%;
    padding: 2%;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 5%;
}
p {
    position: relative;
    text-align: right;
    margin-top: 5%;
    color: red;
}

@media screen and (max-width:1600px) {
  .container h2{ font-size: 14px; }
  .container input[type="text"],
  .container input[type="password"] { font-size: 12px; }
  .container button { font-size: 12px; }
  p{ font-size: 10px; }
}
@media screen and (max-width:1300px) {
  .container h2{ font-size: 12px; }
  .container input[type="text"],
  .container input[type="password"] { font-size: 10px; }
  .container button { font-size: 10px; }
  p{ font-size: 8px; }
}
