* {
    margin: 0;
    padding: 0;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    box-sizing: border-box;
}

body {
    background: #f9b49b;
    color: #132035;
}

.page-header {
    background-color: #132035;
    color: #f9f4f1;
    padding: 20px;
    text-align: center;
    font-size: 15px;
}

.container {
    max-width: 500px;
    padding: 30px 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid #b86051;
    border-radius: 3.5px;
    box-shadow: 0 4.5px 0 4px #132035;
    filter: drop-shadow(8px 7px 8px rgb(233, 232, 232));
}

.container p {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 10px;
}

.container input {
    background: #f9f4f1;
    color: #132035;
    width: 100%;
    height: 50px;
    outline: 0;
    padding: 10px;
    margin: 10px 0 20px;
    border: 2px solid #132035;
    border-radius: 6px;
}

.container button {
    background: #b86051;
    width: 100%;
    height: 50%;
    color: #f9f4f1;
    border: 2px solid #132035;
    border-radius: 5px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.954);
    cursor: pointer;
    margin: 20px 0;
    padding: 10px;
    font-weight: 600;
}

#imgBox {
    width: 200px;
    border-radius: 5px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 1s;
}

#imgBox img {
    width: 100%;
    padding: 10px;
}

#imgBox.show-img {
    max-height: 300px;
    margin: 10px auto;
    border: 3px solid #b86051;
}

.error {
    animation: shake 0.1s linear 10;
}

.page-footer {
    background-color: #132035;
    color: #f9f4f1;
    padding: 10px;
    text-align: center;
    font-size: 14px;
    position: fixed;
    bottom: 0;
    width: 100%;
}


@keyframes shake {
    0% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-2px);
    }
    50% {
        transform: translateX(0);
    }
    75% {
        transform: translateX(2px);
    }
    100% {
        transform: translateX(0);
    }
}

/* Meida Query for Landscape View */

@media only screen and (max-width: 844px) and (orientation: landscape) {
    .page-header {
        font-size: 12px;
        padding: 13px;
    }

    .container {
        height: 250px;
        padding: 15px;
        margin: 1.1rem;
    }

    .container p {
        font-size: 13px;
        margin-bottom: 2px;
    }

    .container input {
        height: 30px;
        padding: 1px;
        margin: 2px 0 2px;
    }

    .container button {
        height: 12%;
        font-size: 10px;
        padding: 5px;
        margin: 1.5px;
    }

    
    #imgBox.show-img {
        border: none;
    }

    #imgBox img {
        height: 100px;
        width: 80%; 
        border-top: 4px solid #132035e0;
        border-bottom: 4px solid #132035;
        border-left: 4px solid #b86051;
        border-right: 4px solid #f9f4f1;
        border-radius: 4px;
    }

    .page-footer {
        font-size: 12px;
        padding: 8.5px;
    }
}