@import url('https://fonts.googleapis.com/css2?family=Barlow: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');
@import '../CSS/bootstrap.min.css'; /* Importando o Bootstrap */

/*Configurações do menu*/
* {
    font-family: Barlow, sans-serif;
    margin: 0;
    padding: 0;
}

body {
    overflow-x: hidden;
}

.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #000;
    overflow-x: hidden;
    transition: 0.3s;
    padding-top: 60px;
    z-index: 1050;
}

.sidebar a {
    padding: 10px 15px;
    text-decoration: none;
    font-size: 18px;
    color: #fff;
    display: block;
    transition: 0.3s;
}

.sidebar a:hover {
    background-color: #333;
}

.overlay {
    position: fixed;
    display: none;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1049;
}

.hamburger {
    cursor: pointer;
    padding-left: 80px;
}

.me-2 {
    padding-right: 80px;
}

.logo {
    padding-left: 50px;
    width: 190px;
}

/* Submenu de Configurações */
.configuracoes .submenu {
    display: none;
    padding: 10px 15px;
}

.switch-label {
    color: white;
    font-size: 16px;
    margin-right: 10px;
}

/* Estilo do switch tipo iPhone */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 25px;
    vertical-align: middle;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0;
    right: 0; bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 25px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 19px;
    width: 19px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: rgb(253, 77, 121);
}

input:checked + .slider:before {
    transform: translateX(24px);
}


/* Temas */
/* Tema Claro */
body.light-theme {
    background-color: #ffffff; /* já é branco suave */
    color: #212529;
}

body.light-theme section.bg-dark {
    background-color: #e9ecef !important;
}

body.light-theme .navbar,
body.light-theme .sidebar {
    background-color: #f8f9fa !important; /* branco puro para menu superior e lateral */
}

body.light-theme .sidebar a,
body.light-theme .configuracoes a {
    color: #000;
}

body.light-theme .texto p {
    color: #000;
}

body.light-theme footer {
    background-color: #f8f9fa !important;
    color: #000 !important;
    border-top: 2px solid #fd4d79 !important;
}

/* Tema Claro - Hover nos links da Sidebar */
body.light-theme .sidebar a:hover {
    background-color: #e0e0e0; /* Um tom de cinza bem claro */
    color: #000; /* Mantém a cor do texto preta */
}

body.light-theme .configuracoes a:hover {
    background-color: #e0e0e0; /* Aplica o mesmo efeito ao link "Configurações" se desejar */
    color: #000;
}

body.light-theme .submenu a:hover {
    background-color: #e0e0e0; /* Aplica o mesmo efeito aos links dentro do submenu, se houver */
    color: #000;
}

body.light-theme .submenu {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
}

/*Tema escuro*/
body.dark-theme {
    background-color: #000;
    color: #fff;
}


/*Conteúdo principal*/
section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 100px;
    background: black;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
}

.circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(253, 77, 121);
    clip-path: circle(50% at bottom right);
}

.container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.container .texto {
    position: relative;
    max-width: 600px;
    margin-right: 20px;
    padding-top: 100px;
}

.container .texto h2 {
    color: rgb(253, 77, 121);
    font-size: 1em;
    margin-bottom: 12px;
    line-height: 1.5em;
    font-weight: 500;
}

.container .texto h2 span {
    font-size: 1.7em;
    color: rgb(253, 77, 121);
}

.container .texto p {
    color: rgb(219, 219, 219);
}

.btn-primary {
    background-color: rgb(253, 77, 121);
    border-color: rgb(253, 77, 121);
    border-radius: 50px; /* Circular border */
    padding: 10px 20px; /* Ajustando o botão */
    color: white; 
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background-color: rgb(220, 60, 100); /* Slightly darker shade for hover effect */
    border-color: rgb(220, 60, 100);
}

.btn-primary:active {
    background-color: rgb(220, 60, 100) !important; /* Reset to original color on click */
    border-color: rgb(253, 77, 121) !important;
}

.btn-primary:focus {
    background-color: rgb(220, 60, 100);
    border-color: rgb(220, 60, 100);
    box-shadow: 0 0 0 0.2rem rgba(253, 77, 121, 0.5); /* Custom focus outline */
}

.perfil-photo {
    width: 40px; /* Ajustando o tamanho da foto */
    height: 40px;
    border-radius: 50%; /* Deixando a borda circular */
    border: 2px solid white; /* Adicionando a borda */
    object-fit: cover; 
    margin: 0 auto; /* Centralizando a imagem */
    display: block; /* Para garantir que a imagem seja exibida como um bloco */
}


/* estilização do rodapé */
.footer {
    background-color: #1a1a1a;
    color: white;
    text-align: center;
    padding: 15px 10px;
    font-size: 14px;
    border-top: 2px solid rgb(253, 77, 121);
    box-shadow: 0 -2px 10px rgba(255, 255, 255, 0.2);
}

.footer p {
    margin: 5px 0;
}

@media (max-width: 1200px) {
    header {
        padding: 40px 50px;
    }

    header .navegaçao li a {
        margin-left: 50px;
    }

    .container .texto {
        max-width: 500px;
    }
}

@media (max-width: 992px) {
    section {
        padding: 80px 50px;
    }

    header {
        padding: 30px 50px;
    }

    header .navegaçao li a {
        margin-left: 30px;
        font-size: 17px;
    }

    .container .texto {
        max-width: 400px;
    }

    .container .texto h2 {
        font-size: 0.9em;
    }

    .container .texto h2 span {
        font-size: 1.5em;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 30px;
    }

    header {
        padding: 20px 30px;
    }

    header .navegaçao li a {
        margin-left: 20px;
        font-size: 16px;
    }

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

    .container .texto {
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 30px;
    }

    .container .texto h2 {
        font-size: 0.8em;
    }

    .container .texto h2 span {
        font-size: 1.3em;
    }
}

@media (max-width: 576px) {
    section {
        padding: 40px 20px;
    }

    header {
        padding: 15px 20px;
    }

    header .logo {
        max-width: 100px;
    }

    header .navegaçao li a {
        margin-left: 15px;
        font-size: 14px;
    }

    .container .texto h2 {
        font-size: 0.7em;
    }

    .container .texto h2 span {
        font-size: 1.1em;
    }
}
