@charset "UTF-8";
/* CSS Document */

body {
    overflow-y: scroll;
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
    font-size: 16px;
    background-color: #ffffff;
    text-align: right;
    margin: 0;
    padding: 0;
}

header {
    background-color: #ffffff;
    width: 100%;
    position: absolute;
    top: 0;
    z-index: 101; /* Ajuste do z-index */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#entrada {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    text-transform: uppercase;
}

#entrada li {
    margin-left: 20px;
    display: inline-block;
}

#entrada li a {
    color: #222;
    padding: 30px;
    text-decoration: none;
    display: block;
}

#entrada li a:hover {
    color: #C1A100;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 20px;
    z-index: 102; /* Garantir que o ícone fica acima */
}

.hamburger div {
    width: 40px;
    height: 4px;
    background-color: #333;
    margin: 1.5px 0;
    transition: all 0.3s ease;
}

.hamburger.active div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active div:nth-child(2) {
    opacity: 0;
}

.hamburger.active div:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.hamburger div:hover {
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    #socialmedia ul li a {
        width: 60px;
        height: 60px;
        font-size: 22px;
        margin: 0 10px;
    }

    #logo {
        width: 150px;
        height: 100px;
    }

    #entrada {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100px;
        right: 0;
        width: 200px;
        height: 40vh;
        background-color: #ffffff;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
        transform: translateX(100%);
        opacity: 0;
        z-index: 103; /* Garantir que o menu está acima */
    }

    #entrada li {
        margin: 20px 0;
    }

    #entrada li a {
        padding: 15px 20px;
        text-align: center;
        text-transform: uppercase;
        font-size: 18px;
        color: #333;
        transition: color 0.3s ease, background-color 0.3s ease;
    }

    #entrada li a:hover {
        color: #fff;
        background-color: #C1A100;
        border-radius: 5px;
    }

    #entrada.active {
        display: flex;
        transform: translateX(0);
        opacity: 1;
    }

    .hamburger {
        display: flex;
    }
}

#logo {
    width: 200px;
    height: 130px;
    background-image: url("zoowowlogo.png");
    background-size: cover;
    background-position: center;
}

 #loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
  }
  .spinner {
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-left-color: #000;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
  }
  @keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 150px auto 0;
    max-width: 100%;
}

.container .box {
    width: calc(33.333% - 20px); /* Padrão para 3 boxes por linha */
    max-width: 338px;
    height: 226px;
    position: relative;
    box-sizing: border-box;
    z-index: 1; /* Certificar que boxes não cobrem o menu */
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

@media (max-width: 1024px) {
    .container .box {
        width: calc(50% - 20px); /* 2 boxes por linha */
    }
}

@media (max-width: 768px) {
    .container .box {
        width: calc(100% - 20px); /* 1 box por linha */
    }
}

.container::after {
    content: "";
    flex-grow: 1;
    width: calc(33.333% - 20px);
    max-width: 338px;
    height: 0;
}

.container .box .imgbox {
    position: relative;
    overflow: hidden;
    z-index: 0; /* Ajuste de z-index */
}

.container .box .imgbox:hover img {
    filter: grayscale(0);
}

.container .box .imgbox img {
    width: 100%;
    height: auto;
    filter: grayscale(1);
    transition: filter 0.3s ease;
}

.container .box .imgbox .banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 338px;
    height: 226px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.container .box .imgbox:hover .banner {
    opacity: 1;
}

.banner .title {
    font-size: 18px;
    color: #FFFFFF;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
}

.banner .subtitle {
    font-size: 14px;
    color: #CCCCCC;
    margin: 5px 0 0 0;
    padding: 0;
}

footer {
    width: 100%;
    height: 250px;
    position: relative;
    bottom: 0;
}

#topbtn {
    display: flex;
    position: absolute;
    font-size: 50px;
    border: none;
    background-color: none;
    cursor: pointer;
    filter: brightness(5);
    animation: animate 2s infinite;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    outline: none;
}

#topbtn:hover {
    filter: brightness(0);
    background-color: #0000;
}

@keyframes animate {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

#socialmedia ul {
    display: flex;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-55%, -55%);
}

#socialmedia ul li {
    list-style: none;
}

#socialmedia ul li a {
    width: 80px;
    height: 80px;
    text-align: center;
    line-height: 80px;
    font-size: 30px;
    margin: 0 20px;
    display: block;
    color: #000000;
}

#socialmedia ul li a:hover {
    color: #C1A100;
}

@media (max-width: 1024px) {
    #socialmedia ul li a {
        width: 70px;
        height: 70px;
        font-size: 26px;
        margin: 0 15px;
    }
}

@media (max-width: 480px) {
    #socialmedia ul li a {
        width: 50px;
        height: 50px;
        font-size: 18px;
        margin: 0 8px;
    }
}

p {
    margin-top: 180px;
    text-align: center;
    font-size: 12px;
}
