@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Nunito:ital@0;1&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Sofia&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing:border-box;
}

:root{
    --cor1: #FFF;
    --cor2: #632B12;
    --cor3: #E7A12D;
    --cor4: #FEEDDA;
    --cor5: #C98618;
    --cor6: #4A1E0B;

    --fonttitulo: 'Sofia';
    --fontsub: 'Playfair Display';
    --fonttexto: 'Nunito';
}

body{ 
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;

    background-color: var(--cor4);
    color: var(--cor2);
    font-family: var(--fonttexto);
}

p{
    font-size: 20px;
}

a{
    text-decoration: none;
    color: var(--cor2);
    font-size: 20px;

}

h1{
    font-family: var(--fonttitulo);
    font-size: 70px;
    font-weight: 500;
}

h2{
    font-family: var(--fontsub);
    font-size: 45px;
    font-weight: 400;
    margin-bottom: 10px;
}

.container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.img-respon {
    display: block;
    width: 80%;
    max-width: 100%;
    height: auto;
    margin: auto;
}

.logo-princ img{
    max-width: 140px;
}

.erro img {
    max-width: 450px;
    transition: transform 0.6s;
}

.erro img:hover{
    transform: rotate(5deg);
}

.erro-pagina{
    font-family: var(--fontsub);
    font-size: 80px;
    font-weight: 600;
}

.botao{
    margin: 30px 0px;
    display: flex;
    justify-content: center;
    align-items:center;
    gap: 20px;
    font-family: var(--fonttexto);
    font-weight: 700;
}

.bto{
    display: inline-block;
    text-align: center;
    box-shadow: 3px 5px 10px #00000042;
    transition:  background-color .4s, box-shadow .4s;
    width: 100%;
    max-width: 200px;
    padding: 10px 0px;
    border-radius: 10px;
    cursor:pointer;
}
.bto:focus-visible{
    outline: 2px solid var(--cor3);
    outline-offset: 4px;
}

.bto:hover{
    box-shadow: none;
}

.home{
    background-color: var(--cor2);
    color: var(--cor1);
}

.home:hover{
    background-color: var(--cor6);
}

.cardap{
    font-weight: 800;
    background-color: var(--cor3);
}

.cardap:hover{
    background-color: var(--cor5);
}

footer {
    text-align: center;
}

footer a{
    text-decoration: underline;
    transition: 0.5s;
}

footer a:hover{
    text-decoration: none;
}

footer a:focus-visible{
    border-radius: 5px;
    outline: 2px solid var(--cor3);
    outline-offset: 1px;
}

@media screen and (max-width: 480px){
    body{
        padding: 10px;
    }

    h1{
        font-size: 55px;
    }

    h2{
        font-size: 30px;
        font-weight: 500;
    }

    p, a{
        font-size: 18px;
        font-weight: 500;
    }

    .container{
        gap: 10px;
    }

    .logo-princ img{
        max-width: 100px;
    }

    .erro-pagina{
        font-size: 60px;
    }

    .botao{
        flex-direction: column;
    }
    
}