main {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

section {
    width: 100%;
    padding-left: 2%;
    padding-right: 2%;
    padding-top: 100px;
    padding-bottom: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;
    background-color: rgba(0, 0, 0, 0.5);
}

.container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: row;
    gap: 0 100px;
    width: 85%;
}

.textfield {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
    /* cria espaço entre os elementos */
}

.textfield h1 {
    text-align: left;
    line-height: 1.1;
}

.textfield .button {
    margin-top: 20px;
}

.box-img {
    width: 55%;
}

.box-img img {
    width: 100%;
    height: 80%;
    object-fit: cover;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    width: 100%;
}

.fundo {
    width: 100vw;
    height: 100vh;
    background-color: #121212;
    background-position: center;
    background-size: cover;
    position: fixed;
    z-index: -1;
    background-image: url('../img/fundoescuro.avif');
}

.header {
    width: 100%;
    height: 15vh;
    display: flex;
    background-color: rgba(0, 0, 0, 0.467);
    justify-content: space-between;
}

.logo {
    width: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    width: 200px;
}

.nav-list {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-list a {
    margin-right: 5%;
    text-decoration: none;
    color: white;
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 0.4s ease-in-out;
}

.nav-list a:hover {
    color: var(--cor-secudaria-um);
}

.mobile-menu {
    display: none;
    cursor: pointer;
}

.mobile-menu div {
    width: 32px;
    height: 2px;
    background-color: #fff;
    margin: 8px;
    transition: 0.3s;
}

header.active .line1 {
    transform: rotate(-45deg) translate(-8px, 8px);
    transition: 0.3s;
    background-color: #fff;
}

header.active .line2 {
    opacity: 0;
    ;
    transition: 0.3s;
}

header.active .line3 {
    transform: rotate(45deg) translate(-5px, -7px);
    transition: 0.3s;
    background-color: #fff;
}

footer {
    width: 100%;
    height: 100vh;
    background-color: rgb(28, 26, 26);
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer {
    width: 85%;
    height: 80%;
}

.footer-distribuicao {
    width: 100%;
    height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5%;
}

.footer-distribuicao h1 {
    font-size: 20pt;
    color: white;
}

.footer-left {
    width: 35%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.footer-left img {
    width: 300px;
    margin-top: 5%;
    margin-bottom: 5%;
}

.footer-left p {
    display: flex;
    flex-direction: column;
}

.footer-left p a {
    text-decoration: none;
    color: white;
    margin-top: 2%;
}

.footer-left i {
    font-size: 35px;
    margin-top: 5%;
}

.footer-center {
    width: 35%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 40px;
}

.footer-center h1 {
    margin-bottom: 10%;
    text-align: start;
}

.footer-center .horarios p {
    color: white;
    margin-top: 5%;
}

.footer-center .horarios p span {
    color: #bf9853;
}

.footer-center .menu-inferior p {
    display: flex;
    flex-direction: column;
}

.footer-center .menu-inferior p a {
    text-decoration: none;
    color: white;
    margin-top: 2%;
}

.footer-right {
    width: 30%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 40px;
}

.footer-right p {
    display: flex;
    flex-direction: column;
}

.footer-right p a {
    text-decoration: none;
    color: white;
    margin-top: 2%;
}

.footer-icons {
    margin-top: -30px;
}

.footer-right h1 {
    text-align: start;
}

.footer-icons a {
    display: inline-block;
    width: 35px;
    height: 35px;
    cursor: pointer;
    background-color: #33383b;
    border-radius: 2px;
    font-size: 20px;
    color: #ffffff;
    text-align: center;
    line-height: 35px;
    margin-right: 3px;
    margin-bottom: 5px;
}

.footer-icons a:hover {
    background-color: #bf9853;
}

.footer-links a:hover {
    color: #bf9853;
}

.direitos {
  margin-top: 5%;
  margin-bottom: 50px;
  width: 100%;
}

.direitos h2 {
  color: #fff;
  font-size: 15px;
  text-align: center;
  font-weight: lighter;
}

.direitos h2 a {
  color: #d3a552;
}

.direitos h3 {
  color: #fff;
  font-size: 10px;
  text-align: center;
  font-weight: lighter;
}

.direitos h3 a {
  color: #fff;
}

.galeria {
    padding: 20px;
    background-color: #f8f9fa;
}

.grid-galeria {
    column-count: 4;
    /* Número de colunas */
    column-gap: 5px;
    /* Espaço entre as colunas */
}

.grid-galeria img {
    width: 100%;
    margin-bottom: 5px;
    display: block;
    break-inside: avoid;
    /* Para evitar que a imagem quebre entre as colunas */
    object-fit: cover;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    width: 100%;
}

.logo-nav {
    display: none;
}

@media (max-width: 768px) {
    .nav-list {
        z-index: 2;
        margin: 0;
        position: fixed;
        top: 0;
        right: 0;
        width: 100vw;
        height: 100vh;
        background-color: var(--cor-principal);
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.3s ease-in;
        display: flex;
        padding: 0 60px;
        gap: 20px;
    }

    .nav-list a {
        font-size: 20px;
        margin-top: 5%;
        margin-right: 0;
        color: #fff;
        letter-spacing: 5px;
        text-transform: capitalize;
    }

    .nav-list a:hover {
        color: var(--cor-secudaria-um);
    }

    .mobile-menu {
        display: block;
        z-index: 3;
    }

    .nav-list.active {
        transform: translateX(0);
        display: flex;
        transition: transform 0.3s ease-in;
    }

    .header {
        justify-content: space-between;
        align-items: center;
    }

    .header .logo {
        width: 30%;
    }

    .header .logo img {
        width: 120px;
    }

    .header .ligue {
        width: 25%;
        flex-direction: column;
        gap: 5px;
        margin: 0;
    }

    .header .ligue .numberphone p {
        font-size: 10px;
        text-align: right;
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    .logo-nav {
        margin-left: -20px;
        display: inline;
    }

    main.none {
        display: none;
    }

    footer.none {
        display: none;
    }

    section {
        padding: 0;
        padding-top: 50px;
        padding-bottom: 25px;
        padding-left: 5%;
        padding-right: 5%;
    }

    .container {
        flex-direction: column;
        align-items: center;
    }

    .box-img {
        width: 100%;
    }

    .textfield {
        width: 100%;
        text-align: justify;
    }

    footer {
        height: auto;
        padding: 10%;
    }

    .footer {
        width: 100%;
    }

    .footer-distribuicao {
        flex-direction: column;
        width: 100%;
        height: auto;
        gap: 20px;
    }

    .footer-left,
    .footer-center,
    .footer-right {
        width: 100%;
    }

    .footer-left img {
        width: 200px;
    }

    .direitos {
        margin-top: 50px;
        padding: 0;
    }
}