* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* background-image: url(https://images.pexels.com/photos/302769/pexels-photo-302769.jpeg?cs=srgb&dl=pexels-pixabay-302769.jpg&fm=jpg); */
    /* background-image: url(https://wallpapercave.com/wp/wp2752752.jpg); */
    background-size: cover;
    background-repeat: no-repeat;
    /* background: linear-gradient(135deg, rgba(71, 35, 166, 0.9), rgba(220, 220, 250, 0.9)); */
     background: linear-gradient(135deg, rgba(20, 20, 20, 1), rgba(50, 50, 50, 1));
    font-family: Georgia, serif;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

h1 {
    color: white;
    text-underline-offset: 7px;
    text-decoration: underline;
    font-size: 40px;
}

.container {
    border: 1px solid black;
    height: 312px;
    width: 900px;
    min-width: 300px;
    margin: 1rem;
    background: rgba(255, 255, 255, 0.6);
    display: flex;
}

.box2 h3 {
    color: #3f1f90;
    font-size: 25px;
    text-align: center;
    margin-top: 10px;
    margin-bottom: -10px;
}

.box2 p {
    text-align: center;
    padding: 0 1rem;
}

.box1 {
    width: 30%;
    border-right: 2px solid #eee;
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.box1-1,
.box1-2,
.box1-3 {
    display: flex;
    flex-direction: column;
    text-align: center;
}

i {
    font-size: 20px;
    margin-bottom: 6px;
}

.box2 {
    width: 70%;
    display: flex;
    gap: 1rem;
    justify-content: start;
    flex-direction: column;
}

.box2 input {
    height: 2rem;
    margin: 0 1.5rem;
    padding: 0 0 0 12px;
    border-radius: 4px;
    border: none;
    background-color: hwb(0 89% 10%);
}

.box2 textarea {
    resize: none;
    height: 4rem;
    margin: 0 1.5rem;
    padding: 5px 12px 5px 12px;
    border-radius: 4px;
    border: none;
    background-color: hwb(0 89% 10%);
    font-size: 15px;
}

.div {
    text-align: center;
}

.div button {
    margin-bottom: 1rem;
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 4px;
    background-color: #3f1f90;
    color: white;
    transition: 0.5s ease-in-out;
}

button:hover {
    background-color: #5636c2;
    transform: translateY(-2px)
}

@media(max-width:940px) {
    body {
        height: 100vh;
    }

    .container {
        /* height: 312px;
    width: 900px;
    min-width: 300px;
    margin: 1rem;
    background: rgba(255, 255, 255, 0.4);
    display: flex; */
        height: auto;
        width: auto;
        min-height: 0;
        flex-direction: column;
    }

    .box1 {
        width: auto;
        border-right: none;
        border-bottom: 2px solid #eee;
        margin-top: 1rem;
    }

    .box1-3 {
        margin-bottom: 1rem;
    }

    .box2 {
        width: auto;
    }
}