html {
    color: #290065;
    font-family: 'Playfair Display';
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="date"],
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
}
input::placeholder {
  color: rgb(45, 45, 45);
}

h1 {
    color: #000;
    font-family: sans-serif;
    font-weight: 500;
    padding: 16px 0 0 16px;
}
h3 {
    margin-top: 0;
    font-size: 13px;
    max-width: 300px;
    font-weight: 200;
    padding-left: 16px;
    color: #4a4a4a;
}
form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px 0;
    border-radius: 50px;
}

form h2 {
    margin: 5px;
    color: #000;
    text-align: center;
            font-family: sans-serif;
                font-weight: 300;
}

form > div {
    width: 34%;
    margin-bottom: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
form > div:last-of-type {
    width: 100%;
}

input, select {
    background-color: #eef5fc;
    font-family: 'Playfair Display';
    font-size: 16px;
    padding: 12px 8px;
    margin: 5px 5px 10px 5px;
    border-radius: 10px;
    border: none;
    display: inline-block;
    box-shadow: 2px 2px 4px #2800653f;
}
input {
    width: 250px;
}
select {
    width: 266px;
}
.date-input {
    position: relative;
    display: inline-block;
}
.date-label {
    color: var(--black);
    font-size: 12px;
    position: absolute;
    top: -5px;
    left: 10px;
    padding: 3px 5px;
    border-radius: 10px;
    background-color: white;
}
select.sofa {
    max-width: 300px;
}
input.submit {
    width: 40%;
    margin: 8px 30%;
    background-color: #290065;
    color:#eef5fc;
}

@media (max-width: 850px) {
    form > div {
        width: 40%;
        margin-bottom: 32px; 
    }
}
@media (max-width: 690px) {
    html {
        margin: 10px;
    }
    form {
        padding: 25px 0;
    }
    form h2 {
        font-size: 18px;
    }

    form > div {
        width: 50%;
        margin-bottom: 32px; 
    }
    input, select {
    font-size: 13px;

    }   
    input {
        width: 216px;
    }
    select {
        width: 232px;
    }

}
@media (max-width: 550px) {
    input {
        width: 184px;
    }
    select {
        width: 200px;
    }
}
@media (max-width: 485px) {
    form {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 32px 0 24px 0;
    }
    form h2 {
    font-size: 28px;
    margin-bottom: 12px;
    text-align: center;
    }
    form > div {
        width: 100%;
        margin-bottom: 24px;
    }
    input {
        width: 284px;
    }
    select {
        width: 300px;
    }
}
@media (max-width: 356px) {
    input {
        width: 200px;
    }
    select {
        width: 216px;
    }
}

@media (max-width: 262px) {
    input {
        width: 184px;
    }
    select {
        width: 200px;
    }
}
.language a {
    color: white;
    position: absolute;
    top: 10px;
    right: 12px;
    text-decoration: none;
    background-color: #290065;
    padding: 12px;
    border-radius: 20px;
    transition: ease-in-out 0.25s;
}
.language a:visited {
    color: rgb(255, 255, 255);
}
.language a:hover {
    background-color: #28006582;
    color: black;
}
@media (max-width: 550px) {
.language a {
    color: white;
    position: absolute;
    top: 6px;
    right: 5px;
    padding: 8px;
}
}
.nothing {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
}