/*
Theme Name: Mil Vientos
Description: Tema criado para o site Mil Vientos.
Author URI: https://programadorbh.com.br
Version: 1.0
Author: Rodrigo Alves
*/

@font-face {
    font-family: AmsiProCond;
    src: url('fonts/amsiprocond-light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: AmsiProCond;
    src: url('fonts/amsiprocond-black.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: AmsiProCond;
    src: url('fonts/amsiprocond-italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

:root {
    --tinto: #892E3A;
    --verde:#AFB54F;
    --rose:#C68492;
    --cinza: #757575;
    --cinza-claro: #A3A2A2;
    --fundo: #F8F8F8;
}

*{
    box-sizing: border-box;
}

body {
    font-family: AmsiProCond, Roboto, Verdana, sans-serif;
    font-size: 2vmax;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    color: var(--tinto);
    background: url('img/listras.webp') repeat var(--fundo);
}

main{
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: url('img/frutas.webp') no-repeat 100% 0 fixed;
    background-size: contain;
    filter: drop-shadow(0 0 1px #FFF);
}

#topo{
    padding-top:20px;
}

.logo{
    margin: 0 auto;
    display: block;
    width: 300px;
    height: 120px;
    background: url('img/logo.svg') no-repeat center;
    background-size: contain;
    transition: all 1s;
}

article {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 140px);
    padding: 0;
    text-align: center;
    align-items: stretch;
    justify-content: center;
}

h1, h2, h3, h4 {
    font-family: AmsiProCond, Roboto, Verdana, sans-serif;
    font-size: 3vmax;
    line-height: 1.2;
    font-weight: bold;
    color: var(--tinto);
    margin: 2vh 0 4vh 0;
}

h3{
    font-size: 2.4vmax;
    color: var(--verde);
}

h4{
    font-size: 2vmax;
    color: var(--cinza);
}

p {
    margin: 0;
    line-height: 1.4;
}

.oculta {
    display: none;
}

#btreiniciar,
#btvoltar,
button,
input[type="button"], 
input[type="submit"],
.nomedigitado{
    font-family: AmsiProCond, Roboto, Verdana, sans-serif;
    min-width: 220px;
    font-size: 3vmax;
    text-align: center;
    line-height: 1.2;
    font-weight: bold;
    border: none;
    border-radius: 30px;
    padding:1vh 2vw 2vh 2vw;
    margin: 0 auto 20px auto;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    background-color: var(--tinto);
    color: #FFF;
    transition: all 1s;
}

#btreiniciar,
#btvoltar {
    position: fixed;
    top: 10vh;
    left: 3vw;
    z-index: 100;
    margin: 0 auto;
    padding: 5px 10px 10px 10px;
    font-size: 1.6vmax;
    min-width: auto;
    user-select: none;
    display: none;
}

#btreiniciar{
    left: unset;
    right: 3vw;
    text-decoration: none;
}

#btreiniciar:hover,
#btvoltar:hover,
input[type="button"]:hover, 
input[type="submit"]:hover,
button:hover,
.marcado{
    background-color: var(--verde);
    transition: all 1s;
}

#inicio button{
    margin: 5vh auto;
}

form {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
}

#contato{
    font-size:2.4vmax;
}

#contato input[type="text"],
#contato input[type="tel"]{
    font-size: inherit;
    font-weight: bold;
    padding: 10px 20px;
    border: 2px solid var(--tinto);
    color: var(--tinto);
    background-color: #FFF;
    border-radius: 30px;
    margin:3vh auto;
}

::placeholder {
    color: var(--tinto);
}

#resultado {
    margin-top: 4vh;
}

#resultado p {
    width: 50%;
    margin: 0 auto;
    text-align: left;
}

#resultado h3 {
    margin-bottom: 5px;
}

.nomedigitado {
    cursor: default;
    font-size: 3.2vmax;
}

#retorna-vinho {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    margin-top: 5vmax;
}

#retorna-vinho figure{
    margin:2vh 2vw;
}

#retorna-vinho figure img{
    width: auto;
    max-height: 40vmax;
}

#retorna-vinho figure figcaption {
    max-width: 50vw;
    word-break: break-word;
    font-weight: bold;;
}

footer {
    display: none;
    text-align: center;
    padding: 20px;
    background:var(--cinza);
    color: #FFF;
}
