@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&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');

/* Variáveis */
:root {
    --cor-primaria-azul: #23B5D3;
    --cor-secundaria-preta: #1d1d1d;
    --cor-terciaria-branca: #F8F5F5;
    --cor-background: #F4F4F3;
    --cor-fonte-titulos1: #181818;
    --cor-fonte-texto1-transparencia: #0000009b;
    --cor-fonte-hover: rgba(35, 181, 211, 0.69);
    --cor-fonte-botoes: #F6F6F6;
    --cor-fonte-subtitulo: #f8f5f5ca;
    --cor-btn-alerta: #FFBB7C;
    --cor-btn-alerta-hover: #e1944d;
    --poppins-font: "Poppins", sans-serif;
    --helvetica-neue-font: "Open Sans", sans-serif;
    --cor-card: #E6E6E6;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    width: 100%;
    height: 100vh;
    background-color: var(--cor-background);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

#logo-nav {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 1.2rem;
    margin-right: auto;
}

#logo-nav img {
    width: 75px;
    height: auto;
    margin-right: 10px;
}

#logo-nav p {
    font-family: var(--poppins-font);
    color: var(--cor-primaria-azul);
    margin-bottom: 10px;
}

nav ul {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    flex: 1;
}

nav ul li {
    margin: 0 50px;
}

nav ul li a {
    font-family: var(--poppins-font);
    font-weight: 600;
    color: var(--cor-fonte-texto1-transparencia);
    text-decoration: none;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--cor-fonte-titulos1);
}

.noturno{
    display: flex;
    position: relative;
    width: 80px;
    height: 35px;
    background-color: var(--cor-primaria-azul);
    border-radius: 50px;
    cursor: pointer;
    transition: 0.5s all;
    justify-content: left;
}

.noturno-escolha{
    position: absolute;
    left: 0px;
    height: 100%;
    width: 35px;
    background-color: rgb(255, 213, 0);
    border-radius: 100%;
    transition: 0.5s all;
}

.noturno-on{
  position: absolute;
  left: 50px;
  transition: 0.4s all;
  background-color: var(--cor-card);
}


.titulo-1 {
    font-size: 3.7rem;
    font-weight: 700;
    color: var(--cor-terciaria-branca);
}

.titulo-2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--cor-secundaria-preta);
}

.titulo-3 {
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--cor-secundaria-preta);
}

.titulo-4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--cor-secundaria-preta);
}

.titulo-5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--cor-secundaria-preta);
}

.subtitulo {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--cor-fonte-subtitulo);
}

.subtitulo-2 {
    font-size: 1rem;
    margin: 0;
    font-weight: 400;
    color: var(--cor-fonte-texto1-transparencia);
}

.subtitulo-3 {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--cor-fonte-texto1-transparencia);
}

#nav-buttons {
    display: flex;
    align-items: center;
    margin-left: auto;
}

#nav-buttons button {
    font-family: var(--poppins-font);
    font-weight: 600;
    color: #FFF;
    background-color: var(--cor-primaria-azul);
    border: none;
    padding: 8px 20px;
    cursor: pointer;
    margin-right: 10px;
    border-radius: 25px;
}

#nav-buttons a {
    font-family: var(--poppins-font);
    font-weight: 500;
    color: var(--cor-fonte-texto1-transparencia);
    text-decoration: none;
    margin-right: 30px;
}

#nav-buttons a:hover {
    color: var(--cor-secundaria-preta);
}


.desktop-header {
    display: block;
}


.mobile-header {
    display: none;
}

#ajuda-mobile {
    display: none;
}

/* Estilizando a barra de rolagem */
::-webkit-scrollbar {
    width: 10px; /* largura da barra de rolagem */
}

/* Estilizando o controle deslizante da barra de rolagem */
::-webkit-scrollbar-thumb {
    background-color: #888; /* cor de fundo do controle deslizante */
    border-radius: 5px; /* borda arredondada do controle deslizante */
}

/* Altera a cor do controle deslizante quando estiver sendo arrastado */
::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}


@media screen and (max-width: 1119px) {
    .desktop-header {
        display: none;
    }

    .mobile-header {
        display: block;
    }

    #nav-buttons {
        margin-top: 30px;
        text-align: left;
        padding: 10px 20px;
    }

    #nav-buttons button {
        font-family: var(--poppins-font);
        font-weight: 600;
        color: var(--cor-fonte-titulos1);
        background-color: #fff;
        border: 1px solid var(--cor-fonte-texto1-transparencia);
        margin-right: 0;
        padding: 8px 30px;
    }

    .navbar-nav {
        margin: 10px 0px 20px 0px;
        font-size: 1.1rem;
    }

    .navbar-nav .nav-item.active {
        margin-left: 0;

    }

    #ajuda-mobile {
        display: block;
        margin-top: 20px;
        padding-left: -10px;
        font-size: 0.9rem;
    }

    #ajuda-mobile h3 {
        padding-left: 30px;
        font-size: 1.2rem;
        margin: 50px 0px 20px 0px;
    }

    #ajuda-mobile ul {
        padding-left: 0;
        display: flex;
        flex-direction: column;
    }

    #ajuda-mobile ul li {
        margin-bottom: 5px;
        font-family: var(--poppins-font);
        align-items: center;
    }

    #ajuda-mobile ul li img {
        margin-left: 15px;
        width: 24px;
        height: auto;
        margin: 10px 5px 12px -9px;
    }

    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100%;
        width: 80%;
        background-color: #fff;
        transition: right 0.3s ease;
        z-index: 1;
    }

    .navbar-collapse.show {
        right: 0;
    }

    .navbar-toggler {
        border: none;
        outline: none;
    }

    .navbar-toggler span {
        border: none;
    }

    .close-menu {
        position: absolute;
        top: 10px;
        right: 20px;
        font-size: 1.5rem;
        color: var(--cor-secundaria-preta);
        background: none;
        border: none;
        cursor: pointer;
    }
}

@media screen and (min-width: 768px) and (max-width: 1020px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100%;
        width: 50%;
        background-color: #fff;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .navbar-toggler {
        border: none;
        outline: none;
        padding: 5px 10px;
    }

    .navbar-toggler span {
        border: none;
    }

    .close-menu {
        position: absolute;
        top: 10px;
        right: 20px;
        font-size: 1.5rem;
        color: var(--cor-secundaria-preta);
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }
}

footer {
    padding: 80px 13% 70px;
}

.footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(11px, auto));
    gap: 5rem;
    left: 0;
    right: 0;
    bottom: 0;
    justify-content: center;
}

.logo-img {
    width: 25vh;
    height: auto;
    margin-left: -4vh;
}

.footer-content h4 {
    margin-bottom: 1rem;
    font-family: var(--helvetica-neue-font);
    font-size: 20px;
    font-weight: 600;
}

.footer-content li {
    margin-bottom: 8px;
    list-style-type: none;
    padding-left: 0;
}

.footer-content li a {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--cor-fonte-texto1-transparencia);
    transition: all .40s ease;
}

.footer-content li a:hover {
    transform: translateY(-3px) translateX(-5px);
    text-decoration: none;
}

.footer-content p {
    font-size: 15px;
    line-height: 30px;
    margin: 20px 0;
}

.social-icons img {
    display: inline-block;
    width: 25px;
    height: auto;
    margin-right: 10px;
    transition: all .40s ease;
    cursor: pointer;
}

.social-icons img:hover {
    transform: translateY(-5px);
}

@media (max-width: 767px) {
    footer {
        padding: 40px 5% 40px;
        z-index: -1;
    }

    .footer {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .logo-img {
        width: 21.5vh;
        height: auto;
        margin-left: -1vh;
        margin-bottom: -15px;
    }

    .social-icons img {
        width: 3.5vh;
        height: auto;
        margin-top: -20px;
    }

    .footer-content li a{
        display: block;
        font-size: 15px;
        font-weight: 500;
        color: var(--cor-fonte-texto1-transparencia);
        transition: all .40s ease;
    }
}

@media (min-width: 319px) and (max-width: 359px) {
    footer {
        padding: 40px 5% 40px;
        z-index: -1;
    }

    .footer {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.5rem;
    }

    .logo-img {
        width: 20.5vh;
        height: auto;
        margin-left: -1vh;
        margin-bottom: 10px;
    }

    .social-icons img {
        width: 3.2vh;
        height: auto;
    }

    .footer-content h4 {
        font-size: 19px;
        font-weight: 600;
    }

    .footer-content p {
        font-size: 14px;
        margin-top: 5px;
    }
}

@media (min-width: 768px) and (max-width: 1100px) {
    footer {
        padding: 50px 5% 40px;
        z-index: -1;
    }

    .footer {
        display: grid;
        grid-template-columns: repeat(3, minmax(100px, 1fr));
        gap: 0.5rem;
    }

    .logo-img {
        width: 20vh;
        margin-left: -1vh;
        margin-bottom: 5px;
    }

    .social-icons img {
        width: 3.5vh;
        height: auto;
        margin-bottom: 25px;
    }

    .footer-content h4 {
        font-size: 25px;
        font-weight: 600;
    }

    .footer-content li a {
        font-size: 20px;
    }

    .footer-content p {
        font-size: 20px;
        margin-top: 5px;
    }
}
