@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@300;400;700&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
}

:root {
    --bg-color: #222327;
    --text-color: #fff;
    --main-color: #29fd53
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: beige;
}

header {
    position: fixed;
    margin-top: 20px;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    padding: 28px 12%;
    transition: all .50s ease;
    background-color: rgb(255, 255, 255, 0.8);
    border-radius: 300px;
    margin: 20px auto;
    padding: 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo i {
    color: #b81c1c;
    font-size: 28px;
    margin-right: 3px;
}

.logo span {
    color: #4B2E2E;
    font-size: 1.7rem;
    font-weight: 600;
}

.navbar {
    display: flex;
    list-style: none;
    position: sticky;
    top: 0;
}

.navbar a {
    color: #4b2e2e;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 5px 0px;
    margin: 0px 30px;
    transition: all .50s ease;
}

.navbar a:hover {
    color: #b81c1c;
}

.main {
    display: flex;
    align-items: center;
}

.main a {
    margin-right: 25px;
    margin-left: 10px;
    color: #4b2e46;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all .50s ease;
}

.user {
    display: flex;
    align-items: center;
}

.user i {
    color: #b81c1c;
    font-size: 28px;
    margin-right: 7px;
}

.main a:hover {
    color: #b81c1c;
}

#menu-icon {
    font-size: 35px;
    color: #4B2E2E;
    cursor: pointer;
    z-index: 10001;
    display: none;
}

.imagem-principal {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 85%;
    margin: 120px auto;
}

.imagem-principal img {
    width: 100%;
    border-radius: 30px;
}

.titulo-aulas {
    color: #d32323;
    text-align: center;
    font-family: 'Dancing Script';
    font-size: 50px;
}

.texto-aulas {
    text-align: center;
    font-family: Merriweather;
    margin-top: 50px;
}

.links-paginas {
    justify-content: center;
    list-style: none;
    display: flex;
    margin-top: 50px;
}

.links-paginas a {
    color: #d32323;
    padding: 10px;
    transition: all .50s ease;
}

.links-paginas a:hover {
    color: #4B2E2E;
}

.informacoes-jornadas {
    background-image: url(/assets/ceramicas.png);
    /*Fundo imagem*/
    height: 100vh;
    margin-top: 100px;
    background-position: center;
    background-size: cover;
}

.container-jornada {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.textos-jornada {
    background-color: #ffffff;
    border-radius: 50px;
    text-align: center;
    justify-content: center;
    margin-top: 80px;
    max-width: 500px;
    padding: 30px;

}

div .titulo-jornada {
    font-family: Kalam;
    color: #63e0da;
    font-size: 30px;
}

div .mini-texto-jornada {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: #4b2e2e;
    margin-top: 20px;
}

div button {
    padding: 1.3em 3em;
    font-size: 12px;
    border-radius: 45px;
    margin: 28px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 500;
    background-color: #63e0da;
    border: none;
    box-shadow: 0px px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease 0s;
    cursor: pointer;
    outline: none;
}

div button:hover {
    color: #f9f9f9;
}

.titulo-aulas-imagens {
    color: #d32323;
    text-align: center;
    font-family: Dancing Script;
    font-size: 100px;
    margin-top: 150px;
}

.imagens-informacoes-aulas {
    display: flex;
    justify-content: space-between;
    border-radius: 0px;
    height: auto;
    flex: 1;
    margin-top: 70px;
    margin-left: 100px;
    margin-right: 100px;
}

.aula {
    text-align: center;
    max-width: 30%;
    align-items: center;
}

.aula img {
    width: 100%;
    border-radius: 40px;
}

.aula h4 {
    margin-top: 20px;
    color: #d32323;
    text-align: center;
    font-family: Dancing Script;
    font-size: 40px;
}

.aula p {
    margin-top: 10px;
    font-size: 1em;
    color: #666;
}

.botao-aula {
    padding: 1.3em 3em;
    font-size: 12px;
    border-radius: 45px;
    margin: 28px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 500;
    background-color: #63e0da;
    border: none;
    box-shadow: 0px px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease 0s;
    cursor: pointer;
    outline: none;
    white-space: nowrap;
    

}

.botao-aula:hover {
    color: #f9f9f9;
}


.texto-colecoes {
    text-align: center;
    font-family: Merriweather;
    font-size: 20px;
    margin-top: 60px;
    margin-bottom: 100px;
}

.produtos-vasos {
    color: #d32323;
    text-align: center;
    font-family: 'Dancing Script';
    font-size: 70px;
    margin-top: 100px;
}

.colecoes {
    text-align: center;
    font-family: 'Dancing Script';
    font-size: 35px;
    color: #4b2e46;
}


.preco-produtos {
    font-family:'Courier New', Courier, monospace;
    font-size: 17px;
    color: #4b2e46;
}


.cards-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
    margin-left: 100px;
    margin-right: 100px;
}

.card {
    overflow: visible;
    width: 190px;
    height: 254px;
}


.content {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 300ms;
    box-shadow: 0px 0px 10px 1px #b81c1c;
    border-radius: 40px;
}

.front,
.back {
    background-color: #fff;
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 40px;
    overflow: hidden;
}

.back {
    justify-content: center;
    display: flex;
    align-items: center;
}

.back::before {
    position: absolute;
    content: ' ';
    display: block;
    width: 160px;
    height: 160%;
    animation: rotation_481 5000ms infinite linear;
}

.back-content {
    position: absolute;
    width: 99%;
    height: 99%;
    background-color: beige;
    border-radius: 5px;
    color: #000000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.card:hover .content {
    transform: rotateY(180deg);
}

@keyframes rotation_481 {
    0% {
        transform: rotateZ(0deg);
    }

    100% {
        transform: rotateZ(360deg);
    }
}

.front {
    transform: rotateY(180deg);
    color: white;
}

.front .img {
    position: relative;
    width: 100%;
    height: 100%;
}

.ceramica-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.front-content {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.front-content .badge {
    background-color: #00000055;
    padding: 2px 10px;
    border-radius: 10px;
    backdrop-filter: blur(2px);
    width: fit-content;
}

.description {
    box-shadow: 0px 0px 10px 5px #00000088;
    width: 100%;
    padding: 10px;
    background-color: #00000099;
    backdrop-filter: blur(5px);
    border-radius: 5px;
}

.title {
    font-size: 11px;
    max-width: 100%;
    display: flex;
    justify-content: space-between;
}

.card-footer {
    color: #ffffff88;
    margin-top: 5px;
    font-size: 8px;
}

/* Responsivo: Alinhar cards verticalmente em telas menores */
@media (max-width: 768px) {
    .cards-container {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 1280px) {
    header {
        padding: 14px 2%;
        transition: .2s;
    }

    .navbar a {
        padding: 5px 0;
        margin: 0px 20px;
    }

    .imagens-informacoes-aulas {
        flex-direction: column;
        /* Faz as imagens ficarem uma embaixo da outra */
        align-items: center;
        /* Centraliza as imagens */
    }

    .aula {
        max-width: 100%;
        /* As imagens ocupam toda a largura disponível */
        margin-bottom: 20px;
        /* Espaço entre as seções para melhor visualização */
    }

    .cards-container {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 1090px) {
    #menu-icon {
        display: block;
    }

    .navbar {
        position: absolute;
        top: 100%;
        right: -100%;
        width: 270px;
        height: 29vh;
        background: #fff;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        border-radius: 10px;
        transition: all .50s ease;
    }

    .navbar a {
        display: block;
        margin: 12px 0;
        padding: 0px 25px;
        transition: all .50s ease;
    }

    .navbar a:hover {
        color: #b81c1c;
        transform: translateY(5px);
    }

    .navbar a.active {
        color: #b81c1c;
    }

    .navbar.open {
        right: 2%;
    }

    .imagens-informacoes-aulas {
        flex-direction: column;
        /* Faz as imagens ficarem uma embaixo da outra */
        align-items: center;
        /* Centraliza as imagens */
    }

    .aula {
        max-width: 100%;
        /* As imagens ocupam toda a largura disponível */
        margin-bottom: 20px;
        /* Espaço entre as seções para melhor visualização */
    }
}