@import url('https://fonts.googleapis.com/css2?family=Bad+Script&family=Handlee&family=Indie+Flower&family=Kalam:wght@300;400;700&family=Mali:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&family=Merienda:wght@300..900&family=Patrick+Hand&family=Sriracha&family=Yuyu&display=swap');

body{
    margin: 0;
    overflow-x: hidden;
}

@keyframes efeito {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cabecalho{
    background-image: url('uploads/Cabecalho.png');
    background-size: cover;
    justify-content: center;
    align-content: center;
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 300px;
    z-index: -1;
}

.contato_cabecalho{
    display: grid;
    grid: [linha1] "img a img"
          [linha2] "img a img"
          [linha3] "img a img"
          /32.4px [coluna1] 215.6px [coluna2] 44.5px [coluna3];
    align-items: center;
    align-content: center;
    place-content: stretch;
    grid-row-gap: 6px;
    padding-left: 235px;
    padding-bottom: 24px;
}

.contato_cabecalho th{
    font-family: "Kalam", cursive;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
    text-align: start;
    font-size: 29px;
    color: white;
    font-weight: bold;
    padding-bottom: 24px;
}

.contato_cabecalho img{
    width: 32.6px;
    height: auto;
    flex-shrink: 0;
    padding-right: 11px;
    padding-left: 11px;
}

.contato_cabecalho a{
    font-family: "Kalam", cursive;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
    flex-shrink: 1;
    font-size: 24px;
    color: white;
    text-decoration: none;
}

.historia{
    display: grid;
    grid-template-columns: minmax(300px, 600px) 1fr;
    background-color: #35a024;
    border-radius: 36px;
    position: relative;
    z-index: 2;
    margin: 270px auto -30px auto;
    animation: efeito 1s ease-out forwards;
}

.historia img{
    width: 90%;
    height: auto;
    align-self: center;
    place-self: center;
    border-radius: 36px;
    object-fit: cover;
    flex-shrink: 1;
    column-gap: 60px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.historia .sobre_nos{
    display: grid;
    grid: [linha1] "h1"
          [linha2] "p"
          /auto [coluna1];
    height: 540px;
    width: auto;
    flex-shrink: 1;
    color: white;
    text-align: center;
    padding: 0 40px;
}

.sobre_nos h1{
    font-family: "Kalam", cursive;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1;
    font-size: 45px;
    align-self: end;
}

.sobre_nos p{
    font-family: "Bad Script", cursive;
    font-size: 30px;
    line-height: 1.4;
    align-self: start;
}

.fundo_1{
    background-image: url('uploads/Fundo_1.png');
    background-repeat: repeat-y;
    background-size: 100% auto;
    min-height: 768px;
    margin-top: -60px;
    margin-bottom: -70px;
}

.fundo_1 h1{
    font-family: "Kalam", cursive;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
    font-size: 52px;
    color: #c20000;
    text-align: start;
    padding-top: 80px;
    padding-bottom: 45px;
    padding-left: 90px;
    padding-right: 20%;
    max-width: 100%;
    text-shadow: -2px 3px 0px rgba(255, 255, 255, 1);
}

.massas{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    place-content: stretch;
    place-items: center;
    padding: 0px 40px;
}

.massas h2{
    font-family: "Kalam", cursive;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1;
    font-size: 35px;
    color: #c20000;
    text-align: center;
    text-shadow: -2px 3px 0px rgba(255, 255, 255, 1);
}

.massas img {
    aspect-ratio: 1/1;
    width: 100%;
    max-width: 325.2px;
    height: auto;
    border-radius: 36px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.massas p{
    font-family: "Kalam", cursive;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
    font-size: 30px;
    color: black;
    text-align: center;
    text-shadow: -2px 3px 0px rgba(255, 255, 255, 1);
}

.sabores{
    display: grid;
    grid-template-columns: 1fr;
    padding-bottom: 50px;
}

.sabores h1{
    font-family: "Kalam", cursive;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
    font-size: 52px;
    color: #c20000;
    text-align: start;
    padding-top: 110px;
    padding-bottom: 45px;
    padding-left: 90px;
    padding-right: 20%;
    text-shadow: -2px 3px 0px rgba(255, 255, 255, 1);
}

.sabores p{
    font-family: "Bad Script", cursive;  
    font-size: 42px;
    font-weight: bold;
    color: black;
    line-height: 1.4;
    text-align: start;
    padding-left: 180px;
    text-shadow: -2px 3px 0px rgba(255, 255, 255, 1);
}

.gradiente{
    position: relative;
}

.gradiente::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0px,rgba(191, 32, 10, 0.2) 40px,
                              rgba(191, 32, 10, 0.6) 100px, rgba(191, 32, 10, 1) 200px);
    mix-blend-mode: multiply;
}

.fundo_2{
    min-height: 768px;
    position: relative;
}

.fundo_2 h1{
    font-family: "Kalam", cursive;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
    font-size: 52px;    
    color: white;
    text-align: start;
    padding-top: 220px;
    padding-bottom: 40px;
    padding-left: 90px;
    padding-right: 20%;
    max-width: 100%;
}

.favoritas{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    place-content: stretch;
    grid-column-gap: 16px;
    grid-row-gap: 8px;
    padding-bottom: 100px;
    margin: 20px;
}

.favoritas img{
    aspect-ratio: 1/1;
    width: 100%;
    max-width: 412.5px;
    height: auto;
    border-radius: 36px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.favoritas p{
    font-family: "Bad Script", cursive;   
    font-size: 21px;
    color: white;
    line-height: 1.4;
    text-align: center;
}

.rodape{
    display: grid;
    grid: [linha1] "contato_rodape horario_funcionamento"
          /70% [coluna1] 30% [coluna2];
    background-color: #126d03;
    border-top-left-radius: 36px;
    border-top-right-radius: 36px;
    height: 240px;
    width: 100%;
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

.rodape .contato_rodape{
    display: grid;
    grid-template-columns: 32.4px 1/1fr;
    grid-template-rows: 1/3fr;
    align-items: start;
    align-content: center;
    row-gap: 10px;
    column-gap: 6px;
    padding-left: 42px;
    padding-top: 19px;
}

.contato_rodape th{
    font-family: "Kalam", cursive;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
    text-align: start;
    font-size: 28px;
    color: white;
    padding-bottom: 22px;
}

.contato_rodape img{
    width: 32.6px;
    height: auto;
    flex-shrink: 0;
}

.contato_rodape a{
    font-family: "Kalam", cursive;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
    font-size: 23px;
    color: white;
    text-align: start;
    text-decoration: none;
    padding-left: 10px;
}

.rodape .horario_funcionamento{
    display: grid;
    grid-template-columns: 1fr;
    background-color: #64b757;
    border-top-left-radius: 36px;
    border-top-right-radius: 36px;
    height: 240px;
    margin-right: 45px;
}

.horario_funcionamento h2{
    font-family: "Kalam", cursive;
    font-weight: 700;
    letter-spacing: -1px;
    font-size: 20px;    
    color: #c20000;
    width: 100%;
    align-items: start;
    padding-left: 20px;
}

.horario_funcionamento h3{
    font-family: "Kalam", cursive;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 0.2;
    font-size: 20px;    
    color: #c20000;
    align-self: start;
    padding-left: 20px;
    margin-bottom: -10px;
}

.horario_funcionamento p{
    font-family: "Bad Script", cursive;   
    font-size: 18px;
    font-weight: bold;
    color: #c20000;
    align-self: start;
    padding-left: 20px;
    margin-bottom: -0.3px;
}

.contato_cabecalho a:hover,
.contato_rodape a:hover {
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
    color: #c20000;
    transform: translateX(2px);
}

.massas img:hover, 
.favoritas img:hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: scale(1.04);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
    cursor: default;
}