@import url('https://fonts.googleapis.com/css2?family=Playwrite+DE+Grund:wght@100..400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow: hidden;
    height: 100%;
    margin: 0;
    display: grid;
    place-items: center;
    font-family: 'Playwrite DE Grund', sans-serif;
    background-color: rgb(246, 214, 189);
}

.pic-div{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.pic-div img{
    width: 25rem;
    height: auto;
    padding: 1vw;
    object-fit: cover;
}

.pic-div h1{
    font-size: 4.5vw;
    font-weight: 700;
    color: rgb(235, 119, 119);
    padding-bottom: 1.5vw;
    text-align: center;
    padding: 0 2vw;
}


.buttons{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 2vw 0;
}

.buttons button, .confirm {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    width: 18vw;
    height: 9vw;
    color: rgb(235, 119, 119);
    font-family: 'Playwrite DE Grund', sans-serif;
    font-size: 5vw;
    margin: 0 3vw;
    background: rgb(250, 248, 246);
    border-radius: 1.5vw;
    border: 1px solid #E9E9F3; 
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
}

form{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.confirm{
    display: none;
    width: 20vw;
    height: 6vw;
    font-size: 3vw;
}

.buttons button:active, .confirm:active{
    background: rgb(242, 240, 238);
    font-weight: 700;
}

.suggestion{
    display: none;
    width: 80vw;
    padding: 1vw;
    margin: 2vw 1vw;
    box-sizing: border-box;
    background-color:  rgb(249, 227, 211);
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    color: rgb(235, 119, 119);
    border: none;
    border-radius: 0.5vw;
    outline: none;
    resize: none;
    font-family: 'Inter', sans-serif;
    font-size: 2vw;
    letter-spacing: 0.075rem;
}

.suggestion::placeholder {
    color: rgba(235, 119, 119, 0.8);
}


@media (max-width: 48rem){

    .pic-div img{
        width: 50vw;
    }

    .suggestion{
        font-size: 3.5vw;
    }

}