* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background: linear-gradient(-45deg,tomato,orange,orangered);
    display: flex;
    justify-content: space-between;
    padding: 15px;
    align-items: center;
    font-family: sans-serif;
    color: #fff;
}

div.image {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    flex-direction: column;
}
p {
    font-size: 25px;
    font-weight: 600;
}

img {
    width: 400px;
    object-fit: cover;
}

body > div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 100vh;
}

h4 {
    font-size: 30px;
    font-weight: bold;
}

div h2 {
    font-size: 35px;
    font-weight: 700;
    letter-spacing: 2px;
}

div h3 {
    font-size: 50px;
    font-weight: 600;
    cursor: pointer;
}

.overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background: #0000006b;
    height: 100vh;
    right: 0;
}

.overlay form {
    background: linear-gradient(45deg,tomato,orange,orangered);
    padding: 30px 20px;
    border-radius: 20px;
    width: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

form div:first-of-type {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
}

form div:last-of-type {
    background: #ff00007a;
    border: 2px solid red;
    border-radius: 10px;
    text-align: center;
    font-size: 20px;
    width: 100%;
    display: none;
}

input {
    transition: border-color 500ms;
    border-radius: 10px;
    width: 80%;
    height: 100%;
    border: 2px solid transparent;
    outline: none;
    font-size: 20px;
    font-weight: 500;
    padding: 0 20px;
}

input:focus {
    border-color: gray;
}

button {
    
    padding: 20px 30px;
    font-size: 18px;
    font-weight: 400;
    outline: none;
    border-radius: 10px;
    transition: opacity 500ms;
}

button:hover {
    opacity: 0.8;
}