* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Castello Typeface', Georgia, serif;
    scroll-behavior: smooth;
    text-decoration: none;
    color: var(--text-color);
}

:root {
    --logo-color: #da2129;
    --logo-hover: #b01e25;
    --text-color: #111111;
    --subtitle-color: #4a5568;
    --color-background: #fff7e7;
    --card-color: #ffffff;
    --texto-grande: 5rem;
    --h2-size: 1.5rem;
    --p-size: 0.9rem;    
}

*::selection {
    background-color: var(--logo-color);
}

body {
    background-color: var(--color-background);
    font-family: 'Castello Typeface', Georgia, serif;
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
}

.nav-header {
    top: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 170px;
}

.logo-header {
    width: 70%;
}

.logo-header:hover {
    opacity: 80%;
    transition: .4s;
}

.navbar {
    display: flex;
}

.navbar a {
    color: var(--text-color);
    font-size: 1.1rem;
    padding: 10px 20px;
    font-weight: 500;
}

.navbar a.active {
    font-size: 1.1rem;
    text-decoration: underline;
    color: var(--logo-color);
}

.navbar a.active:hover {
    color: var(--logo-hover);
}

.navbar a:hover {
    color: #6b7280;
    transition: .4s;
}

#menu-icon {
    color: var(--text-color);
    font-size: 2rem;
    cursor: pointer;
}

section {
    padding: 50px 10%;
    margin-top: 5%;
}

.home {
    width: 100%;
    min-height: 90vh;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1.5rem;
    align-items: center;
}

.home-hambuguer-image img {
    max-width: 100%;
    width: 600px;
    height: auto;
}

.home-text h1 {
    font-size: var(--texto-grande);
    color: var(--logo-color);
}

.home-text h2 {
    color: var(--text-color);
    margin: 1rem 0 2rem;
}

.home-text a.buy-button-home {
    background-color: var(--logo-color);
    padding: 10px 25px;
    border: none;
    outline: none;
    color: white;
    font-weight: bold;
    border-radius: 0.4rem;
    display: inline-block;
}

.home-text a.buy-button-home:hover {
    cursor: pointer;
    background-color: var(--logo-hover);
    transform: scale(1.2) translateY(10px);
    transition: .4s;
}

/*---------------Sobre-----------*/

.sobre {
    display: grid;
    grid-template-columns: repeat(2, 2fr);
    grid-gap: 1.5rem;
    align-items: center;
}

.card-criador {
    width: 300px;
    min-height: 30vh;
    background-color: var(--card-color);
    padding: 10px;
    border-radius: 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 10px 0;
}

.card-criador h2 {
    color: var(--logo-color);
    font-weight: bold;
}

.card-criador h3 {
    color: var(--text-color);
}

.card-criador img {
    width: 60%;
    border-radius: 50%;
    border: 2px solid var(--logo-color);
}

.about-text span {
    color: var(--logo-color);
    font-weight: 600;
}

.about-text h2 {
    font-size: var(--h2-size);
}

.about-text {
    font-size: var(--p-size);
    margin: 0.8rem 0 1.8rem;
    line-height: 1.7;
}

.pedido {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.header-pedidos {
    text-align: center;
}

.header-pedidos span {
    color: var(--logo-color);
}

.header-pedidos h2 {
    font-size: var(--h2-size);
}

.container-pedidos {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, auto));
    gap: 1.5rem;
    align-items: center;
}

.card-pedidos {
    position: relative;
    margin-top: 4rem;
    height: auto;
    display: flex;
    flex-direction: column;
    background-color: var(--card-color);
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 0.8rem;
    width: 300px;
    min-height: 30vh;
}

.card-pedidos img {
    width: 100%;
    height: 200px;
}

.card-pedidos h2 {
    font-size: 1.3rem;
    color: var(--text-color);
    font-weight: 400;
    margin: 4px 0 10px;
}

.card-pedidos span.preço {
    font-size: var(--p-size);
    color: var(--subtitle-color);
    font-weight: 600;
    margin: 4px 0 10px;
}

.amount-selector {
    display: flex;
}

.amount-selector div {
    display: flex;
    background-color: var(--logo-color);
    color: white;
    border: none;
    outline: none;
    padding: 10px;
    text-align: center;
}

.amount-selector div.mais {
    border-top-right-radius: 0.4rem;
    border-bottom-right-radius: 0.4rem;
}

.amount-selector div.menos {
    border-top-left-radius: 0.4rem;
    border-bottom-left-radius: 0.4rem;
}

.mais:hover {
    background-color: var(--logo-hover);
    cursor: pointer;
    transition: .4s;
}

.menos:hover {
    background-color: var(--logo-hover);
    cursor: pointer;
    transition: .4s;
}

.amount-selector input.amount-show {
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    outline: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    padding: 10px;
    width: 3rem;
    text-align: center;
}

.finalizarPedido {
    margin-top: 3%;
    background-color: var(--logo-color);
    color: white;
    font-weight: bold;
    padding: 10px 30px;
    outline: none;
    border: none;
    border-radius: 0.4rem;
}

.finalizarPedido:hover {
    background-color: var(--logo-hover);
    cursor: pointer;
    transition: .4s;
}