/* Arquivo.pt Memorial */

body {
    margin: 20px 0;
    padding: 0;
    background: #E5E5E5;
    font-family: roboto;
}

a:link {
    color: rgba(29, 142, 247, 0.86);
    text-decoration: none;
}

a:hover {
    color: rgba(6, 98, 184, 0.86);
    text-decoration: underline;
}

a:active {
    color: rgba(14, 56, 95, 0.86);
}

a:visited {
    color: rgba(128, 3, 211, 0.86);
}

.containers {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
}

#language-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    margin-bottom: 20px;
}

div#memorial-container {

        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        flex-wrap: wrap;
        flex-grow: 1;
        margin: 0 auto;
        padding: 22px 50px 35px 50px;
        width: 100%;
        max-width: 500px;
        height: auto;
        background: rgba(255, 255, 255, 0.99);
        border: 1px solid rgba(0, 0, 0, 0.04);
        box-sizing: border-box;
        box-shadow: 0px 4px 5px rgb(0 0 0 / 11%);
        border-radius: 5px;

}
div#language-container a {
    width: fit-content;
    font-family: Roboto;
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 17px;
    text-align: center;
}

div img {
    width: auto;
    min-width: 200px;
    max-width: 400px;
}

p {
    margin: 30px 0 10px 0;
    padding: 25px 0;
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 19px;
    color: #262626;
    border-top: 0.5px solid rgba(0, 0, 0, 0.2);
    border-bottom: 0.5px solid rgba(158, 100, 100, 0.2);
}

div form {
    display: flex;
    flex-direction: row;
    justify-content:space-between;
    align-items: center;
    height: auto;
}

div form p {
    padding: 10px 0;
    margin: 0;
    border: none;
}

div form button {
    width: 54%;
    height: 32px;
    margin-top: 10px;
    margin-left: 23%;
    background: rgba(29, 142, 247, 0.86);
    box-shadow: 0px 2px 4px rgb(0 0 0 / 55%);
    border-radius: 3px;
    font-family: Roboto;
    font-style: normal;
    font-size: 12px;
    line-height: 17px;
    text-align: center;
    color: #FFFFFF;
    cursor: pointer;
    border: none;
    transition: 0.5s;
}

div form button:hover {
    background-color: rgba(6, 98, 184, 0.86);
    transition: 0.5s;
}

div form button:active {
    background-color: rgba(14, 56, 95, 0.86);
}

/* mobile MEDIA QUERIES **********************/
@media screen and (max-width:490px) {
    body {
        margin: 0;
    }
    div#memorial-container {
        padding: 20px 30px 10px 30px;
    }
    div form button {
        width: 100%;
        margin: 20px 0 30px;
    }
    p {
        margin: 30px 0 15px 0;
        font-size: 13px;
    }
}