* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: 0;
}

button {
    cursor: pointer;
}

p,
strong {
    font-family: Arial, Helvetica, sans-serif;
}

@font-face {
    font-family: Charlotte;
    src: url('../fonts/Charlotte-Southern.ttf');
}

@font-face {
    font-family: Juliagar;
    src: url('../fonts/Juliagar.ttf');
}

@font-face {
    font-family: SimplomMd;
    src: url('../fonts/simplonbp-medium-webfont.ttf');
}

@font-face {
    font-family: SimplomReg;
    src: url('../fonts/simplonbp-regular-webfont.ttf');
}

@font-face {
    font-family: Helvetica-Neue;
    src: url('../fonts/HelveticaNeue-Regular.ttf');
}

body {}

div.container-geral {
    width: 100%;
    height: 100%;
    min-width: 820px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url(../images/bg-aqua.png);
    background-repeat: no-repeat;
    background-size: cover;
    object-fit: cover;
    background-position: center 50px;
    margin: 0 auto;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 10px;
}

header img {
    margin-top: 48px;
    width: 84px;
}

header h1 {
    font-family: Charlotte;
    font-size: 90px;
    color: #FF6D00;
    font-weight: 300;
}

header strong {
    font-size: 18px;
    color: #4D4D4D;
}

header p {
    font-size: 16px;
    color: #4D4D4D;
}

div.messageBox {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 760px;
    height: 100%;
    max-height: 373px;
    height: 100%;
    margin-top: 25px;
}

div.messageBox label {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    text-align: left;
    color: #EA288C;
    margin-bottom: 7px;
}

div.messageBox input[type="text"] {
    max-width: 175px;
    height: 38px;
    border-radius: 5px;
    border: none;
    font-size: 13px;
    padding-left: 7px;
    margin-bottom: 27px;
    font-family: Arial, Helvetica, sans-serif;
}

div.inputs {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 175px;
    margin: 0 22px;
}

div.inputs span.foto {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    text-align: left;
    color: #EA288C;
    margin-bottom: 6px;
}

label.file {
    max-width: 175px;
    height: 175px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FF6D00;
    border-radius: 5px;
    transition: ease .3s;
    cursor: pointer;
}

label.file:hover {
    filter: brightness(0.8);
}

div.inputs input[type="file"] {
    display: none;
}

div.message {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

div.message .max-char {
    display: flex;
    justify-content: space-between;
    margin-top: 9px;
    font-family: Arial, Helvetica, sans-serif;
}

div.message .max-char label:last-child {
    color: #4D4D4D;
}

div.message textarea {
    width: 100%;
    max-width: 556px;
    height: 121px;
    border-radius: 5px;
    border: none;
    padding: 10px;
    max-height: 121px;
    resize: none;
    margin-bottom: 30px;
    font-family: Arial, Helvetica, sans-serif;
}

div.images {
    display: flex;
}

div.images div {
    max-width: 175px;
    max-height: 175px;
    margin-right: 16px;
    margin-top: 3px;
    margin-bottom: 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    position: relative;
}

div.images div:hover::after {
    pointer-events: none;
    content: '';
    display: block;
    width: 148px;
    height: 148px;
    border: 1px solid #FF6D00;
    display: block;
    position: absolute;
}

div.images img {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    cursor: pointer;
    transition: filter 0.3s ease;
}

div.images img:hover {
    filter: brightness(0.8);
}

div.letter {
    display: flex;
    max-width: 868px;
    width: 100%;
    height: 975px;
    align-items: center;
    justify-content: center;
    margin: 50px auto;
    zoom: 0.9;
}

div.letter .bg-cinza {
    background-image: url('../images/bg-cinza.png');
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    background-repeat: no-repeat;
    width: 100%;
    max-width: 820px;
    max-height: 965px;
    position: relative;
    -webkit-border-top-right-radius: 10px;
    -webkit-border-bottom-right-radius: 10px;
    -moz-border-radius-topright: 10px;
    -moz-border-radius-bottomright: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

div.letter .dots {
    position: absolute;
    left: 25px;
    top: 10px;
}

div.letter .bg-dinamico {
    background-image: url('../images/bg01.png');
    width: 100%;
    height: 100%;
    max-height: 882px;
    max-width: 800px;
    background-repeat: no-repeat;
    margin-top: 38px;
    position: relative;
    -webkit-border-top-right-radius: 10px;
    -webkit-border-bottom-right-radius: 10px;
    -moz-border-radius-topright: 10px;
    -moz-border-radius-bottomright: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

div.letter .logo {
    width: 84px;
    top: 21px;
    left: 29px;
    position: absolute;
}

div.letter .letters {
    width: 100%;
    max-width: 791px;
    height: 756px;
    background-image: url('../images/letters.png');
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -8px;
}

div.letter .container-mensagem {
    color: #4D4D4D;
    line-height: 27px;
    width: 100%;
    max-width: 240px;
    margin-left: -15px;
    padding: 15px 10px;
    transform: rotate(-7deg);
    overflow-wrap: break-word;
}

div.letter .container-mensagem h3 {
    font-family: Juliagar;
    color: #EA288C;
    font-size: 26px;
    margin-top: 25px;
    margin-bottom: 5px;
}

div.letter .container-mensagem p {
    font-family: Juliagar;
    font-size: 27px;
    margin-bottom: 25px;
}


/* #display-mensagem{
    overflow-wrap: break-word;
} */

div.letter .container-mensagem span {
    font-size: 25px;
    font-family: Juliagar;
}

div.letter .container-foto {
    transform: rotate(4.2deg);
    position: relative;
    left: 49px;
    bottom: 15px;
}

div.letter .container-foto>div {
    max-width: 321px;
    height: 431px;
    overflow: hidden;
    display: flex;
  justify-content: center;
  
}

div.letter .container-foto img {
    width: auto;
    margin: auto;
    display: block;
    max-width: 321px;

}

div.letter .container-foto span {
    color: #FF6D00;
    margin-top: 15px;
    display: block;
    width: 100%;
    max-width: 355px;
    font-size: 27px;
    font-family: Juliagar;
    line-height: 25px;
    transform: rotate(0deg);
    text-align: center;
}

footer {
    width: 100%;
    align-items: center;
    max-width: 503px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

footer p {
    font-size: 20px;
    font-family: SimplomReg;
    color: #4D4D4D;
    line-height: 21px;
    text-align: center;
}

footer button {
    padding: 14px 28px 10px 29px;
    background-color: #FF6D00;
    border-radius: 5px;
    border: none;
    font-weight: bold;
    font-size: 15px;
    font-family: Helvetica-Neue;
    color: #FFFF00;
    margin-bottom: 50px;
    margin-top: 40px;
    transition: filter 0.3s;
    letter-spacing: 1px;
}

footer button:hover {
    filter: brightness(0.8);
}