@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');

body, html{
    height: 100%;
    margin: 0;
    font-family: Oswald;
    line-height: 180%;
    color:white;
    text-align: center;
}
.image1{
    background-image: url(img/simbolo-surdez.png);
    min-height: 100%;
}
.image2{
    background-image: url(img/images.png);
    min-height: 100%;
}
.image3{
    background-image: url(img/images3.png);
    min-height: 100%;
}
.image1,.image2,.image3,.image4, .image10, .image11, .image12, .image13, .image14{
    position: relative;
    opacity: 1.0;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}
.search-container {
    width: 100%;
    max-width: 250px;
    margin: 50px auto;
    position: relative;
}

#search-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#results-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 4px 4px;
    max-height: 200px;
    overflow-y: auto;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#results-list li {
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.2s;
}

#results-list li:hover {
    background-color: #f0f0f0;
}
section {
    display: flex;
    flex-direction: column; /* Organiza os elementos dentro de cada seção em coluna */
    justify-content: center; /* Alinha verticalmente ao centro */
    align-items: center; /* Alinha horizontalmente ao centro */
    text-align: center; /* Garante que o texto dentro seja centralizado */
    margin: 20px 0;
    padding: 40px;
    background-color: #080808;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
section:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}


.dark{
    background-color: black;
}
.nav img{
    width: 50px;
    position: left;
    top: 17px;
    left: 90%;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 6rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.logo img {
    height: 50px;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-list ul{
    display: flex;
    justify-content: space-between;
    list-style: none;
}
.nav-item{
    margin: 0 15px;
}
.mobile-menu-icon {
    display: none;
}
.mobile-menu{
    display: none;
}

.nav-links {
    text-decoration: none;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.nav-links-desktop {
    display: flex;
}

.nav-links-desktop li {
    margin-left: 20px;
}

.nav-links-desktop a {
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-links-desktop a:hover {
    background-color: #555;
    border-radius: 5px;
}

.nav-links-mobile {
    display: none;
}

.nav-links-mobile li {
    margin: 10px 0;
}

.nav-links-mobile a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 10px;
    background-color: #444;
    border-radius: 5px;
    text-align: center;
}

.nav-links-mobile a:hover {
    background-color: #555;
}



.nav-links-desktop {
list-style: none;
margin: 0;
padding: 0;
display: flex;
}

.nav-links-desktop li{
    padding: 0 15px;
}

.nav-links-desktop a {
    color: #d3d3d3;
    text-decoration: none;
    transition: 0.3s;
}

.nav-links-desktop a:hover {
    color:aqua;
}
@media (max-width: 768px) {
    .nav-links-mobile.show {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 20px;
        background-color: #333;
        border-radius: 5px;
        width: 200px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        padding: 10px 0;
    }
}
@media screen and (max-width: 730px) {
    .nav-bar{
        padding: 1.5rem 4rem;
    }
    .nav-item{
        display: none;
    }
    .mobile-menu-icon{
        display: block;
    }
    .mobile-menu-icon button{
        background-color: transparent;
        border: none;
        cursor: pointer;
    }
    .mobile-menu ul {
        display: flex;
        flex-direction: column;
        text-align: center;
        padding-bottom: 1rem;
    }
    .mobile-menu .nav-item {
        display: block;
        padding-top: 1.2rem ;
    }
    .open{
        display: block;
    }
}
h1 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #f8f0f0;
}

.catalog {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    justify-items: center;
}

.book-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-color: #272626;
    width: 250px;
    min-height: 400px; /* Garante que todos os cards tenham a mesma altura */
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
}

.book-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(255, 255, 255, 0.15);
}


.badge {
    background-color: #66f442;
    padding: 5px 15px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    border-radius: 20px;
    margin-bottom: 10px;
    display: inline-block;
}


.award {
    font-size: 24px;
    margin-top: 10px;
    color: #f4c542;
}


.book-info {
    margin-top: 20px;
}

h2 {
    font-size: 20px;
    font-weight: bold;
    color: #adadad;
}

p {
    font-size: 14px;
    margin: 5px 0;
}


.price {
    font-size: 18px;
    font-weight: bold;
    color: #e62e2e;
}

input[type="number"] {
    width: 50px;
    padding: 5px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-right: 10px;
}

.btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    margin-top: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #45a049;
}

.add-cart {
    background-color: #007bff;
}

.add-cart:hover {
    background-color: #010327;
}

.buy-now {
    background-color: #ca3204;
}

.buy-now:hover {
    background-color: #e64a19;
}


#cart {
    margin-top: 40px;
    background-color: #070707;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

#cart-items {
    list-style-type: none;
    margin-bottom: 20px;
}

#total-price {
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
}

.payment-methods {
    display: flex;
    justify-content: space-around;
}


#feedback {
    display: none;
    text-align: center;
    margin-top: 20px;
    font-size: 16px;
    color: green;
}
/* Paginação */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    padding: 10px 0;
}

.page-link {
    padding: 10px 20px;
    margin: 0 5px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
    text-decoration: none;
}

.page-link:hover {
    color: #4CAF50;
}

.page-link:disabled {
    color: #ddd;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
}

.page-link.active {
    color: #4CAF50;
}

.page-link.prev, .page-link.next {
    font-size: 18px;
    color: #fcfdff;
}

.page-link.prev:hover, .page-link.next:hover {
    color: #f9fcff;
}
main.flex-fill {
    flex: 1; /* Faz o conteúdo principal ocupar o espaço restante */
}

footer {
    margin-top: auto; /* Garante que o rodapé fique no final da página */
    
}
#qrcode-container {
    display: none;
    text-align: center;
    margin-top: 20px;
}

#qrcode-container.hidden {
    display: none;
}

#qrcode {
    margin: 20px auto;
    padding: 20px;
    background-color: #131212;
    border: 1px solid #131212;
}
.contact-info, .contact-form {
    margin: 30px auto;
    padding: 20px;
    background-color: #300202;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 800px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    font-weight: bold;
}

input, textarea {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
}

textarea {
    resize: vertical;
}

.btn {
    padding: 12px 24px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}

.btn:hover {
    background-color: #218838;
}

.map {
    text-align: center;
    margin-top: 30px;
}

#map iframe {
    border-radius: 8px;
}

.map-btn {
    background-color: #007bff;
    margin-top: 15px;
}

.map-btn:hover {
    background-color: #0056b3;
}

footer a {
    color: #333;
    text-decoration: none;
}

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

/* Responsividade */
@media (max-width: 768px) {
    .contact-info, .contact-form {
        padding: 15px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    #map iframe {
        height: 300px;
    }
}
.tabs {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    border-bottom: 2px solid #ddd;
}

.tablinks {
    background-color: #f5f1f1;
    border: 1px solid #161515;
    border-bottom: none;
    padding: 15px 30px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin: 0 5px;
    flex: 1;
    text-align: center;
}

.tablinks:hover,
.tablinks.active {
    background-color: #0d0d0e;
    color: #fff;
}

/* Conteúdo das abas */
.tabcontent {
    display: none;
    margin-top: 30px;
}
