@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

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

:root{
    --font-titulos: 'Poppins', sans-serif;
    --font-topicos: 'Fredoka', sans-serif;
}

html, body{
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

img{
    width: 100%;
    display: block;
}

header {
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 65px;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
}

header ul {
    text-decoration: none;
    list-style-type: none;
    display: flex;
    margin-top: 20px;
}

header a {
    text-decoration: none;
    text-transform: uppercase;
    font-family: var(--font-topicos);
    font-size: 15px;
    font-weight: 500;
    color: #e4e4e4;
    margin: 13px;
}

header a::after {
    content: '';
    width: 0;
    background-color: #e4e4e4;
    display: block;
    height: 2px;
    transition: width 0.3s ease;
}
header a:hover::after {
    width: 100%;
}

header img {
    width: 55px;
}

.principal{
    width: 100vw;
    min-height: 100vh;
    background-color: #e4e4e4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 65px;
}
.container{
    max-width: 1200px;
    /* padding: 0 1rem;
    margin: 0 auto; */
}
.div-produto{
    min-height: auto;
    display: grid;
    line-height: 35px;
    grid-template-columns: repeat(2, 1fr);
    background-color: #f8f8f8;
    border-radius: 3px;
    column-gap: 10px;
}
.div-esquerda{
    padding: 20px;
}
.div-direita{
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: center;
}
.img-container img{
    width: 400px;
    margin: 0 auto;
}
.hover-container{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}
.hover-container div{
    border: 2px solid rgba(0, 0, 0, 0.448);
    padding: 1rem;
    border-radius: 3px;
    margin: 0 4px 8px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.active{
    border-color: rgb(0, 0, 0)!important;
}
.hover-container div:hover{
    border-color: rgb(0, 0, 0);
}
.hover-container div img{
    width: 50px;
    cursor: pointer;
}
.div-direita span{
    display: block;
}
.nome-produto{
    font-size: 26px;
    margin-right: 5px;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0.9;
    text-transform: uppercase;
}
.preco-produto{
    font-weight: 700;
    font-size: 24px;
    margin-right: 5px;
    opacity: 0.9;
    font-weight: 600;
}

.descricao-produto{
    font-family: 'Fredoka', sans-serif;
    font-size: 18px;
    font-weight: 20px;
    line-height: 1.6;
    font-weight: 300;
    opacity: 0.9;
    text-align: left;
    margin-right: 10px;
}

.botao-encomendar a {
    text-decoration: none;
    padding: 10px 0;
}
.botao-encomendar{
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.botao-encomendar button{
    display: block;
    font-size: 20px;
    font-family: 'Fredoka', sans-serif;
    text-transform: uppercase;
    padding: 15px 16px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.botao-encomendar button i{
    margin-left: 20px;
    font-size: 20px;
    align-self: center;
}

.bt{
    width: 300px;
    background-color: #000;
    border: 2px solid #000;
    border-radius: 8px;
}
.bt:hover{
    background-color: #f8f8f8;
    color: #000;
}

@media screen and (max-width: 992px){
    .container {
        width: 90%;
    }
    .img-container img{
        width: 300px;
        margin: 0 auto;
    }
    .div-produto{
        grid-template-columns: 100%;
    }
    .div-direita{
        text-align: center;
    }
    .product-rating{
        justify-content: center;
    }
    .descricao-produto{
        max-width: 400px;
        margin-right: auto;
        margin-left: auto;
        text-align: center;
    }
}

@media screen and (max-width: 400px){
    .botao-encomendar button{
        width: 100%;
        margin-bottom: 10px;
    }
}

footer {
    background-color: black;
    width: 100%;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
    justify-content: space-around;
    padding: 10px;
}

footer h6 {
    color: white;
    font-family: var(--font-titulos);
    font-size: 13px;
    font-weight: 400;
    text-align: center;
    margin: 0px;
}

footer ul {
    display: flex;
    align-content: center;
}

footer a {
    color: white;
    font-size: 35px;
    margin: 8px;
}